dataset
stringclasses
1 value
file
stringlengths
7
51
fun_name
stringlengths
2
45
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
CompRealVul
gfs2_init_inode_once_17968
gfs2_init_inode_once
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1) %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i64* store i64 0, i64* %3, align 8 ret i64 %arg1 uselistorder i64 %arg1, { 2, 3, 1, 0 } }
1
CompRealVul
may_ptrace_stop_12115
may_ptrace_stop
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_4 LBL_1: %9 = load i64, i64* @gv_0, align 8 %10 = add i64 %9, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = load i64, i64* @gv_0, align 8 %20 = add i64 %19, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = inttoptr i64 %19 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %24, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %22, %27 %29 = zext i1 %28 to i64 %30 = call i64 @FUNC(i64 %29) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_3, label LBL_4 LBL_3: store i64 1, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @unlikely, { 1, 0 } uselistorder label LBL_4, { 2, 0, 1 } }
1
CompRealVul
saa7134_vbi_fini_7159
saa7134_vbi_fini
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) ret i64 0 }
0
CompRealVul
snd_usbmidi_urb_error_10670
snd_usbmidi_urb_error
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, -2 store i64 4294967277, i64* %rax.0.reg2mem br i1 %3, label LBL_12, label LBL_1 LBL_1: %4 = icmp sgt i32 %2, -2 br i1 %4, label LBL_11, label LBL_2 LBL_2: %5 = icmp eq i32 %2, -19 store i64 4294967277, i64* %rax.0.reg2mem br i1 %5, label LBL_12, label LBL_3 LBL_3: %6 = icmp sgt i32 %2, -19 br i1 %6, label LBL_11, label LBL_4 LBL_4: %7 = icmp eq i32 %2, -62 store i64 4294967291, i64* %rax.0.reg2mem br i1 %7, label LBL_12, label LBL_5 LBL_5: %8 = icmp sgt i32 %2, -62 br i1 %8, label LBL_11, label LBL_6 LBL_6: %9 = icmp eq i32 %2, -71 store i64 4294967291, i64* %rax.0.reg2mem br i1 %9, label LBL_12, label LBL_7 LBL_7: %10 = icmp sgt i32 %2, -71 br i1 %10, label LBL_11, label LBL_8 LBL_8: %11 = icmp eq i32 %2, -84 store i64 4294967291, i64* %rax.0.reg2mem br i1 %11, label LBL_12, label LBL_9 LBL_9: %12 = icmp sgt i32 %2, -84 br i1 %12, label LBL_11, label LBL_10 LBL_10: %13 = icmp ne i32 %2, -108 %14 = icmp eq i32 %2, -104 %15 = icmp eq i1 %14, false %or.cond = icmp eq i1 %13, %15 store i64 4294967277, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_11, label LBL_12 LBL_11: %16 = ptrtoint i64* %arg1 to i64 %17 = add i64 %16, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i32 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %2, { 0, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 3, 2, 1, 5, 4 } uselistorder i32 -84, { 1, 0 } uselistorder i32 -71, { 1, 0 } uselistorder i64 4294967291, { 2, 1, 0 } uselistorder i32 -62, { 1, 0 } uselistorder i32 -19, { 1, 0 } uselistorder i64 4294967277, { 2, 1, 0 } uselistorder i32 -2, { 1, 0 } uselistorder label LBL_12, { 6, 5, 2, 1, 0, 4, 3 } }
0
CompRealVul
pvscsi_on_cmd_setup_rings_16447
pvscsi_on_cmd_setup_rings
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 16 %4 = call i64 @FUNC(i64 %3, i64 %0) %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* store i32 1, i32* %6, align 4 ret i64 0 }
1
CompRealVul
SMB2_sess_establish_session_17349
SMB2_sess_establish_session
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.14.reg2mem = alloca i64* %sv_0.13.reg2mem = alloca i64* %.pre-phi6.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i64* %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %1 to i8 %4 = icmp eq i8 %3, 0 store i64 %1, i64* %rdi.0.reg2mem store i64* null, i64** %sv_0.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = add i64 %0, 32 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 store i64 %1, i64* %rdi.0.reg2mem store i64* null, i64** %sv_0.0.reg2mem br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = trunc i64 %0 to i32 %12 = and i64 %0, 4294967295 %13 = inttoptr i64 %12 to i64* %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) store i64 0, i64* %15, align 8 %18 = icmp eq i32 %11, 0 store i64 %16, i64* %rdi.0.reg2mem store i64* %13, i64** %sv_0.0.reg2mem br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0)) %20 = call i64 @FUNC(i64 24) store i64* %15, i64** %.pre-phi6.reg2mem store i64* %13, i64** %sv_0.13.reg2mem br label LBL_8 LBL_4: %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %21 = add i64 %rdi.0.reload, 16 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 1 br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = add i64 %rdi.0.reload, 20 %26 = inttoptr i64 %25 to i32* store i32 2, i32* %26, align 4 store i8 1, i8* %22, align 1 br label LBL_6 LBL_6: %27 = add i64 %rdi.0.reload, 24 %28 = call i64 @FUNC(i64 %27) %29 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0)) %30 = call i64 @FUNC(i64* nonnull @gv_2) %31 = add i64 %0, 16 %32 = inttoptr i64 %31 to i32* store i32 0, i32* %32, align 4 %33 = add i64 %0, 20 %34 = inttoptr i64 %33 to i8* store i8 0, i8* %34, align 1 %35 = call i64 @FUNC(i64* nonnull @gv_2) store i64* %sv_0.0.reload, i64** %sv_0.14.reg2mem br i1 icmp eq (i8 ptrtoint (i64* @gv_2 to i8), i8 1), label LBL_9, label LBL_6.LBL_8_crit_edge LBL_7: %.pre = add i64 %0, 8 %.pre5 = inttoptr i64 %.pre to i64* store i64* %.pre5, i64** %.pre-phi6.reg2mem store i64* %sv_0.0.reload, i64** %sv_0.13.reg2mem br label LBL_8 LBL_8: %sv_0.13.reload = load i64*, i64** %sv_0.13.reg2mem %.pre-phi6.reload = load i64*, i64** %.pre-phi6.reg2mem %36 = load i64, i64* %.pre-phi6.reload, align 8 %37 = call i64 @FUNC(i64 %36) store i64 0, i64* %.pre-phi6.reload, align 8 store i64* %sv_0.13.reload, i64** %sv_0.14.reg2mem br label LBL_9 LBL_9: %sv_0.14.reload = load i64*, i64** %sv_0.14.reg2mem %38 = ptrtoint i64* %sv_0.14.reload to i64 %39 = and i64 %38, 4294967295 ret i64 %39 uselistorder i64 %rdi.0.reload, { 2, 1, 0 } uselistorder i64* %sv_0.0.reload, { 1, 0 } uselistorder i64 %0, { 0, 5, 6, 4, 3, 2, 1, 7 } uselistorder i64** %.pre-phi6.reg2mem, { 0, 2, 1 } uselistorder i64** %sv_0.13.reg2mem, { 0, 2, 1 } uselistorder i64** %sv_0.14.reg2mem, { 0, 2, 1 } uselistorder i8 1, { 0, 2, 1 } uselistorder i64 (i64)* @mutex_unlock, { 1, 0 } uselistorder i64 (i64, i8*)* @cifs_dbg, { 1, 0 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 24, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
1
CompRealVul
control_to_network_3127
control_to_network
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = call i32 @htonl(i32 %3) store i32 %4, i32* %arg1, align 4 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = call i32 @htonl(i32 %7) store i32 %8, i32* %6, align 4 %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = call i32 @htonl(i32 %11) %13 = sext i32 %12 to i64 store i32 %12, i32* %10, align 4 ret i64 %13 uselistorder i32 (i32)* @htonl, { 2, 1, 0 } }
0
CompRealVul
cpu_reset_499
cpu_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = and i64 %3, 4294967295 %11 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %4, i64 %5, i64 %2, i64 %1) %12 = call i64 @FUNC(i64 %6, i64 0) br label LBL_2 LBL_2: %13 = call i64* @memset(i64* %arg1, i32 0, i32 16) %14 = call i64 @FUNC(i64 %6) %15 = add i64 %6, 8 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = add i64 %6, 12 %18 = inttoptr i64 %17 to i32* store i32 0, i32* %18, align 4 %19 = call i64 @FUNC(i64 %6, i64 1) ret i64 %19 uselistorder i64 %6, { 1, 2, 4, 3, 0 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 0, 3 } }
0
CompRealVul
i440fx_pcihost_class_init_15271
i440fx_pcihost_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %2, align 8 %3 = load i64, i64* @gv_1, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2 } }
1
CompRealVul
khugepaged_6613
khugepaged
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = load i64, i64* @gv_0, align 8 %2 = call i64 @FUNC(i64 %1, i64 19) %3 = call i64 @FUNC(i64* nonnull @gv_1) br label LBL_1 LBL_1: %4 = call i64 @FUNC(i64* nonnull @gv_1) %5 = load i64, i64* @gv_2, align 8 %6 = load i64, i64* @gv_0, align 8 %7 = icmp eq i64 %5, %6 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %9 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_4 to i64*), i32 1, i32 17, %_IO_FILE* %8) call void @exit(i32 1) unreachable LBL_3: %10 = call i64 @FUNC() %11 = load i64, i64* @gv_2, align 8 %12 = load i64, i64* @gv_0, align 8 %13 = icmp eq i64 %11, %12 br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %15 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_4 to i64*), i32 1, i32 17, %_IO_FILE* %14) call void @exit(i32 1) unreachable LBL_5: %16 = call i64 @FUNC(i64* nonnull @gv_1) %17 = call i64 @FUNC() %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_7, label LBL_6 LBL_6: %20 = call i64 @FUNC() %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false %24 = icmp eq i1 %23, false %25 = icmp eq i1 %24, false br i1 %25, label LBL_7, label LBL_1 LBL_7: %26 = call i64 @FUNC(i64* nonnull @gv_5) %27 = load i64, i64* @gv_6, align 8 store i64 0, i64* @gv_6, align 8 %28 = icmp eq i64 %27, 0 br i1 %28, label LBL_9, label LBL_8 LBL_8: %29 = call i64 @FUNC(i64 %27) br label LBL_9 LBL_9: %30 = call i64 @FUNC(i64* nonnull @gv_5) store i64 0, i64* @gv_2, align 8 %31 = call i64 @FUNC(i64* nonnull @gv_1) ret i64 0 uselistorder i1 false, { 1, 0, 2 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder %_IO_FILE** @gv_3, { 1, 0 } uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 } uselistorder i64 (i64*)* @mutex_lock, { 1, 0 } }
0
CompRealVul
av_get_cpu_flags_15258
av_get_cpu_flags
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %1 = icmp eq i32 %0, -1 %2 = icmp eq i1 %1, false store i32 %0, i32* %sv_0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() %4 = trunc i64 %3 to i32 store i32 %4, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 %4, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %5 = zext i32 %sv_0.0.reload to i64 ret i64 %5 }
1
CompRealVul
avfilter_graph_send_command_1500
avfilter_graph_send_command
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i32 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.25.reg2mem = alloca i32 %storemerge6.reg2mem = alloca i32 %.reg2mem11 = alloca i64 %.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32* %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 %3 = icmp eq i1 %2, false store i32 -78, i32* %rax.0.shrunk.reg2mem br i1 %3, label LBL_1, label LBL_16 LBL_1: %sext = mul i64 %arg7, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = urem i64 %arg7, 2 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = and i64 %arg7, 2 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = and i64 %4, 4294967293 %11 = or i64 %10, 2 %12 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i32 %arg6, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, -78 store i32 %13, i32* %rax.0.shrunk.reg2mem br i1 %14, label LBL_4, label LBL_16 LBL_4: %15 = icmp eq i32 %arg6, 0 %16 = icmp eq i64 %arg5, 0 %or.cond = or i1 %16, %15 br i1 %or.cond, label LBL_4.LBL_7_crit_edge, label LBL_6 LBL_5: %17 = trunc i64 %1 to i32 %.pre8 = bitcast i64* %rdi to i32* store i32* %.pre8, i32** %.pre-phi.reg2mem store i32 %17, i32* %.reg2mem br label LBL_7 LBL_6: %18 = inttoptr i64 %arg5 to i8* store i8 0, i8* %18, align 1 %.phi.trans.insert = bitcast i64* %rdi to i32* %.pre = load i32, i32* %.phi.trans.insert, align 8 store i32* %.phi.trans.insert, i32** %.pre-phi.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_7 LBL_7: %.reload = load i32, i32* %.reg2mem %19 = icmp eq i32 %.reload, 0 store i32 -78, i32* %rax.0.shrunk.reg2mem br i1 %19, label LBL_16, label LBL_8 LBL_8: %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem %20 = add i64 %arg1, 8 %21 = inttoptr i64 %20 to i64* %22 = inttoptr i64 %arg2 to i8* %23 = trunc i64 %4 to i32 %24 = zext i32 %arg6 to i64 store i64 0, i64* %.reg2mem11 store i32 0, i32* %storemerge6.reg2mem store i32 -78, i32* %sv_0.25.reg2mem br label LBL_9 LBL_9: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %.reload12 = load i64, i64* %.reg2mem11 %25 = load i64, i64* %21, align 8 %26 = mul i64 %.reload12, 8 %27 = add i64 %25, %26 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i32 @strcmp(i8* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_13, label LBL_10 LBL_10: %sv_0.25.reload = load i32, i32* %sv_0.25.reg2mem %32 = inttoptr i64 %29 to i64* %33 = load i64, i64* %32, align 8 %34 = icmp eq i64 %33, 0 br i1 %34, label LBL_12, label LBL_11 LBL_11: %35 = inttoptr i64 %33 to i8* %36 = call i32 @strcmp(i8* %22, i8* %35) %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_13, label LBL_12 LBL_12: %38 = add i64 %29, 8 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = inttoptr i64 %42 to i8* %44 = call i32 @strcmp(i8* %22, i8* %43) %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false store i32 %sv_0.25.reload, i32* %sv_0.1.reg2mem br i1 %46, label LBL_15, label LBL_13 LBL_13: %47 = call i64 @FUNC(i64 %29, i64 %arg3, i64 %arg4, i64 %arg5, i64 %24, i32 %23) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %48, -78 store i32 -78, i32* %sv_0.1.reg2mem br i1 %49, label LBL_15, label LBL_14 LBL_14: %50 = icmp slt i32 %48, 0 %51 = icmp eq i1 %50, false %or.cond4 = icmp eq i1 %6, %51 store i32 %48, i32* %sv_0.1.reg2mem store i32 %48, i32* %rax.0.shrunk.reg2mem br i1 %or.cond4, label LBL_15, label LBL_16 LBL_15: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %52 = add i32 %storemerge6.reload, 1 %53 = load i32, i32* %.pre-phi.reload, align 8 %54 = zext i32 %53 to i64 %55 = sext i32 %52 to i64 %56 = icmp slt i64 %55, %54 store i64 %55, i64* %.reg2mem11 store i32 %52, i32* %storemerge6.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.25.reg2mem store i32 %sv_0.1.reload, i32* %rax.0.shrunk.reg2mem br i1 %56, label LBL_9, label LBL_16 LBL_16: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i64 %29, { 2, 0, 1 } uselistorder i8* %22, { 1, 0, 2 } uselistorder i64* %rdi, { 1, 0 } uselistorder i64* %.reg2mem11, { 1, 0, 2 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.25.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 3, 2 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 4, 5 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0, 2 } uselistorder i64 8, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 4, 5, 0, 1, 6 } uselistorder i64 2, { 2, 1, 0 } uselistorder i32 -78, { 2, 4, 3, 0, 5, 1 } uselistorder i64 %arg7, { 2, 1, 0 } uselistorder i32 %arg6, { 1, 2, 0 } uselistorder i64 %arg5, { 1, 3, 2, 0 } uselistorder i64 %arg4, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
CompRealVul
jsi_ValueToOInt32_11977
jsi_ValueToOInt32
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 store i64 %arg2, i64* %sv_0, align 8 %0 = call i128 @FUNC(i64 %arg1, i64 %arg2, i64 1) %1 = call i64 @FUNC(i128 %0) %2 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0) %3 = call i128 @__asm_movq.1(i64 %1) %4 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0) %5 = call i128 @__asm_movsd.2(i64 %1) %6 = call i32 @FUNC(i128 %5) %7 = sext i32 %6 to i64 ret i64 %7 uselistorder i64 %1, { 1, 0 } uselistorder i32 1, { 4, 3, 1, 2, 0 } }
1
CompRealVul
piix3_class_init_3100
piix3_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 %5 = bitcast i64* %arg1 to i32* store i32 1, i32* %5, align 4 store i64 4198694, i64* %2, align 8 %6 = inttoptr i64 %3 to i64* store i64 4198701, i64* %6, align 8 %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i32* store i32 32902, i32* %8, align 4 %9 = add i64 %0, 28 %10 = inttoptr i64 %9 to i32* store i32 28947, i32* %10, align 4 %11 = add i64 %0, 32 %12 = inttoptr i64 %11 to i32* store i32 1537, i32* %12, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } }
0
CompRealVul
uvc_fraction_to_interval_8497
uvc_fraction_to_interval
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32 %sv_1.08.reg2mem = alloca i64 %sv_0.09.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_7, label LBL_1 LBL_1: %sext3 = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext3, 32 %.lhs.trunc = trunc i64 %arg1 to i32 %.rhs.trunc = trunc i64 %2 to i32 %3 = udiv i32 %.lhs.trunc, %.rhs.trunc %4 = icmp ult i32 %3, 429 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_7 LBL_2: %5 = icmp ugt i32 %.lhs.trunc, 429 store i32 10000000, i32* %sv_0.09.reg2mem store i64 %2, i64* %sv_1.08.reg2mem store i32 %.rhs.trunc, i32* %.pre-phi.reg2mem store i32 10000000, i32* %sv_0.0.lcssa.reg2mem br i1 %5, label LBL_3, label LBL_5 LBL_3: %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem %6 = udiv i32 %sv_0.09.reload, 2 %7 = udiv i64 %sv_1.08.reload, 2 %8 = urem i64 %7, 2147483648 %9 = udiv i32 -1, %6 %10 = icmp ult i32 %9, %.lhs.trunc store i32 %6, i32* %sv_0.09.reg2mem store i64 %8, i64* %sv_1.08.reg2mem br i1 %10, label LBL_3, label LBL_4 LBL_4: %.pre = trunc i64 %8 to i32 store i32 %.pre, i32* %.pre-phi.reg2mem store i32 %6, i32* %sv_0.0.lcssa.reg2mem br label LBL_5 LBL_5: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %11 = icmp eq i32 %.pre-phi.reload, 0 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_7, label LBL_6 LBL_6: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %12 = mul i32 %sv_0.0.lcssa.reload, %.lhs.trunc %13 = udiv i32 %12, %.pre-phi.reload %.zext7 = zext i32 %13 to i64 store i64 %.zext7, 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 } uselistorder i32* %sv_0.09.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.08.reg2mem, { 2, 0, 1 } uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_7, { 3, 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
opfisub_8639
opfisub
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %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 = icmp eq i32 %2, 1 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg3 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = icmp eq i32 %9, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_6, label LBL_2 LBL_2: %11 = ptrtoint i64* %arg2 to i64 %12 = and i32 %8, 2 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = bitcast i64* %arg2 to i8* store i8 -38, i8* %14, align 1 %15 = add i64 %5, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %11, 1 %19 = trunc i32 %17 to i8 %20 = or i8 %19, 32 %21 = inttoptr i64 %18 to i8* store i8 %20, i8* %21, align 1 store i64 2, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %22 = and i32 %8, 4 %23 = icmp eq i32 %22, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = bitcast i64* %arg2 to i8* store i8 -34, i8* %24, align 1 %25 = add i64 %5, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %11, 1 %29 = trunc i32 %27 to i8 %30 = or i8 %29, 32 %31 = inttoptr i64 %28 to i8* store i8 %30, i8* %31, align 1 store i64 2, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %11, { 1, 0 } uselistorder i32 %8, { 1, 2, 0 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 5, 1, 4, 3 } uselistorder i64 2, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_6, { 1, 4, 0, 3, 2 } }
0
CompRealVul
apc_read_header_3423
apc_read_header
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 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %0, i64 0) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_6 LBL_1: %7 = inttoptr i64 %4 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i32* store i32 1, i32* %9, align 4 %10 = load i64, i64* %7, align 8 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 %13 = call i64 @FUNC(i64 %0) %14 = load i64, i64* %7, align 8 %15 = call i64 @FUNC(i64 %0) %16 = trunc i64 %15 to i32 %17 = add i64 %14, 8 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = load i64, i64* %7, align 8 %20 = call i64 @FUNC(i64 %0, i64 %19, i64 %0, i64 8) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %23, label LBL_2, label LBL_6 LBL_2: %24 = call i64 @FUNC(i64 %0) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %27 = load i64, i64* %7, align 8 %28 = add i64 %27, 12 %29 = inttoptr i64 %28 to i32* br i1 %26, label LBL_4, label LBL_3 LBL_3: store i32 2, i32* %29, align 4 %30 = load i64, i64* %7, align 8 %31 = add i64 %30, 16 %32 = inttoptr i64 %31 to i32* store i32 3, i32* %32, align 4 br label LBL_5 LBL_4: store i32 1, i32* %29, align 4 %33 = load i64, i64* %7, align 8 %34 = add i64 %33, 16 %35 = inttoptr i64 %34 to i32* store i32 4, i32* %35, align 4 br label LBL_5 LBL_5: %36 = load i64, i64* %7, align 8 %37 = add i64 %36, 20 %38 = inttoptr i64 %37 to i32* store i32 4, i32* %38, align 4 %39 = load i64, i64* %7, align 8 %40 = add i64 %39, 20 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i64 %39, 12 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = sext i32 %42 to i64 %47 = sext i32 %45 to i64 %48 = mul nsw i64 %47, %46 %49 = add i64 %39, 8 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = sext i32 %51 to i64 %53 = mul i64 %48, %52 %54 = add i64 %39, 24 %55 = inttoptr i64 %54 to i64* store i64 %53, i64* %55, align 8 %56 = load i64, i64* %7, align 8 %57 = add i64 %56, 32 %58 = inttoptr i64 %57 to i32* store i32 1, i32* %58, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %39, { 1, 0, 2, 3 } uselistorder i32* %29, { 1, 0 } uselistorder i64* %7, { 1, 2, 3, 4, 0, 5, 6, 7, 8, 9 } uselistorder i64 %0, { 0, 2, 1, 4, 3, 5, 6, 7, 8 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 (i64)* @avio_rl32, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_6, { 2, 0, 1 } }
0
CompRealVul
qmp_guest_file_flush_3063
qmp_guest_file_flush
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %arg1, i64 %0) %2 = icmp eq i64 %1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_4, label LBL_1 LBL_1: %3 = inttoptr i64 %1 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to %_IO_FILE* %6 = call i32 @fflush(%_IO_FILE* %5) %7 = icmp eq i32 %6, -1 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i32* @__errno_location() %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %0, i64 %11, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0)) store i64 %12, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %13 = add i64 %1, 8 %14 = inttoptr i64 %13 to i32* store i32 1, i32* %14, align 4 store i64 %1, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_4, { 1, 2, 0 } }
0
CompRealVul
matroska_probe_15783
matroska_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.07.reg2mem = alloca i64 %storemerge18.reg2mem = alloca i32 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge2.lcssa.reg2mem = alloca i64 %storemerge211.reg2mem = alloca i64 %indvars.iv17.reg2mem = alloca i64 %sv_0.012.reg2mem = alloca i32 %sv_1.013.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 440786851 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_12 LBL_1: %4 = add i64 %0, 4 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = zext i8 %6 to i64 store i32 1, i32* %sv_1.013.reg2mem store i32 128, i32* %sv_0.012.reg2mem br label LBL_3 LBL_2: %8 = add nuw nsw i32 %sv_1.013.reload, 1 %9 = ashr i32 %sv_0.012.reload, 1 %10 = icmp ugt i32 %sv_1.013.reload, 7 store i32 %8, i32* %sv_1.013.reg2mem store i32 %9, i32* %sv_0.012.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_12, label LBL_3 LBL_3: %sv_0.012.reload = load i32, i32* %sv_0.012.reg2mem %sv_1.013.reload = load i32, i32* %sv_1.013.reg2mem %11 = zext i32 %sv_0.012.reload to i64 %12 = and i64 %11, %7 %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_2, label LBL_4 LBL_4: %14 = add nsw i32 %sv_0.012.reload, 255 %15 = zext i32 %14 to i64 %16 = and i64 %15, %7 %17 = icmp ugt i32 %sv_1.013.reload, 1 store i64 %16, i64* %storemerge2.lcssa.reg2mem br i1 %17, label LBL_5, label LBL_7 LBL_5: %wide.trip.count = zext i32 %sv_1.013.reload to i64 store i64 1, i64* %indvars.iv17.reg2mem store i64 %16, i64* %storemerge211.reg2mem br label LBL_6 LBL_6: %storemerge211.reload = load i64, i64* %storemerge211.reg2mem %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem %18 = mul i64 %storemerge211.reload, 256 %indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 1 %19 = add i64 %4, %indvars.iv17.reload %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = zext i8 %21 to i64 %23 = or i64 %18, %22 %exitcond = icmp eq i64 %indvars.iv.next18, %wide.trip.count store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem store i64 %23, i64* %storemerge211.reg2mem store i64 %23, i64* %storemerge2.lcssa.reg2mem br i1 %exitcond, label LBL_7, label LBL_6 LBL_7: %storemerge2.lcssa.reload = load i64, i64* %storemerge2.lcssa.reg2mem %24 = add i64 %0, 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = sext i32 %26 to i64 %28 = add nuw i32 %sv_1.013.reload, 4 %29 = sext i32 %28 to i64 %30 = add i64 %storemerge2.lcssa.reload, %29 %31 = icmp ugt i64 %30, %27 %32 = icmp eq i1 %31, false store i64 0, i64* %indvars.iv.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_8, label LBL_12 LBL_8: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %33 = mul i64 %indvars.iv.reload, 8 %34 = add i64 %33, ptrtoint ([2 x i8*]* @gv_0 to i64) %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = inttoptr i64 %36 to i8* %38 = call i32 @strlen(i8* %37) %39 = sext i32 %38 to i64 %40 = sub i64 %30, %39 %41 = icmp ult i64 %40, %29 store i64 %29, i64* %.reg2mem store i32 %28, i32* %storemerge18.reg2mem store i64 %36, i64* %rdi.07.reg2mem br i1 %41, label LBL_11, label LBL_9 LBL_9: %rdi.07.reload = load i64, i64* %rdi.07.reg2mem %.reload = load i64, i64* %.reg2mem %42 = load i64, i64* %35, align 8 %43 = add i64 %rdi.07.reload, %.reload %44 = inttoptr i64 %43 to i64* %45 = inttoptr i64 %42 to i64* %46 = call i32 @memcmp(i64* %44, i64* %45, i32 %38) %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false store i64 100, i64* %rax.0.reg2mem br i1 %48, label LBL_10, label LBL_12 LBL_10: %storemerge18.reload = load i32, i32* %storemerge18.reg2mem %49 = add i32 %storemerge18.reload, 1 %50 = sext i32 %49 to i64 %51 = icmp ult i64 %40, %50 store i64 %50, i64* %.reg2mem store i32 %49, i32* %storemerge18.reg2mem store i64 %43, i64* %rdi.07.reg2mem br i1 %51, label LBL_11, label LBL_9 LBL_11: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %52 = icmp ult i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 50, i64* %rax.0.reg2mem br i1 %52, label LBL_8, label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %40, { 1, 0 } uselistorder i32 %38, { 1, 0 } uselistorder i64 %29, { 0, 2, 1 } uselistorder i64 %indvars.iv17.reload, { 1, 0 } uselistorder i64 %16, { 1, 0 } uselistorder i32 %sv_1.013.reload, { 3, 2, 4, 0, 1 } uselistorder i32 %sv_0.012.reload, { 2, 1, 0 } uselistorder i64* %indvars.iv17.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge211.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge18.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.07.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 5 } uselistorder i32 0, { 4, 0, 1, 2, 3 } uselistorder i64 1, { 2, 1, 0, 3 } uselistorder label LBL_12, { 1, 2, 3, 0, 4 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
xen_host_pci_get_resource_7384
xen_host_pci_get_resource
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %sv_1.010.reg2mem = alloca i8* %storemerge11.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i8*, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_4, i64 4096) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 store i64 %4, i64* %rax.0.reg2mem br label LBL_20 LBL_2: %5 = ptrtoint i64* %sv_5 to i64 %6 = bitcast i64* %sv_4 to i8* %7 = call i32 (i8*, i32, ...) @open(i8* nonnull %6, i32 0) %8 = icmp eq i32 %7, -1 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i32* @__errno_location() %11 = load i32, i32* %10, align 4 %12 = call i8* @strerror(i32 %11) %13 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %14 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %13, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_4, i8* %12) %15 = call i32* @__errno_location() %16 = load i32, i32* %15, align 4 %17 = sub i32 0, %16 %18 = zext i32 %17 to i64 store i64 %18, i64* %rax.0.reg2mem br label LBL_20 LBL_4: %19 = call i32 @read(i32 %7, i64* nonnull %sv_3, i32 4095) %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_5 LBL_5: %22 = call i32* @__errno_location() %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 4 br i1 %24, label LBL_4, label LBL_6 LBL_6: %25 = call i32* @__errno_location() %26 = load i32, i32* %25, align 4 %27 = sub i32 0, %26 %phitmp = zext i32 %27 to i64 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_19 LBL_7: %28 = sext i32 %19 to i64 %29 = add i64 %5, -8256 %30 = add i64 %29, %28 %31 = inttoptr i64 %30 to i8* store i8 0, i8* %31, align 1 %32 = bitcast i64* %sv_3 to i8* %33 = add i64 %0, 192 %34 = inttoptr i64 %33 to i64* %35 = add i64 %0, 200 %36 = inttoptr i64 %35 to i64* %37 = add i64 %0, 208 %38 = inttoptr i64 %37 to i8* %39 = add i64 %0, 216 %40 = inttoptr i64 %39 to i64* store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %storemerge11.reg2mem store i8* %32, i8** %sv_1.010.reg2mem br label LBL_8 LBL_8: %sv_1.010.reload = load i8*, i8** %sv_1.010.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %41 = call i64 @strtoll(i8* %sv_1.010.reload, i8** nonnull %sv_2, i32 16) %42 = load i8*, i8** %sv_2, align 8 %43 = load i8, i8* %42, align 1 %44 = icmp eq i8 %43, 32 %45 = icmp eq i1 %44, false %46 = icmp eq i8* %sv_1.010.reload, %42 %or.cond = or i1 %46, %45 br i1 %or.cond, label LBL_1516, label LBL_9 LBL_9: %47 = ptrtoint i8* %42 to i64 %48 = add i64 %47, 1 %49 = inttoptr i64 %48 to i8* %50 = call i64 @strtoll(i8* %49, i8** nonnull %sv_2, i32 16) %51 = load i8*, i8** %sv_2, align 8 %52 = load i8, i8* %51, align 1 %53 = icmp eq i8 %52, 32 %54 = icmp eq i1 %53, false %55 = icmp eq i8* %51, %49 %or.cond5 = or i1 %55, %54 br i1 %or.cond5, label LBL_1514, label LBL_10 LBL_10: %56 = ptrtoint i8* %51 to i64 %57 = add i64 %56, 1 %58 = inttoptr i64 %57 to i8* %59 = call i64 @strtoll(i8* %58, i8** nonnull %sv_2, i32 16) %60 = load i8*, i8** %sv_2, align 8 %61 = load i8, i8* %60, align 1 %62 = icmp eq i8 %61, 10 %63 = icmp eq i1 %62, false %64 = icmp eq i8* %60, %58 %or.cond6 = or i1 %64, %63 br i1 %or.cond6, label LBL_15, label LBL_11 LBL_11: %storemerge11.reload = load i32, i32* %storemerge11.reg2mem %65 = icmp eq i64 %41, 0 %66 = sub i64 1, %41 %67 = add i64 %66, %50 %storemerge4 = select i1 %65, i64 0, i64 %67 %68 = urem i64 %59, 2 %69 = icmp ne i64 %68, 0 %spec.select = zext i1 %69 to i8 %70 = trunc i64 %59 to i8 %71 = and i8 %70, 14 %72 = or i8 %71, %spec.select %73 = icmp ugt i64 %indvars.iv.reload, 4 br i1 %73, label LBL_13, label LBL_12 LBL_12: %74 = mul i64 %indvars.iv.reload, 32 %75 = add i64 %74, %0 %76 = inttoptr i64 %75 to i64* store i64 %41, i64* %76, align 8 %77 = add i64 %75, 8 %78 = inttoptr i64 %77 to i64* store i64 %storemerge4, i64* %78, align 8 %79 = add i64 %75, 16 %80 = inttoptr i64 %79 to i8* store i8 %72, i8* %80, align 1 %81 = urem i64 %59, 16 %82 = add i64 %75, 24 %83 = inttoptr i64 %82 to i64* store i64 %81, i64* %83, align 8 br label LBL_14 LBL_13: store i64 %41, i64* %34, align 8 store i64 %storemerge4, i64* %36, align 8 store i8 %72, i8* %38, align 1 %84 = urem i64 %59, 16 store i64 %84, i64* %40, align 8 br label LBL_14 LBL_14: %85 = ptrtoint i8* %60 to i64 %86 = add i64 %85, 1 %87 = inttoptr i64 %86 to i8* %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %88 = add nuw nsw i32 %storemerge11.reload, 1 %89 = icmp ult i64 %indvars.iv.next, 6 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %88, i32* %storemerge11.reg2mem store i8* %87, i8** %sv_1.010.reg2mem store i32 %88, i32* %storemerge.lcssa.reg2mem br i1 %89, label LBL_8, label LBL_18 LBL_15: %90 = trunc i64 %indvars.iv.reload to i32 store i32 %90, i32* %storemerge.lcssa.reg2mem br label LBL_18 LBL_16: %91 = trunc i64 %indvars.iv.reload to i32 store i32 %91, i32* %storemerge.lcssa.reg2mem br label LBL_18 LBL_17: %92 = trunc i64 %indvars.iv.reload to i32 store i32 %92, i32* %storemerge.lcssa.reg2mem br label LBL_18 LBL_18: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %93 = icmp eq i32 %storemerge.lcssa.reload, 6 %spec.select8 = select i1 %93, i64 0, i64 4294967277 store i64 %spec.select8, i64* %sv_0.0.reg2mem br label LBL_19 LBL_19: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %94 = call i32 @close(i32 %7) store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %72, { 1, 0 } uselistorder i8* %60, { 1, 0, 2 } uselistorder i64 %59, { 0, 1, 3, 2 } uselistorder i8* %51, { 1, 0, 2 } uselistorder i8* %42, { 1, 0, 2 } uselistorder i64 %41, { 2, 1, 0, 3 } uselistorder i64 %indvars.iv.reload, { 4, 3, 2, 0, 5, 1 } uselistorder i8** %sv_2, { 2, 5, 1, 4, 0, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_1.010.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i8*, i8**, i32)* @strtoll, { 2, 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i32* ()* @__errno_location, { 3, 0, 1, 2 } uselistorder label LBL_18, { 1, 2, 3, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
vtable_is_addr_vtable_start_msvc_12533
vtable_is_addr_vtable_start_msvc
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge15.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %0 = icmp ne i64 %arg2, 0 %1 = icmp eq i64 %arg2, -1 %2 = icmp eq i1 %1, false %or.cond = icmp eq i1 %0, %2 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_12 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %arg2, i64 0) %5 = trunc i64 %4 to i8 %6 = icmp eq i8 %5, 1 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_12 LBL_2: %7 = call i64 @FUNC(i64 %3, i64 %arg2) %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %7) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_4: %12 = inttoptr i64 %7 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_11 LBL_5: %16 = add i64 %3, 8 %17 = inttoptr i64 %16 to i64* store i64 %13, i64* %storemerge15.reg2mem br label LBL_6 LBL_6: %storemerge15.reload = load i64, i64* %storemerge15.reg2mem %storemerge.in = inttoptr i64 %storemerge15.reload to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %18 = inttoptr i64 %storemerge to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %3, i64 %19) %21 = trunc i64 %20 to i8 %22 = icmp eq i8 %21, 0 br i1 %22, label LBL_10, label LBL_7 LBL_7: %23 = load i64, i64* %17, align 8 store i32 0, i32* %sv_0, align 4 %24 = load i64, i64* %18, align 8 %25 = call i64 @FUNC(i64 %23, i32* nonnull %sv_0, i64 %24, i64* nonnull %sv_1, i64 256, i64 1) %26 = load i32, i32* %sv_0, align 4 %27 = icmp ne i32 %26, 1 %28 = icmp eq i32 %26, 2 %29 = icmp eq i1 %28, false %or.cond4 = icmp eq i1 %27, %29 br i1 %or.cond4, label LBL_9, label LBL_8 LBL_8: %30 = call i64 @FUNC(i64 %7) %31 = call i64 @FUNC(i32* nonnull %sv_0) store i64 1, i64* %rax.0.reg2mem br label LBL_12 LBL_9: %32 = call i64 @FUNC(i32* nonnull %sv_0) br label LBL_10 LBL_10: %33 = add i64 %storemerge15.reload, 8 %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false store i64 %33, i64* %storemerge15.reg2mem br i1 %35, label LBL_6, label LBL_11 LBL_11: %36 = call i64 @FUNC(i64 %7) 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 %3, { 1, 0, 2, 3 } uselistorder i32* %sv_0, { 0, 1, 3, 2, 4 } uselistorder i64* %storemerge15.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 1, 2 } uselistorder i64 (i32*)* @r_anal_op_fini, { 1, 0 } uselistorder i64 1, { 0, 4, 1, 2, 3 } uselistorder i64 (i64)* @r_list_free, { 1, 2, 0 } uselistorder i1 false, { 3, 1, 0, 2 } uselistorder i64 %arg2, { 1, 2, 0, 3 } uselistorder label LBL_12, { 3, 2, 4, 0, 1 } uselistorder label LBL_6, { 1, 0 } }
1
CompRealVul
pc_i440fx_2_4_machine_options_1725
pc_i440fx_2_4_machine_options
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 %4 = bitcast i64* %arg1 to i8* store i8 1, i8* %4, align 1 ret i64 %0 uselistorder i64 %0, { 2, 0, 1 } }
0
CompRealVul
netdev_del_completion_15769
netdev_del_completion
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 2 %2 = icmp eq i1 %1, false br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i32 @strlen(i8* %arg3) %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %3, i64 %5) %7 = call i64 @FUNC(i64 0, i64* nonnull %sv_0, i64 1, i64 10) %8 = trunc i64 %7 to i32 %9 = icmp sgt i32 %8, 0 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_7 LBL_2: %10 = ptrtoint i64* %sv_1 to i64 %11 = add i64 %10, -112 %wide.trip.count = and i64 %7, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %12 = mul i64 %indvars.iv.reload, 8 %13 = add i64 %11, %12 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i8* %19 = call i32 @strncmp(i8* %arg3, i8* %18, i32 %4) %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_4 LBL_4: %22 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 0) %23 = call i64 @FUNC(i64 %22, i64 %17) %24 = icmp eq i64 %23, 0 br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %3, i64 %17) br label LBL_6 LBL_6: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %wide.trip.count, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_7, label LBL_3 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
1
CompRealVul
alloc_huge_page_node_9463
alloc_huge_page_node
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %5 to i32 %7 = icmp ne i32 %3, -1 %8 = zext i1 %7 to i32 %spec.select = or i32 %6, %8 %9 = call i64 @FUNC(i64* nonnull @gv_0) %10 = trunc i64 %1 to i32 %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = sub i32 %10, %13 %15 = icmp slt i32 %14, 1 br i1 %15, label LBL_1, label LBL_2 LBL_1: %16 = call i64 @FUNC(i64* nonnull @gv_0) %.pre = trunc i64 %4 to i32 store i32 %.pre, i32* %.pre-phi.reg2mem br label LBL_3 LBL_2: %17 = trunc i64 %4 to i32 %18 = call i64 @FUNC(i64 %2, i32 %spec.select, i32 %17, i64 0) %19 = call i64 @FUNC(i64* nonnull @gv_0) %20 = icmp eq i64 %18, 0 %21 = icmp eq i1 %20, false store i32 %17, i32* %.pre-phi.reg2mem store i64 %18, i64* %sv_0.1.reg2mem br i1 %21, label LBL_4, label LBL_3 LBL_3: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %22 = call i64 @FUNC(i64 %2, i32 %spec.select, i32 %.pre-phi.reload, i64 0) store i64 %22, i64* %sv_0.1.reg2mem br label LBL_4 LBL_4: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem ret i64 %sv_0.1.reload uselistorder i32 %spec.select, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 0, 2, 1, 3 } uselistorder i64 (i64*)* @spin_unlock, { 1, 0 } uselistorder i64* @gv_0, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
png_set_gamma_10693
png_set_gamma
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %rax.0.reg2mem = alloca i64 %1 = load i128, i128* %0 %2 = load i128, i128* %0 %3 = call i64 @FUNC(i128 %2) %4 = call i64 @FUNC(i128 %1) %5 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) %6 = icmp eq i64* %arg1, null store i64 %5, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = call i128 @__asm_movsd.1(i64 %3) %9 = call i128 @FUNC(i128 %8, i64 %4) %10 = call i128 @__asm_movsd.1(i64 4607182418800017408) %11 = call i128 @FUNC(i128 %9, i128 %10) %12 = call i128 @FUNC(i64 9223372036854775807) %13 = call i128 @FUNC(i128 %11, i128 %12) %14 = load i128, i128* @gv_1, align 8 call void @FUNC(i128 %13, i128 %14) %15 = add i64 %7, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = or i32 %17, 1 store i32 %18, i32* %16, align 4 %19 = call i128 @FUNC(i128 %13, i128 %13) %20 = call i128 @FUNC(i64 %4) %21 = call i64 @FUNC(i128 %20) %22 = add i64 %7, 8 %23 = trunc i64 %21 to i32 %24 = inttoptr i64 %22 to i32* store i32 %23, i32* %24, align 4 %25 = call i128 @FUNC(i128 %20, i128 %20) %26 = call i128 @FUNC(i64 %3) %27 = call i64 @FUNC(i128 %26) %28 = add i64 %7, 12 %29 = trunc i64 %27 to i32 %30 = inttoptr i64 %28 to i32* store i32 %29, i32* %30, align 4 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 i128 %20, { 2, 1, 0 } uselistorder i128 %13, { 1, 0, 2 } uselistorder i128* %0, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
prefix_components_10937
prefix_components
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.ph10.reg2mem = alloca i32 %sv_1.0.ph12.reg2mem = alloca i64 %.reg2mem37 = alloca i64 %.reg2mem35 = alloca i8* %.reg2mem33 = alloca i8 %sv_1.08.reg2mem = alloca i64 %.reg2mem31 = alloca i64 %.reg2mem29 = alloca i8* %.reg2mem = alloca i8 %2 = load i64, i64* %0 %3 = load i32, i32* %1 %sv_2 = alloca i64, align 8 %4 = trunc i64 %2 to i8 %5 = icmp eq i8 %4, 0 store i32 0, i32* %sv_0.1.reg2mem br i1 %5, label LBL_10, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 1 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = icmp eq i8 %9, 0 %11 = icmp eq i1 %10, false store i32 0, i32* %sv_0.1.reg2mem br i1 %11, label LBL_2, label LBL_10 LBL_2: %12 = trunc i64 %arg2 to i8 %13 = icmp eq i8 %12, 0 %14 = and i32 %3, 61440 %15 = icmp eq i32 %14, 16384 store i8 %9, i8* %.reg2mem33 store i8* %8, i8** %.reg2mem35 store i64 %7, i64* %.reg2mem37 store i64 %6, i64* %sv_1.0.ph12.reg2mem store i32 0, i32* %sv_0.0.ph10.reg2mem br label LBL_3.lr.ph LBL_3: %.reload32 = load i64, i64* %.reg2mem31 %.reload = load i8, i8* %.reg2mem %16 = icmp eq i8 %.reload, 47 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_5 LBL_4: %18 = add i64 %.reload32, 1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 0 %22 = icmp eq i1 %21, false store i8 %20, i8* %.reg2mem store i8* %19, i8** %.reg2mem29 store i64 %18, i64* %.reg2mem31 store i64 %.reload32, i64* %sv_1.08.reg2mem store i32 %sv_0.0.ph10.reload, i32* %sv_0.1.reg2mem br i1 %22, label LBL_3, label LBL_10 LBL_5: %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem %23 = inttoptr i64 %sv_1.08.reload to i8* %24 = load i8, i8* %23, align 1 %25 = icmp eq i8 %24, 47 br i1 %25, label LBL_4, label LBL_6 LBL_6: br i1 %13, label LBL_8, label LBL_7 LBL_7: %.reload30 = load i8*, i8** %.reg2mem29 store i8 0, i8* %.reload30, align 1 %26 = call i64 @FUNC(i64 %6, i64* nonnull %sv_2) %27 = trunc i64 %26 to i32 store i8 47, i8* %.reload30, align 1 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %15, %28 store i32 %sv_0.0.ph10.reload, i32* %sv_0.1.reg2mem br i1 %29, label LBL_8, label LBL_10 LBL_8: %30 = add i32 %sv_0.0.ph10.reload, 1 %31 = add i64 %.reload32, 1 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = icmp eq i8 %33, 0 %35 = icmp eq i1 %34, false store i8 %33, i8* %.reg2mem33 store i8* %32, i8** %.reg2mem35 store i64 %31, i64* %.reg2mem37 store i64 %.reload32, i64* %sv_1.0.ph12.reg2mem store i32 %30, i32* %sv_0.0.ph10.reg2mem store i32 %30, i32* %sv_0.1.reg2mem br i1 %35, label LBL_3.lr.ph, label LBL_10 LBL_9: %sv_0.0.ph10.reload = load i32, i32* %sv_0.0.ph10.reg2mem %sv_1.0.ph12.reload = load i64, i64* %sv_1.0.ph12.reg2mem %.reload38 = load i64, i64* %.reg2mem37 %.reload36 = load i8*, i8** %.reg2mem35 %.reload34 = load i8, i8* %.reg2mem33 store i8 %.reload34, i8* %.reg2mem store i8* %.reload36, i8** %.reg2mem29 store i64 %.reload38, i64* %.reg2mem31 store i64 %sv_1.0.ph12.reload, i64* %sv_1.08.reg2mem br label LBL_3 LBL_10: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %36 = zext i32 %sv_0.1.reload to i64 ret i64 %36 uselistorder i32 %sv_0.0.ph10.reload, { 1, 0, 2 } uselistorder i8* %.reload30, { 1, 0 } uselistorder i64 %.reload32, { 0, 3, 1, 2 } uselistorder i64 %6, { 2, 0, 1 } uselistorder i8* %.reg2mem, { 2, 1, 0 } uselistorder i8** %.reg2mem29, { 2, 0, 1 } uselistorder i64* %.reg2mem31, { 2, 1, 0 } uselistorder i64* %sv_1.08.reg2mem, { 2, 0, 1 } uselistorder i8 47, { 2, 0, 1 } uselistorder i1 false, { 1, 3, 2, 0 } uselistorder i32 0, { 3, 2, 0, 1, 4 } uselistorder i8 0, { 1, 2, 4, 3, 0, 5 } uselistorder label LBL_10, { 1, 0, 2, 3, 4 } uselistorder label LBL_3.lr.ph, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
armass_assemble_18953
armass_assemble
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i32 %sv_1.14.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %0 = ptrtoint i64* %sv_4 to i64 store i64 %arg2, i64* %sv_3, align 8 %1 = add i64 %0, -144 store i32 0, i32* %sv_1.14.reg2mem store i32 0, i32* %sv_0.03.reg2mem br label LBL_5 LBL_1: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %2 = sext i32 %sv_0.03.reload to i64 %3 = add i64 %2, %arg1 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %5, 35 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = add i32 %sv_1.14.reload, -1 store i32 %8, i32* %sv_1.0.reg2mem br label LBL_4 LBL_3: %9 = zext i8 %5 to i32 %10 = call i32 @tolower(i32 %9) %11 = trunc i32 %10 to i8 %12 = add i64 %1, %17 %13 = inttoptr i64 %12 to i8* store i8 %11, i8* %13, align 1 store i32 %sv_1.14.reload, i32* %sv_1.0.reg2mem br label LBL_4 LBL_4: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %14 = add i32 %sv_1.0.reload, 1 %15 = add i32 %sv_0.03.reload, 1 %16 = icmp ult i32 %14, 127 store i32 %14, i32* %sv_1.14.reg2mem store i32 %15, i32* %sv_0.03.reg2mem store i64 127, i64* %.pre-phi.reg2mem br i1 %16, label LBL_5, label LBL_6 LBL_5: %sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem %17 = sext i32 %sv_1.14.reload to i64 %18 = add i64 %17, %arg1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 0 %22 = icmp eq i1 %21, false store i64 %17, i64* %.pre-phi.reg2mem br i1 %22, label LBL_1, label LBL_6 LBL_6: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %23 = add i64 %.pre-phi.reload, %1 %24 = inttoptr i64 %23 to i8* store i8 0, i8* %24, align 1 %25 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %sv_2) store i64 %arg2, i64* %sv_3, align 8 %26 = icmp ult i32 %arg3, 2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_7, label LBL_8 LBL_7: %27 = ptrtoint i64* %sv_3 to i64 %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false %. = select i1 %30, i64 0, i64 4294967295 store i64 %., i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %17, { 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_3, { 1, 2, 0, 3 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i1 false, { 0, 2, 1 } uselistorder i32 1, { 9, 10, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
CompRealVul
spapr_dr_connector_class_init_2132
spapr_dr_connector_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198683, i64* %arg1, align 8 store i64 4198690, i64* %2, align 8 store i64 4198697, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198704, i64* %6, align 8 %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i64* store i64 4198715, i64* %8, align 8 %9 = add i64 %0, 40 %10 = inttoptr i64 %9 to i64* store i64 4198726, i64* %10, align 8 %11 = add i64 %0, 48 %12 = inttoptr i64 %11 to i64* store i64 4198737, i64* %12, align 8 %13 = add i64 %0, 56 %14 = inttoptr i64 %13 to i64* store i64 4198748, i64* %14, align 8 %15 = add i64 %0, 64 %16 = inttoptr i64 %15 to i64* store i64 4198755, i64* %16, align 8 %17 = add i64 %0, 72 %18 = inttoptr i64 %17 to i64* store i64 4198762, i64* %18, align 8 %19 = add i64 %0, 80 %20 = inttoptr i64 %19 to i64* store i64 4198769, i64* %20, align 8 %21 = add i64 %0, 88 %22 = inttoptr i64 %21 to i64* store i64 4198776, i64* %22, align 8 %23 = inttoptr i64 %5 to i8* store i8 1, i8* %23, align 1 ret i64 %0 }
0
CompRealVul
qeth_l2_shutdown_17524
qeth_l2_shutdown
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %4, i64 0, i64 1) %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 1 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = inttoptr i64 %4 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %4, i64 0) br label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %4, i64 0) %14 = call i64 @FUNC(i64 %4) ret i64 %14 }
1
CompRealVul
fmt_okt_load_song_7819
fmt_okt_load_song
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %2 = alloca i1 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %r8.2.lcssa.reg2mem = alloca i64 %rcx.6.lcssa.reg2mem = alloca i64 %sv_0.121.reg2mem = alloca i32 %rcx.622.reg2mem = alloca i64 %rsi.923.reg2mem = alloca i64 %r8.224.reg2mem = alloca i64 %storemerge25.reg2mem = alloca i32 %indvars.iv56.reg2mem = alloca i64 %r8.1.reg2mem = alloca i64 %rsi.8.reg2mem = alloca i64 %rcx.5.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %r8.0.reg2mem = alloca i64 %rsi.7.reg2mem = alloca i64 %.reg2mem = alloca i32 %rsi.6.reg2mem = alloca i64 %rcx.4.reg2mem = alloca i64 %rsi.4.reg2mem = alloca i64 %rsi.528.reg2mem = alloca i64 %indvars.iv58.reg2mem = alloca i64 %rsi.3.reg2mem = alloca i64 %sv_1.031.reg2mem = alloca i32 %indvars.iv61.reg2mem = alloca i64 %rsi.1.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %sv_5.0.reg2mem = alloca i32 %sv_6.0.reg2mem = alloca i32 %sv_6.136.reg2mem = alloca i32 %sv_5.138.reg2mem = alloca i32 %sv_4.139.reg2mem = alloca i32 %sv_3.140.reg2mem = alloca i32 %sv_2.141.reg2mem = alloca i32 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i1, i1* %2 %6 = ptrtoint i64* %arg2 to i64 %sv_7 = alloca i32, align 4 %7 = load i32, i32* %1 %8 = load i32, i32* %1 %9 = load i32, i32* %1 %sv_8 = alloca i32, align 4 %sv_9 = alloca i64, align 8 %sv_10 = alloca i64, align 8 %sv_11 = alloca i64, align 8 %sv_12 = alloca i64, align 8 %sv_13 = alloca i64, align 8 %sv_14 = alloca i64, align 8 %10 = bitcast i64* %sv_13 to i8* call void @FUNC(i8* nonnull %10, i64 0, i64 128) %11 = bitcast i64* %sv_12 to i8* call void @FUNC(i8* nonnull %11, i64 0, i64 33) %12 = bitcast i64* %sv_11 to i8* call void @FUNC(i8* nonnull %12, i64 0, i64 17) %13 = ptrtoint i64* %sv_10 to i64 %14 = bitcast i64* %sv_10 to i8* call void @FUNC(i8* nonnull %14, i64 0, i64 16) %15 = select i1 %5, i64 -128, i64 128 %16 = add i64 %15, %13 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 8 %18 = call i64 @FUNC(i64 %6, i64* nonnull %sv_9, i64 8) %19 = call i32 @memcmp(i64* nonnull %sv_9, i64* bitcast ([9 x i8]* @gv_0 to i64*), i32 8) %20 = icmp eq i32 %19, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_1, label LBL_49 LBL_1: %21 = call i64 @FUNC(i64 %6) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 store i64 4294967294, i64* %rax.0.reg2mem br i1 %23, label LBL_2, label LBL_49 LBL_2: %24 = ptrtoint i64* %arg1 to i64 %25 = ptrtoint i64* %sv_14 to i64 %26 = bitcast i32* %sv_8 to i64* %27 = mul i32 %9, 65536 %28 = and i32 %27, 16711680 %29 = mul i32 %8, 256 %30 = and i32 %29, 65280 %31 = urem i32 %7, 256 %32 = or i32 %30, %31 %33 = or i32 %32, %28 %34 = add i64 %25, -1104 %35 = bitcast i32* %sv_7 to i64* %36 = add i64 %25, -1376 %37 = add i64 %25, -1520 %38 = add i64 %24, 256 %39 = inttoptr i64 %38 to i16* %40 = add i64 %24, 258 %41 = inttoptr i64 %40 to i16* store i32 0, i32* %sv_2.141.reg2mem store i32 0, i32* %sv_3.140.reg2mem store i32 0, i32* %sv_4.139.reg2mem store i32 1, i32* %sv_5.138.reg2mem store i32 0, i32* %sv_6.136.reg2mem br label LBL_3 LBL_3: %sv_6.136.reload = load i32, i32* %sv_6.136.reg2mem %sv_5.138.reload = load i32, i32* %sv_5.138.reg2mem %sv_4.139.reload = load i32, i32* %sv_4.139.reg2mem %sv_3.140.reload = load i32, i32* %sv_3.140.reg2mem %sv_2.141.reload = load i32, i32* %sv_2.141.reg2mem %42 = call i64 @FUNC(i64 %6, i64* nonnull %sv_9, i64 4) %43 = call i64 @FUNC(i64 %6, i64* nonnull %26, i64 4) %44 = load i32, i32* %sv_8, align 4 %45 = zext i32 %44 to i64 %46 = call i64 @FUNC(i64 %45) %47 = trunc i64 %46 to i32 store i32 %47, i32* %sv_8, align 4 %48 = call i64 @FUNC(i64 %6) %49 = load i32, i32* %sv_8, align 4 %50 = zext i32 %49 to i64 %51 = load i64, i64* %sv_9, align 8 %52 = trunc i64 %51 to i32 %53 = mul i32 %52, 16777216 %54 = or i32 %33, %53 %55 = zext i32 %54 to i64 store i64 %55, i64* @0, align 8 store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.141.reload, i32* %sv_2.0.reg2mem switch i32 %54, label LBL_20 [ i32 0, label LBL_4 i32 1, label LBL_6 i32 2, label LBL_8 i32 7, label LBL_18 i32 4, label LBL_10 i32 5, label LBL_12 i32 6, label LBL_14 ] LBL_4: %56 = urem i32 %sv_2.141.reload, 2 %57 = icmp eq i32 %56, 0 %58 = icmp eq i1 %57, false store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.141.reload, i32* %sv_2.0.reg2mem br i1 %58, label LBL_20, label LBL_5 LBL_5: %59 = or i32 %sv_2.141.reload, 1 %60 = call i64 @FUNC(i64 %24, i64 %6) %61 = trunc i64 %60 to i32 store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %61, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %59, i32* %sv_2.0.reg2mem br label LBL_20 LBL_6: %62 = and i32 %sv_2.141.reload, 2 %63 = icmp eq i32 %62, 0 %64 = icmp eq i1 %63, false store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.141.reload, i32* %sv_2.0.reg2mem br i1 %64, label LBL_20, label LBL_7 LBL_7: %65 = or i32 %sv_2.141.reload, 2 %66 = call i64 @FUNC(i64 %24, i64 %6, i64 %50, i64* nonnull %sv_10) store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %65, i32* %sv_2.0.reg2mem br label LBL_20 LBL_8: %67 = and i32 %sv_2.141.reload, 4 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.141.reload, i32* %sv_2.0.reg2mem br i1 %69, label LBL_20, label LBL_9 LBL_9: %70 = or i32 %sv_2.141.reload, 4 %71 = call i64 @FUNC(i64 %6, i64* nonnull %35, i64 2) %72 = load i32, i32* %sv_7, align 4 %73 = urem i32 %72, 65536 %74 = zext i32 %73 to i64 %75 = call i64 @FUNC(i64 %74) %76 = trunc i64 %75 to i32 %sext = mul i32 %76, 65536 %77 = ashr exact i32 %sext, 16 store i32 %77, i32* %sv_7, align 4 %78 = trunc i32 %77 to i16 %79 = icmp eq i16 %78, 0 %80 = icmp ult i16 %78, 255 %81 = select i1 %80, i16 %78, i16 255 %storemerge10 = select i1 %79, i16 1, i16 %81 store i16 %storemerge10, i16* %39, align 2 store i16 125, i16* %41, align 2 store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %70, i32* %sv_2.0.reg2mem br label LBL_20 LBL_10: %82 = and i32 %sv_2.141.reload, 8 %83 = icmp eq i32 %82, 0 %84 = icmp eq i1 %83, false store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.141.reload, i32* %sv_2.0.reg2mem br i1 %84, label LBL_20, label LBL_11 LBL_11: %85 = or i32 %sv_2.141.reload, 8 %86 = call i64 @FUNC(i64 %6, i64* nonnull %35, i64 2) %87 = load i32, i32* %sv_7, align 4 %88 = urem i32 %87, 65536 %89 = zext i32 %88 to i64 %90 = call i64 @FUNC(i64 %89) %91 = trunc i64 %90 to i32 %92 = urem i32 %91, 65536 store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %92, i32* %sv_3.0.reg2mem store i32 %85, i32* %sv_2.0.reg2mem br label LBL_20 LBL_12: %93 = and i32 %sv_2.141.reload, 16 %94 = icmp eq i32 %93, 0 %95 = icmp eq i1 %94, false store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.141.reload, i32* %sv_2.0.reg2mem br i1 %95, label LBL_20, label LBL_13 LBL_13: %96 = or i32 %sv_2.141.reload, 16 %97 = icmp ult i32 %49, 256 %98 = select i1 %97, i32 %49, i32 256 %99 = zext i32 %98 to i64 %100 = call i64 @FUNC(i64 %6, i64* %arg1, i64 %99) store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %96, i32* %sv_2.0.reg2mem br label LBL_20 LBL_14: %101 = icmp sgt i32 %sv_6.136.reload, 127 store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.141.reload, i32* %sv_2.0.reg2mem br i1 %101, label LBL_20, label LBL_15 LBL_15: %102 = icmp eq i32 %49, 0 br i1 %102, label LBL_17, label LBL_16 LBL_16: %103 = call i64 @FUNC(i64 %6) %104 = sext i32 %sv_6.136.reload to i64 %105 = mul i64 %104, 8 %106 = add i64 %105, %34 %107 = inttoptr i64 %106 to i64* store i64 %103, i64* %107, align 8 br label LBL_17 LBL_17: %108 = add i32 %sv_6.136.reload, 1 store i32 %108, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.141.reload, i32* %sv_2.0.reg2mem br label LBL_20 LBL_18: %109 = icmp sgt i32 %sv_5.138.reload, 31 store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %sv_5.138.reload, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.141.reload, i32* %sv_2.0.reg2mem br i1 %109, label LBL_20, label LBL_19 LBL_19: %110 = call i64 @FUNC(i64 %6) %111 = sext i32 %sv_5.138.reload to i64 %112 = mul i64 %111, 8 %113 = add i64 %112, %36 %114 = inttoptr i64 %113 to i64* store i64 %110, i64* %114, align 8 %115 = load i32, i32* %sv_8, align 4 %116 = mul i64 %111, 4 %117 = add i64 %116, %37 %118 = inttoptr i64 %117 to i32* store i32 %115, i32* %118, align 4 %119 = icmp ne i32 %115, 0 %120 = zext i1 %119 to i32 %spec.select = add i32 %sv_5.138.reload, %120 store i32 %sv_6.136.reload, i32* %sv_6.0.reg2mem store i32 %spec.select, i32* %sv_5.0.reg2mem store i32 %sv_4.139.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.140.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.141.reload, i32* %sv_2.0.reg2mem br label LBL_20 LBL_20: %121 = add i64 %48, %50 %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %sv_6.0.reload = load i32, i32* %sv_6.0.reg2mem %122 = call i64 @FUNC(i64 %6, i64 %121, i64 0) %123 = trunc i64 %122 to i32 %124 = icmp eq i32 %123, 0 br i1 %124, label LBL_22, label LBL_21 LBL_21: %125 = call i64 @FUNC(i64 4, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 %121, i64 %4, i64 %3) store i64 ptrtoint ([43 x i8]* @gv_1 to i64), i64* %rsi.1.reg2mem br label LBL_23 LBL_22: %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem %126 = call i64 @FUNC(i64 %6) %127 = trunc i64 %126 to i32 %128 = icmp eq i32 %127, 0 store i32 %sv_2.0.reload, i32* %sv_2.141.reg2mem store i32 %sv_3.0.reload, i32* %sv_3.140.reg2mem store i32 %sv_4.0.reload, i32* %sv_4.139.reg2mem store i32 %sv_5.0.reload, i32* %sv_5.138.reg2mem store i32 %sv_6.0.reload, i32* %sv_6.136.reg2mem store i64 %121, i64* %rsi.1.reg2mem br i1 %128, label LBL_3, label LBL_23 LBL_23: %129 = and i32 %sv_2.0.reload, 5 %130 = icmp eq i32 %129, 5 store i64 4294967294, i64* %rax.0.reg2mem br i1 %130, label LBL_24, label LBL_49 LBL_24: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %131 = urem i32 %arg3, 2 %132 = icmp eq i32 %131, 0 %133 = icmp sgt i32 %sv_6.0.reload, 0 %or.cond = icmp eq i1 %132, %133 store i64 %121, i64* %rcx.4.reg2mem store i64 %rsi.1.reload, i64* %rsi.6.reg2mem br i1 %or.cond, label LBL_25, label LBL_34 LBL_25: %wide.trip.count = zext i32 %sv_6.0.reload to i64 store i64 0, i64* %indvars.iv61.reg2mem store i32 0, i32* %sv_1.031.reg2mem br label LBL_26 LBL_26: %sv_1.031.reload = load i32, i32* %sv_1.031.reg2mem %indvars.iv61.reload = load i64, i64* %indvars.iv61.reg2mem %134 = mul i64 %indvars.iv61.reload, 8 %135 = add i64 %134, %34 %136 = inttoptr i64 %135 to i64* %137 = load i64, i64* %136, align 8 %138 = call i64 @FUNC(i64 %6, i64 %137, i64 0) %139 = trunc i64 %indvars.iv61.reload to i32 %140 = call i64 @FUNC(i64 %24, i64 %6, i32 %sv_4.0.reload, i32 %139) %141 = trunc i64 %140 to i32 %142 = or i32 %sv_1.031.reload, %141 %indvars.iv.next62 = add nuw nsw i64 %indvars.iv61.reload, 1 %exitcond63 = icmp eq i64 %indvars.iv.next62, %wide.trip.count store i64 %indvars.iv.next62, i64* %indvars.iv61.reg2mem store i32 %142, i32* %sv_1.031.reg2mem br i1 %exitcond63, label LBL_27, label LBL_26 LBL_27: %143 = and i64 %indvars.iv61.reload, 4294967295 %144 = icmp eq i32 %142, 0 store i64 %143, i64* %rcx.4.reg2mem store i64 %6, i64* %rsi.6.reg2mem br i1 %144, label LBL_34, label LBL_28 LBL_28: %145 = urem i32 %142, 2 %146 = icmp eq i32 %145, 0 store i64 %6, i64* %rsi.3.reg2mem br i1 %146, label LBL_30, label LBL_29 LBL_29: %147 = zext i32 %sv_4.0.reload to i64 %148 = call i64 @FUNC(i64 4, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i64 %147, i64 %143, i64 %4, i64 %3) store i64 ptrtoint ([44 x i8]* @gv_2 to i64), i64* %rsi.3.reg2mem br label LBL_30 LBL_30: %rsi.3.reload = load i64, i64* %rsi.3.reg2mem store i64 2, i64* %indvars.iv58.reg2mem store i64 %rsi.3.reload, i64* %rsi.528.reg2mem br label LBL_31 LBL_31: %rsi.528.reload = load i64, i64* %rsi.528.reg2mem %indvars.iv58.reload = load i64, i64* %indvars.iv58.reg2mem %149 = add nsw i64 %indvars.iv58.reload, -1 %150 = trunc i64 %149 to i32 %151 = shl i32 1, %150 %152 = and i32 %151, %142 %153 = icmp eq i32 %152, 0 store i64 %rsi.528.reload, i64* %rsi.4.reg2mem br i1 %153, label LBL_33, label LBL_32 LBL_32: %154 = icmp ugt i64 %indvars.iv58.reload, 9 %155 = select i1 %154, i64 55, i64 48 %156 = add nuw i64 %155, %indvars.iv58.reload %157 = and i64 %156, 4294967295 %158 = call i64 @FUNC(i64 4, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i64 %157, i64 %149, i64 %4, i64 %3) store i64 ptrtoint ([36 x i8]* @gv_3 to i64), i64* %rsi.4.reg2mem br label LBL_33 LBL_33: %rsi.4.reload = load i64, i64* %rsi.4.reg2mem %indvars.iv.next59 = add nuw nsw i64 %indvars.iv58.reload, 1 %exitcond60 = icmp eq i64 %indvars.iv.next59, 33 store i64 %indvars.iv.next59, i64* %indvars.iv58.reg2mem store i64 %rsi.4.reload, i64* %rsi.528.reg2mem store i64 31, i64* %rcx.4.reg2mem store i64 %rsi.4.reload, i64* %rsi.6.reg2mem br i1 %exitcond60, label LBL_34, label LBL_31 LBL_34: %159 = and i32 %arg3, 2 %160 = icmp eq i32 %159, 0 %161 = icmp eq i1 %160, false br i1 %161, label LBL_48, label LBL_35 LBL_35: %rsi.6.reload = load i64, i64* %rsi.6.reg2mem %rcx.4.reload = load i64, i64* %rcx.4.reg2mem %162 = add i64 %24, 260 %163 = add i64 %25, -1664 store i64 1, i64* %indvars.iv56.reg2mem store i32 1, i32* %storemerge25.reg2mem store i64 %rsi.6.reload, i64* %rsi.923.reg2mem store i64 %rcx.4.reload, i64* %rcx.622.reg2mem store i32 1, i32* %sv_0.121.reg2mem br label LBL_41 LBL_36: %rsi.923.reload = load i64, i64* %rsi.923.reg2mem %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %164 = mul i64 %indvars.iv56.reload, 4 %165 = add i64 %164, %162 %166 = inttoptr i64 %165 to i32* %167 = load i32, i32* %166, align 4 %168 = icmp eq i32 %167, 0 store i32 %sv_0.121.reload, i32* %sv_0.0.reg2mem store i64 %rcx.622.reload, i64* %rcx.5.reg2mem store i64 %rsi.923.reload, i64* %rsi.8.reg2mem store i64 %r8.224.reload, i64* %r8.1.reg2mem br i1 %168, label LBL_40, label LBL_37 LBL_37: %169 = icmp eq i32 %167, %196 store i32 %196, i32* %.reg2mem store i64 %rsi.923.reload, i64* %rsi.7.reg2mem store i64 %r8.224.reload, i64* %r8.0.reg2mem br i1 %169, label LBL_39, label LBL_38 LBL_38: %170 = zext i32 %196 to i64 %171 = zext i32 %167 to i64 %172 = call i64 @FUNC(i64 4, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_4, i64 0, i64 0), i64 %indvars.iv56.reload, i64 %171, i64 %170, i64 %3) %173 = load i32, i32* %166, align 4 %174 = load i32, i32* %195, align 4 %175 = icmp ugt i32 %173, %174 %176 = select i1 %175, i32 %174, i32 %173 store i32 %176, i32* %166, align 4 store i32 %176, i32* %.reg2mem store i64 ptrtoint ([55 x i8]* @gv_4 to i64), i64* %rsi.7.reg2mem store i64 %170, i64* %r8.0.reg2mem br label LBL_39 LBL_39: %r8.0.reload = load i64, i64* %r8.0.reg2mem %rsi.7.reload = load i64, i64* %rsi.7.reg2mem %.reload = load i32, i32* %.reg2mem %177 = mul i64 %192, 8 %178 = add i64 %177, %36 %179 = inttoptr i64 %178 to i64* %180 = load i64, i64* %179, align 8 %181 = add i64 %180, %rsi.7.reload %182 = add i64 %163, %193 %183 = inttoptr i64 %182 to i32* %184 = load i32, i32* %183, align 4 %185 = or i32 %184, 7 %186 = zext i32 %.reload to i64 %187 = zext i32 %185 to i64 %188 = call i64 @FUNC(i64 %165, i64 %187, i64 %181, i64 %186) %189 = add i32 %sv_0.121.reload, 1 store i32 %189, i32* %sv_0.0.reg2mem store i64 %186, i64* %rcx.5.reg2mem store i64 %187, i64* %rsi.8.reg2mem store i64 %r8.0.reload, i64* %r8.1.reg2mem br label LBL_40 LBL_40: %r8.1.reload = load i64, i64* %r8.1.reg2mem %rsi.8.reload = load i64, i64* %rsi.8.reg2mem %rcx.5.reload = load i64, i64* %rcx.5.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %indvars.iv.next57 = add nuw nsw i64 %indvars.iv56.reload, 1 %190 = add nuw nsw i32 %storemerge25.reload, 1 %191 = icmp ugt i64 %indvars.iv56.reload, 30 store i64 %indvars.iv.next57, i64* %indvars.iv56.reg2mem store i32 %190, i32* %storemerge25.reg2mem store i64 %r8.1.reload, i64* %r8.224.reg2mem store i64 %rsi.8.reload, i64* %rsi.923.reg2mem store i64 %rcx.5.reload, i64* %rcx.622.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.121.reg2mem store i64 %rcx.5.reload, i64* %rcx.6.lcssa.reg2mem store i64 %r8.1.reload, i64* %r8.2.lcssa.reg2mem store i32 %190, i32* %storemerge.lcssa.reg2mem br i1 %191, label LBL_43, label LBL_41 LBL_41: %sv_0.121.reload = load i32, i32* %sv_0.121.reg2mem %rcx.622.reload = load i64, i64* %rcx.622.reg2mem %r8.224.reload = load i64, i64* %r8.224.reg2mem %indvars.iv56.reload = load i64, i64* %indvars.iv56.reg2mem %192 = sext i32 %sv_0.121.reload to i64 %193 = mul i64 %192, 4 %194 = add i64 %193, %37 %195 = inttoptr i64 %194 to i32* %196 = load i32, i32* %195, align 4 %197 = icmp eq i32 %196, 0 %198 = icmp eq i1 %197, false br i1 %198, label LBL_36, label LBL_42 LBL_42: %199 = trunc i64 %indvars.iv56.reload to i32 store i64 %rcx.622.reload, i64* %rcx.6.lcssa.reg2mem store i64 %r8.224.reload, i64* %r8.2.lcssa.reg2mem store i32 %199, i32* %storemerge.lcssa.reg2mem br label LBL_43 LBL_43: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %200 = icmp slt i32 %storemerge.lcssa.reload, 32 br i1 %200, label LBL_44, label LBL_48 LBL_44: %r8.2.lcssa.reload = load i64, i64* %r8.2.lcssa.reg2mem %rcx.6.lcssa.reload = load i64, i64* %rcx.6.lcssa.reg2mem %201 = zext i32 %storemerge.lcssa.reload to i64 store i64 %201, i64* %indvars.iv.reg2mem br label LBL_45 LBL_45: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %202 = mul i64 %indvars.iv.reload, 4 %203 = add i64 %202, %162 %204 = inttoptr i64 %203 to i32* %205 = load i32, i32* %204, align 4 %206 = icmp eq i32 %205, 0 br i1 %206, label LBL_47, label LBL_46 LBL_46: %207 = call i64 @FUNC(i64 4, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_5, i64 0, i64 0), i64 %indvars.iv.reload, i64 %rcx.6.lcssa.reload, i64 %r8.2.lcssa.reload, i64 %3) store i32 0, i32* %204, align 4 br label LBL_47 LBL_47: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_48, label LBL_45 LBL_48: %208 = add i64 %24, 420 %209 = inttoptr i64 %208 to i8* store i8 64, i8* %209, align 1 %210 = sub i32 256, %sv_3.0.reload %211 = sext i32 %sv_3.0.reload to i64 %212 = add i64 %211, %24 %213 = inttoptr i64 %212 to i64* %214 = call i64* @memset(i64* %213, i32 255, i32 %210) %215 = add i64 %24, 388 %216 = inttoptr i64 %215 to i64* store i64 7732434687937310017, i64* %216, align 8 %217 = add i64 %24, 396 %218 = inttoptr i64 %217 to i64* store i64 32199724042576244, i64* %218, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_49 LBL_49: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge.lcssa.reload, { 1, 0 } uselistorder i32 %196, { 3, 1, 0, 2 } uselistorder i32* %195, { 1, 0 } uselistorder i64 %indvars.iv56.reload, { 3, 4, 1, 0, 2 } uselistorder i64 %r8.224.reload, { 0, 2, 1 } uselistorder i32 %sv_0.121.reload, { 1, 2, 0 } uselistorder i32* %166, { 1, 0, 2 } uselistorder i64 %149, { 1, 0 } uselistorder i64 %indvars.iv58.reload, { 0, 3, 1, 2 } uselistorder i64 %143, { 1, 0 } uselistorder i32 %142, { 2, 1, 3, 0 } uselistorder i64 %indvars.iv61.reload, { 2, 0, 1, 3 } uselistorder i32 %sv_3.0.reload, { 1, 0, 2 } uselistorder i32 %49, { 2, 1, 0, 3 } uselistorder i32 %sv_2.141.reload, { 0, 4, 7, 8, 18, 6, 17, 16, 5, 15, 14, 3, 13, 12, 2, 11, 10, 1, 19, 9 } uselistorder i32 %sv_3.140.reload, { 0, 7, 11, 12, 9, 10, 8, 5, 6, 3, 4, 1, 2, 13 } uselistorder i32 %sv_4.139.reload, { 0, 6, 11, 12, 9, 10, 7, 8, 4, 5, 2, 3, 1, 13 } uselistorder i32 %sv_5.138.reload, { 16, 14, 6, 15, 11, 12, 9, 10, 7, 8, 4, 5, 2, 3, 0, 1, 13 } uselistorder i32 %sv_6.136.reload, { 0, 7, 16, 14, 12, 15, 10, 11, 8, 9, 5, 6, 3, 4, 1, 2, 13 } uselistorder i64* %35, { 1, 0 } uselistorder i64 %24, { 7, 8, 0, 9, 6, 5, 2, 1, 3, 4 } uselistorder i64* %sv_9, { 3, 0, 1, 2 } uselistorder i32* %sv_8, { 3, 2, 1, 0, 4 } uselistorder i32* %sv_7, { 2, 1, 0, 3 } uselistorder i64 %6, { 1, 0, 10, 11, 16, 12, 6, 9, 8, 7, 5, 4, 3, 13, 15, 14, 2, 17 } uselistorder i64 %4, { 1, 2, 0 } uselistorder i64 %3, { 4, 3, 2, 1, 0 } uselistorder i32* %sv_2.141.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.140.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.139.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_5.138.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_6.136.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_6.0.reg2mem, { 0, 1, 8, 13, 14, 11, 12, 9, 10, 6, 7, 4, 5, 2, 3, 15 } uselistorder i32* %sv_5.0.reg2mem, { 0, 1, 8, 13, 14, 11, 12, 9, 10, 6, 7, 4, 5, 2, 3, 15 } uselistorder i32* %sv_4.0.reg2mem, { 0, 1, 8, 13, 14, 11, 12, 9, 10, 6, 7, 4, 5, 2, 3, 15 } uselistorder i32* %sv_3.0.reg2mem, { 0, 1, 8, 13, 14, 11, 12, 9, 10, 6, 7, 4, 5, 2, 3, 15 } uselistorder i32* %sv_2.0.reg2mem, { 0, 1, 8, 13, 14, 11, 12, 9, 10, 6, 7, 4, 5, 2, 3, 15 } uselistorder i64* %indvars.iv61.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.031.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv58.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.528.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.923.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.6.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %r8.2.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i32* %1, { 2, 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder [55 x i8]* @gv_4, { 1, 0 } uselistorder [36 x i8]* @gv_3, { 1, 0 } uselistorder [44 x i8]* @gv_2, { 1, 0 } uselistorder i64 1, { 4, 3, 0, 2, 1 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @log_appendf, { 4, 3, 2, 1, 0 } uselistorder [43 x i8]* @gv_1, { 1, 0 } uselistorder i64 (i64, i64, i64)* @slurp_seek, { 1, 0 } uselistorder i32 16, { 1, 2, 0 } uselistorder i64 (i64)* @bswapBE16, { 1, 0 } uselistorder i1 false, { 5, 6, 0, 1, 2, 3, 4 } uselistorder i32 5, { 1, 2, 0 } uselistorder i32 4, { 1, 2, 0 } uselistorder i32 7, { 1, 0 } uselistorder i32 2, { 6, 0, 1, 4, 5, 2, 3 } uselistorder i64 (i64)* @slurp_tell, { 2, 1, 0 } uselistorder i64 4, { 4, 0, 1, 5, 2, 6, 7, 8, 3, 9, 10 } uselistorder i64 256, { 3, 0, 2, 1 } uselistorder i32 256, { 4, 2, 3, 1, 0 } uselistorder i32 65536, { 2, 3, 0, 4, 1 } uselistorder i64 4294967294, { 1, 0 } uselistorder i64 (i64)* @slurp_eof, { 1, 0 } uselistorder i32 8, { 1, 2, 0 } uselistorder i64 (i64, i64*, i64)* @slurp_read, { 5, 4, 3, 2, 1, 0 } uselistorder i32 %arg3, { 1, 0 } uselistorder label LBL_49, { 3, 1, 0, 2 } uselistorder label LBL_43, { 1, 0 } uselistorder label LBL_41, { 1, 0 } uselistorder label LBL_40, { 1, 0 } uselistorder label LBL_34, { 0, 2, 1 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_20, { 0, 1, 3, 2, 5, 4, 7, 6, 9, 8, 11, 10, 13, 12, 14 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
av1dmx_parse_flush_sample_5728
av1dmx_parse_flush_sample
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_8 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = add i64 %5, 32 %7 = add i64 %5, 24 %8 = add i64 %5, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = bitcast i32* %sv_1 to i64* %12 = call i64 @FUNC(i64 %10, i64 %7, i64* nonnull %11, i64 %6) %13 = load i32, i32* %sv_1, align 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_3: %17 = zext i32 %13 to i64 %18 = and i64 %1, 4294967295 %19 = call i64 @FUNC(i64 %18, i64 %17, i64* nonnull %sv_0) %20 = add i64 %5, 40 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = call i64 @FUNC(i64 %22, i64 %19) br label LBL_5 LBL_5: %25 = add i64 %5, 48 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %19, i64 %28) %30 = add i64 %5, 8 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false %35 = zext i1 %34 to i64 %36 = call i64 @FUNC(i64 %19, i64 %35) %37 = load i32, i32* %sv_1, align 4 %38 = inttoptr i64 %7 to i64* %39 = load i64, i64* %38, align 8 %40 = load i64, i64* %sv_0, align 8 %41 = inttoptr i64 %40 to i64* %42 = inttoptr i64 %39 to i64* %43 = call i64* @memcpy(i64* %41, i64* %42, i32 %37) %44 = add i64 %5, 56 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 br i1 %47, label LBL_7, label LBL_6 LBL_6: %48 = load i32, i32* %31, align 4 %49 = icmp eq i32 %48, 0 %50 = select i1 %49, i64 16, i64 32 %51 = add i64 %5, 12 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 0 %storemerge = select i1 %54, i64 8, i64 4 %55 = or i64 %storemerge, %50 %56 = call i64 @FUNC(i64 %19, i64 %55) br label LBL_7 LBL_7: %57 = call i64 @FUNC(i64 %19) %58 = call i64 @FUNC(i64 %5) %59 = call i64 @FUNC(i64 %30, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %19, { 1, 0, 2, 3, 4 } uselistorder i64 %5, { 1, 0, 2, 3, 4, 5, 8, 7, 6 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6 } uselistorder label LBL_8, { 1, 2, 0 } }
0
CompRealVul
fsl_imx25_class_init_1720
fsl_imx25_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
0
CompRealVul
av_grow_packet_2279
av_grow_packet
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi7.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp ult i32 %4, 2147483616 %6 = zext i1 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = load i32, i32* %3, align 4 %9 = sub i32 2147483615, %8 %10 = icmp ult i32 %9, %1 %11 = icmp eq i1 %10, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_1, label LBL_14 LBL_1: %12 = add i32 %1, 32 %13 = add i32 %12, %8 %14 = icmp eq i1 %5, false br i1 %14, label LBL_9, label LBL_2 LBL_2: %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: store i64 %6, i64* %16, align 8 store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %20 = zext i32 %13 to i64 %21 = sub i64 %17, %6 %22 = mul i64 %20, 4294967296 %sext5 = sub i64 9223372032559808512, %22 %23 = ashr exact i64 %sext5, 32 %24 = icmp ugt i64 %21, %23 store i64 %21, i64* %sv_0.0.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %24, label LBL_14, label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = sext i32 %13 to i64 %26 = add i64 %sv_0.0.reload, %25 %27 = load i64, i64* inttoptr (i64 9 to i64*), align 8 %28 = icmp ugt i64 %26, %27 store i64* %16, i64** %.pre-phi7.reg2mem br i1 %28, label LBL_6, label LBL_13 LBL_6: %29 = call i64 @FUNC(i64 %0, i64 %26) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_8, label LBL_7 LBL_7: store i64 %17, i64* %16, align 8 %33 = and i64 %29, 4294967295 store i64 %33, i64* %rax.0.reg2mem br label LBL_14 LBL_8: %34 = add i64 %sv_0.0.reload, %0 store i64 %34, i64* %16, align 8 store i64* %16, i64** %.pre-phi7.reg2mem br label LBL_13 LBL_9: %35 = sext i32 %13 to i64 %36 = call i64 @FUNC(i64 %35) store i64 %36, i64* %arg1, align 8 %37 = icmp eq i32 %13, 0 %38 = icmp eq i1 %37, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %38, label LBL_10, label LBL_14 LBL_10: %39 = load i32, i32* %3, align 4 %40 = icmp slt i32 %39, 1 %.pre = add i64 %0, 8 %.pre9 = inttoptr i64 %.pre to i64* br i1 %40, label LBL_12, label LBL_11 LBL_11: %41 = load i64, i64* %.pre9, align 8 %42 = inttoptr i64 %35 to i64* %43 = inttoptr i64 %41 to i64* %44 = call i64* @memcpy(i64* %42, i64* %43, i32 %39) br label LBL_12 LBL_12: store i64 %35, i64* %.pre9, align 8 store i64* %.pre9, i64** %.pre-phi7.reg2mem br label LBL_13 LBL_13: %.pre-phi7.reload = load i64*, i64** %.pre-phi7.reg2mem %45 = load i32, i32* %3, align 4 %46 = add i32 %45, %1 store i32 %46, i32* %3, align 4 %47 = load i64, i64* %.pre-phi7.reload, align 8 %48 = sext i32 %46 to i64 %49 = add i64 %47, %48 %50 = inttoptr i64 %49 to i64* %51 = call i64* @memset(i64* %50, i32 0, i32 32) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %35, { 1, 2, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %17, { 2, 0, 1 } uselistorder i64* %16, { 0, 3, 2, 1, 4, 5 } uselistorder i64 %6, { 1, 0, 2 } uselistorder i32* %3, { 1, 0, 2, 3, 4 } uselistorder i64 %0, { 1, 0, 2, 3, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64** %.pre-phi7.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 3 } uselistorder i32 32, { 1, 0 } uselistorder label LBL_14, { 3, 0, 4, 1, 2 } uselistorder label LBL_13, { 1, 2, 0 } uselistorder label LBL_12, { 1, 0 } }
0
CompRealVul
usb_xhci_exit_17246
usb_xhci_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %storemerge24.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i32* %3 = call i64 @FUNC() %4 = load i32, i32* %2, align 4 %5 = icmp eq i32 %4, 0 store i32 0, i32* %storemerge24.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %storemerge24.reload = load i32, i32* %storemerge24.reg2mem %6 = add i32 %storemerge24.reload, 1 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %1, i64 %7) %9 = load i32, i32* %2, align 4 %10 = zext i32 %9 to i64 %11 = sext i32 %6 to i64 %12 = icmp slt i64 %11, %10 store i32 %6, i32* %storemerge24.reg2mem br i1 %12, label LBL_1, label LBL_2 LBL_2: %13 = add i64 %1, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %15) %18 = load i64, i64* %14, align 8 %19 = call i64 @FUNC(i64 %18) store i64 0, i64* %14, align 8 br label LBL_4 LBL_4: %20 = add i64 %1, 24 %21 = add i64 %1, 16 %22 = call i64 @FUNC(i64 %21, i64 %20) %23 = add i64 %1, 32 %24 = call i64 @FUNC(i64 %21, i64 %23) %25 = add i64 %1, 40 %26 = call i64 @FUNC(i64 %21, i64 %25) %27 = add i64 %1, 48 %28 = call i64 @FUNC(i64 %21, i64 %27) %29 = add i64 %1, 4 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_7, label LBL_5 LBL_5: %33 = add i64 %1, 56 %34 = inttoptr i64 %33 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge3.reg2mem br label LBL_6 LBL_6: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem %35 = load i64, i64* %34, align 8 %36 = add i64 %35, %.reload %37 = call i64 @FUNC(i64 %21, i64 %36) %38 = add i32 %storemerge3.reload, 1 %39 = load i32, i32* %30, align 4 %40 = zext i32 %39 to i64 %41 = sext i32 %38 to i64 %42 = icmp slt i64 %41, %40 store i64 %41, i64* %.reg2mem store i32 %38, i32* %storemerge3.reg2mem br i1 %42, label LBL_6, label LBL_7 LBL_7: %43 = icmp eq i64 %21, 0 br i1 %43, label LBL_11, label LBL_8 LBL_8: %44 = add i64 %0, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 br i1 %47, label LBL_11, label LBL_9 LBL_9: %48 = add i64 %0, 16 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_11, label LBL_10 LBL_10: %52 = add i64 %0, 24 %53 = call i64 @FUNC(i64 %21, i64 %52) %54 = add i64 %0, 32 %55 = call i64 @FUNC(i64 %21, i64 %54) br label LBL_11 LBL_11: %56 = add i64 %1, 64 %57 = call i64 @FUNC(i64 %56) ret i64 %57 uselistorder i32* %30, { 1, 0 } uselistorder i64 %21, { 2, 1, 0, 3, 5, 4, 6, 7 } uselistorder i32* %2, { 1, 0 } uselistorder i64 %1, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 10 } uselistorder i64 %0, { 2, 3, 1, 0, 4 } uselistorder i32* %storemerge24.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @memory_region_del_subregion, { 5, 4, 6, 3, 2, 1, 0 } uselistorder i32 0, { 4, 0, 2, 1, 3 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
xfs_inherit_acl_9902
xfs_inherit_acl
define i64 @FUNC(i16* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 store i64 %arg2, i64* %sv_2, align 8 %2 = trunc i64 %1 to i16 %3 = sext i16 %2 to i32 store i32 %3, i32* %sv_1, align 4 %4 = and i16 %2, -4096 %5 = icmp eq i16 %4, 16384 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i16* %arg1 to i64 %8 = call i64 @FUNC(i64 %7, i64 1, i64 %arg2) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 %8, i64* %sv_0.0.reg2mem br i1 %11, label LBL_5, label LBL_2 LBL_2: %12 = bitcast i32* %sv_1 to i16* %13 = call i64 @FUNC(i64* nonnull %sv_2, i64 0, i16* nonnull %12) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false store i64 %13, i64* %storemerge.in.reg2mem br i1 %16, label LBL_3, label LBL_6 LBL_3: %17 = icmp slt i32 %14, 1 %18 = load i32, i32* %sv_1, align 4 %19 = ptrtoint i16* %arg1 to i64 %20 = urem i32 %18, 65536 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %19, i64 %21) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false %or.cond = or i1 %17, %25 store i64 %22, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %26 = load i64, i64* %sv_2, align 8 %27 = call i64 @FUNC(i64 %19, i64 2, i64 %26) store i64 %27, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %28 = load i64, i64* %sv_2, align 8 %29 = call i64 @FUNC(i64 %28) store i64 %sv_0.0.reload, i64* %storemerge.in.reg2mem br label LBL_6 LBL_6: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i16 %2, { 1, 0 } uselistorder i64* %sv_2, { 1, 2, 0, 3 } uselistorder i32* %sv_1, { 1, 2, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @xfs_set_acl, { 1, 0 } uselistorder i16* %arg1, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
0
CompRealVul
ASN1_STRING_to_UTF8_4459
ASN1_STRING_to_UTF8
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %2 = ptrtoint i64* %sv_1 to i64 store i64 %2, i64* %sv_0, align 8 %3 = icmp eq i32* %arg2, null %4 = icmp eq i1 %3, false %5 = trunc i64 %1 to i32 %6 = icmp ult i32 %5, 31 %or.cond = icmp eq i1 %4, %6 store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %or.cond, label LBL_1, label LBL_4 LBL_1: %sext = mul i64 %1, 4294967296 %7 = ashr exact i64 %sext, 30 %8 = add i64 %7, ptrtoint (i32** @gv_0 to i64) %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, -1 %12 = icmp eq i1 %11, false store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %12, label LBL_2, label LBL_4 LBL_2: %13 = or i32 %10, 4096 %14 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 24) %15 = ptrtoint i32* %arg2 to i64 %16 = add i64 %15, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %15, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64* nonnull %sv_0, i64 %21, i32 %18, i32 %13, i64 0) %23 = trunc i64 %22 to i32 %24 = icmp slt i32 %23, 0 %25 = icmp eq i1 %24, false store i32 %23, i32* %rax.0.shrunk.reg2mem br i1 %25, label LBL_3, label LBL_4 LBL_3: store i64 0, i64* %arg1, align 8 br label LBL_4 LBL_4: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i64 %1, { 1, 0 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i32 -1, { 0, 2, 1 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
0
CompRealVul
qemu_wait_io_event_common_1980
qemu_wait_io_event_common
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i8* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = add i64 %0, 1 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = icmp eq i8 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: store i8 0, i8* %3, align 1 %6 = add i64 %0, 2 %7 = inttoptr i64 %6 to i8* store i8 1, i8* %7, align 1 %8 = call i64 @FUNC(i64* nonnull @gv_0) br label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %0) ret i64 %9 uselistorder i64 %0, { 1, 0, 2, 3 } }
0
CompRealVul
pmu_dev_alloc_8828
pmu_dev_alloc
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 24, i64 0) store i64 %1, i64* %arg1, align 8 %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 store i64 %4, i64* inttoptr (i64 24 to i64*), align 8 %5 = call i64 @FUNC(i64 24) %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 24, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i32 %10, i32* %sv_0.2.reg2mem br i1 %12, label LBL_7, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 24, i64 %0) store i64 ptrtoint ([8 x i8]** @gv_1 to i64), i64* inttoptr (i64 40 to i64*), align 8 store i64 4198710, i64* inttoptr (i64 32 to i64*), align 32 %14 = call i64 @FUNC(i64 24) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i32 %15, i32* %sv_0.2.reg2mem br i1 %17, label LBL_7, label LBL_2 LBL_2: %18 = add i64 %0, 24 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 store i32 %15, i32* %sv_0.0.reg2mem br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 24, [16 x i8]** nonnull @gv_2) %23 = trunc i64 %22 to i32 store i32 %23, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %24 = icmp eq i32 %sv_0.0.reload, 0 %25 = icmp eq i1 %24, false store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %25, label LBL_6, label LBL_5 LBL_5: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %26 = zext i32 %sv_0.1.reload to i64 ret i64 %26 LBL_6: %27 = call i64 @FUNC(i64 24) store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br label LBL_7 LBL_7: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %28 = call i64 @FUNC(i64 24) store i32 %sv_0.2.reload, i32* %sv_0.1.reg2mem br label LBL_5 uselistorder i32 %15, { 1, 0, 2 } uselistorder i32* %sv_0.1.reg2mem, { 2, 0, 1 } uselistorder i64 24, { 1, 3, 2, 9, 5, 4, 7, 6, 0, 8 } uselistorder label LBL_7, { 2, 0, 1 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
parse_number_or_die_2642
parse_number_or_die
define i128 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i128 %sv_0.0.reg2mem = alloca i8* %1 = load i128, i128* %0 %2 = load i128, i128* %0 %sv_1 = alloca i8*, align 8 %3 = call i64 @FUNC(i128 %2) %4 = call i64 @FUNC(i128 %1) %5 = bitcast i8** %sv_1 to i64* %6 = call i64 @FUNC(i64 %arg2, i64* nonnull %5) %7 = call i64 @FUNC(i128 %2) %8 = load i8*, i8** %sv_1, align 8 %9 = load i8, i8* %8, align 1 %10 = icmp eq i8 %9, 0 store i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %10, label LBL_1, label LBL_8 LBL_1: %11 = sext i64 %7 to i128 %12 = call i128 @__asm_movsd.1(i64 %3) call void @FUNC(i128 %12, i128 %11) %13 = call i128 @__asm_movsd.1(i64 %7) %14 = sext i64 %4 to i128 call void @FUNC(i128 %13, i128 %14) %15 = trunc i64 %arg3 to i32 %16 = add i32 %15, -2 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_2 LBL_2: %19 = trunc i32 %16 to i8 %20 = call i8 @llvm.ctpop.i8(i8 %19), !range !18 %21 = urem i8 %20, 2 %22 = icmp eq i8 %21, 0 %23 = call i128 @__asm_movsd.1(i64 %7) %24 = call i64 @FUNC(i128 %23) %25 = call i128 @FUNC(i128 %23, i128 %23) %26 = call i128 @FUNC(i64 %24) call void @FUNC(i128 %26, i64 %7) store i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %22, label LBL_8, label LBL_3 LBL_3: call void @FUNC(i128 %26, i64 %7) br label LBL_4 LBL_4: %27 = add i32 %15, -1 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_7, label LBL_5 LBL_5: %30 = trunc i32 %27 to i8 %31 = call i8 @llvm.ctpop.i8(i8 %30), !range !18 %32 = urem i8 %31, 2 %33 = icmp eq i8 %32, 0 %34 = call i128 @__asm_movsd.1(i64 %7) %35 = call i32 @__asm_cvttsd2si.2(i128 %34) %36 = call i128 @FUNC(i128 %34, i128 %34) %37 = call i128 @__asm_cvtsi2sd.3(i32 %35) call void @FUNC(i128 %37, i64 %7) store i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %33, label LBL_8, label LBL_6 LBL_6: call void @FUNC(i128 %37, i64 %7) br label LBL_7 LBL_7: %38 = call i128 @__asm_movsd.1(i64 %7) ret i128 %38 LBL_8: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %39 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %40 = call i128 @__asm_movsd.1(i64 %4) %41 = call i128 @FUNC(i128 %40) %42 = call i128 @__asm_movq.4(i64 %3) %43 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %39, i8* nonnull %sv_0.0.reload) call void @exit(i32 1) unreachable uselistorder i128 %34, { 2, 1, 0 } uselistorder i32 %27, { 1, 0 } uselistorder i128 %23, { 2, 1, 0 } uselistorder i32 %16, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i128 %2, { 1, 0 } uselistorder i128* %0, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } }
0
CompRealVul
close_peer_eventfds_16378
close_peer_eventfds
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge79.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_10, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = trunc i64 %6 to i32 %8 = icmp sgt i32 %7, -1 %9 = and i64 %1, 4294967295 %10 = icmp slt i64 %6, %9 %or.cond = icmp eq i1 %8, %10 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %11 = and i64 %6, 4294967295 %12 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %11) store i64 %12, i64* %rax.0.reg2mem br label LBL_10 LBL_3: %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = ashr exact i64 %sext, 28 %17 = add i64 %15, %16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = call i64 @FUNC() %21 = icmp sgt i32 %19, 0 br i1 %21, label LBL_4, label LBL_6 LBL_4: %22 = and i64 %6, 4294967295 store i32 0, i32* %storemerge79.reg2mem br label LBL_5 LBL_5: %storemerge79.reload = load i32, i32* %storemerge79.reg2mem %23 = call i64 @FUNC(i64 %2, i64 %22, i32 %storemerge79.reload) %24 = add nuw nsw i32 %storemerge79.reload, 1 %exitcond11 = icmp eq i32 %24, %19 store i32 %24, i32* %storemerge79.reg2mem br i1 %exitcond11, label LBL_6, label LBL_5 LBL_6: %25 = call i64 @FUNC() %26 = load i64, i64* %14, align 8 %27 = or i64 %16, 8 %28 = add i64 %26, %27 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 store i64 %30, i64* %.lcssa.reg2mem br i1 %21, label LBL_7, label LBL_9 LBL_7: %wide.trip.count = zext i32 %19 to i64 store i64 0, i64* %indvars.iv.reg2mem store i64 %30, i64* %.reg2mem br label LBL_8 LBL_8: %.reload = load i64, i64* %.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %31 = mul i64 %indvars.iv.reload, 8 %32 = add i64 %31, %.reload %33 = call i64 @FUNC(i64 %32) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %34 = load i64, i64* %14, align 8 %35 = add i64 %34, %27 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %37, i64* %.reg2mem store i64 %37, i64* %.lcssa.reg2mem br i1 %exitcond, label LBL_9, label LBL_8 LBL_9: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %38 = call i64 @FUNC(i64 %.lcssa.reload) %39 = load i64, i64* %14, align 8 %40 = add i64 %39, %16 %41 = inttoptr i64 %40 to i32* store i32 0, i32* %41, align 4 store i64 %40, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %30, { 1, 0 } uselistorder i32 %storemerge79.reload, { 1, 0 } uselistorder i32 %19, { 1, 0, 2 } uselistorder i64 %16, { 0, 2, 1 } uselistorder i64* %14, { 1, 2, 0, 3 } uselistorder i64 %6, { 1, 2, 0, 3 } uselistorder i64 %sext, { 1, 0 } uselistorder i32* %storemerge79.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } }
1
CompRealVul
yuv4_read_packet_692
yuv4_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* %rdi, align 8 %sv_0 = alloca i64, align 8 %1 = ptrtoint i64* %sv_0 to i64 %2 = add i64 %1, -1056 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = add i64 %2, %indvars.iv.reload %4 = inttoptr i64 %3 to i8* store i8 0, i8* %4, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 1024 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %5 = bitcast i64* %rdi to i32* %6 = load i32, i32* %5, align 8 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = zext i32 %6 to i64 ret i64 %8 LBL_4: %9 = load i64, i64* %rdi, align 8 %10 = add i64 %9, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 %spec.select = select i1 %13, i64 4294967294, i64 4294967295 ret i64 %spec.select uselistorder i64* %rdi, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
0
CompRealVul
decode_frame_2116
decode_frame
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.pre-phi10.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i8, align 1 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = and i64 %arg3, 4294967295 %5 = bitcast i32* %sv_2 to i64* %6 = bitcast i8* %sv_3 to i64* %7 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i64* nonnull %5, i64* nonnull %6, i64 %4) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = and i64 %7, 4294967295 store i64 %11, i64* %rax.0.reg2mem br label LBL_21 LBL_2: %12 = add i64 %0, 24 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = load i32, i32* %sv_2, align 4 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 8 %18 = add i64 %17, %14 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = urem i32 %20, 2 %22 = icmp eq i32 %21, 0 store i64 %17, i64* %.pre-phi10.reg2mem br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = add i64 %18, 4 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 %.pre = load i32, i32* %sv_2, align 4 %.pre8 = sext i32 %.pre to i64 %.pre9 = mul i64 %.pre8, 8 store i64 %.pre9, i64* %.pre-phi10.reg2mem br label LBL_4 LBL_4: %.pre-phi10.reload = load i64, i64* %.pre-phi10.reg2mem %25 = add i64 %.pre-phi10.reload, %0 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i64 %27, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp slt i32 %29, 1 br i1 %33, label LBL_6, label LBL_5 LBL_5: %34 = load i32, i32* %19, align 4 %35 = urem i32 %34, 2 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_8, label LBL_6 LBL_6: %37 = icmp sgt i32 %29, 1 %38 = icmp ne i64 %32, -9223372036854775808 %or.cond.not = icmp eq i1 %37, %38 %39 = load i64, i64* %sv_1, align 8 %40 = icmp sgt i64 %32, %39 %or.cond6 = icmp eq i1 %or.cond.not, %40 %41 = icmp sgt i32 %29, 2 %or.cond7 = or i1 %41, %or.cond6 br i1 %or.cond7, label LBL_8, label LBL_7 LBL_7: %42 = add i64 %18, 4 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_9, label LBL_8 LBL_8: %46 = and i64 %7, 4294967295 %47 = call i64 @FUNC(i64 %3, i64 %46) store i64 1, i64* %rax.0.reg2mem br label LBL_21 LBL_9: %48 = ptrtoint i64* %arg2 to i64 %49 = load i64, i64* %2, align 8 %50 = load i8, i8* %sv_3, align 1 %51 = zext i8 %50 to i64 %52 = mul i64 %51, 4 %53 = add i64 %52, %49 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = add i32 %55, %8 %57 = zext i32 %56 to i64 %58 = call i64 @FUNC(i64 %48, i64 %57) %59 = trunc i64 %58 to i32 %60 = icmp slt i32 %59, 0 %61 = icmp eq i1 %60, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %61, label LBL_10, label LBL_21 LBL_10: %62 = load i64, i64* %2, align 8 %63 = load i8, i8* %sv_3, align 1 %64 = zext i8 %63 to i64 %65 = mul i64 %64, 4 %66 = add i64 %65, %62 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = add i64 %0, 16 %70 = inttoptr i64 %69 to i64* %71 = load i64, i64* %70, align 8 %72 = mul i64 %64, 8 %73 = add i64 %72, %71 %74 = inttoptr i64 %73 to i64* %75 = load i64, i64* %74, align 8 %76 = inttoptr i64 %57 to i64* %77 = inttoptr i64 %75 to i64* %78 = call i64* @memcpy(i64* %76, i64* %77, i32 %68) %79 = call i64 @FUNC(i64 %3) %80 = trunc i64 %79 to i32 %81 = add i64 %48, 32 %82 = inttoptr i64 %81 to i32* store i32 %80, i32* %82, align 4 %83 = load i32, i32* %19, align 4 %84 = and i32 %83, 2 %85 = icmp eq i32 %84, 0 store i32 %8, i32* %sv_0.0.reg2mem store i64 %75, i64* %rsi.0.reg2mem br i1 %85, label LBL_14, label LBL_11 LBL_11: %86 = add i64 %79, %7 %87 = and i64 %86, 4294967295 %88 = call i64 @FUNC(i64 %0, i64 %3, i64 %48, i64 0, i64 %87) %89 = trunc i64 %88 to i32 %90 = icmp slt i32 %89, 0 %91 = icmp eq i1 %90, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %91, label LBL_12, label LBL_21 LBL_12: %92 = load i32, i32* %82, align 4 %93 = add i32 %92, %8 %94 = zext i32 %93 to i64 %95 = call i64 @FUNC(i64 %0, i64 %3, i64 %48, i64 1, i64 %94) %96 = trunc i64 %95 to i32 %97 = icmp slt i32 %96, 0 %98 = icmp eq i1 %97, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %98, label LBL_13, label LBL_21 LBL_13: %99 = call i64 @FUNC(i64 %3) %100 = load i32, i32* %82, align 4 %101 = trunc i64 %99 to i32 %102 = sub i32 %101, %100 %103 = sub i32 %8, %102 %104 = add i64 %48, 8 %105 = inttoptr i64 %104 to i32* %106 = load i32, i32* %105, align 4 %107 = sub i32 %106, %102 store i32 %107, i32* %105, align 4 store i32 %103, i32* %sv_0.0.reg2mem store i64 %3, i64* %rsi.0.reg2mem br label LBL_14 LBL_14: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %108 = load i64, i64* %2, align 8 %109 = load i8, i8* %sv_3, align 1 %110 = zext i8 %109 to i64 %111 = mul i64 %110, 4 %112 = add i64 %111, %108 %113 = inttoptr i64 %112 to i32* %114 = load i32, i32* %113, align 4 %115 = sext i32 %114 to i64 %116 = add i64 %rsi.0.reload, %115 %117 = call i64 @FUNC(i64 %3, i64 %116, i32 %sv_0.0.reload) %118 = trunc i64 %117 to i32 %119 = icmp eq i32 %sv_0.0.reload, %118 br i1 %119, label LBL_18, label LBL_15 LBL_15: %120 = icmp slt i32 %118, 0 %121 = icmp eq i1 %120, false br i1 %121, label LBL_17, label LBL_16 LBL_16: %122 = and i64 %117, 4294967295 store i64 %122, i64* %rax.0.reg2mem br label LBL_21 LBL_17: %123 = load i64, i64* %2, align 8 %124 = load i8, i8* %sv_3, align 1 %125 = zext i8 %124 to i64 %126 = mul i64 %125, 4 %127 = add i64 %126, %123 %128 = inttoptr i64 %127 to i32* %129 = load i32, i32* %128, align 4 %130 = add i32 %129, %sv_0.0.reload %131 = zext i32 %130 to i64 %132 = call i64 @FUNC(i64 %48, i64 %131) br label LBL_18 LBL_18: %133 = load i32, i32* %sv_2, align 4 %134 = add i64 %48, 12 %135 = inttoptr i64 %134 to i32* store i32 %133, i32* %135, align 4 %136 = load i32, i32* %19, align 4 %137 = urem i32 %136, 2 %138 = icmp eq i32 %137, 0 br i1 %138, label LBL_20, label LBL_19 LBL_19: %139 = add i64 %48, 16 %140 = inttoptr i64 %139 to i32* %141 = load i32, i32* %140, align 4 %142 = or i32 %141, 1 store i32 %142, i32* %140, align 4 br label LBL_20 LBL_20: %143 = load i64, i64* %sv_1, align 8 %144 = add i64 %48, 24 %145 = inttoptr i64 %144 to i64* store i64 %143, i64* %145, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 2, 0, 1 } uselistorder i32 %102, { 1, 0 } uselistorder i64 %48, { 5, 4, 6, 3, 0, 1, 2, 7, 8 } uselistorder i32 %29, { 1, 0, 2 } uselistorder i32* %19, { 1, 2, 0, 3 } uselistorder i32 %8, { 3, 1, 0, 2, 4 } uselistorder i64 %3, { 4, 0, 1, 2, 3, 5, 6 } uselistorder i8* %sv_3, { 3, 2, 1, 0, 4 } uselistorder i32* %sv_2, { 2, 0, 1, 3 } uselistorder i64* %sv_1, { 2, 0, 1 } uselistorder i64 %0, { 1, 2, 3, 0, 4, 5, 6 } uselistorder i64* %.pre-phi10.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 2, 3, 7, 4 } uselistorder i64 (i64, i64, i64, i64, i64)* @read_sm_data, { 1, 0 } uselistorder i64 (i64)* @avio_tell, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32 2, { 0, 4, 3, 1, 2 } uselistorder i64 8, { 3, 0, 4, 1, 2, 5, 6, 7 } uselistorder label LBL_21, { 3, 4, 0, 1, 2, 5, 6 } uselistorder label LBL_8, { 1, 0, 2 } }
0
CompRealVul
hash_recvmsg_11481
hash_recvmsg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %rdx.1.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i64* %rdx.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %4, 16 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %6) %8 = and i64 %7, 4294967295 %9 = icmp ult i64 %8, %arg4 store i64 %8, i64* %sv_1.0.reg2mem store i64 %0, i64* %rdx.0.reg2mem br i1 %9, label LBL_3, label LBL_1 LBL_1: %10 = icmp ugt i64 %8, %arg4 %11 = icmp eq i1 %10, false store i64 %arg4, i64* %sv_1.0.reg2mem store i64 %0, i64* %rdx.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 = or i32 %14, 32 %16 = zext i32 %15 to i64 store i32 %15, i32* %13, align 4 store i64 %arg4, i64* %sv_1.0.reg2mem store i64 %16, i64* %rdx.0.reg2mem br label LBL_3 LBL_3: %17 = inttoptr i64 %4 to i32* %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %18 = call i64 @FUNC(i64 %1) %19 = load i32, i32* %17, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_3.LBL_6_crit_edge, label LBL_5 LBL_4: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %.pre = add i64 %4, 8 %.pre2 = inttoptr i64 %.pre to i64* store i64* %.pre2, i64** %.pre-phi3.reg2mem store i64 %rdx.0.reload, i64* %rdx.1.reg2mem br label LBL_6 LBL_5: store i32 0, i32* %17, align 4 %21 = add i64 %4, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %5, i64 0, i64 %23, i64 0) %25 = call i64 @FUNC(i64 %5) %26 = and i64 %25, 4294967295 %27 = call i64 @FUNC(i64 %26, i64 %5) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i64* %22, i64** %.pre-phi3.reg2mem store i64 %23, i64* %rdx.1.reg2mem store i32 %28, i32* %sv_0.0.reg2mem br i1 %30, label LBL_7, label LBL_6 LBL_6: %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem %31 = load i64, i64* %.pre-phi3.reload, align 8 %32 = call i64 @FUNC(i64 %rdx.1.reload, i64 %31, i64 %sv_1.0.reload) %33 = trunc i64 %32 to i32 store i32 %33, i32* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %34 = call i64 @FUNC(i64 %1) %35 = zext i32 %sv_0.0.reload to i64 %36 = icmp eq i32 %sv_0.0.reload, 0 %37 = icmp eq i1 %36, false %spec.select = select i1 %37, i64 %35, i64 %sv_1.0.reload ret i64 %spec.select uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i32* %17, { 1, 0 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rdx.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
1
CompRealVul
pcie_cap_slot_hot_unplug_cb_18609
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, i64 %1, i64* nonnull %sv_0, i64 %0) %4 = call i64 @FUNC(i64 %1) %5 = load i64, i64* %sv_0, align 8 %6 = call i64 @FUNC(i64 %5, i64 1) %7 = call i64 @FUNC(i64 %2, i64 2) ret i64 %7 uselistorder i64* %sv_0, { 1, 0 } }
1
CompRealVul
cdf_file_property_info_7481
cdf_file_property_info
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.3.lcssa.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %rcx.2.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %rcx.1.lcssa.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_2.08.reg2mem = alloca i32 %sv_3.0.in9.reg2mem = alloca i64 %sv_1.010.reg2mem = alloca i64 %rcx.112.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_0.114.reg2mem = alloca i64 %rcx.315.reg2mem = alloca i64 %storemerge16.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg4 to i64 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %4 = load i64, i64* @gv_0, align 8 %5 = call i64 @FUNC(i64 %3, i64 %4) %6 = icmp eq i64 %arg3, 0 store i64 %5, i64* %sv_0.1.lcssa.reg2mem store i64 %3, i64* %rcx.3.lcssa.reg2mem br i1 %6, label LBL_20, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg2 to i64 %8 = ptrtoint i64* %sv_5 to i64 store i64 0, i64* %storemerge16.reg2mem store i64 %3, i64* %rcx.315.reg2mem store i64 %5, i64* %sv_0.114.reg2mem br label LBL_2 LBL_2: %sv_0.114.reload = load i64, i64* %sv_0.114.reg2mem %rcx.315.reload = load i64, i64* %rcx.315.reg2mem %storemerge16.reload = load i64, i64* %storemerge16.reg2mem %9 = mul i64 %storemerge16.reload, 24 %10 = add i64 %9, %7 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = call i64 @FUNC(i64* nonnull %sv_6, i64 64, i32 %12) store i64 %10, i64* @0, align 8 store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem store i64 4294967295, i64* %rax.0.reg2mem switch i64 %10, label LBL_22 [ i64 0, label LBL_19 i64 1, label LBL_19 i64 2, label LBL_19 i64 3, label LBL_19 i64 4, label LBL_19 i64 5, label LBL_19 i64 6, label LBL_3 i64 7, label LBL_3 i64 8, label LBL_13 i64 9, label LBL_19 ] LBL_3: %14 = add i64 %10, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 2 store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem br i1 %18, label LBL_19, label LBL_4 LBL_4: %19 = add i64 %10, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 7 %23 = icmp eq i1 %22, false %spec.select = select i1 %23, i64 1, i64 2 %24 = add i64 %10, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 store i64 %rcx.315.reload, i64* %rcx.112.reg2mem store i64 0, i64* %sv_1.010.reg2mem store i64 %26, i64* %sv_3.0.in9.reg2mem store i32 %17, i32* %sv_2.08.reg2mem br label LBL_9 LBL_5: %sv_3.0.in9.reload = load i64, i64* %sv_3.0.in9.reg2mem %sv_3.013 = inttoptr i64 %sv_3.0.in9.reload to i8* %27 = load i8, i8* %sv_3.013, align 1 %28 = icmp eq i8 %27, 0 store i64 %sv_1.010.reload, i64* %sv_1.0.lcssa.reg2mem store i64 %rcx.112.reload, i64* %rcx.1.lcssa.reg2mem br i1 %28, label LBL_10, label LBL_6 LBL_6: %29 = call i16** @__ctype_b_loc() %30 = load i16*, i16** %29, align 8 %31 = ptrtoint i16* %30 to i64 %32 = load i8, i8* %sv_3.013, align 1 %33 = zext i8 %32 to i64 %34 = mul i64 %33, 2 %35 = add i64 %34, %31 %36 = inttoptr i64 %35 to i16* %37 = load i16, i16* %36, align 2 %38 = and i16 %37, 16384 %39 = icmp eq i16 %38, 0 store i64 %rcx.112.reload, i64* %rcx.0.reg2mem br i1 %39, label LBL_8, label LBL_7 LBL_7: %40 = add i64 %sv_1.010.reload, %8 %41 = inttoptr i64 %40 to i8* store i8 %32, i8* %41, align 1 store i64 %8, i64* %rcx.0.reg2mem br label LBL_8 LBL_8: %42 = add i32 %sv_2.08.reload, -1 %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %43 = add nuw nsw i64 %sv_1.010.reload, 1 %44 = add i64 %sv_3.0.in9.reload, %spec.select %45 = icmp ult i64 %43, 1024 store i64 %rcx.0.reload, i64* %rcx.112.reg2mem store i64 %43, i64* %sv_1.010.reg2mem store i64 %44, i64* %sv_3.0.in9.reg2mem store i32 %42, i32* %sv_2.08.reg2mem store i64 1024, i64* %sv_1.0.lcssa.reg2mem store i64 %rcx.0.reload, i64* %rcx.1.lcssa.reg2mem br i1 %45, label LBL_9, label LBL_10 LBL_9: %sv_2.08.reload = load i32, i32* %sv_2.08.reg2mem %sv_1.010.reload = load i64, i64* %sv_1.010.reg2mem %rcx.112.reload = load i64, i64* %rcx.112.reg2mem %46 = icmp eq i32 %sv_2.08.reload, 0 %47 = icmp eq i1 %46, false store i64 %sv_1.010.reload, i64* %sv_1.0.lcssa.reg2mem store i64 %rcx.112.reload, i64* %rcx.1.lcssa.reg2mem br i1 %47, label LBL_5, label LBL_10 LBL_10: %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %48 = icmp eq i64 %sv_1.0.lcssa.reload, 1024 %49 = sext i1 %48 to i64 %spec.select4 = add i64 %sv_1.0.lcssa.reload, %8 %50 = add i64 %spec.select4, %49 %51 = inttoptr i64 %50 to i8* store i8 0, i8* %51, align 1 %52 = icmp eq i64 %sv_0.114.reload, 0 %53 = icmp eq i1 %52, false store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %rcx.1.lcssa.reload, i64* %rcx.2.reg2mem br i1 %53, label LBL_19, label LBL_11 LBL_11: %54 = load i32, i32* %11, align 4 %55 = icmp eq i32 %54, 10 %56 = icmp eq i1 %55, false store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %rcx.1.lcssa.reload, i64* %rcx.2.reg2mem br i1 %56, label LBL_19, label LBL_12 LBL_12: %57 = load i64, i64* @gv_1, align 8 %58 = call i64 @FUNC(i64* nonnull %sv_5, i64 %57) store i64 %58, i64* %sv_0.0.reg2mem store i64 %rcx.1.lcssa.reload, i64* %rcx.2.reg2mem br label LBL_19 LBL_13: %59 = load i64, i64* inttoptr (i64 16 to i64*), align 16 %60 = icmp eq i64 %59, 0 store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem br i1 %60, label LBL_19, label LBL_14 LBL_14: %61 = icmp ult i64 %59, 1000000000000000 br i1 %61, label LBL_15, label LBL_16 LBL_15: %62 = call i64 @FUNC(i64* nonnull %sv_5, i64 64, i64 %59) store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem br label LBL_19 LBL_16: %63 = call i64 @FUNC(i64* nonnull %sv_4, i64 %59) %64 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull %sv_5) %65 = icmp eq i64 %64, 0 store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem br i1 %65, label LBL_19, label LBL_17 LBL_17: %66 = inttoptr i64 %64 to i8* %67 = call i8* @strchr(i8* %66, i32 10) %68 = icmp eq i8* %67, null store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem br i1 %68, label LBL_19, label LBL_18 LBL_18: store i8 0, i8* %67, align 1 store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem store i64 %rcx.315.reload, i64* %rcx.2.reg2mem br label LBL_19 LBL_19: %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %69 = add nuw i64 %storemerge16.reload, 1 %70 = icmp ult i64 %69, %arg3 store i64 %69, i64* %storemerge16.reg2mem store i64 %rcx.2.reload, i64* %rcx.315.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.114.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem store i64 %rcx.2.reload, i64* %rcx.3.lcssa.reg2mem br i1 %70, label LBL_2, label LBL_20 LBL_20: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %71 = icmp eq i64 %sv_0.1.lcssa.reload, 0 %72 = icmp eq i1 %71, false store i64 0, i64* %rax.0.reg2mem br i1 %72, label LBL_21, label LBL_22 LBL_21: %73 = ptrtoint i64* %arg1 to i64 %rcx.3.lcssa.reload = load i64, i64* %rcx.3.lcssa.reg2mem %74 = call i64 @FUNC(i64 %73, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i64 %sv_0.1.lcssa.reload, i64 %rcx.3.lcssa.reload, i64 %2, i64 %1) %75 = trunc i64 %74 to i32 %76 = icmp eq i32 %75, -1 %77 = icmp eq i1 %76, false %. = select i1 %77, i64 1, i64 4294967295 store i64 %., 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 %sv_0.1.lcssa.reload, { 1, 0 } uselistorder i64 %59, { 1, 0, 2, 3 } uselistorder i64 %sv_1.0.lcssa.reload, { 1, 0 } uselistorder i64 %sv_1.010.reload, { 0, 1, 3, 2 } uselistorder i32 %sv_2.08.reload, { 1, 0 } uselistorder i8* %sv_3.013, { 1, 0 } uselistorder i64 %sv_3.0.in9.reload, { 1, 0 } uselistorder i64 %10, { 0, 1, 2, 4, 3, 5 } uselistorder i64 %rcx.315.reload, { 8, 9, 10, 11, 12, 13, 7, 0, 1, 2, 3, 4, 5, 6 } uselistorder i64 %sv_0.114.reload, { 10, 11, 12, 13, 14, 7, 8, 15, 9, 0, 1, 2, 3, 4, 5, 6 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %storemerge16.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.315.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.114.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.0.in9.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rcx.1.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 12, 13, 14, 15, 16, 8, 9, 10, 11, 1, 2, 3, 4, 5, 6, 7 } uselistorder i64* %rcx.2.reg2mem, { 0, 12, 13, 14, 15, 16, 8, 9, 10, 11, 1, 2, 3, 4, 5, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 1024, { 1, 0, 2 } uselistorder i32 -1, { 1, 0 } uselistorder i1 false, { 4, 5, 0, 1, 2, 3 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_22, { 1, 2, 0 } uselistorder label LBL_19, { 4, 3, 2, 1, 0, 8, 7, 6, 5, 15, 14, 13, 12, 11, 10, 9 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
TfLiteIntArrayGetSizeInBytes_19155
TfLiteIntArrayGetSizeInBytes
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = mul i64 %arg1, 4 %1 = add i64 %0, 8 %2 = and i64 %1, 4294967292 ret i64 %2 }
1
CompRealVul
xml_init_12134
xml_init
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null %1 = icmp eq i1 %0, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg2, align 8 %3 = call i64 @FUNC(i64 %2, i64 0) %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = icmp eq i64 %3, 0 %7 = icmp eq i1 %6, false %. = select i1 %7, i64 1, i64 4294967295 store i64 %., i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 4294967295, { 1, 0 } }
1
CompRealVul
ff_h264_biweight_WxH_mmx2_16213
ff_h264_biweight_WxH_mmx2
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i32 %arg5, i32 %arg6, i64 %arg7, i64 %arg8, i64 %arg9, i64 %arg10) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge4.lcssa.reg2mem = alloca i64 %sv_0.07.reg2mem = alloca i64 %sv_1.09.reg2mem = alloca i64 %storemerge411.reg2mem = alloca i32 %storemerge56.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = add i64 %arg7, 1 %3 = add i64 %2, %arg8 %4 = and i64 %3, 4294967294 %5 = or i64 %4, 1 %6 = urem i32 %arg4, 32 %7 = icmp eq i32 %6, 0 %8 = trunc i64 %5 to i32 %9 = shl i32 %8, %6 %10 = zext i32 %9 to i64 %storemerge = select i1 %7, i64 %5, i64 %10 %11 = trunc i64 %storemerge to i32 %12 = add i32 %arg4, 1 %13 = call i64 @FUNC(i32 %arg5) %14 = call i64 @FUNC(i32 %arg6) %15 = call i64 @FUNC(i32 %11) %16 = call i64 @FUNC(i32 %12) %17 = call i64 @FUNC(i64 %13, i8 0) %18 = call i64 @FUNC(i64 %14, i8 0) %19 = call i64 @FUNC(i64 %15, i8 0) %20 = call i64 @FUNC(i64 %1, i64 %1) %21 = trunc i64 %arg10 to i32 %22 = icmp sgt i32 %21, 0 store i64 0, i64* %storemerge4.lcssa.reg2mem br i1 %22, label LBL_1, label LBL_6 LBL_1: %23 = ptrtoint i64* %arg1 to i64 %24 = ptrtoint i64* %arg2 to i64 %25 = trunc i64 %arg9 to i32 %26 = icmp sgt i32 %25, 0 %27 = sext i32 %arg3 to i64 store i32 0, i32* %storemerge411.reg2mem store i64 %23, i64* %sv_1.09.reg2mem store i64 %24, i64* %sv_0.07.reg2mem br label LBL_4 LBL_2: %storemerge56.reload = load i32, i32* %storemerge56.reg2mem %28 = sext i32 %storemerge56.reload to i64 %29 = add i64 %sv_1.09.reload, %28 %30 = add i64 %sv_0.07.reload, %28 %31 = inttoptr i64 %29 to i32* %32 = load i32, i32* %31, align 4 %33 = call i64 @FUNC(i32 %32) %34 = inttoptr i64 %30 to i32* %35 = load i32, i32* %34, align 4 %36 = call i64 @FUNC(i32 %35) %37 = call i64 @FUNC(i64 %33, i64 %20) %38 = call i64 @FUNC(i64 %36, i64 %20) %39 = call i64 @FUNC(i64 %37, i64 %17) %40 = call i64 @FUNC(i64 %38, i64 %18) %41 = call i64 @FUNC(i64 %39, i64 %19) %42 = call i64 @FUNC(i64 %41, i64 %40) %43 = call i64 @FUNC(i64 %42, i64 %16) %44 = call i64 @FUNC(i64 %43, i64 %43) %45 = load i32, i32* %31, align 4 call void @__asm_movd.1(i32 %45, i64 %44) %46 = add i32 %storemerge56.reload, 4 %47 = icmp slt i32 %46, %25 store i32 %46, i32* %storemerge56.reg2mem br i1 %47, label LBL_2, label LBL_3 LBL_3: %48 = add i64 %sv_0.07.reload, %27 %49 = add i64 %sv_1.09.reload, %27 %50 = add nuw nsw i32 %storemerge411.reload, 1 %exitcond = icmp eq i32 %50, %21 store i32 %50, i32* %storemerge411.reg2mem store i64 %49, i64* %sv_1.09.reg2mem store i64 %48, i64* %sv_0.07.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_4: %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem %sv_1.09.reload = load i64, i64* %sv_1.09.reg2mem %storemerge411.reload = load i32, i32* %storemerge411.reg2mem store i32 0, i32* %storemerge56.reg2mem br i1 %26, label LBL_2, label LBL_3 LBL_5: %phitmp = and i64 %arg10, 4294967295 store i64 %phitmp, i64* %storemerge4.lcssa.reg2mem br label LBL_6 LBL_6: %storemerge4.lcssa.reload = load i64, i64* %storemerge4.lcssa.reg2mem ret i64 %storemerge4.lcssa.reload uselistorder i64 %sv_1.09.reload, { 1, 0 } uselistorder i64 %sv_0.07.reload, { 1, 0 } uselistorder i64 %43, { 1, 0 } uselistorder i32 %25, { 1, 0 } uselistorder i64 %20, { 1, 0 } uselistorder i32 %6, { 1, 0 } uselistorder i32* %storemerge56.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge4.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0, 2, 3, 4 } uselistorder i64 1, { 1, 0 } uselistorder i32 %arg4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
shortlog_18817
shortlog
define i64 @FUNC(i8* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %2, i64 %1, i64 40) %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_19, label LBL_1 LBL_1: %5 = inttoptr i64 %3 to i32* %6 = load i32, i32* %5, align 4 %7 = zext i32 %6 to i64 %8 = icmp eq i32 %6, 1 %9 = icmp eq i1 %8, false store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_19, label LBL_2 LBL_2: %10 = ptrtoint i64* %arg4 to i64 %11 = ptrtoint i64* %arg3 to i64 %12 = call i64 @FUNC(i64 0, i64 0, i64 %10, i64 0) %13 = bitcast i64* %arg4 to i32* store i32 1, i32* %13, align 4 %14 = ptrtoint i8* %arg1 to i64 %15 = call i64 @FUNC(i64 %10, i64 %3, i64 %14) %16 = call i64 @FUNC(i64 %10, i64 %11, i64 ptrtoint ([6 x i8]* @gv_0 to i64)) %17 = add i64 %11, 24 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = or i32 %19, 1 store i32 %20, i32* %18, align 4 %21 = call i64 @FUNC(i64 %10) %22 = trunc i64 %arg5 to i32 %23 = icmp slt i32 %22, 0 store i32 0, i32* %sv_0.0.ph.reg2mem br label LBL_13 LBL_3: %24 = add i64 %65, 32 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, 0 br i1 %27, label LBL_5, label LBL_4 LBL_4: %28 = add i64 %26, 48 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 br i1 %31, label LBL_5, label LBL_14 LBL_5: br i1 %23, label LBL_6, label LBL_7 LBL_6: %32 = add i32 %sv_0.0.ph.reload, 1 store i32 %32, i32* %sv_0.0.ph.reg2mem br label LBL_13 LBL_7: %33 = add i64 %65, 40 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = inttoptr i64 %35 to i8* %37 = call i8* @strstr(i8* %36, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %38 = icmp eq i8* %37, null %39 = icmp eq i1 %38, false br i1 %39, label LBL_9, label LBL_8 LBL_8: %40 = add i64 %65, 4 %41 = call i64 @FUNC(i64 %40) %42 = inttoptr i64 %41 to i8* %43 = call i8* @strdup(i8* %42) %44 = ptrtoint i8* %43 to i64 %45 = call i64 @FUNC(i64* nonnull %sv_2, i64 %44, i64 0) br label LBL_6 LBL_9: %46 = ptrtoint i8* %37 to i64 %47 = add i64 %46, 2 %48 = inttoptr i64 %47 to i8* %49 = call i8* @strchr(i8* %48, i32 10) %50 = icmp eq i8* %49, null br i1 %50, label LBL_11, label LBL_10 LBL_10: %51 = ptrtoint i8* %49 to i64 %52 = sub i64 %51, %47 %53 = trunc i64 %52 to i32 %54 = add i32 %53, 1 %55 = call i64* @malloc(i32 %54) %56 = ptrtoint i64* %55 to i64 %57 = inttoptr i64 %47 to i64* %58 = call i64* @memcpy(i64* %55, i64* %57, i32 %53) %sext6 = mul i64 %52, 4294967296 %59 = ashr exact i64 %sext6, 32 %60 = add i64 %59, %56 %61 = inttoptr i64 %60 to i8* store i8 0, i8* %61, align 1 store i64 %56, i64* %sv_1.0.reg2mem br label LBL_12 LBL_11: %62 = call i8* @strdup(i8* %48) %63 = ptrtoint i8* %62 to i64 store i64 %63, i64* %sv_1.0.reg2mem br label LBL_12 LBL_12: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %64 = call i64 @FUNC(i64* nonnull %sv_2, i64 %sv_1.0.reload, i64 0) br label LBL_6 LBL_13: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem br label LBL_14 LBL_14: %65 = call i64 @FUNC(i64 %10) %66 = icmp eq i64 %65, 0 %67 = icmp eq i1 %66, false br i1 %67, label LBL_3, label LBL_15 LBL_15: %68 = icmp sgt i32 %sv_0.0.ph.reload, %22 br i1 %68, label LBL_16, label LBL_17 LBL_16: %69 = zext i32 %sv_0.0.ph.reload to i64 %70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i8* %arg1, i64 %69) br label LBL_18 LBL_17: %71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i8* %arg1) br label LBL_18 LBL_18: %72 = call i64 @FUNC(i64 %3, i64 31) %73 = call i64 @FUNC(i64 %11, i64 31) %74 = add i64 %10, 8 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = call i64 @FUNC(i64 %76) store i64 0, i64* %75, align 8 %78 = add i64 %10, 24 %79 = inttoptr i64 %78 to i32* store i32 0, i32* %79, align 4 %80 = call i64 @FUNC(i64* nonnull %sv_2) store i64 %80, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %65, { 3, 2, 1, 0 } uselistorder i32 %sv_0.0.ph.reload, { 2, 1, 0 } uselistorder i8* %49, { 1, 0 } uselistorder i64 %11, { 0, 2, 1 } uselistorder i64 %10, { 0, 1, 2, 3, 5, 4, 6 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 2, 0, 3, 1, 4 } uselistorder i64 (i64, i64)* @clear_commit_marks, { 1, 0 } uselistorder i64 31, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 (i64*, i64, i64)* @append_to_list, { 1, 0 } uselistorder i32 0, { 5, 0, 4, 2, 1, 3, 6 } uselistorder i64 (i64, i64, i64)* @add_pending_object, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 40, { 1, 0 } uselistorder i64 (i64)* @sha1_to_hex, { 1, 0 } uselistorder label LBL_19, { 2, 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
1
CompRealVul
mxf_read_content_storage_16418
mxf_read_content_storage
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 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %arg3 to i32 %3 = icmp eq i32 %2, 6401 %4 = icmp eq i1 %3, false store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %5) %8 = trunc i64 %7 to i32 %9 = bitcast i64* %arg1 to i32* store i32 %8, i32* %9, align 4 %sext = mul i64 %1, 4294967296 %10 = ashr exact i64 %sext, 32 %11 = call i64 @FUNC(i64 %10, i64 4) %12 = add i64 %6, 8 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 %14 = icmp eq i64 %11, 0 %15 = icmp eq i1 %14, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %15, label LBL_2, label LBL_3 LBL_2: %16 = bitcast i64* %rdi to i32* %17 = call i64 @FUNC(i64 %5, i64 4) %18 = load i32, i32* %16, align 8 %19 = sext i32 %18 to i64 %20 = mul i64 %19, 4 %21 = load i64, i64* %13, align 8 %22 = call i64 @FUNC(i64 %5, i64 %21, i64 %20) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 } uselistorder label LBL_3, { 1, 2, 0 } }
1
CompRealVul
check_underflow_6203
check_underflow
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 1 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = inttoptr i64 %4 to i8* %6 = call i32 @strcmp(i8* %5, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) %7 = icmp eq i32 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = inttoptr i64 %4 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp ugt i32 %9, -3 %storemerge = zext i1 %10 to i64 store i64 %storemerge, 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
alloc_mmu_pages_8892
alloc_mmu_pages
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @exit(i32 1) unreachable LBL_2: %2 = call i64 @FUNC(i64 1) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %4, label LBL_3, label LBL_5 LBL_3: %5 = call i64 @FUNC(i64 %2) store i64 %5, i64* %arg1, align 8 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %6 = mul i64 %indvars.iv.reload, 8 %7 = add i64 %6, %2 %8 = inttoptr i64 %7 to i64* store i64 0, i64* %8, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* null, { 1, 0, 2 } }
0
CompRealVul
ehci_reset_queue_14363
ehci_reset_queue
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 %5 = and i64 %2, 4294967295 ret i64 %5 }
1
CompRealVul
diff_bytes_c_6093
diff_bytes_c
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %sv_0.03.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %storemerge1.lcssa.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = urem i64 %arg3, 8 %1 = icmp eq i64 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = sext i32 %arg4 to i64 %3 = icmp sgt i32 %arg4, 7 store i64 7, i64* %.reg2mem store i64 0, i64* %storemerge6.reg2mem store i64 %2, i64* %.pre-phi.reg2mem store i64 0, i64* %sv_0.0.ph.reg2mem br i1 %3, label LBL_3, label LBL_6 LBL_2: %4 = add i32 %arg4, -8 %5 = sext i32 %4 to i64 %6 = icmp slt i32 %4, 0 store i64 0, i64* %storemerge14.reg2mem store i64 0, i64* %storemerge1.lcssa.reg2mem br i1 %6, label LBL_5, label LBL_4 LBL_3: %storemerge6.reload = load i64, i64* %storemerge6.reg2mem %.reload = load i64, i64* %.reg2mem %7 = add i64 %storemerge6.reload, %arg2 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = add i64 %storemerge6.reload, %arg3 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = add i64 %storemerge6.reload, %arg1 %14 = sub i8 %9, %12 %15 = inttoptr i64 %13 to i8* store i8 %14, i8* %15, align 1 %16 = or i64 %storemerge6.reload, 1 %17 = add i64 %16, %arg2 %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = add i64 %16, %arg3 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = add i64 %16, %arg1 %24 = sub i8 %19, %22 %25 = inttoptr i64 %23 to i8* store i8 %24, i8* %25, align 1 %26 = or i64 %storemerge6.reload, 2 %27 = add i64 %26, %arg2 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = add i64 %26, %arg3 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = add i64 %26, %arg1 %34 = sub i8 %29, %32 %35 = inttoptr i64 %33 to i8* store i8 %34, i8* %35, align 1 %36 = or i64 %storemerge6.reload, 3 %37 = add i64 %36, %arg2 %38 = inttoptr i64 %37 to i8* %39 = load i8, i8* %38, align 1 %40 = add i64 %36, %arg3 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = add i64 %36, %arg1 %44 = sub i8 %39, %42 %45 = inttoptr i64 %43 to i8* store i8 %44, i8* %45, align 1 %46 = or i64 %storemerge6.reload, 4 %47 = add i64 %46, %arg2 %48 = inttoptr i64 %47 to i8* %49 = load i8, i8* %48, align 1 %50 = add i64 %46, %arg3 %51 = inttoptr i64 %50 to i8* %52 = load i8, i8* %51, align 1 %53 = add i64 %46, %arg1 %54 = sub i8 %49, %52 %55 = inttoptr i64 %53 to i8* store i8 %54, i8* %55, align 1 %56 = or i64 %storemerge6.reload, 5 %57 = add i64 %56, %arg2 %58 = inttoptr i64 %57 to i8* %59 = load i8, i8* %58, align 1 %60 = add i64 %56, %arg3 %61 = inttoptr i64 %60 to i8* %62 = load i8, i8* %61, align 1 %63 = add i64 %56, %arg1 %64 = sub i8 %59, %62 %65 = inttoptr i64 %63 to i8* store i8 %64, i8* %65, align 1 %66 = or i64 %storemerge6.reload, 6 %67 = add i64 %66, %arg2 %68 = inttoptr i64 %67 to i8* %69 = load i8, i8* %68, align 1 %70 = add i64 %66, %arg3 %71 = inttoptr i64 %70 to i8* %72 = load i8, i8* %71, align 1 %73 = add i64 %66, %arg1 %74 = sub i8 %69, %72 %75 = inttoptr i64 %73 to i8* store i8 %74, i8* %75, align 1 %76 = add i64 %.reload, %arg2 %77 = inttoptr i64 %76 to i8* %78 = load i8, i8* %77, align 1 %79 = add i64 %.reload, %arg3 %80 = inttoptr i64 %79 to i8* %81 = load i8, i8* %80, align 1 %82 = add i64 %.reload, %arg1 %83 = sub i8 %78, %81 %84 = inttoptr i64 %82 to i8* store i8 %83, i8* %84, align 1 %85 = add nuw nsw i64 %storemerge6.reload, 8 %86 = or i64 %85, 7 %87 = icmp slt i64 %86, %2 store i64 %86, i64* %.reg2mem store i64 %85, i64* %storemerge6.reg2mem store i64 %2, i64* %.pre-phi.reg2mem store i64 %85, i64* %sv_0.0.ph.reg2mem br i1 %87, label LBL_3, label LBL_6 LBL_4: %storemerge14.reload = load i64, i64* %storemerge14.reg2mem %88 = add i64 %storemerge14.reload, %arg2 %89 = inttoptr i64 %88 to i64* %90 = load i64, i64* %89, align 8 %91 = add i64 %storemerge14.reload, %arg3 %92 = inttoptr i64 %91 to i64* %93 = load i64, i64* %92, align 8 %94 = or i64 %90, 128 %95 = urem i64 %93, 128 %96 = sub i64 %94, %95 %97 = xor i64 %93, %90 %98 = and i64 %97, 128 %99 = xor i64 %98, 128 %100 = add i64 %storemerge14.reload, %arg1 %101 = xor i64 %99, %96 %102 = inttoptr i64 %100 to i64* store i64 %101, i64* %102, align 8 %103 = add nuw nsw i64 %storemerge14.reload, 8 %104 = icmp sgt i64 %103, %5 store i64 %103, i64* %storemerge14.reg2mem store i64 %103, i64* %storemerge1.lcssa.reg2mem br i1 %104, label LBL_5, label LBL_4 LBL_5: %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem %.pre = sext i32 %arg4 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %storemerge1.lcssa.reload, i64* %sv_0.0.ph.reg2mem br label LBL_6 LBL_6: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %105 = icmp slt i64 %sv_0.0.ph.reload, %.pre-phi.reload store i64 %sv_0.0.ph.reload, i64* %sv_0.03.reg2mem br i1 %105, label LBL_7, label LBL_8 LBL_7: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %106 = add i64 %sv_0.03.reload, %arg2 %107 = inttoptr i64 %106 to i8* %108 = load i8, i8* %107, align 1 %109 = add i64 %sv_0.03.reload, %arg3 %110 = inttoptr i64 %109 to i8* %111 = load i8, i8* %110, align 1 %112 = add i64 %sv_0.03.reload, %arg1 %113 = sub i8 %108, %111 %114 = inttoptr i64 %112 to i8* store i8 %113, i8* %114, align 1 %115 = add nuw nsw i64 %sv_0.03.reload, 1 %exitcond = icmp eq i64 %115, %.pre-phi.reload store i64 %115, i64* %sv_0.03.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: ret i64 %.pre-phi.reload uselistorder i64 %sv_0.03.reload, { 0, 3, 2, 1 } uselistorder i64 %.pre-phi.reload, { 1, 0, 2 } uselistorder i64 %93, { 1, 0 } uselistorder i64 %storemerge14.reload, { 0, 3, 2, 1 } uselistorder i64 %.reload, { 2, 1, 0 } uselistorder i64 %storemerge6.reload, { 6, 0, 1, 2, 3, 4, 5, 9, 8, 7 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge14.reg2mem, { 2, 0, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_0.03.reg2mem, { 2, 0, 1 } uselistorder i64 128, { 2, 3, 0, 1 } uselistorder i64 7, { 1, 0 } uselistorder i64 8, { 1, 2, 0 } uselistorder i32 %arg4, { 0, 3, 1, 2 } uselistorder i64 %arg3, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
dell_wmi_events_set_enabled_4408
dell_wmi_events_set_enabled
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = call i64 @FUNC(i64 28, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = inttoptr i64 %0 to i32* store i32 1, i32* %3, align 4 %4 = add i64 %0, 4 %5 = inttoptr i64 %4 to i32* store i32 2, i32* %5, align 4 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* store i32 65536, i32* %7, align 4 %8 = add i64 %0, 12 %9 = inttoptr i64 %8 to i32* store i32 1364411732, i32* %9, align 4 %10 = trunc i64 %arg1 to i32 %11 = urem i32 %10, 256 %12 = add i64 %0, 20 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = call i64 @FUNC(i64 %0) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i32 %15, i32* %sv_0.0.reg2mem br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = add i64 %0, 24 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 store i32 %20, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %21 = call i64 @FUNC(i64 %0) %22 = zext i32 %sv_0.0.reload to i64 %23 = call i64 @FUNC(i64 %22) store i64 %23, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
FstringParser_Finish_11005
FstringParser_Finish
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rsi.1.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false %9 = add i64 %4, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 br i1 %8, label LBL_4, label LBL_1 LBL_1: %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 0, i64 0) store i64 %14, i64* %10, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_13, label LBL_3 LBL_3: %16 = ptrtoint i32* %arg3 to i64 %17 = call i64 @FUNC(i64 %9, i64 %3, i64 %16) store i64 %17, i64* %rax.0.reg2mem br label LBL_14 LBL_4: store i64 %3, i64* %rsi.1.reg2mem br i1 %12, label LBL_9, label LBL_5 LBL_5: %18 = ptrtoint i32* %arg3 to i64 %19 = call i64 @FUNC(i64 %9, i64 %3, i64 %18) %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_13, label LBL_6 LBL_6: %21 = call i64 @FUNC(i64 %4, i64 %19) %22 = trunc i64 %21 to i32 %23 = icmp slt i32 %22, 0 br i1 %23, label LBL_13, label LBL_7 LBL_7: %.pr = load i64, i64* %10, align 8 %24 = icmp eq i64 %.pr, 0 store i64 %19, i64* %rsi.1.reg2mem br i1 %24, label LBL_9, label LBL_8 LBL_8: call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([54 x i8]* @gv_1 to i64), i64* %rsi.1.reg2mem br label LBL_9 LBL_9: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %25 = call i64 @FUNC(i64 %4, i64 %rsi.1.reload) %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_13, label LBL_10 LBL_10: %27 = inttoptr i64 %25 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 1 %30 = icmp eq i1 %29, false br i1 %30, label LBL_12, label LBL_11 LBL_11: %31 = add i64 %25, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 store i64 %35, i64* %rax.0.reg2mem br label LBL_14 LBL_12: %36 = ptrtoint i32* %arg3 to i64 %37 = call i64 @FUNC(i64 %36) %38 = and i64 %37, 4294967295 %39 = and i64 %2, 4294967295 %40 = call i64 @FUNC(i64 %25, i64 %38, i64 %39, i64 %rsi.1.reload) store i64 %40, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %41 = call i64 @FUNC(i64 %4) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %rsi.1.reload, { 1, 0 } uselistorder i1 %12, { 1, 0 } uselistorder i64 %9, { 1, 0, 2 } uselistorder i64 %4, { 1, 2, 0, 3, 4 } uselistorder i64 %3, { 2, 0, 1 } uselistorder i64* %rsi.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder [54 x i8]* @gv_1, { 1, 0 } uselistorder i64 (i64, i64, i64)* @make_str_node_and_del, { 1, 0 } uselistorder i32* %arg3, { 2, 1, 0 } uselistorder label LBL_13, { 0, 2, 1, 3 } uselistorder label LBL_9, { 1, 2, 0 } }
1
CompRealVul
ffurl_read_complete_13877
ffurl_read_complete
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 store i64 4294967291, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = trunc i64 %arg3 to i32 %12 = call i64 @FUNC(i64 %5, i64 %4, i32 %11, i32 %11, i64 %10) 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 %11, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
fgetwln_10038
fgetwln
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64* %0 = load i128, i128* @gv_0, align 8 %1 = trunc i128 %0 to i64 %2 = mul i64 %1, 24 %3 = add i64 %2, ptrtoint (i64* @gv_1 to i64) %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, %arg1 %7 = icmp eq i64 %5, 0 %or.cond = or i1 %6, %7 store i64* %4, i64** %.pre-phi.reg2mem store i64 %3, i64* %sv_1.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %1, 1 %9 = sext i64 %8 to i128 store i128 %9, i128* @gv_0, align 8 %10 = mul i64 %8, 24 %11 = add i64 %10, ptrtoint (i64* @gv_1 to i64) %.pre3 = inttoptr i64 %11 to i64* store i64* %.pre3, i64** %.pre-phi.reg2mem store i64 %11, i64* %sv_1.0.reg2mem br label LBL_2 LBL_2: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem store i64 %arg1, i64* %.pre-phi.reload, align 8 %12 = inttoptr i64 %arg1 to %_IO_FILE* %13 = add i64 %sv_1.0.reload, 16 %14 = inttoptr i64 %13 to i64* %15 = add i64 %sv_1.0.reload, 8 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %sv_0.0.reg2mem br label LBL_9 LBL_3: %17 = load i64, i64* %14, align 8 %18 = icmp ult i64 %sv_0.0.reload, %17 br i1 %18, label LBL_3.LBL_8_crit_edge, label LBL_5 LBL_4: %.pre = load i64, i64* %16, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_8 LBL_5: %19 = icmp eq i64 %17, 0 %20 = mul i64 %17, 2 %storemerge1 = select i1 %19, i64 16, i64 %20 store i64 %storemerge1, i64* %14, align 8 %21 = load i64, i64* %16, align 8 %22 = call i64 @reallocarray(i64 %21, i64 %storemerge1, i64 4) %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_7, label LBL_6 LBL_6: store i64 0, i64* %arg2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_12 LBL_7: store i64 %22, i64* %16, align 8 store i64 %22, i64* %.reg2mem br label LBL_8 LBL_8: %.reload = load i64, i64* %.reg2mem %25 = add i64 %sv_0.0.reload, 1 %26 = mul i64 %sv_0.0.reload, 4 %27 = add i64 %.reload, %26 %28 = inttoptr i64 %27 to i32* store i32 %30, i32* %28, align 4 %29 = icmp eq i32 %30, 10 store i64 %25, i64* %sv_0.0.reg2mem store i64 %25, i64* %sv_0.1.reg2mem br i1 %29, label LBL_10, label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %30 = call i32 @fgetwc(%_IO_FILE* %12) %31 = icmp eq i32 %30, -1 %32 = icmp eq i1 %31, false store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %32, label LBL_3, label LBL_10 LBL_10: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem store i64 %sv_0.1.reload, i64* %arg2, align 8 %33 = icmp eq i64 %sv_0.1.reload, 0 store i64 0, i64* %storemerge.reg2mem br i1 %33, label LBL_12, label LBL_11 LBL_11: %34 = load i64, i64* %16, align 8 store i64 %34, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.1.reload, { 1, 0 } uselistorder i32 %30, { 2, 1, 0 } uselistorder i64 %sv_0.0.reload, { 0, 2, 1, 3 } uselistorder i64* %16, { 0, 2, 3, 1 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %8, { 1, 0 } uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i128* @gv_0, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_12, { 2, 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
CompRealVul
perf_group_attach_6786
perf_group_attach
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = urem i32 %3, 2 %5 = zext i32 %4 to i64 %6 = icmp eq i32 %4, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = or i32 %3, 1 store i32 %8, i32* %2, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %4, { 1, 0 } uselistorder i32 %3, { 1, 0 } }
0
CompRealVul
qxl_destroy_primary_15282
qxl_destroy_primary
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6, i64 1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %2, i64 %1) %8 = bitcast i64* %arg1 to i32* store i32 0, i32* %8, align 4 %9 = add i64 %6, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 store i64 %11, 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, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
helper_rdhwr_xnp_15883
helper_rdhwr_xnp
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 5) %2 = udiv i64 %0, 32 %3 = urem i64 %2, 2 ret i64 %3 }
1
CompRealVul
ib_sa_remove_one_17839
ib_sa_remove_one
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 4210733) %2 = icmp eq i64 %1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_4, label LBL_1 LBL_1: %3 = inttoptr i64 %1 to i32* %4 = add i64 %1, 168 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC() %7 = add i64 %1, 4 %8 = inttoptr i64 %7 to i32* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_2 LBL_2: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %9 = mul i64 %.reload, 16 %10 = add i64 %9, %1 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %10, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17, i64 4198797) %19 = add i32 %storemerge2.reload, 1 %20 = load i32, i32* %8, align 4 %21 = load i32, i32* %3, align 4 %22 = sub i32 %20, %21 %23 = zext i32 %22 to i64 %24 = sext i32 %19 to i64 %25 = icmp sgt i64 %24, %23 store i64 %24, i64* %.reg2mem store i32 %19, i32* %storemerge2.reg2mem br i1 %25, label LBL_3, label LBL_2 LBL_3: %26 = call i64 @FUNC(i64 %1) store i64 %26, 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, 2, 3, 4, 5 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64 16, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
put_bool_1289
put_bool
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = urem i64 %1, 256 %4 = call i64 @FUNC(i64 %2, i64 %3) ret i64 %4 }
0
CompRealVul
decode_header_59
decode_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.shrunk.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %rdi = alloca i64, align 8 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = load i32, i32* %1 %7 = add i64 %5, 32 store i64 %7, i64* %rdi, align 8 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp sgt i32 %9, 29 br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = load i64, i64* %rdi, align 8 %12 = call i64 @FUNC(i64 %11, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_2: store i64 %7, i64* %rdi, align 8 %13 = call i64 @FUNC(i64 %7) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 1397768760 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = load i64, i64* %rdi, align 8 %17 = and i64 %13, 4294967295 %18 = call i64 @FUNC(i64 %16, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %17, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_4: store i64 %7, i64* %rdi, align 8 %19 = call i64 @FUNC(i64 %7) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 1 br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = load i64, i64* %rdi, align 8 %23 = and i64 %19, 4294967295 %24 = call i64 @FUNC(i64 %22, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %23, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_6: %25 = call i64 @FUNC(i64 %7, i64 6) store i64 %7, i64* %rdi, align 8 %26 = call i64 @FUNC(i64 %7) %27 = trunc i64 %26 to i32 %28 = add i64 %5, 8 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %.off = add i32 %27, -1 %30 = icmp ult i32 %.off, 56 br i1 %30, label LBL_8, label LBL_7 LBL_7: %31 = load i64, i64* %rdi, align 8 %32 = and i64 %26, 4294967295 %33 = call i64 @FUNC(i64 %31, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0), i64 %32, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_8: store i64 %7, i64* %rdi, align 8 %34 = call i64 @FUNC(i64 %7) %35 = trunc i64 %34 to i32 %36 = add i64 %5, 12 %37 = inttoptr i64 %36 to i32* store i32 %35, i32* %37, align 4 %38 = icmp slt i32 %35, 30001 br i1 %38, label LBL_11, label LBL_9 LBL_9: %39 = bitcast i64* %rdi to i32* %40 = load i32, i32* %39, align 8 %41 = icmp slt i32 %40, 2 br i1 %41, label LBL_11, label LBL_10 LBL_10: %42 = load i64, i64* %rdi, align 8 %43 = call i64 @FUNC(i64 %42, i64 0, i8* getelementptr inbounds ([92 x i8], [92 x i8]* @gv_4, i64 0, i64 0), i64 1, i64 %3, i64 %2) store i64 4294967294, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_11: store i64 %7, i64* %rdi, align 8 %44 = call i64 @FUNC(i64 %7) %45 = trunc i64 %44 to i32 %46 = add i64 %5, 16 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = icmp slt i32 %45, 30001 br i1 %48, label LBL_14, label LBL_12 LBL_12: %49 = bitcast i64* %rdi to i32* %50 = load i32, i32* %49, align 8 %51 = icmp slt i32 %50, 2 br i1 %51, label LBL_14, label LBL_13 LBL_13: %52 = load i64, i64* %rdi, align 8 %53 = call i64 @FUNC(i64 %52, i64 0, i8* getelementptr inbounds ([91 x i8], [91 x i8]* @gv_5, i64 0, i64 0), i64 1, i64 %3, i64 %2) store i64 4294967294, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_14: %54 = load i32, i32* %37, align 4 %55 = and i64 %44, 4294967295 %56 = load i64, i64* %rdi, align 8 %57 = call i64 @FUNC(i64 %56, i64 %55, i32 %54) %58 = trunc i64 %57 to i32 %59 = icmp slt i32 %58, 0 %60 = icmp eq i1 %59, false store i64 %57, i64* %rax.0.shrunk.reg2mem br i1 %60, label LBL_15, label LBL_46 LBL_15: %61 = call i64 @FUNC(i64 %7) %62 = trunc i64 %61 to i32 %63 = add i64 %5, 20 %64 = inttoptr i64 %63 to i32* store i32 %62, i32* %64, align 4 store i64 %7, i64* %rdi, align 8 %65 = call i64 @FUNC(i64 %7) %66 = trunc i64 %65 to i32 %67 = and i64 %65, 4294967295 store i64 %67, i64* @0, align 8 switch i32 %66, label LBL_24 [ i32 0, label LBL_16 i32 1, label LBL_17 i32 2, label LBL_18 i32 3, label LBL_19 i32 4, label LBL_20 i32 7, label LBL_21 i32 8, label LBL_22 i32 9, label LBL_23 ] LBL_16: %68 = add i64 %5, 24 %69 = inttoptr i64 %68 to i32* store i32 0, i32* %69, align 4 br label LBL_25 LBL_17: %70 = add i64 %5, 24 %71 = inttoptr i64 %70 to i32* store i32 1, i32* %71, align 4 br label LBL_25 LBL_18: %72 = add i64 %5, 24 %73 = inttoptr i64 %72 to i32* store i32 2, i32* %73, align 4 br label LBL_25 LBL_19: %74 = add i64 %5, 24 %75 = inttoptr i64 %74 to i32* store i32 3, i32* %75, align 4 br label LBL_25 LBL_20: %76 = add i64 %5, 24 %77 = inttoptr i64 %76 to i32* store i32 4, i32* %77, align 4 br label LBL_25 LBL_21: %78 = add i64 %5, 24 %79 = inttoptr i64 %78 to i32* store i32 7, i32* %79, align 4 br label LBL_25 LBL_22: %80 = add i64 %5, 24 %81 = inttoptr i64 %80 to i32* store i32 8, i32* %81, align 4 br label LBL_25 LBL_23: %82 = add i64 %5, 24 %83 = inttoptr i64 %82 to i32* store i32 9, i32* %83, align 4 br label LBL_25 LBL_24: %84 = load i64, i64* %rdi, align 8 %85 = call i64 @FUNC(i64 %84, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0), i64 %67, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_25: store i64 %7, i64* %rdi, align 8 %86 = call i64 @FUNC(i64 %7) %87 = trunc i64 %86 to i32 %88 = icmp slt i32 %87, 0 %89 = icmp eq i1 %88, false br i1 %89, label LBL_27, label LBL_26 LBL_26: %90 = load i64, i64* %rdi, align 8 %91 = call i64 @FUNC(i64 %90, i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_7, i64 0, i64 0), i64 %55, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_27: %sext = mul i64 %86, 4294967296 %92 = ashr exact i64 %sext, 32 %93 = add nsw i64 %92, 3 store i64 %7, i64* %rdi, align 8 %94 = call i64 @FUNC(i64 %7) %sext2 = mul i64 %94, 4294967296 %95 = ashr exact i64 %sext2, 32 %96 = icmp slt i64 %93, %95 br i1 %96, label LBL_29, label LBL_28 LBL_28: %97 = load i64, i64* %rdi, align 8 %98 = call i64 @FUNC(i64 %97, i64 0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_8, i64 0, i64 0), i64 %55, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_29: %99 = and i64 %86, 4294967295 %100 = call i64 @FUNC(i64 %7, i64 %99) store i64 %7, i64* %rdi, align 8 %101 = call i64 @FUNC(i64 %7) %102 = trunc i64 %101 to i32 %103 = icmp slt i32 %102, 0 %104 = icmp eq i1 %103, false br i1 %104, label LBL_31, label LBL_30 LBL_30: %105 = load i64, i64* %rdi, align 8 %106 = call i64 @FUNC(i64 %105, i64 0, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_9, i64 0, i64 0), i64 %55, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_31: %sext7 = mul i64 %101, 4294967296 %107 = ashr exact i64 %sext7, 32 %108 = add nsw i64 %107, 3 store i64 %7, i64* %rdi, align 8 %109 = call i64 @FUNC(i64 %7) %sext4 = mul i64 %109, 4294967296 %110 = ashr exact i64 %sext4, 32 %111 = icmp slt i64 %108, %110 br i1 %111, label LBL_33, label LBL_32 LBL_32: %112 = load i64, i64* %rdi, align 8 %113 = call i64 @FUNC(i64 %112, i64 0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_8, i64 0, i64 0), i64 %55, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_33: %114 = and i64 %101, 4294967295 %115 = call i64 @FUNC(i64 %7, i64 %114) store i64 %7, i64* %rdi, align 8 %116 = call i64 @FUNC(i64 %7) %117 = trunc i64 %116 to i32 %118 = icmp slt i32 %117, 0 %119 = icmp eq i1 %118, false br i1 %119, label LBL_35, label LBL_34 LBL_34: %120 = load i64, i64* %rdi, align 8 %121 = call i64 @FUNC(i64 %120, i64 0, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_10, i64 0, i64 0), i64 %55, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_35: store i64 %7, i64* %rdi, align 8 %122 = call i64 @FUNC(i64 %7) %sext6 = mul i64 %122, 4294967296 %sext8 = mul i64 %116, 4294967296 %123 = icmp slt i64 %sext6, %sext8 br i1 %123, label LBL_36, label LBL_37 LBL_36: %124 = load i64, i64* %rdi, align 8 %125 = call i64 @FUNC(i64 %124, i64 0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_8, i64 0, i64 0), i64 %55, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_37: %126 = and i64 %116, 4294967295 %127 = call i64 @FUNC(i64 %7, i64 %126) store i64 %7, i64* %rdi, align 8 %128 = call i64 @FUNC(i64 %7) %129 = trunc i64 %128 to i32 %130 = icmp sgt i32 %129, 1 br i1 %130, label LBL_39, label LBL_38 LBL_38: %131 = load i64, i64* %rdi, align 8 %132 = call i64 @FUNC(i64 %131, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_11, i64 0, i64 0), i64 %55, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_39: store i64 %7, i64* %rdi, align 8 %133 = call i64 @FUNC(i64 %7) %134 = trunc i64 %133 to i32 %135 = add i64 %5, 28 %136 = inttoptr i64 %135 to i32* store i32 %134, i32* %136, align 4 %137 = icmp eq i32 %134, 3 br i1 %137, label LBL_44, label LBL_40 LBL_40: %138 = icmp sgt i32 %134, 3 br i1 %138, label LBL_45, label LBL_41 LBL_41: %139 = icmp sgt i32 %134, 1 br i1 %139, label LBL_43, label LBL_42 LBL_42: %140 = icmp slt i32 %134, 0 %141 = icmp eq i1 %140, false store i64 %57, i64* %rax.0.shrunk.reg2mem br i1 %141, label LBL_46, label LBL_45 LBL_43: %142 = load i64, i64* %rdi, align 8 %143 = call i64 @FUNC(i64 %142, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_12, i64 0, i64 0)) store i64 4294967293, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_44: %144 = load i64, i64* %rdi, align 8 %145 = call i64 @FUNC(i64 %144, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_13, i64 0, i64 0)) store i64 4294967293, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_45: %146 = load i64, i64* %rdi, align 8 %147 = zext i32 %6 to i64 %148 = call i64 @FUNC(i64 %146, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_14, i64 0, i64 0), i64 %147, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_46 LBL_46: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32 %134, { 3, 2, 1, 0, 4 } uselistorder i64 %116, { 1, 0, 2 } uselistorder i64 %101, { 1, 0, 2 } uselistorder i64 %86, { 1, 0, 2 } uselistorder i64 %55, { 2, 1, 3, 4, 5, 6, 7, 0 } uselistorder i64 %7, { 1, 0, 3, 2, 4, 6, 5, 8, 7, 9, 11, 10, 13, 12, 14, 16, 15, 18, 17, 20, 19, 21, 23, 22, 25, 24, 27, 26, 28, 30, 29, 32, 31, 33, 34 } uselistorder i64 %5, { 7, 8, 6, 5, 4, 3, 2, 1, 0, 9, 10, 11, 12, 13 } uselistorder i64* %rdi, { 34, 33, 32, 14, 31, 13, 30, 12, 29, 11, 28, 10, 27, 9, 26, 8, 25, 7, 24, 6, 23, 22, 20, 5, 21, 19, 4, 18, 3, 17, 2, 16, 1, 15, 0 } uselistorder i64 %3, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %2, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 15, 16, 14, 1, 13, 17, 12, 11, 10, 9, 8, 18, 2, 7, 6, 19, 5, 4, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 4294967293, { 1, 0 } uselistorder i64 (i64, i8*)* @avpriv_request_sample, { 1, 0 } uselistorder i32 9, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i32 7, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i32 3, { 2, 0, 3, 1 } uselistorder i32 0, { 4, 0, 1, 2, 5, 3, 6 } uselistorder i64 4294967294, { 1, 0 } uselistorder i32 2, { 3, 0, 1, 2 } uselistorder i64 (i64)* @bytestream2_get_be32, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @bytestream2_skip, { 3, 2, 1, 0 } uselistorder i64 (i64)* @bytestream2_get_be16, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @bytestream2_get_bytes_left, { 4, 3, 2, 1, 0 } uselistorder i64 32, { 2, 0, 3, 1, 4, 5 } uselistorder label LBL_46, { 2, 3, 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, 1, 13, 14, 15, 16, 17, 18 } }
1
CompRealVul
read_kuki_chunk_7444
read_kuki_chunk
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 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %4 = icmp ult i64 %arg2, 2147483616 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_19 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 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 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 1 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_2 LBL_2: %17 = call i64 @FUNC(i64 %5) %18 = trunc i64 %17 to i32 %19 = call i64 @FUNC(i64 %5, i64 %5) %20 = trunc i64 %arg2 to i32 %21 = call i64 @FUNC(i64 %5) %22 = trunc i64 %21 to i32 %23 = sub i32 %18, %22 %24 = add i32 %23, %20 %25 = icmp slt i32 %24, 0 br i1 %25, label LBL_5, label LBL_3 LBL_3: %26 = load i64, i64* %11, align 8 %27 = add i64 %26, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 br i1 %30, label LBL_5, label LBL_4 LBL_4: %31 = inttoptr i64 %26 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 1 br i1 %33, label LBL_6, label LBL_5 LBL_5: %34 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_19 LBL_6: %35 = sext i32 %24 to i64 %36 = call i64 @FUNC(i64 %5, i64 %35) store i64 0, i64* %rax.0.reg2mem br label LBL_19 LBL_7: %37 = icmp eq i32 %14, 2 %38 = icmp eq i1 %37, false br i1 %38, label LBL_17, label LBL_8 LBL_8: %39 = icmp sgt i64 %arg2, 23 br i1 %39, label LBL_10, label LBL_9 LBL_9: %40 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1) %41 = call i64 @FUNC(i64 %5, i64 %arg2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_19 LBL_10: %42 = call i64 @FUNC(i64 %5, i64* nonnull %sv_1, i64 12) %43 = load i64, i64* %11, align 8 %44 = call i64 @FUNC(i64 68) %45 = add i64 %43, 8 %46 = inttoptr i64 %45 to i64* store i64 %44, i64* %46, align 8 %47 = load i64, i64* %11, align 8 %48 = add i64 %47, 8 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = icmp eq i64 %50, 0 %52 = icmp eq i1 %51, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %52, label LBL_11, label LBL_19 LBL_11: %53 = call i32 @memcmp(i64* nonnull %sv_0, i64* bitcast ([9 x i8]* @gv_2 to i64*), i32 8) %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_15, label LBL_12 LBL_12: %56 = icmp sgt i64 %arg2, 47 br i1 %56, label LBL_14, label LBL_13 LBL_13: %57 = ptrtoint i64* %sv_1 to i64 %58 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %57, i64 %2, i64 %1) %59 = load i64, i64* %11, align 8 %60 = add i64 %59, 8 %61 = call i64 @FUNC(i64 %60) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_19 LBL_14: %62 = load i64, i64* %11, align 8 %63 = add i64 %62, 8 %64 = inttoptr i64 %63 to i64* %65 = load i64, i64* %64, align 8 %66 = inttoptr i64 %65 to i64* %67 = call i64 @FUNC(i64 %5, i64* %66, i64 36) %68 = add i64 %arg2, -48 %69 = call i64 @FUNC(i64 %5, i64 %68) br label LBL_16 LBL_15: %70 = load i64, i64* %11, align 8 %71 = add i64 %70, 8 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = inttoptr i64 %73 to i32* store i32 36, i32* %74, align 4 %75 = load i64, i64* %11, align 8 %76 = add i64 %75, 8 %77 = inttoptr i64 %76 to i64* %78 = load i64, i64* %77, align 8 %79 = add i64 %78, 4 %80 = inttoptr i64 %79 to i64* %81 = call i64* @memcpy(i64* %80, i64* bitcast ([5 x i8]* @gv_3 to i64*), i32 4) %82 = load i64, i64* %11, align 8 %83 = add i64 %82, 8 %84 = inttoptr i64 %83 to i64* %85 = load i64, i64* %84, align 8 %86 = add i64 %85, 8 %87 = inttoptr i64 %86 to i32* store i32 0, i32* %87, align 4 %88 = load i64, i64* %11, align 8 %89 = add i64 %88, 8 %90 = inttoptr i64 %89 to i64* %91 = load i64, i64* %90, align 8 %92 = add i64 %91, 12 %93 = load i64, i64* %sv_1, align 8 %94 = inttoptr i64 %92 to i64* store i64 %93, i64* %94, align 8 %95 = add i64 %91, 20 %96 = inttoptr i64 %95 to i32* %97 = load i64, i64* %11, align 8 %98 = add i64 %97, 8 %99 = inttoptr i64 %98 to i64* %100 = load i64, i64* %99, align 8 %101 = add i64 %100, 24 %102 = inttoptr i64 %101 to i64* %103 = call i64 @FUNC(i64 %5, i64* %102, i64 12) %104 = add i64 %arg2, -24 %105 = call i64 @FUNC(i64 %5, i64 %104) br label LBL_16 LBL_16: %106 = load i64, i64* %11, align 8 %107 = add i64 %106, 16 %108 = inttoptr i64 %107 to i32* store i32 36, i32* %108, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_19 LBL_17: %109 = add i64 %arg2, 32 %110 = call i64 @FUNC(i64 %109) %111 = add i64 %12, 8 %112 = inttoptr i64 %111 to i64* store i64 %110, i64* %112, align 8 %113 = load i64, i64* %11, align 8 %114 = add i64 %113, 8 %115 = inttoptr i64 %114 to i64* %116 = load i64, i64* %115, align 8 %117 = icmp eq i64 %116, 0 %118 = icmp eq i1 %117, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %118, label LBL_18, label LBL_19 LBL_18: %119 = and i64 %arg2, 4294967295 %120 = inttoptr i64 %116 to i64* %121 = call i64 @FUNC(i64 %5, i64* %120, i64 %119) %122 = load i64, i64* %11, align 8 %123 = trunc i64 %arg2 to i32 %124 = add i64 %122, 16 %125 = inttoptr i64 %124 to i32* store i32 %123, i32* %125, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %11, { 11, 12, 3, 4, 5, 6, 7, 8, 2, 1, 9, 10, 0, 13 } uselistorder i64 %5, { 14, 12, 11, 10, 9, 8, 13, 6, 7, 0, 1, 2, 5, 3, 4, 15 } uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 9, 5, 8, 1, 7, 6 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @av_mallocz, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @avio_read, { 3, 2, 1, 0 } uselistorder i64 12, { 0, 2, 1 } uselistorder i64 (i64, i64)* @avio_skip, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i64 (i64)* @avio_tell, { 1, 0 } uselistorder i64 %arg2, { 6, 7, 9, 5, 3, 4, 2, 8, 1, 0 } uselistorder label LBL_19, { 2, 3, 1, 6, 4, 7, 0, 8, 5 } }
1
CompRealVul
protocol_version_3053
protocol_version
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = call i64* @memcpy(i64* nonnull %sv_0, i64* %arg2, i32 12) %4 = add i64 %2, 4 %5 = bitcast i64* %sv_0 to i8* %6 = inttoptr i64 %4 to i64* %7 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i64* %6) %8 = icmp eq i32 %7, 2 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0) %10 = call i64 @FUNC(i64 %2) br label LBL_14 LBL_2: %11 = trunc i64 %1 to i32 %12 = inttoptr i64 %4 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = and i64 %1, 4294967295 %16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i64 %15, i64 %14) %17 = icmp eq i32 %11, 3 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = load i32, i32* %12, align 4 switch i32 %19, label LBL_4 [ i32 3, label LBL_5 i32 4, label LBL_5 i32 5, label LBL_5 i32 7, label LBL_5 i32 8, label LBL_5 ] LBL_4: %20 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0)) %21 = call i64 @FUNC(i64 %2, i64 0) %22 = call i64 @FUNC(i64 %2) %23 = call i64 @FUNC(i64 %2) br label LBL_14 LBL_5: %24 = icmp ne i32 %19, 4 %25 = icmp eq i32 %19, 5 %26 = icmp eq i1 %25, false %or.cond = icmp eq i1 %24, %26 br i1 %or.cond, label LBL_7, label LBL_6 LBL_6: store i32 3, i32* %12, align 4 br label LBL_8 LBL_7: %27 = icmp eq i32 %19, 3 %28 = icmp eq i1 %27, false br i1 %28, label LBL_13, label LBL_8 LBL_8: %29 = add i64 %2, 8 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %2, i64 %32) %34 = load i32, i32* %30, align 4 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_10, label LBL_9 LBL_9: %37 = zext i32 %34 to i64 %38 = call i64 @FUNC(i64 %2, i64 %37) %39 = call i64 @FUNC(i64 %2) %40 = load i32, i32* %30, align 4 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %2, i64 %41) %43 = call i64 @FUNC(i64 %2) br label LBL_14 LBL_10: %44 = icmp eq i32 %34, 1 %45 = icmp eq i1 %44, false br i1 %45, label LBL_12, label LBL_11 LBL_11: %46 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0)) %47 = load i32, i32* %30, align 4 %48 = zext i32 %47 to i64 %49 = call i64 @FUNC(i64 %2, i64 %48) %50 = call i64 @FUNC(i64 %2) %51 = call i64 @FUNC(i64 %2) br label LBL_14 LBL_12: %52 = call i64 @FUNC(i64 %2, i32 %34, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_5, i64 0, i64 0), i64* nonnull @gv_6) %53 = call i64 @FUNC(i64 %2, i64 0) %54 = call i64 @FUNC(i64 %2) %55 = call i64 @FUNC(i64 %2) br label LBL_14 LBL_13: %56 = call i64 @FUNC(i64 %2, i64 1) %57 = add i64 %2, 8 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = urem i32 %59, 256 %61 = zext i32 %60 to i64 %62 = call i64 @FUNC(i64 %2, i64 %61) %63 = call i64 @FUNC(i64 %2, i64 4198884, i64 1) %64 = call i64 @FUNC(i64 %2) br label LBL_14 LBL_14: ret i64 0 uselistorder i32* %30, { 1, 0, 2, 3 } uselistorder i32 %19, { 0, 2, 1, 3 } uselistorder i64 %2, { 12, 13, 15, 14, 18, 7, 8, 9, 11, 4, 5, 6, 1, 2, 3, 10, 17, 16, 19, 20, 21, 0, 22 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64, i64)* @vnc_write_u8, { 1, 0 } uselistorder i64 (i64)* @vnc_flush, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @vnc_write_u32, { 3, 2, 1, 0 } uselistorder i32 (i8*)* @puts, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder i32 3, { 1, 3, 0, 2 } uselistorder i64 (i64)* @vnc_client_error, { 2, 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder label LBL_14, { 3, 2, 1, 0, 4, 5 } uselistorder label LBL_8, { 1, 0 } }
0
CompRealVul
ceph_x_destroy_18809
ceph_x_destroy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 8 %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_1: %.reload = load i64, i64* %.reg2mem %7 = call i64 @FUNC(i64 %0, i64 %.reload) %8 = call i64 @FUNC(i64 %3) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %3) store i64 0, i64* %arg1, align 8 ret i64 %0 uselistorder i64 %3, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i64)* @rb_first, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
page_set_flags_340
page_set_flags
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.lcssa.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %sv_1.05.reg2mem = alloca i64 %0 = icmp ult i64 %arg2, 281474976710657 br i1 %0, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %1 = icmp ult i64 %arg1, %arg2 br i1 %1, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %2 = call i64 @FUNC() %3 = and i64 %arg1, -4096 %4 = call i64 @FUNC(i64 %arg2) %5 = sub i64 %4, %3 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.lcssa.reg2mem br i1 %7, label LBL_5, label LBL_10 LBL_5: %8 = mul i32 %arg3, 2 %9 = and i32 %8, 2 %10 = or i32 %9, %arg3 %11 = urem i32 %arg3, 2 %12 = icmp eq i32 %11, 0 store i64 %5, i64* %sv_1.05.reg2mem store i64 %3, i64* %sv_0.03.reg2mem br label LBL_6 LBL_6: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem %13 = udiv i64 %sv_0.03.reload, 4096 %14 = call i64 @FUNC(i64 %13, i64 1) %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = urem i32 %16, 2 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false %or.cond = or i1 %12, %19 br i1 %or.cond, label LBL_9, label LBL_7 LBL_7: %20 = add i64 %14, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_9, label LBL_8 LBL_8: %24 = call i64 @FUNC(i64 %sv_0.03.reload, i64 0) br label LBL_9 LBL_9: store i32 %10, i32* %15, align 4 %25 = add i64 %sv_1.05.reload, -4096 %26 = add i64 %sv_0.03.reload, 4096 %27 = icmp eq i64 %25, 0 %28 = icmp eq i1 %27, false store i64 %25, i64* %sv_1.05.reg2mem store i64 %26, i64* %sv_0.03.reg2mem store i64 %14, i64* %rax.0.lcssa.reg2mem br i1 %28, label LBL_6, label LBL_10 LBL_10: %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem ret i64 %rax.0.lcssa.reload uselistorder i64 %sv_0.03.reload, { 1, 0, 2 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %sv_1.05.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } uselistorder i32 2, { 1, 2, 3, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 %arg3, { 1, 2, 0 } uselistorder label LBL_6, { 1, 0 } }
0
CompRealVul
msf_read_header_2431
msf_read_header
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, i64 4) %2 = call i64 @FUNC(i64 %0, i64 0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_12 LBL_1: %5 = inttoptr i64 %2 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i32* store i32 1, i32* %7, align 4 %8 = call i64 @FUNC(i64 %0) %9 = call i64 @FUNC(i64 %0) %10 = trunc i64 %9 to i32 %11 = load i64, i64* %5, align 8 %12 = add i64 %11, 4 %13 = inttoptr i64 %12 to i32* store i32 %10, i32* %13, align 4 %14 = load i64, i64* %5, align 8 %15 = add i64 %14, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %.off = add i32 %17, -1 %18 = icmp ult i32 %.off, 2097150 store i64 4294967274, i64* %rax.0.reg2mem br i1 %18, label LBL_2, label LBL_12 LBL_2: %19 = call i64 @FUNC(i64 %0) %20 = call i64 @FUNC(i64 %0) %21 = trunc i64 %20 to i32 %22 = load i64, i64* %5, align 8 %23 = add i64 %22, 8 %24 = inttoptr i64 %23 to i32* store i32 %21, i32* %24, align 4 %25 = load i64, i64* %5, align 8 %26 = add i64 %25, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 %30 = icmp slt i32 %28, 0 %31 = icmp eq i1 %30, false %32 = icmp eq i1 %29, false %33 = icmp eq i1 %31, %32 store i64 4294967274, i64* %rax.0.reg2mem br i1 %33, label LBL_3, label LBL_12 LBL_3: %34 = call i64 @FUNC(i64 %0) %35 = trunc i64 %34 to i32 %36 = load i64, i64* %5, align 8 %37 = add i64 %36, 4 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = udiv i32 2147483647, %39 %41 = icmp ult i32 %40, %35 store i64 4294967274, i64* %rax.0.reg2mem br i1 %41, label LBL_12, label LBL_4 LBL_4: %42 = trunc i64 %8 to i32 %43 = add i64 %36, 12 %44 = inttoptr i64 %43 to i32* store i32 %35, i32* %44, align 4 %45 = icmp eq i32 %42, 7 br i1 %45, label LBL_9, label LBL_5 LBL_5: %46 = icmp ult i32 %42, 8 br i1 %46, label LBL_6, label LBL_10 LBL_6: switch i32 %42, label LBL_10 [ i32 0, label LBL_7 i32 3, label LBL_8 ] LBL_7: %47 = load i64, i64* %5, align 8 %48 = add i64 %47, 16 %49 = inttoptr i64 %48 to i32* store i32 1, i32* %49, align 4 br label LBL_11 LBL_8: %50 = load i64, i64* %5, align 8 %51 = add i64 %50, 4 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = mul i32 %53, 16 %55 = add i64 %50, 12 %56 = inttoptr i64 %55 to i32* store i32 %54, i32* %56, align 4 %57 = load i64, i64* %5, align 8 %58 = add i64 %57, 16 %59 = inttoptr i64 %58 to i32* store i32 2, i32* %59, align 4 br label LBL_11 LBL_9: %60 = add i64 %2, 12 %61 = inttoptr i64 %60 to i32* store i32 1, i32* %61, align 4 %62 = load i64, i64* %5, align 8 %63 = add i64 %62, 16 %64 = inttoptr i64 %63 to i32* store i32 3, i32* %64, align 4 br label LBL_11 LBL_10: %65 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i32 %42) store i64 4294967273, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %66 = load i64, i64* %5, align 8 %67 = and i64 %19, 4294967295 %68 = call i64 @FUNC(i64 %66, i64 %67) %69 = trunc i64 %68 to i32 %70 = add i64 %2, 8 %71 = inttoptr i64 %70 to i32* store i32 %69, i32* %71, align 4 %72 = call i64 @FUNC(i64 %66) %73 = sub i64 64, %72 %74 = and i64 %73, 4294967295 %75 = call i64 @FUNC(i64 %66, i64 %74) %76 = load i64, i64* %5, align 8 %77 = add i64 %76, 8 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = zext i32 %79 to i64 %81 = call i64 @FUNC(i64 %2, i64 64, i64 1, i64 %80) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %42, { 1, 0, 3, 2 } uselistorder i32 %28, { 1, 0 } uselistorder i64* %5, { 3, 4, 5, 0, 1, 2, 6, 7, 8, 9, 10, 11 } uselistorder i64 %0, { 0, 1, 3, 2, 5, 4, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 2, 3, 4 } uselistorder i64 1, { 1, 0 } uselistorder i64 64, { 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i64 (i64)* @avio_rb32, { 4, 3, 2, 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 } uselistorder i64 4, { 1, 2, 3, 4, 0 } uselistorder label LBL_12, { 4, 5, 0, 1, 2, 3 } }
0
CompRealVul
nvme_del_cq_2548
nvme_del_cq
define i64 @FUNC(i64* %arg1, i16* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = urem i64 %1, 65536 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i16 %6 = sext i16 %5 to i32 %7 = icmp eq i16 %5, 0 store i64 1, i64* %storemerge.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = urem i32 %6, 65536 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %2, i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp ne i32 %11, 0 %spec.select = zext i1 %12 to i64 store i64 %spec.select, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem %13 = call i64 @FUNC(i64 %storemerge.reload) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = urem i32 %6, 65536 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %17) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %19 = mul i32 %6, 8 %20 = and i32 %19, 524280 %21 = zext i32 %20 to i64 %22 = or i64 %storemerge.reload, %21 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false %27 = zext i1 %26 to i64 %28 = call i64 @FUNC(i64 %27) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = urem i32 %6, 65536 %32 = zext i32 %31 to i64 br i1 %30, label LBL_6, label LBL_5 LBL_5: %33 = call i64 @FUNC(i64 %32) store i64 2, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %34 = call i64 @FUNC(i64 %32) %35 = call i64 @FUNC(i64 %24, i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %32, { 1, 0 } uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i32 %6, { 1, 0, 2, 3 } uselistorder i16 %5, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @unlikely, { 1, 0 } }
0
CompRealVul
cmp_pkt_sub_ts_pos_15562
cmp_pkt_sub_ts_pos
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, %arg2 %1 = icmp eq i1 %0, false br i1 %1, label LBL_3, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %6, %9 %11 = icmp eq i1 %10, false store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_4 LBL_2: %12 = icmp sgt i64 %6, %9 %. = select i1 %12, i64 1, i64 4294967295 store i64 %., i64* %rax.0.reg2mem br label LBL_4 LBL_3: %13 = icmp sgt i64* %arg1, %arg2 %.1 = select i1 %13, i64 1, i64 4294967295 store i64 %.1, 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* %arg2, { 0, 2, 1 } uselistorder i64* %arg1, { 0, 2, 1 } }
1
CompRealVul
hardif_remove_interface_18487
hardif_remove_interface
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %2) %6 = and i64 %1, 4294967295 store i64 %6, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %7 = bitcast i64* %arg1 to i32* store i32 1, i32* %7, align 4 %8 = add i64 %2, 4 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %2, 8 %11 = call i64 @FUNC(i64 %10, i64 4198699) store i64 %11, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
tqi_calculate_qtable_17275
tqi_calculate_qtable
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %arg2.tr = trunc i64 %arg2 to i32 %1 = mul i32 %arg2.tr, 2 %2 = sub i32 215, %1 %3 = load i32, i32* bitcast (i32** @gv_0 to i32*), align 8 %4 = load i32, i32* bitcast (i32** @gv_1 to i32*), align 8 %5 = mul i32 %4, %3 %6 = ashr i32 %5, 11 %7 = bitcast i64* %arg1 to i32* store i32 %6, i32* %7, align 4 %8 = mul i32 %2, 5 store i64 1, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %9 = mul i64 %indvars.iv.reload, 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 = add i64 %9, ptrtoint (i32** @gv_1 to i64) %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = mul i32 %8, %12 %17 = mul i32 %16, %15 %18 = add i32 %17, 32 %19 = ashr i32 %18, 14 %20 = add i64 %9, %0 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 64 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: ret i64 %0 uselistorder i64 %9, { 2, 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0 } uselistorder i32** @gv_1, { 1, 0 } uselistorder i32** @gv_0, { 1, 0 } }
1
CompRealVul
nbd_client_detach_aio_context_12766
nbd_client_detach_aio_context
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = call i64 @FUNC(i64 %arg1) %6 = zext i32 %4 to i64 %7 = call i64 @FUNC(i64 %5, i64 %6, i64 0, i64 0, i64 0, i64 0) ret i64 %7 }
1
CompRealVul
blk_aio_attached_6712
blk_aio_attached
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge1.lcssa.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64* %arg2, i64* %arg1) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* store i64 %1, i64* %4, align 8 %5 = add i64 %0, 16 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %storemerge12.reg2mem store i64 %5, i64* %storemerge1.lcssa.reg2mem br i1 %7, label LBL_1, label LBL_6 LBL_1: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %8 = add i64 %storemerge12.reload, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 %1) %12 = add i64 %storemerge12.reload, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %1, i64 %14) br label LBL_3 LBL_3: %17 = add i64 %storemerge12.reload, 24 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %1, i64 %19) br label LBL_5 LBL_5: %22 = inttoptr i64 %storemerge12.reload to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %storemerge12.reg2mem store i64 %23, i64* %storemerge1.lcssa.reg2mem br i1 %25, label LBL_1, label LBL_6 LBL_6: %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem ret i64 %storemerge1.lcssa.reload uselistorder i64 %storemerge12.reload, { 0, 1, 3, 2 } uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64)* @aio_co_schedule, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
FillRectangle_12596
FillRectangle
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2838.reg2mem = alloca i32 %.reg2mem71 = alloca i32 %.reg2mem69 = alloca i32 %storemerge30.in36.reg2mem = alloca i64 %storemerge3037.reg2mem = alloca i64 %storemerge49.reg2mem = alloca i32 %.reg2mem67 = alloca i32 %.reg2mem65 = alloca i32 %storemerge16.in47.reg2mem = alloca i64 %storemerge1648.reg2mem = alloca i64 %storemerge2143.reg2mem = alloca i32 %.reg2mem63 = alloca i32 %.reg2mem = alloca i32 %storemerge23.in41.reg2mem = alloca i64 %storemerge2342.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_23, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %7 = ashr exact i64 %sext, 32 %sext7 = mul i64 %arg3, 4294967296 %8 = ashr exact i64 %sext7, 32 %sext8 = mul i64 %arg4, 4294967296 %9 = ashr exact i64 %sext8, 32 %sext9 = mul i64 %arg5, 4294967296 %10 = ashr exact i64 %sext9, 32 %sext10 = mul i64 %arg6, 4294967296 %11 = ashr exact i64 %sext10, 32 %12 = trunc i64 %1 to i32 %13 = add i64 %2, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 32 br i1 %16, label LBL_16, label LBL_2 LBL_2: %17 = icmp sgt i32 %15, 32 br i1 %17, label LBL_22, label LBL_3 LBL_3: switch i32 %15, label LBL_22 [ i32 8, label LBL_4 i32 16, label LBL_10 ] LBL_4: %18 = trunc i64 %8 to i32 %19 = mul i32 %12, %18 %20 = add nsw i64 %10, %8 %21 = mul i64 %1, %20 %22 = and i64 %21, 4294967295 %23 = sext i32 %19 to i64 %24 = icmp sgt i64 %22, %23 store i64 %22, i64* %rax.0.reg2mem br i1 %24, label LBL_5, label LBL_23 LBL_5: %25 = bitcast i64* %rdi to i32* %26 = trunc i64 %20 to i32 %27 = add nsw i64 %9, %7 %28 = and i64 %27, 4294967295 %29 = icmp slt i64 %7, %28 %30 = trunc i64 %11 to i8 store i32 %12, i32* %.reg2mem63 store i32 %19, i32* %storemerge2143.reg2mem br label LBL_9 LBL_6: %storemerge23.in41.reload = load i64, i64* %storemerge23.in41.reg2mem %storemerge2342.reload = load i64, i64* %storemerge2342.reg2mem %31 = load i64, i64* %4, align 8 %32 = trunc i64 %storemerge2342.reload to i32 %33 = add i32 %storemerge2143.reload, %32 %34 = sext i32 %33 to i64 %35 = add i64 %31, %34 %36 = inttoptr i64 %35 to i8* store i8 %30, i8* %36, align 1 %sext22 = add i64 %storemerge23.in41.reload, 4294967296 %storemerge23 = ashr exact i64 %sext22, 32 %37 = icmp slt i64 %storemerge23, %28 store i64 %storemerge23, i64* %storemerge2342.reg2mem store i64 %sext22, i64* %storemerge23.in41.reg2mem br i1 %37, label LBL_6, label LBL_7 LBL_7: %.pre55 = load i32, i32* %25, align 8 store i32 %.pre55, i32* %.reg2mem br label LBL_8 LBL_8: %.reload = load i32, i32* %.reg2mem %38 = add i32 %.reload, %storemerge2143.reload %39 = mul i32 %.reload, %26 %40 = zext i32 %39 to i64 %41 = sext i32 %38 to i64 %42 = icmp slt i64 %41, %40 store i32 %.reload, i32* %.reg2mem63 store i32 %38, i32* %storemerge2143.reg2mem store i64 %40, i64* %rax.0.reg2mem br i1 %42, label LBL_9, label LBL_23 LBL_9: %storemerge2143.reload = load i32, i32* %storemerge2143.reg2mem %.reload64 = load i32, i32* %.reg2mem63 store i64 %7, i64* %storemerge2342.reg2mem store i64 %sext, i64* %storemerge23.in41.reg2mem store i32 %.reload64, i32* %.reg2mem br i1 %29, label LBL_6, label LBL_8 LBL_10: %43 = trunc i64 %8 to i32 %44 = mul i32 %12, %43 %45 = add nsw i64 %10, %8 %46 = mul i64 %1, %45 %47 = and i64 %46, 4294967295 %48 = sext i32 %44 to i64 %49 = icmp sgt i64 %47, %48 store i64 %47, i64* %rax.0.reg2mem br i1 %49, label LBL_11, label LBL_23 LBL_11: %50 = bitcast i64* %rdi to i32* %51 = trunc i64 %45 to i32 %52 = add nsw i64 %9, %7 %53 = and i64 %52, 4294967295 %54 = icmp slt i64 %7, %53 %55 = trunc i64 %11 to i16 store i32 %12, i32* %.reg2mem67 store i32 %44, i32* %storemerge49.reg2mem br label LBL_15 LBL_12: %storemerge16.in47.reload = load i64, i64* %storemerge16.in47.reg2mem %storemerge1648.reload = load i64, i64* %storemerge1648.reg2mem %56 = load i64, i64* %4, align 8 %57 = trunc i64 %storemerge1648.reload to i32 %58 = add i32 %storemerge49.reload, %57 %59 = sext i32 %58 to i64 %60 = mul i64 %59, 2 %61 = add i64 %60, %56 %62 = inttoptr i64 %61 to i16* store i16 %55, i16* %62, align 2 %sext15 = add i64 %storemerge16.in47.reload, 4294967296 %storemerge16 = ashr exact i64 %sext15, 32 %63 = icmp slt i64 %storemerge16, %53 store i64 %storemerge16, i64* %storemerge1648.reg2mem store i64 %sext15, i64* %storemerge16.in47.reg2mem br i1 %63, label LBL_12, label LBL_13 LBL_13: %.pre = load i32, i32* %50, align 8 store i32 %.pre, i32* %.reg2mem65 br label LBL_14 LBL_14: %.reload66 = load i32, i32* %.reg2mem65 %64 = add i32 %.reload66, %storemerge49.reload %65 = mul i32 %.reload66, %51 %66 = zext i32 %65 to i64 %67 = sext i32 %64 to i64 %68 = icmp slt i64 %67, %66 store i32 %.reload66, i32* %.reg2mem67 store i32 %64, i32* %storemerge49.reg2mem store i64 %66, i64* %rax.0.reg2mem br i1 %68, label LBL_15, label LBL_23 LBL_15: %storemerge49.reload = load i32, i32* %storemerge49.reg2mem %.reload68 = load i32, i32* %.reg2mem67 store i64 %7, i64* %storemerge1648.reg2mem store i64 %sext, i64* %storemerge16.in47.reg2mem store i32 %.reload68, i32* %.reg2mem65 br i1 %54, label LBL_12, label LBL_14 LBL_16: %69 = trunc i64 %8 to i32 %70 = mul i32 %12, %69 %71 = add nsw i64 %10, %8 %72 = mul i64 %1, %71 %73 = and i64 %72, 4294967295 %74 = sext i32 %70 to i64 %75 = icmp sgt i64 %73, %74 store i64 %73, i64* %rax.0.reg2mem br i1 %75, label LBL_17, label LBL_23 LBL_17: %76 = bitcast i64* %rdi to i32* %77 = trunc i64 %71 to i32 %78 = add nsw i64 %9, %7 %79 = and i64 %78, 4294967295 %80 = icmp slt i64 %7, %79 %81 = trunc i64 %11 to i32 store i32 %12, i32* %.reg2mem71 store i32 %70, i32* %storemerge2838.reg2mem br label LBL_21 LBL_18: %storemerge30.in36.reload = load i64, i64* %storemerge30.in36.reg2mem %storemerge3037.reload = load i64, i64* %storemerge3037.reg2mem %82 = load i64, i64* %4, align 8 %83 = trunc i64 %storemerge3037.reload to i32 %84 = add i32 %storemerge2838.reload, %83 %85 = sext i32 %84 to i64 %86 = mul i64 %85, 4 %87 = add i64 %86, %82 %88 = inttoptr i64 %87 to i32* store i32 %81, i32* %88, align 4 %sext29 = add i64 %storemerge30.in36.reload, 4294967296 %storemerge30 = ashr exact i64 %sext29, 32 %89 = icmp slt i64 %storemerge30, %79 store i64 %storemerge30, i64* %storemerge3037.reg2mem store i64 %sext29, i64* %storemerge30.in36.reg2mem br i1 %89, label LBL_18, label LBL_19 LBL_19: %.pre56 = load i32, i32* %76, align 8 store i32 %.pre56, i32* %.reg2mem69 br label LBL_20 LBL_20: %.reload70 = load i32, i32* %.reg2mem69 %90 = add i32 %.reload70, %storemerge2838.reload %91 = mul i32 %.reload70, %77 %92 = zext i32 %91 to i64 %93 = sext i32 %90 to i64 %94 = icmp slt i64 %93, %92 store i32 %.reload70, i32* %.reg2mem71 store i32 %90, i32* %storemerge2838.reg2mem store i64 %92, i64* %rax.0.reg2mem br i1 %94, label LBL_21, label LBL_23 LBL_21: %storemerge2838.reload = load i32, i32* %storemerge2838.reg2mem %.reload72 = load i32, i32* %.reg2mem71 store i64 %7, i64* %storemerge3037.reg2mem store i64 %sext, i64* %storemerge30.in36.reg2mem store i32 %.reload72, i32* %.reg2mem69 br i1 %80, label LBL_18, label LBL_20 LBL_22: %95 = zext i32 %15 to i64 %96 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %95) store i64 %96, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge2838.reload, { 1, 0 } uselistorder i32 %.reload70, { 0, 2, 1 } uselistorder i64 %79, { 1, 0 } uselistorder i64 %71, { 1, 0 } uselistorder i32 %storemerge49.reload, { 1, 0 } uselistorder i32 %.reload66, { 0, 2, 1 } uselistorder i64 %53, { 1, 0 } uselistorder i64 %45, { 1, 0 } uselistorder i32 %storemerge2143.reload, { 1, 0 } uselistorder i32 %.reload, { 0, 2, 1 } uselistorder i64 %28, { 1, 0 } uselistorder i64 %20, { 1, 0 } uselistorder i32 %12, { 0, 3, 1, 5, 2, 4 } uselistorder i64 %11, { 2, 0, 1 } uselistorder i64 %10, { 0, 2, 1 } uselistorder i64 %9, { 0, 2, 1 } uselistorder i64 %8, { 0, 5, 2, 3, 1, 4 } uselistorder i64 %7, { 0, 6, 3, 1, 8, 5, 2, 7, 4 } uselistorder i64* %4, { 2, 0, 1, 3 } uselistorder i64 %1, { 3, 1, 2, 0 } uselistorder i64* %rdi, { 2, 1, 0 } uselistorder i64* %storemerge2342.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge23.in41.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge1648.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge16.in47.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem65, { 1, 0, 2 } uselistorder i64* %storemerge3037.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge30.in36.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem69, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 3, 6, 1, 4, 2, 5, 8 } uselistorder i64 4294967295, { 3, 0, 5, 2, 4, 1 } uselistorder i32 32, { 1, 0 } uselistorder i64 32, { 0, 2, 1, 3, 4, 5, 6, 7 } uselistorder i64 4294967296, { 5, 7, 6, 0, 1, 2, 3, 4 } uselistorder label LBL_23, { 7, 2, 5, 0, 3, 1, 4, 6 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
CompRealVul
cpu_parse_cpu_model_1284
cpu_parse_cpu_model
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg2, i64* nonnull @gv_0, i64 2) %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %arg1, i64 %2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = load i64, i64* %1, align 8 %7 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %6) %8 = call i64 @FUNC(i64 %0) call void @exit(i32 1) unreachable LBL_2: %9 = call i64 @FUNC(i64 %3) %10 = call i64 @FUNC(i64 %3) %11 = call i64 @FUNC(i64 %0) ret i64 %9 uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i32 1, { 2, 3, 1, 0 } uselistorder i64 (i64)* @g_strfreev, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } }
0
CompRealVul
pci_ne2000_init_16035
pci_ne2000_init
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = ptrtoint i32* %arg2 to i64 %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 264, i64 4294967295, i64 0, i64 0, i64 %1) %3 = inttoptr i64 %2 to i8* store i8 -20, i8* %3, align 1 %4 = add i64 %2, 1 %5 = inttoptr i64 %4 to i8* store i8 16, i8* %5, align 1 %6 = add i64 %2, 2 %7 = inttoptr i64 %6 to i8* store i8 41, i8* %7, align 1 %8 = add i64 %2, 3 %9 = inttoptr i64 %8 to i8* store i8 -128, i8* %9, align 1 %10 = add i64 %2, 10 %11 = inttoptr i64 %10 to i8* store i8 0, i8* %11, align 1 %12 = add i64 %2, 11 %13 = inttoptr i64 %12 to i8* store i8 2, i8* %13, align 1 %14 = add i64 %2, 14 %15 = inttoptr i64 %14 to i8* store i8 0, i8* %15, align 1 %16 = add i64 %2, 61 %17 = inttoptr i64 %16 to i8* store i8 1, i8* %17, align 1 %18 = load i64, i64* @gv_1, align 8 %19 = call i64 @FUNC(i64 %2, i64 0, i64 256, i64 0, i64 %18) %20 = add i64 %2, 256 %21 = inttoptr i64 %20 to i32* store i32 16, i32* %21, align 4 %22 = add i64 %2, 264 %23 = inttoptr i64 %22 to i64* store i64 %2, i64* %23, align 8 %24 = add i64 %2, 272 %25 = inttoptr i64 %24 to i64* %26 = bitcast i32* %arg2 to i64* %27 = call i64* @memcpy(i64* %25, i64* %26, i32 6) %28 = call i64 @FUNC(i64 %20) %29 = add i64 %1, 8 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %32, i64 4198856, i64 %20) %34 = add i64 %2, 280 %35 = inttoptr i64 %34 to i64* store i64 %33, i64* %35, align 8 %36 = add i64 %2, 277 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = add i64 %2, 276 %40 = inttoptr i64 %39 to i8* %41 = load i8, i8* %40, align 1 %42 = add i64 %2, 275 %43 = inttoptr i64 %42 to i8* %44 = load i8, i8* %43, align 1 %45 = add i64 %2, 274 %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = add i64 %2, 273 %49 = inttoptr i64 %48 to i8* %50 = load i8, i8* %49, align 1 %51 = inttoptr i64 %24 to i8* %52 = load i8, i8* %51, align 1 %53 = zext i8 %38 to i32 %54 = zext i8 %41 to i32 %55 = zext i8 %44 to i32 %56 = zext i8 %52 to i32 %57 = inttoptr i64 %33 to i8* %58 = zext i8 %50 to i32 %59 = zext i8 %47 to i32 %60 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %57, i32 64, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i32 %56, i32 %58, i32 %59, i32 %55, i32 %54, i32 %53) %61 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 0, i64 2, i64 4198896, i64 4198907, i64 %20) %62 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i64 0, i64 1, i64 4198918, i64 4198929, i64 %2) ret i64 %62 uselistorder i64 %2, { 8, 0, 1, 2, 3, 4, 5, 6, 9, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @register_savevm, { 1, 0 } uselistorder i64 256, { 1, 0 } }
1
CompRealVul
expression_6386
expression
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %0 = and i64 %arg2, 4294967295 %1 = call i64 @FUNC(i64 %arg1, i64 %0) %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64 %arg1, i64 44) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %1, i64* %sv_0.02.reg2mem store i64 %1, i64* %sv_0.0.lcssa.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_1: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %7 = call i64 @FUNC() %8 = call i64 @FUNC(i64 %arg1, i64 %0) %9 = call i64 @FUNC(i64 0, i64 %sv_0.02.reload, i64 %8) %10 = call i64 @FUNC(i64 %arg1, i64 44) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 %9, i64* %sv_0.02.reg2mem store i64 %9, i64* %sv_0.0.lcssa.reg2mem br i1 %13, label LBL_1, label LBL_2 LBL_2: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %14 = call i64 @FUNC() ret i64 %sv_0.0.lcssa.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64, i64)* @jsP_accept, { 1, 0 } uselistorder i64 44, { 1, 0 } uselistorder i64 (i64, i64)* @assignment, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 2, 1, 0, 3 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
dump_exec_info_7395
dump_exec_info
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %storemerge.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i32 %storemerge29.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i128, i128* %0 %2 = load i128, i128* %0 %3 = load i32, i32* @gv_0, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = load i64, i64* @gv_1, align 8 %6 = zext i32 %3 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge29.reg2mem store i32 0, i32* %sv_0.05.reg2mem br label LBL_2 LBL_2: %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem %storemerge29.reload = load i32, i32* %storemerge29.reg2mem %.reload = load i64, i64* %.reg2mem %7 = mul nsw i64 %.reload, 20 %8 = add i64 %7, %5 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i32 %10, %sv_0.05.reload %12 = add i32 %storemerge29.reload, 1 %13 = sext i32 %12 to i64 %14 = icmp slt i64 %13, %6 store i64 %13, i64* %.reg2mem store i32 %12, i32* %storemerge29.reg2mem store i32 %11, i32* %sv_0.05.reg2mem br i1 %14, label LBL_2, label LBL_3 LBL_3: %15 = icmp eq i32 %11, 0 store i64 0, i64* %storemerge.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = load i64, i64* @gv_2, align 8 %17 = load i64, i64* @gv_3, align 8 %18 = sub i64 %16, %17 %19 = call i128 @FUNC(i128 %2, i128 %2) %20 = call i128 @FUNC(i64 %18) %21 = call i128 @FUNC(i128 %1, i128 %1) %22 = call i128 @__asm_cvtsi2sd.2(i32 %11) %23 = call i128 @FUNC(i128 %20, i128 %22) %24 = call i64 @FUNC(i128 %23) store i64 %24, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem %25 = call i128 @__asm_movq.3(i64 %storemerge.reload) %26 = call i64 @FUNC(i64 %arg1, i64 %arg2) ret i64 %26 uselistorder i32 %11, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge29.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i128* %0, { 1, 0 } uselistorder i32 0, { 4, 0, 1, 2, 3 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
use_goto_tb_10017
use_goto_tb
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = xor i64 %0, %arg2 %2 = and i64 %1, 4294963200 %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = xor i64 %6, %arg2 %8 = and i64 %7, 4294963200 %9 = icmp eq i64 %8, 0 %spec.select = zext i1 %9 to i64 ret i64 %spec.select LBL_2: ret i64 1 }
0
CompRealVul
write_l1_entry_2955
write_l1_entry
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = ptrtoint i64* %sv_1 to i64 %2 = trunc i64 %arg2 to i32 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = and i32 %2, -64 %7 = add i64 %1, -544 %8 = sext i32 %6 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %9 = add nuw nsw i64 %indvars.iv.reload, %8 %10 = mul i64 %9, 8 %11 = add i64 %10, %5 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = mul i64 %indvars.iv.reload, 8 %16 = add i64 %7, %15 %17 = inttoptr i64 %16 to i64* store i64 %14, i64* %17, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 64 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %18 = call i64 @FUNC(i64 %13, i64 1) %19 = add i64 %5, 8192 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = mul i32 %6, 8 %23 = sext i32 %22 to i64 %24 = add i64 %21, %23 %25 = call i64 @FUNC(i64 %13, i64 %24, i64* nonnull %sv_0, i64 512) %26 = trunc i64 %25 to i32 %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false %29 = and i64 %25, 4294967295 %storemerge = select i1 %28, i64 0, i64 %29 ret i64 %storemerge uselistorder i64 %13, { 1, 0, 2 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
0
CompRealVul
rip_input_7622
rip_input
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %.reg2mem28 = alloca i1 %.reg2mem26 = alloca i1 %.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i8* %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %sv_1.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %storemerge9.lcssa.reg2mem = alloca i32 %storemerge921.reg2mem = alloca i32 %sv_2.023.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %sv_5 = alloca i32, align 4 %sv_6 = alloca i64, align 8 %1 = load i32, i32* @gv_0, align 4 %2 = icmp eq i32 %1, 0 %3 = add i64 %0, 4 br i1 %2, label LBL_2, label LBL_1 LBL_1: %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = insertvalue %in_addr undef, i32 %5, 0 %7 = call i8* @inet_ntoa(%in_addr %6) %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* %7) br label LBL_5 LBL_2: %9 = inttoptr i64 %3 to i64* %10 = call %hostent* @gethostbyaddr(i64* %9, i32 4, i32 2) %11 = icmp eq %hostent* %10, null %12 = icmp eq i1 %11, false %13 = inttoptr i64 %3 to i32* %14 = load i32, i32* %13, align 4 %15 = insertvalue %in_addr undef, i32 %14, 0 %16 = call i8* @inet_ntoa(%in_addr %15) br i1 %12, label LBL_4, label LBL_3 LBL_3: %17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* %16) br label LBL_5 LBL_4: %18 = bitcast %hostent* %10 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i8* %21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i8* %20, i8* %16) br label LBL_5 LBL_5: %22 = load i32, i32* @gv_3, align 4 %23 = icmp eq i32 %22, 2 br i1 %23, label LBL_7, label LBL_6 LBL_6: %24 = zext i32 %22 to i64 %25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %24) %26 = sext i32 %25 to i64 store i64 %26, i64* %rax.0.reg2mem br label LBL_50 LBL_7: %sext = mul i64 %arg2, 4294967296 %27 = ashr exact i64 %sext, 32 %28 = load i32, i32* @gv_5, align 4 %29 = add i32 %28, -1 %30 = icmp ult i32 %29, 2 %31 = and i64 %27, 4294967295 %32 = zext i32 %28 to i64 %33 = select i1 %30, i8* bitcast (i8** @gv_6 to i8*), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_7, i64 0, i64 0) %34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_8, i64 0, i64 0), i64 %32, i8* %33, i64 %31) %35 = trunc i64 %27 to i32 %36 = icmp slt i32 %35, 513 br i1 %36, label LBL_9, label LBL_8 LBL_8: %37 = add nsw i64 %27, 4294966784 %38 = and i64 %37, 4294967295 %39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_9, i64 0, i64 0), i64 %38) store i64 488, i64* %sv_3.0.reg2mem br label LBL_11 LBL_9: %40 = icmp eq i64 %sext, 0 store i64 %27, i64* %sv_3.0.reg2mem br i1 %40, label LBL_11, label LBL_10 LBL_10: %41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_10, i64 0, i64 0), i64 %31) store i64 %27, i64* %sv_3.0.reg2mem br label LBL_11 LBL_11: %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %42 = load i64, i64* @gv_11, align 8 %43 = add nsw i64 %sv_3.0.reload, -24 %44 = add i64 %43, %42 %45 = icmp ugt i64 %42, %44 store i64 %42, i64* %rax.0.reg2mem br i1 %45, label LBL_50, label LBL_12 LBL_12: %46 = ptrtoint i64* %sv_6 to i64 %47 = bitcast i64* %sv_4 to i8* %48 = ptrtoint i64* %sv_4 to i64 %49 = bitcast i32* %sv_5 to i64* %50 = add i64 %46, -16 %51 = inttoptr i64 %50 to i64* store i64 %42, i64* %sv_2.023.reg2mem br label LBL_13 LBL_13: %sv_2.023.reload = load i64, i64* %sv_2.023.reg2mem %52 = inttoptr i64 %sv_2.023.reload to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 2 %55 = icmp eq i1 %54, false br i1 %55, label LBL_33, label LBL_14 LBL_14: %56 = add i64 %sv_2.023.reload, 4 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 store i32 %58, i32* %sv_5, align 4 %59 = insertvalue %in_addr undef, i32 %58, 0 %60 = call i8* @inet_ntoa(%in_addr %59) %61 = call i8* @strcpy(i8* nonnull %47, i8* %60) %62 = add i64 %sv_2.023.reload, 8 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = call i32 @ntohl(i32 %64) %66 = icmp eq i32 %65, 0 store i32 0, i32* %sv_1.0.reg2mem br i1 %66, label LBL_22, label LBL_15 LBL_15: %67 = call i32 @strlen(i8* nonnull %47) %68 = sext i32 %67 to i64 %69 = add i64 %68, %48 %70 = inttoptr i64 %69 to i8* %71 = load i32, i32* @gv_5, align 4 %72 = icmp eq i32 %71, 1 %73 = icmp eq i1 %72, false br i1 %73, label LBL_17, label LBL_16 LBL_16: %74 = call i32 (i8*, i8*, ...) @sprintf(i8* %70, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_12, i64 0, i64 0), i32 %65) store i32 0, i32* %sv_1.0.reg2mem br label LBL_22 LBL_17: %75 = sub i32 0, %65 %76 = and i32 %65, %75 %77 = icmp eq i32 %76, %75 %78 = icmp eq i1 %77, false store i32 0, i32* %storemerge921.reg2mem br i1 %78, label LBL_21, label LBL_19 LBL_18: %79 = add nuw nsw i32 %storemerge921.reload, 1 %80 = icmp eq i32 %79, 32 store i32 %79, i32* %storemerge921.reg2mem store i32 32, i32* %storemerge9.lcssa.reg2mem br i1 %80, label LBL_20, label LBL_19 LBL_19: %storemerge921.reload = load i32, i32* %storemerge921.reg2mem %81 = urem i32 %storemerge921.reload, 32 %82 = shl i32 1, %81 %83 = and i32 %82, %65 %84 = icmp eq i32 %83, 0 store i32 %storemerge921.reload, i32* %storemerge9.lcssa.reg2mem br i1 %84, label LBL_18, label LBL_20 LBL_20: %storemerge9.lcssa.reload = load i32, i32* %storemerge9.lcssa.reg2mem %85 = sub nsw i32 32, %storemerge9.lcssa.reload %86 = zext i32 %85 to i64 %87 = call i32 (i8*, i8*, ...) @sprintf(i8* %70, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_13, i64 0, i64 0), i64 %86) store i32 %65, i32* %sv_1.0.reg2mem br label LBL_22 LBL_21: %88 = call i32 (i8*, i8*, ...) @sprintf(i8* %70, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_14, i64 0, i64 0), i32 %65) store i32 %65, i32* %sv_1.0.reg2mem br label LBL_22 LBL_22: %89 = load i32, i32* @gv_0, align 4 %90 = icmp eq i32 %89, 0 %91 = icmp eq i1 %90, false store i8* bitcast (i8** @gv_6 to i8*), i8** %sv_0.1.reg2mem br i1 %91, label LBL_38, label LBL_23 LBL_23: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %92 = icmp eq i32 %sv_1.0.reload, 0 %93 = icmp eq i1 %92, false store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem br i1 %93, label LBL_25, label LBL_24 LBL_24: %94 = load i32, i32* %sv_5, align 4 %95 = zext i32 %94 to i64 %96 = call i64 @FUNC(i64 %95) %97 = trunc i64 %96 to i32 %98 = load i32, i32* %sv_5, align 4 %99 = call i32 @ntohl(i32 %98) %100 = sub i32 0, %97 %101 = sub i32 %100, 1 %102 = and i32 %99, %101 %103 = icmp eq i32 %102, 0 %spec.select = select i1 %103, i32 %97, i32 0 store i32 %spec.select, i32* %sv_1.1.reg2mem br label LBL_25 LBL_25: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %104 = load i32, i32* %sv_5, align 4 %105 = sub i32 0, %sv_1.1.reload %106 = sub i32 %105, 1 %107 = and i32 %104, %106 %108 = icmp eq i32 %107, 0 %109 = icmp eq i1 %108, false store i8* bitcast (i8** @gv_6 to i8*), i8** %sv_0.0.reg2mem br i1 %109, label LBL_29, label LBL_26 LBL_26: %110 = call %netent* @getnetbyaddr(i32 %104, i32 2) %111 = icmp eq %netent* %110, null br i1 %111, label LBL_28, label LBL_27 LBL_27: %112 = bitcast %netent* %110 to i64* %113 = load i64, i64* %112, align 8 %114 = inttoptr i64 %113 to i8* store i8* %114, i8** %sv_0.0.reg2mem br label LBL_29 LBL_28: %115 = load i32, i32* %sv_5, align 4 %116 = icmp eq i32 %115, 0 %117 = icmp eq i1 %116, false %spec.select19 = select i1 %117, i8* bitcast (i8** @gv_6 to i8*), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_15, i64 0, i64 0) store i8* %spec.select19, i8** %sv_0.0.reg2mem br label LBL_29 LBL_29: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %118 = load i8, i8* %sv_0.0.reload, align 1 %119 = icmp eq i8 %118, 0 %120 = icmp eq i1 %119, false store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem br i1 %120, label LBL_38, label LBL_30 LBL_30: %121 = load i32, i32* %sv_5, align 4 %122 = and i32 %121, %106 %123 = icmp eq i32 %122, 0 %124 = icmp eq i32 %sv_1.1.reload, -1 %125 = icmp eq i1 %124, false %or.cond = icmp eq i1 %125, %123 store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem br i1 %or.cond, label LBL_38, label LBL_31 LBL_31: %126 = call %hostent* @gethostbyaddr(i64* nonnull %49, i32 4, i32 2) %127 = icmp eq %hostent* %126, null store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem br i1 %127, label LBL_38, label LBL_32 LBL_32: %128 = bitcast %hostent* %126 to i64* %129 = load i64, i64* %128, align 8 %130 = inttoptr i64 %129 to i8* store i8* %130, i8** %sv_0.1.reg2mem br label LBL_38 LBL_33: %131 = icmp eq i32 %53, 3 %132 = icmp eq i1 %131, false br i1 %132, label LBL_37, label LBL_34 LBL_34: %133 = zext i32 %53 to i64 %134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_16, i64 0, i64 0), i64 %133) %135 = add i64 %sv_2.023.reload, 4 store i64 0, i64* %indvars.iv.reg2mem br label LBL_35 LBL_35: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %136 = add i64 %135, %indvars.iv.reload %137 = inttoptr i64 %136 to i8* %138 = load i8, i8* %137, align 1 %139 = sext i8 %138 to i32 %140 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_17, i64 0, i64 0), i32 %139) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_36, label LBL_35 LBL_36: %141 = load %_IO_FILE*, %_IO_FILE** @gv_18, align 8 %142 = call i32 @putc(i32 10, %_IO_FILE* %141) br label LBL_49 LBL_37: %143 = add i64 %sv_2.023.reload, 4 %144 = inttoptr i64 %143 to i32* %145 = load i32, i32* %144, align 4 %146 = zext i32 %145 to i64 %sext11 = mul i64 %146, 72057594037927936 %147 = ashr exact i64 %sext11, 56 %148 = trunc i32 %53 to i16 %149 = call i16 @ntohs(i16 %148) store i64 %147, i64* %51, align 8 %150 = mul i32 %145, 65536 %151 = ashr i32 %150, 24 %152 = zext i32 %151 to i64 %153 = mul i32 %145, 256 %154 = ashr i32 %153, 24 %155 = zext i32 %154 to i64 %156 = ashr i32 %145, 24 %157 = zext i32 %156 to i64 %158 = zext i16 %149 to i32 %159 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %47, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_19, i64 0, i64 0), i32 %158, i64 %157, i64 %155, i64 %152) store i8* bitcast (i8** @gv_6 to i8*), i8** %sv_0.1.reg2mem br label LBL_38 LBL_38: %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem %160 = add i64 %sv_2.023.reload, 12 %161 = inttoptr i64 %160 to i32* %162 = load i32, i32* %161, align 4 %163 = call i32 @ntohl(i32 %162) %164 = zext i32 %163 to i64 %165 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_20, i64 0, i64 0), i64* nonnull %sv_4, i64 %164, i8* %sv_0.1.reload) %166 = add i64 %sv_2.023.reload, 16 %167 = inttoptr i64 %166 to i32* %168 = load i32, i32* %167, align 4 %169 = icmp eq i32 %168, 0 br i1 %169, label LBL_46, label LBL_39 LBL_39: store i32 %168, i32* %sv_5, align 4 %170 = load i32, i32* @gv_0, align 4 %171 = icmp eq i32 %170, 0 br i1 %171, label LBL_41, label LBL_40 LBL_40: %172 = load i32, i32* @gv_5, align 4 %173 = icmp eq i32 %172, 1 %174 = icmp eq i1 %173, false store i32 %168, i32* %.reg2mem store i1 %174, i1* %.reg2mem26 br label LBL_44 LBL_41: %175 = call %hostent* @gethostbyaddr(i64* nonnull %49, i32 4, i32 2) %176 = load i32, i32* @gv_5, align 4 %177 = icmp eq i32 %176, 1 %178 = icmp eq i1 %177, false %179 = icmp eq %hostent* %175, null br i1 %179, label LBL_41.LBL_44_crit_edge, label LBL_43 LBL_42: %.pre = load i32, i32* %sv_5, align 4 store i32 %.pre, i32* %.reg2mem store i1 %178, i1* %.reg2mem26 br label LBL_44 LBL_43: %180 = bitcast %hostent* %175 to i64* %181 = load i64, i64* %180, align 8 store i1 %178, i1* %.reg2mem28 store i64 %181, i64* %storemerge5.reg2mem br label LBL_45 LBL_44: %.reload27 = load i1, i1* %.reg2mem26 %.reload = load i32, i32* %.reg2mem %182 = insertvalue %in_addr undef, i32 %.reload, 0 %183 = call i8* @inet_ntoa(%in_addr %182) %184 = ptrtoint i8* %183 to i64 store i1 %.reload27, i1* %.reg2mem28 store i64 %184, i64* %storemerge5.reg2mem br label LBL_45 LBL_45: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %.reload29 = load i1, i1* %.reg2mem28 %185 = inttoptr i64 %storemerge5.reload to i8* %186 = select i1 %.reload29, i8* bitcast (i8** @gv_6 to i8*), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_7, i64 0, i64 0) %187 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_21, i64 0, i64 0), i8* %185, i8* %186) br label LBL_46 LBL_46: %188 = add i64 %sv_2.023.reload, 20 %189 = inttoptr i64 %188 to i32* %190 = load i32, i32* %189, align 4 %191 = icmp eq i32 %190, 0 br i1 %191, label LBL_48, label LBL_47 LBL_47: %192 = load i32, i32* @gv_5, align 4 %193 = icmp eq i32 %192, 1 %194 = icmp eq i1 %193, false %195 = select i1 %194, i8* bitcast (i8** @gv_6 to i8*), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_7, i64 0, i64 0) %196 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_22, i64 0, i64 0), i32 %190, i8* %195) br label LBL_48 LBL_48: %197 = load %_IO_FILE*, %_IO_FILE** @gv_18, align 8 %198 = call i32 @putc(i32 10, %_IO_FILE* %197) br label LBL_49 LBL_49: %199 = add i64 %sv_2.023.reload, 24 %200 = icmp ugt i64 %199, %44 store i64 %199, i64* %sv_2.023.reg2mem store i64 %199, i64* %rax.0.reg2mem br i1 %200, label LBL_50, label LBL_13 LBL_50: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %145, { 2, 0, 1, 3 } uselistorder i8* %sv_0.0.reload, { 1, 0, 2, 3 } uselistorder i32 %106, { 1, 0 } uselistorder i32 %104, { 1, 0 } uselistorder i32 %97, { 1, 0 } uselistorder i32 %storemerge921.reload, { 0, 2, 1 } uselistorder i8* %70, { 2, 0, 1 } uselistorder i32 %65, { 1, 4, 0, 2, 5, 6, 3, 7 } uselistorder i32 %53, { 1, 0, 2, 3 } uselistorder i64 %sv_2.023.reload, { 8, 7, 2, 3, 6, 1, 0, 5, 4 } uselistorder i64 %44, { 1, 0 } uselistorder i64 %42, { 1, 0, 2, 3 } uselistorder i32 %28, { 1, 0 } uselistorder i64 %27, { 0, 1, 2, 4, 3 } uselistorder i64 %sext, { 1, 0 } uselistorder i8* %16, { 1, 0 } uselistorder i64 %3, { 0, 2, 1 } uselistorder i32* %sv_5, { 0, 2, 3, 4, 5, 6, 7, 8, 1 } uselistorder i64* %sv_4, { 0, 2, 1 } uselistorder i64* %sv_3.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_2.023.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge921.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge9.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_0.1.reg2mem, { 0, 6, 2, 3, 1, 4, 5 } uselistorder i1* %.reg2mem28, { 0, 2, 1 } uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 } uselistorder i32 (i32, %_IO_FILE*)* @putc, { 1, 0 } uselistorder i32 10, { 1, 0 } uselistorder %_IO_FILE** @gv_18, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i32 32, { 3, 1, 0, 2 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 0, 3, 1, 2 } uselistorder i32 (i32)* @ntohl, { 1, 0, 2 } uselistorder i8* bitcast (i8** @gv_6 to i8*), { 4, 5, 1, 3, 2, 0, 6 } uselistorder %hostent* null, { 0, 2, 1 } uselistorder %hostent* (i64*, i32, i32)* @gethostbyaddr, { 2, 1, 0 } uselistorder i32 4, { 1, 2, 0 } uselistorder i32 (i8*, ...)* @printf, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i8* (%in_addr)* @inet_ntoa, { 3, 2, 1, 0 } uselistorder i32* @gv_0, { 2, 1, 0 } uselistorder label LBL_38, { 1, 2, 3, 0, 4, 5 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_13, { 1, 0 } }
1
CompRealVul
pool_strdup_6179
pool_strdup
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = sext i32 %1 to i64 %3 = add nsw i64 %2, 1 %4 = call i64 @FUNC(i64 %3) %5 = inttoptr i64 %4 to i64* %6 = inttoptr i64 %arg1 to i64* %7 = trunc i64 %3 to i32 %8 = call i64* @memcpy(i64* %5, i64* %6, i32 %7) ret i64 %4 }
0
CompRealVul
ahci_shutdown_1752
ahci_shutdown
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %arg1) %4 = call i64 @FUNC(i64 %arg1) %5 = call i64 @FUNC(i64 %arg1) %6 = call i64 @FUNC(i64 %2) ret i64 %6 }
0
CompRealVul
x86_cpu_apic_init_4307
x86_cpu_apic_init
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %rdi = alloca i64, align 8 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC() %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %spec.select = select i1 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0) store i8* %spec.select, i8** %sv_0.0.reg2mem br label LBL_2 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %7 = ptrtoint i8* %sv_0.0.reload to i64 %8 = call i64 @FUNC(i64 0, i64 %7) %9 = ptrtoint i32* %arg1 to i64 %10 = add i64 %9, 8 %11 = inttoptr i64 %10 to i64* store i64 %8, i64* %11, align 8 %12 = icmp eq i64 %8, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_3, i64 0, i64 0), i64 %7) store i64 %14, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %15 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 0) %16 = bitcast i64* %rdi to i32* %17 = load i32, i32* %16, align 8 %18 = load i64, i64* %11, align 8 %19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i32 %17) %20 = load i64, i64* %11, align 8 %21 = inttoptr i64 %20 to i64* store i64 %9, i64* %21, align 8 %22 = load i64, i64* %11, align 8 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = load i64, i64* %11, align 8 %27 = call i64 @FUNC(i64 %26) %28 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_5, i64 0, i64 0), i64 %27) store i64 %28, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %29 = load i32, i32* bitcast (i64* @gv_6 to i32*), align 8 %30 = zext i32 %29 to i64 %31 = icmp eq i32 %29, 0 %32 = icmp eq i1 %31, false store i64 %30, i64* %rax.0.reg2mem br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = load i64, i64* %11, align 8 %34 = call i64 @FUNC(i64 %33, i64 0, i64 4096, i64 4096) store i32 1, i32* bitcast (i64* @gv_6 to i32*), align 8 store i64 %34, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %11, { 1, 0, 2, 4, 3, 5 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i64 %6, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64 4096, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @error_setg, { 1, 0 } uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), { 1, 0 } }
0
CompRealVul
punc_store_4977
punc_store
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %2 = inttoptr i64 %arg3 to i8* %3 = call i32 @strlen(i8* %2) %.off = add i32 %3, -1 %4 = icmp ult i32 %.off, 99 store i64 -22, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_12 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = call i64 @FUNC(i64 %5) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i64 %5) store i64 -22, i64* %rax.0.reg2mem br label LBL_12 LBL_3: %10 = inttoptr i64 %6 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = load i32, i32* %10, align 4 %17 = sext i32 %16 to i64 %18 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %17) store i64 -22, i64* %rax.0.reg2mem br label LBL_12 LBL_5: %19 = ptrtoint i64* %sv_2 to i64 %20 = inttoptr i64 %13 to i32* %21 = inttoptr i64 %arg3 to i64* %22 = call i64* @memcpy(i64* nonnull %sv_1, i64* %21, i32 %3) %23 = add i64 %19, -144 store i32 %3, i32* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %24 = icmp eq i32 %sv_0.0.reload, 0 br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = add i32 %sv_0.0.reload, -1 %26 = sext i32 %25 to i64 %27 = add i64 %23, %26 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = icmp eq i8 %29, 10 store i32 %25, i32* %sv_0.0.reg2mem br i1 %30, label LBL_6, label LBL_8 LBL_8: %31 = sext i32 %sv_0.0.reload to i64 %32 = add i64 %23, %31 %33 = inttoptr i64 %32 to i8* store i8 0, i8* %33, align 1 %34 = call i64 @FUNC(i64* nonnull @gv_2, i64 %1) %35 = load i64, i64* %sv_1, align 8 %36 = trunc i64 %35 to i8 %37 = icmp ne i8 %36, 100 %38 = icmp eq i8 %36, 114 %39 = icmp eq i1 %38, false %or.cond = icmp eq i1 %37, %39 %40 = load i32, i32* %20, align 4 %41 = zext i32 %40 to i64 br i1 %or.cond, label LBL_10, label LBL_9 LBL_9: %42 = call i64 @FUNC(i64 0, i64 %41, i64 3) br label LBL_11 LBL_10: %43 = ptrtoint i64* %sv_1 to i64 %44 = call i64 @FUNC(i64 %43, i64 %41, i64 3) br label LBL_11 LBL_11: %45 = call i64 @FUNC(i64* nonnull @gv_2, i64 %1) store i64 %arg4, 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 %41, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 2, 0, 1 } uselistorder i32 %3, { 0, 2, 1 } uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64, i64, i64)* @spk_set_mask_bits, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i8*, i64)* @pr_warn, { 1, 0 } uselistorder i64 -22, { 2, 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder label LBL_12, { 1, 2, 3, 0 } }
0
CompRealVul
xen_pt_msi_disable_15588
xen_pt_msi_disable
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 = icmp eq i64* %arg1, null br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2, i64 0) %5 = add i64 %2, 12 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %2, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = call i64 @FUNC(i64 %2) %12 = urem i64 %1, 256 %13 = zext i32 %7 to i64 %14 = zext i32 %10 to i64 %15 = call i64 @FUNC(i64 %2, i64 %11, i64 %14, i64 %13, i64 0, i64 %12) %16 = add i64 %2, 4 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i8* store i8 0, i8* %19, align 1 store i32 -1, i32* %6, align 4 br label LBL_2 LBL_2: ret i64 %2 uselistorder i64 %2, { 0, 1, 2, 3, 6, 5, 4, 7 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
perf_cgroup_switch_8154
perf_cgroup_switch
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in5.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64* nonnull @gv_0) %storemerge.in.in3 = inttoptr i64 %3 to i64* %storemerge.in4 = load i64, i64* %storemerge.in.in3, align 8 %4 = icmp eq i64 %3, %storemerge.in4 %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_7 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = urem i64 %arg2, 2 %8 = icmp eq i64 %7, 0 %9 = and i64 %arg2, 2 %10 = icmp eq i64 %9, 0 store i64 %storemerge.in4, i64* %storemerge.in5.reg2mem br label LBL_2 LBL_2: %storemerge.in5.reload = load i64, i64* %storemerge.in5.reg2mem %storemerge = inttoptr i64 %storemerge.in5.reload to i32* %11 = load i32, i32* %storemerge, align 4 %12 = icmp eq i32 %11, 0 %13 = zext i1 %12 to i64 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %storemerge.in5.reload, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %storemerge.in5.reload, i64 %17) %19 = add i64 %storemerge.in5.reload, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21) br i1 %8, label LBL_4, label LBL_3 LBL_3: %23 = call i64 @FUNC(i64 %storemerge.in5.reload, i64 0) %24 = add i64 %storemerge.in5.reload, 24 %25 = inttoptr i64 %24 to i64* store i64 0, i64* %25, align 8 br label LBL_4 LBL_4: br i1 %10, label LBL_6, label LBL_5 LBL_5: %26 = add i64 %storemerge.in5.reload, 24 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = and i64 %28, 4294967295 %30 = call i64 @FUNC(i64 %29) %31 = call i64 @FUNC(i64 %6, i64 %storemerge.in5.reload) store i64 %31, i64* %27, align 8 %32 = call i64 @FUNC(i64 %storemerge.in5.reload, i64 0, i64 %6) br label LBL_6 LBL_6: %33 = load i64, i64* %20, align 8 %34 = call i64 @FUNC(i64 %33) %35 = load i64, i64* %16, align 8 %36 = call i64 @FUNC(i64 %storemerge.in5.reload, i64 %35) %37 = add i64 %storemerge.in5.reload, 32 %storemerge.in.in = inttoptr i64 %37 to i64* %storemerge.in = load i64, i64* %storemerge.in.in, align 8 %38 = icmp eq i64 %3, %storemerge.in %39 = icmp eq i1 %38, false store i64 %storemerge.in, i64* %storemerge.in5.reg2mem br i1 %39, label LBL_2, label LBL_7 LBL_7: %40 = call i64 @FUNC(i64 %1) ret i64 %40 uselistorder i64 %3, { 2, 0, 1 } uselistorder i64* %storemerge.in5.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @WARN_ON_ONCE, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
gen_ori_13943
gen_ori
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = urem i64 %0, 65536 %2 = udiv i64 %0, 65536 %3 = udiv i64 %0, 2097152 %4 = xor i64 %3, %2 %5 = urem i64 %4, 32 %6 = or i64 %5, %1 %7 = icmp eq i64 %6, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = udiv i64 %0, 8192 %9 = and i64 %8, 248 %10 = add i64 %9, ptrtoint (i64* @gv_0 to i64) %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = udiv i64 %0, 262144 %14 = and i64 %13, 248 %15 = add i64 %14, ptrtoint (i64* @gv_0 to i64) %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17, i64 %12, i64 %1) store i64 %18, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
ide_atapi_cmd_15576
ide_atapi_cmd
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = mul i64 %1, 16 %4 = and i64 %3, 4080 %5 = add i64 %4, ptrtoint (i32** @gv_0 to i64) %6 = inttoptr i64 %5 to i32* %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 6 %.pre = load i32, i32* %6, align 8 %.pre2 = urem i32 %.pre, 2 %11 = icmp eq i32 %.pre2, 0 %12 = icmp eq i1 %10, %11 br i1 %12, label LBL_1, label LBL_2 LBL_1: %13 = call i64 @FUNC(i64 %2) store i64 %13, i64* %rax.0.reg2mem br label LBL_20 LBL_2: %14 = icmp eq i1 %11, false br i1 %14, label LBL_9, label LBL_3 LBL_3: %15 = add i64 %2, 12 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_9, label LBL_4 LBL_4: %20 = add i64 %2, 32 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_9, label LBL_5 LBL_5: %26 = add i64 %2, 16 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_9, label LBL_6 LBL_6: %30 = icmp eq i32 %28, 1 %31 = icmp eq i1 %30, false br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = call i64 @FUNC(i64 %2, i64 2, i64 58) store i32 2, i32* %27, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_20 LBL_8: %33 = call i64 @FUNC(i64 %2, i64 6, i64 40) store i32 0, i32* %27, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_20 LBL_9: %34 = load i32, i32* %6, align 8 %35 = and i32 %34, 2 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_13, label LBL_10 LBL_10: %37 = call i64 @FUNC(i64 %2) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_12, label LBL_11 LBL_11: %40 = add i64 %2, 32 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %42) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_13, label LBL_12 LBL_12: %47 = call i64 @FUNC(i64 %2, i64 2, i64 58) store i64 %47, i64* %rax.0.reg2mem br label LBL_20 LBL_13: %48 = add i64 %4, add (i64 ptrtoint (i32** @gv_0 to i64), i64 8) %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = icmp eq i64 %50, 0 br i1 %51, label LBL_19, label LBL_14 LBL_14: %52 = load i32, i32* %6, align 8 %53 = and i32 %52, 4 %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_18, label LBL_15 LBL_15: %56 = call i64 @FUNC(i64 %2) %57 = trunc i64 %56 to i32 %58 = icmp eq i32 %57, 0 %59 = icmp eq i1 %58, false br i1 %59, label LBL_18, label LBL_16 LBL_16: %60 = add i64 %2, 40 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = icmp eq i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_18, label LBL_17 LBL_17: %65 = call i64 @FUNC(i64 %2) store i64 %65, i64* %rax.0.reg2mem br label LBL_20 LBL_18: %.pr = load i64, i64* %49, align 8 %66 = icmp eq i64 %.pr, 0 store i64 %2, i64* %rax.0.reg2mem br i1 %66, label LBL_19, label LBL_20 LBL_19: %67 = call i64 @FUNC(i64 %2, i64 5, i64 32) store i64 %67, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %27, { 1, 0, 2 } uselistorder i1 %11, { 1, 0 } uselistorder i32* %6, { 1, 2, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 15, 0, 13, 12, 14, 10, 9, 11, 2, 6, 1, 5, 4, 8, 7, 3, 16 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 6, 5, 4, 3, 2 } uselistorder i64 40, { 1, 0 } uselistorder i64 (i64, i64, i64)* @ide_atapi_cmd_error, { 3, 2, 1, 0 } uselistorder i64 (i64)* @blk_is_inserted, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0 } uselistorder i32 2, { 1, 2, 0 } uselistorder i64 16, { 1, 0 } uselistorder label LBL_20, { 1, 0, 2, 3, 4, 5, 6 } uselistorder label LBL_19, { 1, 0 } }
1
CompRealVul
kvm_arch_vcpu_ioctl_run_6086
kvm_arch_vcpu_ioctl_run
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.1.be.reg2mem = alloca i32 %sv_0.02.reg2mem = alloca i32 %sv_0.13.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i32 -5, i32* %rax.0.shrunk.reg2mem br i1 %7, label LBL_1, label LBL_18 LBL_1: %8 = call i64 @FUNC(i64 %3) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i32 %9, i32* %rax.0.shrunk.reg2mem br i1 %10, label LBL_2, label LBL_18 LBL_2: %11 = trunc i64 %2 to i32 %12 = icmp eq i32 %11, 1 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = add i64 %3, 160 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %3, i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 store i32 %18, i32* %rax.0.shrunk.reg2mem br i1 %19, label LBL_4, label LBL_18 LBL_4: %20 = trunc i64 %1 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = add i64 %3, 8 %23 = inttoptr i64 %22 to %_TYPEDEF_sigset_t* %24 = bitcast i64* %sv_1 to %_TYPEDEF_sigset_t* %25 = call i32 @sigprocmask(i32 2, %_TYPEDEF_sigset_t* %23, %_TYPEDEF_sigset_t* nonnull %24) br label LBL_6 LBL_6: %26 = bitcast i64* %rdi to i32* store i32 2, i32* %arg2, align 4 %27 = add i64 %3, 152 %28 = inttoptr i64 %27 to i64* %29 = add i64 %3, 136 %30 = inttoptr i64 %29 to i32* %31 = add i64 %3, 144 %32 = inttoptr i64 %31 to i32* %33 = add i64 %3, 140 %34 = inttoptr i64 %33 to i32* %35 = ptrtoint i32* %arg2 to i64 store i32 1, i32* %sv_0.13.reg2mem br label LBL_7 LBL_7: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %36 = call i64 @FUNC() %37 = load i64, i64* %28, align 8 %38 = call i64 @FUNC(i64 %37) %39 = load i32, i32* %30, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_9, label LBL_8 LBL_8: %41 = call i64 @FUNC(i64 %3) br label LBL_9 LBL_9: %42 = call i64 @FUNC(i64 %3) %43 = call i64 @FUNC(i64 %3) %44 = call i64 @FUNC() %45 = load i64, i64* @gv_0, align 8 %46 = call i64 @FUNC(i64 %45) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 br i1 %48, label LBL_11, label LBL_10 LBL_10: store i32 3, i32* %arg2, align 4 store i32 -4, i32* %sv_0.02.reg2mem br label LBL_13 LBL_11: %49 = icmp slt i32 %sv_0.13.reload, 1 store i32 %sv_0.13.reload, i32* %sv_0.02.reg2mem br i1 %49, label LBL_13, label LBL_12 LBL_12: %50 = load i64, i64* %28, align 8 %51 = call i64 @FUNC(i64 %50) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 store i32 %sv_0.13.reload, i32* %sv_0.02.reg2mem br i1 %53, label LBL_15, label LBL_13 LBL_13: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %54 = call i64 @FUNC() %55 = call i64 @FUNC(i64 %3) %56 = call i64 @FUNC(i64 %3) store i32 %sv_0.02.reload, i32* %sv_0.1.be.reg2mem br label LBL_14 LBL_14: %sv_0.1.be.reload = load i32, i32* %sv_0.1.be.reg2mem %57 = icmp eq i32 %sv_0.1.be.reload, 0 %58 = icmp slt i32 %sv_0.1.be.reload, 0 %59 = icmp eq i1 %58, false %60 = icmp eq i1 %57, false %61 = icmp eq i1 %59, %60 store i32 %sv_0.1.be.reload, i32* %sv_0.13.reg2mem br i1 %61, label LBL_7, label LBL_16 LBL_15: %62 = call i64 @FUNC(i64 %3) %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = zext i32 %64 to i64 %66 = call i64 @FUNC(i64 %65) %67 = call i64 @FUNC() store i32 1, i32* %32, align 4 %68 = call i64 @FUNC(i64 4198940, i64 %3) %69 = trunc i64 %68 to i32 store i32 0, i32* %32, align 4 %70 = call i64 @FUNC() %71 = trunc i64 %70 to i32 store i32 %71, i32* %34, align 4 %72 = call i64 @FUNC() %73 = call i64 @FUNC(i64 %3) %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = zext i32 %75 to i64 %77 = call i64 @FUNC(i64 %76) %78 = call i64 @FUNC() %79 = call i64 @FUNC(i64 %3) %80 = call i64 @FUNC(i64 %3) %81 = call i64 @FUNC(i64 %3, i64 %35, i32 %69) %82 = trunc i64 %81 to i32 store i32 %82, i32* %sv_0.1.be.reg2mem br label LBL_14 LBL_16: %83 = load i32, i32* %26, align 8 %84 = icmp eq i32 %83, 0 store i32 %sv_0.1.be.reload, i32* %rax.0.shrunk.reg2mem br i1 %84, label LBL_18, label LBL_17 LBL_17: %85 = bitcast i64* %sv_1 to %_TYPEDEF_sigset_t* %86 = call i32 @sigprocmask(i32 2, %_TYPEDEF_sigset_t* nonnull %85, %_TYPEDEF_sigset_t* null) store i32 %sv_0.1.be.reload, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_18: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %sv_0.1.be.reload, { 1, 0, 4, 3, 2 } uselistorder i32 %sv_0.13.reload, { 1, 0, 2 } uselistorder i64 %3, { 3, 4, 5, 6, 8, 10, 11, 12, 13, 14, 16, 7, 9, 15, 17, 2, 1, 0, 18, 19 } uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.02.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_0.1.be.reg2mem, { 1, 0, 2 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 4, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @vcpu_pc, { 1, 0 } uselistorder i64 (i64)* @kvm_vgic_sync_hwstate, { 1, 0 } uselistorder i64 (i64)* @kvm_timer_sync_hwstate, { 1, 0 } uselistorder i64 ()* @local_irq_enable, { 1, 0 } uselistorder i32 (i32, %_TYPEDEF_sigset_t*, %_TYPEDEF_sigset_t*)* @sigprocmask, { 1, 0 } uselistorder i1 false, { 2, 0, 3, 1 } uselistorder i32 0, { 4, 0, 5, 6, 1, 2, 3, 7, 8, 9, 10 } uselistorder label LBL_18, { 1, 0, 2, 3, 4 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } }
0
CompRealVul
detect_allow_debuggers_18945
detect_allow_debuggers
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp sgt i32 %0, 1 store i64 1, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_9 LBL_1: %sext = mul i64 %arg1, 4294967296 %2 = ashr exact i64 %sext, 32 store i64 1, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = mul i64 %indvars.iv.reload, 8 %4 = add i64 %3, %arg2 %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 ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0)) %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = sext i32 %8 to i64 store i32 1, i32* bitcast (i64* @gv_1 to i32*), align 8 store i64 %11, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %12 = load i64, i64* %5, align 8 %13 = inttoptr i64 %12 to i8* %14 = call i32 @strcmp(i8* %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0)) %15 = icmp eq i32 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_9, label LBL_5 LBL_5: %16 = load i64, i64* %5, align 8 %17 = inttoptr i64 %16 to i8* %18 = call i32 @strncmp(i8* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i32 2) %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_5.LBL_9.loopexit_crit_edge, label LBL_6 LBL_6: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %21 = icmp slt i64 %indvars.iv.next, %2 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %21, label LBL_2, label LBL_6.LBL_9.loopexit_crit_edge LBL_7: %22 = and i64 %indvars.iv.next, 4294967295 store i64 %22, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %23 = sext i32 %18 to i64 store i64 %23, 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 %indvars.iv.next, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 5, 2 } uselistorder i64 1, { 2, 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_9, { 3, 2, 0, 4, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
acpi_bus_start_18377
acpi_bus_start
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = ptrtoint i64* %sv_0 to i64 %1 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 4) store i64 1, i64* %sv_0, align 8 %2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 0) ret i64 0 uselistorder i64* %sv_0, { 0, 2, 1, 3 } }
1
CompRealVul
git_index_reuc_clear_47
git_index_reuc_clear
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i32 31, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* store i64 0, i64* %storemerge1.reg2mem br label LBL_3 LBL_3: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %5 = load i64, i64* %4, align 8 %6 = mul i64 %storemerge1.reload, 8 %7 = add i64 %5, %6 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9, i64 0) %11 = call i64 @FUNC(i64 %10) %12 = add nuw i64 %storemerge1.reload, 1 %13 = icmp ult i64 %12, %10 store i64 %12, i64* %storemerge1.reg2mem br i1 %13, label LBL_3, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %2) ret i64 %14 uselistorder i64 %2, { 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
ff_mlz_init_dict_16283
ff_mlz_init_dict
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 256, i64 8) store i64 %1, i64* %arg2, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* store i32 256, i32* %3, align 4 %4 = add i64 %0, 12 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i32* store i32 9, i32* %7, align 4 %8 = add i64 %0, 20 %9 = inttoptr i64 %8 to i32* store i32 -1, i32* %9, align 4 %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i32* store i32 258, i32* %11, align 4 %12 = add i64 %0, 28 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = add i64 %0, 32 %15 = inttoptr i64 %14 to i64* store i64 %arg1, i64* %15, align 8 ret i64 %0 uselistorder i64 %0, { 5, 6, 4, 3, 2, 1, 0, 7 } uselistorder i64 8, { 1, 0 } }
1
CompRealVul
svhandler_flash_pgm_word_12526
svhandler_flash_pgm_word
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %1 = load i32, i32* @gv_1, align 4 %2 = zext i32 %1 to i64 %.off = add i32 %0, -134217728 %3 = icmp ult i32 %.off, 131073 %.off3 = add i32 %0, -134348800 %4 = icmp ult i32 %.off3, 262145 %or.cond = or i1 %3, %4 store i64 %2, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %5 = zext i32 %0 to i64 %6 = call i64 @FUNC() %7 = call i64 @FUNC() %8 = call i64 @FUNC(i64 %5, i64 %2) %9 = call i64 @FUNC() %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false %13 = zext i1 %12 to i32 store i32 %13, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 0, i32* @gv_1, align 4 store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8 %14 = call i64 @FUNC() %15 = load i32, i32* inttoptr (i64 1073881088 to i32*), align 8192 %16 = and i32 %15, -4 %17 = or i32 %16, 2 %18 = zext i32 %17 to i64 store i32 %17, i32* inttoptr (i64 1073881088 to i32*), align 8192 store i64 %18, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0 } uselistorder i32 %0, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
dec_sr_16199
dec_sr
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %3 to i32 %6 = icmp eq i32 %5, 1 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %4, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %4, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %4, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %17, i32 %13, i32 %10, i64 %2, i64 %1) br label LBL_3 LBL_2: %19 = add i64 %4, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i64 %4, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %4, 12 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %28, i32 %24, i32 %21, i64 %2, i64 %1) br label LBL_3 LBL_3: %30 = add i64 %4, 24 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = urem i32 %34, 2 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false %or.cond = or i1 %6, %37 br i1 %or.cond, label LBL_6, label LBL_4 LBL_4: %38 = add i64 %4, 16 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp eq i32 %40, 1 br i1 %41, label LBL_6, label LBL_5 LBL_5: %42 = call i64 @FUNC(i64 %32, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0)) unreachable LBL_6: br i1 %7, label LBL_8, label LBL_7 LBL_7: %43 = add i64 %4, 16 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = add i64 %4, 4 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = sext i32 %48 to i64 %50 = mul i64 %49, 4 %51 = add i64 %50, ptrtoint (i32** @gv_3 to i64) %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = add i64 %4, 8 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = sext i32 %56 to i64 %58 = mul i64 %57, 4 %59 = add i64 %58, ptrtoint (i32** @gv_3 to i64) %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = zext i32 %53 to i64 %63 = zext i32 %61 to i64 %64 = call i64 @FUNC(i64 %63, i64 %62, i32 %45) store i64 %64, i64* %storemerge.reg2mem br label LBL_9 LBL_8: %65 = call i64 @FUNC() %66 = trunc i64 %65 to i32 %67 = add i64 %4, 8 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = sext i32 %69 to i64 %71 = mul i64 %70, 4 %72 = add i64 %71, ptrtoint (i32** @gv_3 to i64) %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = zext i32 %74 to i64 %76 = and i64 %65, 4294967295 %77 = call i64 @FUNC(i64 %76, i64 %75, i64 31) %78 = add i64 %4, 4 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = sext i32 %80 to i64 %82 = mul i64 %81, 4 %83 = add i64 %82, ptrtoint (i32** @gv_3 to i64) %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = add i64 %4, 12 %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = sext i32 %88 to i64 %90 = mul i64 %89, 4 %91 = add i64 %90, ptrtoint (i32** @gv_3 to i64) %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = zext i32 %85 to i64 %95 = zext i32 %93 to i64 %96 = call i64 @FUNC(i64 %95, i64 %94, i32 %66) %97 = call i64 @FUNC(i64 %76) store i64 %97, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 4, 3, 5, 2, 1, 0, 7, 6, 9, 11, 10, 8, 12, 13 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i32, i64, i64)* @LOG_DIS, { 1, 0 } uselistorder i64 4, { 0, 1, 5, 2, 3, 4, 6, 7, 8 } }
1
CompRealVul
idxd_shutdown_19284
idxd_shutdown
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0)) br label LBL_2 LBL_2: %7 = trunc i64 %2 to i32 %8 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) %9 = call i64 @FUNC(i64 %1) %10 = call i64 @FUNC(i64 %1) %11 = icmp sgt i32 %7, 0 br i1 %11, label LBL_3, label LBL_7 LBL_3: %12 = inttoptr i64 %1 to i64* %13 = add i64 %1, 8 %14 = inttoptr i64 %13 to i64* %wide.trip.count = and i64 %2, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %15 = load i64, i64* %12, align 8 %16 = load i64, i64* %14, align 8 %17 = mul i64 %indvars.iv.reload, 4 %18 = add i64 %16, %17 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21) %23 = icmp eq i64 %indvars.iv.reload, 0 br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 %15) %25 = call i64 @FUNC(i64 %15) br label LBL_6 LBL_6: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_7, label LBL_4 LBL_7: %26 = add i64 %1, 16 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %28) ret i64 %29 uselistorder i64 %15, { 1, 0 } uselistorder i64 %1, { 2, 1, 0, 4, 3, 5 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
1
CompRealVul
arm_cpu_has_work_17064
arm_cpu_has_work
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp ne i8 %5, 1 %7 = urem i64 %1, 32 %8 = icmp ne i64 %7, 0 %not.or.cond = icmp eq i1 %8, %6 %storemerge = zext i1 %not.or.cond to i64 ret i64 %storemerge }
1