dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
tb_flush_jmp_cache_16950
tb_flush_jmp_cache
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %arg2, -4096 %2 = call i64 @FUNC(i64 %1) %3 = mul i64 %2, 8 %4 = and i64 %3, 34359738360 %5 = add i64 %4, %0 %6 = inttoptr i64 %5 to i64* %7 = call i64* @memset(i64* %6, i32 0, i32 512) %8 = call i64 @FUNC(i64 %arg2) %9 = mul i64 %8, 8 %10 = and i64 %9, 34359738360 %11 = add i64 %10, %0 %12 = inttoptr i64 %11 to i64* %13 = call i64* @memset(i64* %12, i32 0, i32 512) %14 = ptrtoint i64* %13 to i64 ret i64 %14 uselistorder i64 (i64)* @tb_jmp_cache_hash_page, { 1, 0 } }
1
BinRealVul
become_daemon_11563
become_daemon
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i32 @fork() %1 = icmp slt i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @exit(i32 1) unreachable LBL_2: %3 = icmp slt i32 %0, 1 br i1 %3, label LBL_4, label LBL_3 LBL_3: call void @exit(i32 0) unreachable LBL_4: %4 = icmp eq i64 %arg1, 0 br i1 %4, label LBL_7, label LBL_5 LBL_5: %5 = call i64 @FUNC(i64 %arg1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_7, label LBL_6 LBL_6: %9 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_7: %10 = call i32 @umask(i32 0) %11 = call i32 @setsid() %12 = icmp slt i32 %11, 0 br i1 %12, label LBL_10, label LBL_8 LBL_8: %13 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0)) %14 = icmp slt i32 %13, 0 br i1 %14, label LBL_10, label LBL_9 LBL_9: %15 = call i64 @FUNC(i64 0) %16 = call i64 @FUNC(i64 1) %17 = call i64 @FUNC(i64 2) ret i64 %17 LBL_10: br i1 %4, label LBL_12, label LBL_11 LBL_11: %18 = inttoptr i64 %arg1 to i8* %19 = call i32 @unlink(i8* %18) br label LBL_12 LBL_12: %20 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) call void @exit(i32 1) unreachable uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @reopen_fd_to_null, { 2, 1, 0 } uselistorder i64 (i8*)* @g_critical, { 1, 0 } uselistorder i64 0, { 5, 6, 15, 1, 2, 7, 8, 17, 9, 10, 11, 12, 13, 14, 0, 3, 4, 16 } uselistorder void (i32)* @exit, { 3, 2, 1, 0 } uselistorder i32 1, { 3, 4, 2, 5, 0, 6, 1 } uselistorder i32 0, { 2, 3, 0, 4, 1, 5, 6, 7 } uselistorder i64 %arg1, { 0, 2, 1 } }
1
BinRealVul
wav_seek_tag_1638
wav_seek_tag
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp ne i64 %arg2, 9223372036854775807 %2 = urem i64 %arg2, 2 %3 = icmp ne i64 %2, 0 %not.or.cond = icmp eq i1 %1, %3 %storemerge = zext i1 %not.or.cond to i64 %4 = add i64 %storemerge, %arg2 %5 = trunc i64 %arg3 to i32 %6 = call i64 @FUNC(i64 %0, i64 %4, i32 %5) ret i64 %6 uselistorder i64 %arg2, { 1, 0, 2 } }
0
BinRealVul
virtio_net_guest_notifier_pending_8756
virtio_net_guest_notifier_pending
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %1) %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = and i64 %3, 4294967295 %8 = call i64 @FUNC(i64 %6, i64 %7) %9 = inttoptr i64 %2 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_1, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %13 = inttoptr i64 %8 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = call i64 @FUNC(i64 %15, i64 %1) ret i64 %16 uselistorder i64 %1, { 1, 0 } uselistorder i64 4294967295, { 1, 0, 2 } }
0
BinRealVul
gen_st8_771
gen_st8
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = and i64 %arg2, 4294967295 %1 = and i64 %arg1, 4294967295 %2 = call i64 @FUNC(i64 %1, i64 %0, i32 %arg3) %3 = call i64 @FUNC(i64 %1) ret i64 %3 }
0
BinRealVul
gen_add16_2834
gen_add16
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = and i64 %arg2, 4294967295 %1 = call i64 @FUNC() %2 = and i64 %arg1, 4294967295 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3, i64 %2, i64 %0) %5 = call i64 @FUNC(i64 %3, i64 %3, i64 32768) %6 = call i64 @FUNC(i64 %2, i64 %2, i64 4294934527) %7 = call i64 @FUNC(i64 %0, i64 %0, i64 4294934527) %8 = call i64 @FUNC(i64 %2, i64 %2, i64 %0) %9 = call i64 @FUNC(i64 %2, i64 %2, i64 %3) %10 = call i64 @FUNC(i64 %3) %11 = call i64 @FUNC(i64 %0) ret i64 %11 uselistorder i64 %3, { 0, 1, 3, 2, 4 } uselistorder i64 %2, { 1, 0, 3, 2, 5, 4, 6 } uselistorder i64 %0, { 0, 3, 1, 2, 4 } uselistorder i64 (i64)* @tcg_temp_free_i32, { 1, 0 } uselistorder i64 (i64, i64, i64)* @tcg_gen_andi_i32, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @tcg_gen_xor_i32, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } }
0
BinRealVul
hci_req_sync_19135
hci_req_sync
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 0, i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 1, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = ptrtoint i64* %arg5 to i64 %6 = call i64 @FUNC(i64 %0) %7 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %arg3, i64 %arg4, i64 %5) %8 = call i64 @FUNC(i64 %0) %9 = and i64 %7, 4294967295 store i64 %9, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
cbq_set_lss_10436
cbq_set_lss
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem12 = alloca i32 %.reg2mem10 = alloca i32 %.reg2mem8 = alloca i32 %.reg2mem6 = alloca i32 %.reg2mem = alloca i32 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = bitcast i64* %rsi to i32* %5 = trunc i64 %1 to i32 %6 = urem i32 %5, 2 %7 = icmp eq i32 %6, 0 store i32 %5, i32* %.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = and i32 %10, 2 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false %storemerge1 = select i1 %13, i64 0, i64 %3 %14 = add i64 %3, 8 %15 = inttoptr i64 %14 to i64* store i64 %storemerge1, i64* %15, align 8 %16 = load i32, i32* %9, align 4 %17 = and i32 %16, 4 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false %storemerge = select i1 %19, i64 0, i64 %3 %20 = add i64 %3, 16 %21 = inttoptr i64 %20 to i64* store i64 %storemerge, i64* %21, align 8 %.pre = load i32, i32* %4, align 8 store i32 %.pre, i32* %.reg2mem br label LBL_2 LBL_2: %.reload = load i32, i32* %.reg2mem %22 = and i32 %.reload, 8 %23 = icmp eq i32 %22, 0 store i32 %.reload, i32* %.reg2mem6 br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = add i64 %2, 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i64 %3, 24 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %.pre2 = load i32, i32* %4, align 8 store i32 %.pre2, i32* %.reg2mem6 br label LBL_4 LBL_4: %.reload7 = load i32, i32* %.reg2mem6 %29 = and i32 %.reload7, 16 %30 = icmp eq i32 %29, 0 store i32 %.reload7, i32* %.reg2mem8 br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = add i64 %2, 12 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = add i64 %3, 28 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 %.pre3 = load i32, i32* %4, align 8 store i32 %.pre3, i32* %.reg2mem8 br label LBL_6 LBL_6: %.reload9 = load i32, i32* %.reg2mem8 %36 = and i32 %.reload9, 32 %37 = icmp eq i32 %36, 0 store i32 %.reload9, i32* %.reg2mem10 br i1 %37, label LBL_8, label LBL_7 LBL_7: %38 = add i64 %2, 16 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = sext i32 %40 to i64 %42 = sub nsw i64 0, %41 %43 = add i64 %3, 32 %44 = inttoptr i64 %43 to i64* store i64 %42, i64* %44, align 8 %.pre4 = load i32, i32* %4, align 8 store i32 %.pre4, i32* %.reg2mem10 br label LBL_8 LBL_8: %.reload11 = load i32, i32* %.reg2mem10 %45 = and i32 %.reload11, 64 %46 = icmp eq i32 %45, 0 store i32 %.reload11, i32* %.reg2mem12 br i1 %46, label LBL_10, label LBL_9 LBL_9: %47 = add i64 %2, 20 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i64 %3, 40 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = load i32, i32* %48, align 4 %53 = add i64 %3, 44 %54 = inttoptr i64 %53 to i32* store i32 %52, i32* %54, align 4 %.pre5 = load i32, i32* %4, align 8 store i32 %.pre5, i32* %.reg2mem12 br label LBL_10 LBL_10: %.reload13 = load i32, i32* %.reg2mem12 %55 = trunc i32 %.reload13 to i8 %56 = icmp sgt i8 %55, -1 br i1 %56, label LBL_12, label LBL_11 LBL_11: %57 = add i64 %2, 24 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = add i64 %3, 48 %61 = inttoptr i64 %60 to i32* store i32 %59, i32* %61, align 4 br label LBL_12 LBL_12: ret i64 0 uselistorder i64 %3, { 9, 7, 8, 6, 5, 4, 0, 1, 2, 3 } uselistorder i64 %2, { 4, 3, 2, 1, 0, 5 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem6, { 0, 2, 1 } uselistorder i32* %.reg2mem8, { 0, 2, 1 } uselistorder i32* %.reg2mem10, { 0, 2, 1 } uselistorder i32* %.reg2mem12, { 0, 2, 1 } uselistorder i32 2, { 1, 0 } }
0
BinRealVul
vmxnet3_pop_rxc_descr_17239
vmxnet3_pop_rxc_descr
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i8, align 1 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 29 %2 = add i64 %1, %0 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %0) %5 = and i64 %4, 4294967295 %6 = bitcast i8* %sv_0 to i64* %7 = call i64 @FUNC(i64 %5, i64 %3, i64* nonnull %6, i64 1) %8 = add nsw i64 %5, %1 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i8 %11 = load i8, i8* %sv_0, align 1 %12 = icmp eq i8 %11, %10 store i64 0, i64* %storemerge.reg2mem br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = trunc i64 %9 to i32 %14 = urem i32 %13, 256 %15 = and i64 %arg2, 4294967295 %16 = bitcast i64* %arg3 to i32* store i32 %14, i32* %16, align 4 %17 = call i64 @FUNC(i64 %0, i64 %15) store i64 %3, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
diag288_timer_expired_2905
diag288_timer_expired
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC() %2 = trunc i64 %1 to i32 %3 = add i32 %2, -1 %4 = icmp ult i32 %3, 3 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %arg1) br label LBL_2 LBL_2: %6 = call i64 @FUNC() ret i64 %6 uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
qemu_chr_fe_read_all_16937
qemu_chr_fe_read_all
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_20 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %9 = icmp eq i32 %8, 1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_4 LBL_3: %11 = trunc i64 %arg3 to i32 %12 = trunc i64 %3 to i32 %13 = icmp eq i32 %12, -1 %14 = icmp eq i1 %13, false %15 = icmp eq i32 %12, 0 %16 = icmp slt i32 %12, 0 %17 = icmp eq i1 %16, false store i32 0, i32* %sv_0.0.reg2mem store i32 10, i32* %sv_1.0.reg2mem br label LBL_14 LBL_4: %18 = call i64 @FUNC(i64 %2) store i64 %18, i64* %rax.0.reg2mem br label LBL_20 LBL_5: %19 = call i32* @__errno_location() %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 11 %22 = icmp eq i1 %21, false br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 100) br label LBL_7 LBL_7: %24 = call i32* @__errno_location() %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 11 br i1 %26, label LBL_5, label LBL_8 LBL_8: store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %15, label LBL_16, label LBL_9 LBL_9: br i1 %17, label LBL_13, label LBL_10 LBL_10: %27 = and i64 %3, 4294967295 %28 = load i32, i32* %5, align 4 %29 = icmp eq i32 %28, 0 store i64 %27, i64* %rax.0.reg2mem br i1 %29, label LBL_20, label LBL_11 LBL_11: %30 = load i32, i32* @gv_0, align 4 %31 = icmp eq i32 %30, 2 %32 = icmp eq i1 %31, false store i64 %27, i64* %rax.0.reg2mem br i1 %32, label LBL_20, label LBL_12 LBL_12: %33 = call i64 @FUNC(i64 %27) store i64 %27, i64* %rax.0.reg2mem br label LBL_20 LBL_13: %34 = add i32 %sv_0.0.reload, %12 %35 = add nsw i32 %sv_1.0.reload, -1 %36 = icmp eq i32 %sv_1.0.reload, 0 store i32 %34, i32* %sv_0.0.reg2mem store i32 %35, i32* %sv_1.0.reg2mem store i32 %34, i32* %sv_0.1.reg2mem br i1 %36, label LBL_16, label LBL_14 LBL_14: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %37 = icmp slt i32 %sv_0.0.reload, %11 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %37, label LBL_15, label LBL_16 LBL_15: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem br i1 %14, label LBL_8, label LBL_5 LBL_16: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %38 = load i32, i32* %5, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_19, label LBL_17 LBL_17: %40 = load i32, i32* @gv_0, align 4 %41 = icmp eq i32 %40, 2 %42 = icmp eq i1 %41, false br i1 %42, label LBL_19, label LBL_18 LBL_18: %43 = zext i32 %sv_0.1.reload to i64 %44 = call i64 @FUNC(i64 %2, i64 %43) br label LBL_19 LBL_19: %45 = zext i32 %sv_0.1.reload to i64 store i64 %45, 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 %sv_1.0.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 0, 2, 1, 3 } uselistorder i64 %27, { 2, 3, 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 2, 1, 5, 4 } uselistorder i32 2, { 1, 0 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6 } uselistorder i1 false, { 0, 1, 3, 2, 4, 5, 6 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_20, { 4, 2, 1, 0, 5, 3 } uselistorder label LBL_16, { 2, 0, 1 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
vp56_size_changed_2593
vp56_size_changed
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = add i64 %arg1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = bitcast i64* %rdi to i32* %12 = trunc i64 %3 to i32 %13 = add i64 %arg1, 28 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = add i64 %arg1, 16 %16 = inttoptr i64 %15 to i32* store i32 %12, i32* %16, align 4 %17 = load i32, i32* %11, align 8 %18 = icmp slt i32 %17, 0 %19 = zext i1 %18 to i32 %20 = add i32 %17, %19 %21 = ashr i32 %20, 1 %22 = add i64 %arg1, 24 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 %24 = add i64 %arg1, 20 %25 = inttoptr i64 %24 to i32* store i32 %21, i32* %25, align 4 %26 = add i64 %arg1, 4 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i64 %arg1, 44 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = add i64 %arg1, 32 %32 = inttoptr i64 %31 to i32* store i32 %28, i32* %32, align 4 %33 = load i32, i32* %27, align 4 %34 = icmp slt i32 %33, 0 %35 = zext i1 %34 to i32 %36 = add i32 %33, %35 %37 = ashr i32 %36, 1 %38 = add i64 %arg1, 40 %39 = inttoptr i64 %38 to i32* store i32 %37, i32* %39, align 4 %40 = add i64 %arg1, 36 %41 = inttoptr i64 %40 to i32* store i32 %37, i32* %41, align 4 %42 = add i64 %arg1, 48 %43 = inttoptr i64 %42 to i32* store i32 0, i32* %43, align 4 %44 = add i64 %arg1, 76 %45 = inttoptr i64 %44 to i32* %46 = add i64 %arg1, 52 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %47 = load i32, i32* %45, align 4 %48 = load i64, i64* %5, align 8 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = mul i64 %indvars.iv.reload, 4 %52 = add i64 %50, %51 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = mul i32 %54, %47 %56 = add i64 %46, %51 %57 = inttoptr i64 %56 to i32* store i32 %55, i32* %57, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %58 = load i32, i32* %11, align 8 %59 = sdiv i32 %58, 1073741824 %60 = add i64 %arg1, 68 %61 = inttoptr i64 %60 to i32* store i32 %59, i32* %61, align 4 %62 = load i32, i32* %27, align 4 %63 = sdiv i32 %62, 1073741824 %64 = add i64 %arg1, 72 %65 = inttoptr i64 %64 to i32* store i32 %63, i32* %65, align 4 %66 = load i32, i32* %61, align 4 %67 = icmp slt i32 %66, 1001 %or.cond = icmp eq i1 %67, false br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %68 = call i64 @FUNC(i64 %arg1, i64 0, i64 0) %69 = call i64 @FUNC(i64 %arg1, i64 16, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 15, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %70 = mul i32 %66, 4 %71 = add i32 %70, 6 %72 = sext i32 %71 to i64 %73 = add i64 %arg1, 80 %74 = call i64 @FUNC(i64 %73, i64 %72, i64 1) %75 = load i32, i32* %61, align 4 %76 = load i32, i32* %65, align 4 %77 = mul i32 %76, %75 %78 = sext i32 %77 to i64 %79 = add i64 %arg1, 88 %80 = call i64 @FUNC(i64 %79, i64 %78, i64 1) %81 = add i64 %arg1, 96 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = call i64 @FUNC(i64 %83) %85 = mul i32 %10, 16 %86 = sext i32 %85 to i64 %87 = call i64 @FUNC(i64 %86) store i64 %87, i64* %82, align 8 %88 = add i64 %arg1, 104 %89 = inttoptr i64 %88 to i64* store i64 %87, i64* %89, align 8 %90 = inttoptr i64 %73 to i64* %91 = load i64, i64* %90, align 8 %92 = icmp eq i64 %91, 0 store i64 4294967284, i64* %rax.0.reg2mem br i1 %92, label LBL_11, label LBL_5 LBL_5: %93 = inttoptr i64 %79 to i64* %94 = load i64, i64* %93, align 8 %95 = icmp eq i64 %94, 0 store i64 4294967284, i64* %rax.0.reg2mem br i1 %95, label LBL_11, label LBL_6 LBL_6: %96 = load i64, i64* %82, align 8 %97 = icmp eq i64 %96, 0 %98 = icmp eq i1 %97, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %98, label LBL_7, label LBL_11 LBL_7: %99 = load i32, i32* %45, align 4 %100 = icmp slt i32 %99, 0 %101 = icmp eq i1 %100, false br i1 %101, label LBL_9, label LBL_8 LBL_8: %102 = mul i32 %10, 15 %103 = sext i32 %102 to i64 %104 = add i64 %87, %103 store i64 %104, i64* %89, align 8 br label LBL_9 LBL_9: %105 = add i64 %arg1, 112 %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = icmp eq i64 %107, 0 store i64 0, i64* %rax.0.reg2mem br i1 %108, label LBL_11, label LBL_10 LBL_10: %109 = call i64 @FUNC(i64 %107) store i64 %109, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %51, { 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i32 %10, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2, 6 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 4294967284, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @av_reallocp_array, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 %arg1, { 1, 2, 3, 4, 7, 6, 5, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 } uselistorder label LBL_11, { 4, 0, 3, 2, 1, 5 } }
0
BinRealVul
string_elist_del_17521
string_elist_del
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 24 %1 = inttoptr i64 %0 to i32* %2 = load i32, i32* %1, align 4 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %arg1, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i64* call void @free(i64* %7) br label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %arg1) ret i64 %8 }
1
BinRealVul
stv06xx_start_7315
stv06xx_start
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi4.reg2mem = alloca i32 %sv_0.0.in6.reg2mem = alloca i64 %.reg2mem = alloca i1 %.pre-phi5.reg2mem = alloca i32 %sv_0.0.in7.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4) %6 = add i64 %0, 12 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %5, i64 %9) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0)) store i64 1, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %14 = inttoptr i64 %10 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp slt i32 %15, 0 %18 = icmp eq i1 %17, false %19 = icmp eq i1 %16, false %20 = icmp eq i1 %18, %19 store i64 2, i64* %rax.0.reg2mem br i1 %20, label LBL_3, label LBL_11 LBL_3: %21 = add i64 %10, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %24) %26 = trunc i64 %25 to i32 %27 = call i64 @FUNC(i64 %0, i64 0, i32 %26) %28 = trunc i64 %27 to i32 %29 = icmp slt i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_5, label LBL_4 LBL_4: %31 = and i64 %27, 4294967295 store i64 %31, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %32 = trunc i64 %0 to i32 %33 = icmp slt i32 %32, 0 br i1 %33, label LBL_6, label LBL_7 LBL_6: %sv_0.0.in3 = and i64 %0, 4294967295 store i64 %sv_0.0.in3, i64* %sv_0.0.in7.reg2mem store i32 %32, i32* %.pre-phi5.reg2mem br label LBL_8 LBL_7: %34 = call i64 @FUNC(i64 %0, i64 1, i32 1) %.pre = trunc i64 %34 to i32 %sv_0.0.in = and i64 %34, 4294967295 %35 = icmp slt i32 %.pre, 0 %36 = icmp eq i1 %35, false store i64 %sv_0.0.in, i64* %sv_0.0.in7.reg2mem store i32 %.pre, i32* %.pre-phi5.reg2mem br i1 %36, label LBL_9, label LBL_8 LBL_8: %.pre-phi5.reload = load i32, i32* %.pre-phi5.reg2mem %sv_0.0.in7.reload = load i64, i64* %sv_0.0.in7.reg2mem %37 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0)) store i1 false, i1* %.reg2mem store i64 %sv_0.0.in7.reload, i64* %sv_0.0.in6.reg2mem store i32 %.pre-phi5.reload, i32* %.pre-phi4.reg2mem br label LBL_10 LBL_9: %38 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) store i1 true, i1* %.reg2mem store i64 %sv_0.0.in, i64* %sv_0.0.in6.reg2mem store i32 %.pre, i32* %.pre-phi4.reg2mem br label LBL_10 LBL_10: %.pre-phi4.reload = load i32, i32* %.pre-phi4.reg2mem %sv_0.0.in6.reload = load i64, i64* %sv_0.0.in6.reg2mem %.reload = load i1, i1* %.reg2mem %39 = icmp eq i32 %.pre-phi4.reload, 0 %40 = icmp eq i1 %39, false %41 = icmp eq i1 %.reload, %40 %42 = select i1 %41, i64 0, i64 %sv_0.0.in6.reload store i64 %42, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %15, { 1, 0 } uselistorder i64 %0, { 3, 4, 2, 0, 5, 6, 1, 7, 8, 9 } uselistorder i1* %.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.in6.reg2mem, { 0, 2, 1 } uselistorder i32* %.pre-phi4.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 (i64, i64, i8*)* @gspca_dbg, { 1, 0 } uselistorder i64 (i64, i64, i32)* @stv06xx_write_bridge, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i64 1, { 1, 0 } uselistorder i1 false, { 2, 0, 3, 4, 5, 1, 6 } uselistorder label LBL_11, { 1, 2, 0, 3 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
rbd_aio_bh_cb_2213
rbd_aio_bh_cb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi2.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, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %2, 8 %.pre1 = inttoptr i64 %.pre to i64* store i64* %.pre1, i64** %.pre-phi2.reg2mem br label LBL_3 LBL_2: %6 = add i64 %2, 56 %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 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %8, i64 0, i64 %13, i64 %10) store i64* %12, i64** %.pre-phi2.reg2mem br label LBL_3 LBL_3: %.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem %15 = load i64, i64* %.pre-phi2.reload, align 8 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %2, 32 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) store i64 0, i64* %18, align 8 %21 = add i64 %2, 44 %22 = inttoptr i64 %21 to i32* store i32 0, i32* %22, align 4 %23 = add i64 %2, 48 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = zext i32 %25 to i64 %27 = icmp eq i32 %25, 0 %28 = icmp eq i1 %27, false store i64 %26, i64* %rax.0.reg2mem br i1 %28, label LBL_5, label LBL_4 LBL_4: %29 = call i64 @FUNC(i64 %2) store i64 %29, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 2, 3, 4, 6, 5, 0 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
mp_tiocmset_10518
mp_tiocmset
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %5) %9 = urem i64 %1, 2 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967291, i64* %sv_0.0.reg2mem br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = and i64 %arg3, 4294967295 %13 = and i64 %arg2, 4294967295 %14 = call i64 @FUNC(i64 %7, i64 %13, i64 %12) store i64 0, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %15 = call i64 @FUNC(i64 %5) ret i64 %sv_0.0.reload }
0
BinRealVul
ubifs_releasepage_9064
ubifs_releasepage
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = urem i32 %2, 2 %4 = icmp eq i32 %3, 0 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = and i32 %2, 2 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) br label LBL_3 LBL_3: %9 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) %10 = and i32 %2, -5 store i32 %10, i32* %arg1, align 4 store i64 1, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %2, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 (i8*)* @puts, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
extent_range_uptodate_18017
extent_range_uptodate
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %rdi.02.reg2mem = alloca i64 %rdi.0.ph.reg2mem = alloca i64 %0 = sub i64 1, %arg2 %1 = add i64 %0, %arg3 %2 = call i64 @FUNC(i64 %arg2, i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 %arg2, i64* %rdi.0.ph.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i64 %arg2, i64 %arg3, i64 1, i64 1, i64 0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 %5, i64* %rdi.0.ph.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %8, label LBL_2, label LBL_5 LBL_2: %rdi.0.ph.reload = load i64, i64* %rdi.0.ph.reg2mem %9 = icmp ugt i64 %arg2, %arg3 store i64 %rdi.0.ph.reload, i64* %rdi.02.reg2mem store i64 %arg2, i64* %sv_0.01.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %9, label LBL_5, label LBL_3 LBL_3: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %rdi.02.reload = load i64, i64* %rdi.02.reg2mem %10 = udiv i64 %sv_0.01.reload, 4096 %11 = call i64 @FUNC(i64 %rdi.02.reload, i64 %10) %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = call i64 @FUNC(i64 %11) %15 = icmp eq i32 %13, 0 %16 = icmp eq i1 %15, false store i64 0, i64* %storemerge.reg2mem br i1 %16, label LBL_4, label LBL_5 LBL_4: %17 = add i64 %sv_0.01.reload, 4096 %18 = icmp ugt i64 %17, %arg3 store i64 %11, i64* %rdi.02.reg2mem store i64 %17, i64* %sv_0.01.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %18, label LBL_5, label LBL_3 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %rdi.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.02.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 1, { 0, 1, 2, 5, 4, 3 } uselistorder i64 %arg3, { 3, 0, 2, 1 } uselistorder i64 %arg2, { 0, 3, 4, 1, 5, 2 } uselistorder label LBL_5, { 1, 0, 2, 3 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
emulated_initfn_51
emulated_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge2.in.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i8** %.reg2mem = alloca i8* %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 48 %2 = inttoptr i64 %1 to i64* store i64 0, i64* %2, align 8 %3 = add i64 %0, 56 %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_19 LBL_1: %9 = add i64 %0, 64 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_0, i64 0, i64 0), i64 0) %13 = trunc i64 %12 to i32 %14 = add i64 %0, 72 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = icmp eq i32 %13, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_2 LBL_2: %18 = call i32 @puts(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0)) store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i8** %.reg2mem store i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_0, i64 0, i64 0), i8*** %storemerge3.reg2mem br label LBL_3 LBL_3: %storemerge3.reload = load i8**, i8*** %storemerge3.reg2mem %.reload = load i8*, i8** %.reg2mem %19 = call i32 @puts(i8* %.reload) %20 = ptrtoint i8** %storemerge3.reload to i64 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to i8** %23 = load i8*, i8** %22, align 8 %24 = icmp eq i8* %23, null %25 = icmp eq i1 %24, false store i8* %23, i8** %.reg2mem store i8** %22, i8*** %storemerge3.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %25, label LBL_3, label LBL_19 LBL_4: %26 = icmp eq i32 %13, 1 %27 = icmp eq i1 %26, false br i1 %27, label LBL_10, label LBL_5 LBL_5: %28 = add i64 %0, 80 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 br i1 %31, label LBL_9, label LBL_6 LBL_6: %32 = add i64 %0, 88 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = icmp eq i64 %34, 0 br i1 %35, label LBL_9, label LBL_7 LBL_7: %36 = add i64 %0, 96 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = icmp eq i64 %38, 0 br i1 %39, label LBL_9, label LBL_8 LBL_8: %40 = call i64 @FUNC(i64 %0) store i64 %40, i64* %storemerge2.in.reg2mem br label LBL_17 LBL_9: %41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_19 LBL_10: %42 = icmp eq i32 %13, 2 br i1 %42, label LBL_12, label LBL_11 LBL_11: %43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_6, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_19 LBL_12: %44 = add i64 %0, 80 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_15, label LBL_13 LBL_13: %49 = add i64 %0, 88 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = icmp eq i64 %51, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_15, label LBL_14 LBL_14: %54 = add i64 %0, 96 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = icmp eq i64 %56, 0 br i1 %57, label LBL_16, label LBL_15 LBL_15: %58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_19 LBL_16: %59 = call i64 @FUNC(i64 0) store i64 %59, i64* %storemerge2.in.reg2mem br label LBL_17 LBL_17: %storemerge2.in.reload = load i64, i64* %storemerge2.in.reg2mem %storemerge2 = trunc i64 %storemerge2.in.reload to i32 %60 = icmp eq i32 %storemerge2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %60, label LBL_19, label LBL_18 LBL_18: %61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %13, { 2, 1, 0, 3 } uselistorder i64 %0, { 3, 2, 1, 6, 5, 4, 0, 8, 7, 9, 10, 11 } uselistorder i8** %.reg2mem, { 1, 0, 2 } uselistorder i8*** %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge2.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 7, 5, 4, 1, 3 } uselistorder i32 (i8*, ...)* @printf, { 0, 1, 3, 2 } uselistorder i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0), { 3, 0, 1, 2 } uselistorder i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), { 1, 0 } uselistorder i32 (i8*)* @puts, { 1, 0 } uselistorder i32 0, { 4, 5, 6, 7, 0, 1, 2, 3 } uselistorder i64 0, { 17, 18, 0, 23, 5, 6, 26, 27, 28, 7, 8, 11, 12, 15, 16, 13, 14, 29, 30, 31, 9, 10, 19, 20, 24, 21, 22, 32, 1, 2, 3, 4, 25 } uselistorder label LBL_19, { 3, 1, 4, 5, 6, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
edac_mc_free_4550
edac_mc_free
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 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %6 = call i64 @FUNC(i64 %arg1) %7 = call i64 @FUNC(i64 %arg1) ret i64 %7 uselistorder i64* %0, { 3, 2, 1, 0 } }
0
BinRealVul
ics_base_realize_16397
ics_base_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %4 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg2 to i64 %8 = load i64, i64* %sv_0, align 8 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64 %9, i64 %2, i64 %1) ret i64 %10 LBL_2: store i64 %4, i64* %arg1, align 8 ret i64 %3 uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64* %0, { 1, 0 } }
1
BinRealVul
processInputBuffer_11854
processInputBuffer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0) %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_24 LBL_1: %5 = trunc i64 %0 to i8 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* %8 = add i64 %0, 12 %9 = inttoptr i64 %8 to i32* %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i32* %12 = icmp eq i8 %5, 42 %13 = icmp eq i1 %12, false br label LBL_2 LBL_2: %14 = load i32, i32* %7, align 4 %15 = urem i32 %14, 2 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i32 %14, i32* %.reg2mem br i1 %17, label LBL_5, label LBL_3 LBL_3: %18 = call i64 @FUNC() %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i64 %18, i64* %rax.0.reg2mem br i1 %21, label LBL_24, label LBL_3.LBL_5_crit_edge LBL_4: %.pre = load i32, i32* %7, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem %22 = and i32 %.reload, 2 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_5.LBL_24_crit_edge, label LBL_6 LBL_6: %25 = and i32 %.reload, 4 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_6.LBL_24_crit_edge, label LBL_7 LBL_7: %28 = load i32, i32* %9, align 4 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_11, label LBL_8 LBL_8: br i1 %13, label LBL_10, label LBL_9 LBL_9: store i32 1, i32* %9, align 4 br label LBL_14 LBL_10: store i32 2, i32* %9, align 4 br label LBL_12 LBL_11: %31 = icmp eq i32 %28, 2 %32 = icmp eq i1 %31, false br i1 %32, label LBL_13, label LBL_12 LBL_12: %33 = call i64 @FUNC(i64 %0) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 store i64 %33, i64* %rax.0.reg2mem br i1 %35, label LBL_16, label LBL_24 LBL_13: %36 = icmp eq i32 %28, 1 %37 = icmp eq i1 %36, false br i1 %37, label LBL_15, label LBL_14 LBL_14: %38 = call i64 @FUNC(i64 %0) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 store i64 %38, i64* %rax.0.reg2mem br i1 %40, label LBL_16, label LBL_24 LBL_15: %41 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0)) unreachable LBL_16: %42 = load i32, i32* %11, align 4 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_19, label LBL_17 LBL_17: %45 = call i64 @FUNC(i64 %0) br label LBL_18 LBL_18: %46 = call i64 @FUNC(i64 %0) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false store i64 %46, i64* %rax.0.reg2mem br i1 %49, label LBL_2, label LBL_24 LBL_19: %50 = call i64 @FUNC(i64 %0) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_21, label LBL_20 LBL_20: %54 = call i64 @FUNC(i64 %0) br label LBL_21 LBL_21: %55 = load i64, i64* @gv_0, align 8 %56 = icmp eq i64 %55, 0 store i64 0, i64* %rax.0.reg2mem br i1 %56, label LBL_24, label LBL_18 LBL_22: %57 = zext i32 %25 to i64 store i64 %57, i64* %rax.0.reg2mem br label LBL_24 LBL_23: %58 = zext i32 %22 to i64 store i64 %58, i64* %rax.0.reg2mem br label LBL_24 LBL_24: %rax.0.reload = load i64, i64* %rax.0.reg2mem store i64 0, i64* @gv_0, align 8 ret i64 %rax.0.reload uselistorder i64 %0, { 3, 6, 0, 5, 8, 7, 4, 9, 10, 1, 2, 11 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 1, 3, 4, 5, 2, 6 } uselistorder i64 (i64)* @resetClient, { 1, 0 } uselistorder i32 2, { 1, 2, 3, 0 } uselistorder i1 false, { 1, 11, 2, 3, 4, 6, 7, 8, 9, 10, 5, 0 } uselistorder i32 0, { 1, 10, 2, 3, 4, 5, 6, 7, 8, 9, 0, 11, 12 } uselistorder i64 (i64)* @sdslen, { 1, 0 } uselistorder label LBL_24, { 5, 6, 4, 2, 1, 0, 3, 7 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
nbd_co_receive_request_2524
nbd_co_receive_request
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC() %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = ptrtoint i32* %arg2 to i64 %10 = and i64 %3, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 %9) %12 = icmp slt i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = icmp eq i64 %11, -11 %spec.select = select i1 %14, i64 -11, i64 -5 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_9 LBL_2: %15 = trunc i64 %9 to i32 %16 = icmp ult i32 %15, 1025 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = and i64 %9, 4294967295 %18 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 1024, i64 %4, i64 %2, i64 %1) store i64 -22, i64* %sv_0.0.reg2mem br label LBL_9 LBL_4: %19 = add i64 %9, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i32 %21, %15 %23 = icmp ult i32 %22, %21 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = zext i32 %22 to i64 %26 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %25, i64 %4, i64 %2, i64 %1) store i64 -22, i64* %sv_0.0.reg2mem br label LBL_9 LBL_6: %27 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 %9, i32 %22, i64 %4, i64 %2, i64 %1) %28 = add i64 %9, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = urem i32 %30, 16 %32 = icmp eq i32 %31, 1 %33 = icmp eq i1 %32, false store i64 0, i64* %sv_0.0.reg2mem br i1 %33, label LBL_9, label LBL_7 LBL_7: %34 = and i64 %9, 4294967295 %35 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 %34, i32 %22, i64 %4, i64 %2, i64 %1) %36 = load i64, i64* %8, align 8 %37 = call i64 @FUNC(i64 %10, i64 %36, i32 %15) %38 = and i64 %36, 4294967295 %39 = icmp eq i64 %37, %38 store i64 0, i64* %sv_0.0.reg2mem br i1 %39, label LBL_9, label LBL_8 LBL_8: %40 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i64 %36, i64 %38, i64 %36, i64 %2, i64 %1) store i64 -5, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i64 0, i64* %8, align 8 ret i64 %sv_0.0.reload uselistorder i64 %38, { 1, 0 } uselistorder i64 %36, { 2, 1, 0, 3 } uselistorder i32 %22, { 0, 1, 3, 2 } uselistorder i32 %21, { 1, 0 } uselistorder i32 %15, { 1, 0, 2 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %9, { 0, 5, 2, 3, 6, 1, 4, 7 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i64 %2, { 4, 1, 0, 3, 2 } uselistorder i64 %1, { 4, 1, 0, 3, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 2, 1, 5, 4, 3 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @TRACE, { 1, 0 } uselistorder i64 -22, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @LOG, { 2, 1, 0 } uselistorder label LBL_9, { 3, 2, 1, 4, 5, 0 } }
0
BinRealVul
tcp_disconnect_13749
tcp_disconnect
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %2, i64 0) %9 = icmp eq i32 %6, 1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %2) br label LBL_11 LBL_3: %12 = inttoptr i64 %5 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = add i64 %2, 24 %19 = inttoptr i64 %18 to i32* store i32 103, i32* %19, align 4 br label LBL_11 LBL_5: %20 = and i64 %1, 4294967295 %21 = call i64 @FUNC(i64 %20) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_8, label LBL_6 LBL_6: %25 = add i64 %5, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %5, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %27, %30 br i1 %31, label LBL_9, label LBL_7 LBL_7: %32 = urem i32 %6, 32 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_9, label %34 LBL_8: %36 = call i64 @FUNC() %37 = and i64 %36, 4294967295 %38 = call i64 @FUNC(i64 %2, i64 %37) %39 = add i64 %2, 24 %40 = inttoptr i64 %39 to i32* store i32 104, i32* %40, align 4 br label LBL_11 LBL_9: %41 = icmp eq i32 %6, 2 %42 = icmp eq i1 %41, false br i1 %42, label LBL_11, label LBL_10 LBL_10: %43 = add i64 %2, 24 %44 = inttoptr i64 %43 to i32* store i32 104, i32* %44, align 4 br label LBL_11 LBL_11: %45 = inttoptr i64 %3 to i32* %46 = call i64 @FUNC(i64 %2) %47 = add i64 %2, 32 %48 = call i64 @FUNC(i64 %47) %49 = call i64 @FUNC(i64 %2) %50 = call i64 @FUNC(i64 %2) %51 = add i64 %5, 48 %52 = call i64 @FUNC(i64 %51) store i32 0, i32* %45, align 4 %53 = add i64 %2, 4 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = urem i32 %55, 2 %57 = icmp eq i32 %56, 0 %58 = icmp eq i1 %57, false br i1 %58, label LBL_13, label LBL_12 LBL_12: %59 = call i64 @FUNC(i64 %2) br label LBL_13 LBL_13: %60 = inttoptr i64 %4 to i32* %61 = add i64 %2, 8 %62 = inttoptr i64 %61 to i32* store i32 0, i32* %62, align 4 %63 = call i64 @FUNC(i64 %2, i64 2) %64 = add i64 %5, 12 %65 = inttoptr i64 %64 to i32* store i32 0, i32* %65, align 4 %66 = add i64 %5, 8 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = add i64 %5, 36 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = add i32 %68, 2 %73 = add i32 %72, %71 %74 = icmp eq i32 %73, 0 %75 = icmp eq i1 %74, false %spec.store.select = select i1 %75, i32 %73, i32 1 store i32 %spec.store.select, i32* %67, align 4 %76 = add i64 %4, 4 %77 = inttoptr i64 %76 to i32* store i32 0, i32* %77, align 4 %78 = add i64 %5, 16 %79 = inttoptr i64 %78 to i32* store i32 2, i32* %79, align 4 %80 = add i64 %4, 8 %81 = inttoptr i64 %80 to i32* store i32 0, i32* %81, align 4 %82 = add i64 %5, 20 %83 = inttoptr i64 %82 to i32* store i32 0, i32* %83, align 4 %84 = add i64 %5, 24 %85 = inttoptr i64 %84 to i32* store i32 -1, i32* %85, align 4 %86 = add i64 %5, 28 %87 = inttoptr i64 %86 to i32* store i32 0, i32* %87, align 4 %88 = add i64 %5, 32 %89 = inttoptr i64 %88 to i32* store i32 0, i32* %89, align 4 %90 = call i64 @FUNC(i64 %2, i64 0) %91 = call i64 @FUNC(i64 %5) %92 = call i64 @FUNC(i64 %2) store i32 536, i32* %60, align 4 %93 = call i64 @FUNC(i64 %2) %94 = add i64 %5, 40 %95 = inttoptr i64 %94 to i64* %96 = call i64* @memset(i64* %95, i32 0, i32 4) %97 = call i64 @FUNC(i64 %2) %98 = call i64 @FUNC(i64 %5) %99 = call i64 @FUNC(i64 %5) %100 = add i64 %3, 8 %101 = inttoptr i64 %100 to i32* store i32 0, i32* %101, align 4 %102 = add i64 %3, 4 %103 = inttoptr i64 %102 to i32* %104 = load i32, i32* %103, align 4 %105 = icmp eq i32 %104, 0 br i1 %105, label LBL_15, label LBL_14 LBL_14: %106 = add i64 %4, 12 %107 = inttoptr i64 %106 to i32* %108 = load i32, i32* %107, align 4 %109 = icmp eq i32 %108, 0 %110 = icmp eq i1 %109, false store i64 1, i64* %storemerge.reg2mem br i1 %110, label LBL_15, label LBL_16 LBL_15: store i64 0, i64* %storemerge.reg2mem br label LBL_16 LBL_16: %storemerge.reload = load i64, i64* %storemerge.reg2mem %111 = call i64 @FUNC(i64 %storemerge.reload) ret i64 0 uselistorder i32 %32, { 1, 0 } uselistorder i32 %6, { 3, 0, 2, 1 } uselistorder i64 %5, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 1, 15 } uselistorder i64 %2, { 4, 5, 7, 6, 8, 9, 11, 10, 15, 14, 13, 12, 3, 17, 16, 2, 1, 0, 18, 19, 20 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 3, 4, 0, 2, 1 } uselistorder i32 0, { 2, 3, 4, 1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 15, 16, 17, 18, 19, 20 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
impeg2d_dec_pic_hdr_6168
impeg2d_dec_pic_hdr
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 4) %2 = call i64 @FUNC(i64 %0, i64 10) %3 = call i64 @FUNC(i64 %0, i64 3) %4 = trunc i64 %3 to i32 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* store i32 %4, i32* %6, align 4 %7 = icmp ult i32 %4, 4 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %0, i64 256) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_13 LBL_2: %9 = call i64 @FUNC(i64 %0, i64 16) %10 = load i32, i32* %6, align 4 %11 = icmp ne i32 %10, 1 %12 = icmp eq i32 %10, 2 %13 = icmp eq i1 %12, false %or.cond2 = icmp eq i1 %11, %13 store i32 %10, i32* %.reg2mem br i1 %or.cond2, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %0) %15 = trunc i64 %14 to i16 %16 = urem i16 %15, 256 %17 = add i64 %0, 12 %18 = inttoptr i64 %17 to i16* store i16 %16, i16* %18, align 2 %19 = call i64 @FUNC(i64 %0, i64 3) %20 = trunc i64 %19 to i16 %21 = add i64 %0, 14 %22 = inttoptr i64 %21 to i16* store i16 %20, i16* %22, align 2 %.pre = load i32, i32* %6, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %23 = icmp eq i32 %.reload, 2 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %0) %26 = trunc i64 %25 to i16 %27 = urem i16 %26, 256 %28 = add i64 %0, 16 %29 = inttoptr i64 %28 to i16* store i16 %27, i16* %29, align 2 %30 = call i64 @FUNC(i64 %0, i64 3) %31 = trunc i64 %30 to i16 %32 = add i64 %0, 18 %33 = inttoptr i64 %32 to i16* store i16 %31, i16* %33, align 2 br label LBL_6 LBL_6: %34 = add i64 %0, 28 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = icmp eq i8 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_8, label LBL_7 LBL_7: %39 = add i64 %0, 14 %40 = inttoptr i64 %39 to i16* %41 = load i16, i16* %40, align 2 %42 = add i64 %0, 22 %43 = inttoptr i64 %42 to i16* store i16 %41, i16* %43, align 2 %44 = add i64 %0, 20 %45 = inttoptr i64 %44 to i16* store i16 %41, i16* %45, align 2 %46 = add i64 %0, 18 %47 = inttoptr i64 %46 to i16* %48 = load i16, i16* %47, align 2 %49 = add i64 %0, 26 %50 = inttoptr i64 %49 to i16* store i16 %48, i16* %50, align 2 %51 = add i64 %0, 24 %52 = inttoptr i64 %51 to i16* store i16 %48, i16* %52, align 2 br label LBL_8 LBL_8: %53 = call i64 @FUNC(i64 %0, i64 1) %54 = trunc i64 %53 to i32 %55 = icmp eq i32 %54, 1 %56 = icmp eq i1 %55, false br i1 %56, label LBL_12, label LBL_9 LBL_9: %57 = bitcast i64* %rdi to i32* %58 = add i64 %0, 4 %59 = inttoptr i64 %58 to i32* %.pre3 = load i32, i32* %57, align 8 br label LBL_11 LBL_10: %60 = call i64 @FUNC(i64 %0, i64 9) %61 = call i64 @FUNC(i64 %0, i64 1) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 1 %64 = icmp eq i1 %63, false br i1 %64, label LBL_12, label LBL_11 LBL_11: %65 = load i32, i32* %59, align 4 %66 = icmp ult i32 %.pre3, %65 br i1 %66, label LBL_10, label LBL_12 LBL_12: %67 = call i64 @FUNC(i64 %0) %68 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 11, 12, 13, 10, 9, 0, 5, 7, 6, 8, 15, 16, 14, 1, 2, 3, 4, 17, 18, 19, 20, 21, 22, 23, 26, 25, 24 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @impeg2d_bit_stream_get_bit, { 2, 1, 0 } uselistorder i1 false, { 2, 0, 3, 4, 1 } uselistorder i32 2, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 (i64, i64)* @impeg2d_bit_stream_get, { 5, 4, 3, 2, 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_12, { 1, 0, 2 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
bochs_bios_write_18606
bochs_bios_write
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %sext2 = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext2, 32 %2 = icmp eq i32 %0, 35072 br i1 %2, label LBL_9, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = trunc i64 %3 to i32 %5 = icmp ult i32 %4, 35073 br i1 %5, label LBL_2, label LBL_15 LBL_2: %6 = icmp eq i32 %4, 1283 br i1 %6, label LBL_14, label LBL_3 LBL_3: %7 = icmp ugt i32 %4, 1283 br i1 %7, label LBL_15, label LBL_4 LBL_4: %8 = icmp ult i32 %4, 1281 %9 = icmp eq i1 %8, false br i1 %9, label LBL_13, label LBL_5 LBL_5: %10 = icmp eq i32 %4, 1280 br i1 %10, label LBL_14, label LBL_6 LBL_6: %.not = icmp ne i1 %8, true %11 = icmp ult i32 %4, 1026 %or.cond3 = or i1 %11, %.not br i1 %or.cond3, label LBL_15, label LBL_7 LBL_7: %12 = add nsw i64 %3, 4294966270 %13 = and i64 %12, 4294967295 %14 = trunc i64 %12 to i32 %15 = icmp ult i32 %14, 2 store i64 %13, i64* %rax.0.reg2mem br i1 %15, label LBL_8, label LBL_15 LBL_8: %16 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %17 = trunc i64 %1 to i8 %18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %16, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8 %17) %19 = sext i32 %18 to i64 store i64 %19, i64* %rax.0.reg2mem br label LBL_15 LBL_9: %20 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4 %21 = sext i32 %20 to i64 %22 = add i64 %21, ptrtoint (i8** @gv_2 to i64) %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = trunc i64 %1 to i32 %26 = sext i8 %24 to i32 %27 = icmp eq i32 %25, %26 %28 = icmp eq i1 %27, false br i1 %28, label LBL_12, label LBL_10 LBL_10: store i32 ptrtoint (i32* @gv_3 to i32), i32* @gv_4, align 4 store i64 zext (i32 ptrtoint (i32* @gv_3 to i32) to i64), i64* %rax.0.reg2mem br i1 icmp ne (i32 sub (i32 ptrtoint (i32* @gv_3 to i32), i32 8), i32 0), label LBL_15, label LBL_11 LBL_11: store i32 0, i32* @gv_4, align 4 %29 = call i64 @FUNC() unreachable LBL_12: %30 = sext i8 %24 to i64 store i32 0, i32* @gv_4, align 4 store i64 %30, i64* %rax.0.reg2mem br label LBL_15 LBL_13: %31 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %32 = and i64 %1, 4294967295 %33 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %31, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_5, i64 0, i64 0), i64 %32) call void @exit(i32 1) unreachable LBL_14: %34 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %35 = trunc i64 %1 to i8 %36 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %34, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8 %35) %37 = sext i32 %36 to i64 store i64 %37, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %24, { 1, 0 } uselistorder i32 %4, { 1, 2, 3, 0, 4, 5 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %1, { 1, 3, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 4, 2, 1 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i32 0, { 3, 4, 0, 1, 2 } uselistorder i32* @gv_4, { 2, 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 3, 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i32 1, { 1, 0, 2 } uselistorder label LBL_15, { 6, 3, 2, 7, 4, 0, 1, 5 } }
1
BinRealVul
bdrv_qed_invalidate_cache_1651
bdrv_qed_invalidate_cache
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = call i64 @FUNC(i64 %0, i64 0, i32 %5, i64 0) ret i64 %6 uselistorder i64 %0, { 0, 1, 3, 2 } }
0
BinRealVul
io_uring_files_cancel_12470
io_uring_files_cancel
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = ptrtoint i64* %arg1 to i64 %9 = call i64 @FUNC(i64 %8) store i64 %9, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
jas_stream_initbuf_13623
jas_stream_initbuf
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rdi.3.reg2mem = alloca i64 %rdi.2.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rdi.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 30, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([18 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %2 = trunc i64 %arg2 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i64 %arg3, 0 br i1 %3, label LBL_8, label LBL_3 LBL_3: %5 = icmp eq i1 %4, false br i1 %5, label LBL_5, label LBL_4 LBL_4: %6 = call i64 @FUNC(i64 1040) store i64 %6, i64* %arg1, align 8 %7 = add i64 %0, 1056 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = or i32 %9, 1 store i32 %10, i32* %8, align 4 %11 = add i64 %0, 1052 %12 = inttoptr i64 %11 to i32* store i32 1024, i32* %12, align 4 store i64 1040, i64* %rdi.3.reg2mem br label LBL_11 LBL_5: %13 = trunc i64 %arg4 to i32 %14 = icmp sgt i32 %13, 16 store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %14, label LBL_7, label LBL_6 LBL_6: call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([32 x i8]* @gv_3 to i64), i64* %rdi.1.reg2mem br label LBL_7 LBL_7: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem store i64 %arg3, i64* %arg1, align 8 %15 = add i32 %13, -16 %16 = add i64 %0, 1052 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 store i64 %rdi.1.reload, i64* %rdi.3.reg2mem br label LBL_11 LBL_8: store i64 %rdi.0.reload, i64* %rdi.2.reg2mem br i1 %4, label LBL_10, label LBL_9 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64* %rdi.2.reg2mem br label LBL_10 LBL_10: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %18 = add i64 %0, 8 store i64 %18, i64* %arg1, align 8 %19 = add i64 %0, 1052 %20 = inttoptr i64 %19 to i32* store i32 1, i32* %20, align 4 store i64 %rdi.2.reload, i64* %rdi.3.reg2mem br label LBL_11 LBL_11: %rdi.3.reload = load i64, i64* %rdi.3.reg2mem %21 = add i64 %rdi.3.reload, 16 %22 = add i64 %0, 1032 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 %24 = add i64 %0, 1040 %25 = inttoptr i64 %24 to i64* store i64 %21, i64* %25, align 8 %26 = add i64 %0, 1048 %27 = inttoptr i64 %26 to i32* store i32 0, i32* %27, align 4 %28 = add i64 %0, 1056 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = urem i32 %2, 16 %32 = or i32 %30, %31 store i32 %32, i32* %29, align 4 ret i64 %0 uselistorder i1 %4, { 1, 0 } uselistorder i64 %0, { 5, 4, 6, 7, 8, 9, 10, 3, 1, 2, 0 } uselistorder i64* %rdi.3.reg2mem, { 0, 3, 2, 1 } uselistorder [5 x i8]* @gv_4, { 1, 0 } uselistorder [32 x i8]* @gv_3, { 1, 0 } uselistorder i64 1040, { 2, 0, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 } uselistorder [18 x i8]* @gv_0, { 1, 0 } }
0
BinRealVul
av_bitstream_filter_close_3469
av_bitstream_filter_close
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = add i64 %arg1, 8 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %arg1, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %arg1) 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 i32 1, { 1, 0 } uselistorder i64 %arg1, { 0, 2, 1, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
sycc422_to_rgb_8765
sycc422_to_rgb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i64 %sv_3.1.reg2mem = alloca i32* %sv_4.1.reg2mem = alloca i32* %sv_5.2.reg2mem = alloca i32* %storemerge7.lcssa.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i64 %sv_2.1.lcssa.reg2mem = alloca i64 %sv_3.0.lcssa.reg2mem = alloca i32* %sv_4.0.lcssa.reg2mem = alloca i32* %sv_5.1.lcssa.reg2mem = alloca i32* %sv_5.112.reg2mem = alloca i32* %sv_4.013.reg2mem = alloca i32* %sv_3.014.reg2mem = alloca i32* %sv_2.115.reg2mem = alloca i64 %sv_1.116.reg2mem = alloca i64 %sv_0.117.reg2mem = alloca i64 %storemerge718.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_5.0.reg2mem = alloca i32* %sv_5.325.reg2mem = alloca i32* %sv_4.226.reg2mem = alloca i32* %sv_3.227.reg2mem = alloca i32* %sv_2.328.reg2mem = alloca i64 %sv_1.329.reg2mem = alloca i64 %sv_0.330.reg2mem = alloca i64 %storemerge631.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_6 = alloca i64, align 8 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %2, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = mul i64 %8, %5 %10 = add i64 %2, 32 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %2, 72 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %2, 112 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %.tr = trunc i64 %9 to i32 %19 = mul i32 %.tr, 4 %20 = call i64* @malloc(i32 %19) %21 = call i64* @malloc(i32 %19) %22 = call i64* @malloc(i32 %19) %23 = icmp eq i64* %20, null %24 = icmp eq i64* %21, null %or.cond = or i1 %23, %24 %25 = icmp eq i64* %22, null %or.cond11 = or i1 %or.cond, %25 br i1 %or.cond11, label LBL_11, label LBL_1 LBL_1: %26 = ptrtoint i64* %20 to i64 %27 = ptrtoint i64* %21 to i64 %28 = ptrtoint i64* %22 to i64 %29 = icmp eq i64 %8, 0 br i1 %29, label LBL_10, label LBL_2 LBL_2: %30 = ptrtoint i64* %sv_6 to i64 %31 = trunc i64 %1 to i32 %32 = add i32 %31, 31 %33 = urem i32 %32, 32 %34 = shl i32 1, %33 %35 = urem i32 %31, 32 %36 = icmp eq i32 %35, 0 %notmask = shl nsw i32 -1, %35 %37 = sub i32 0, %notmask %phitmp = sub i32 %37, 1 %storemerge = select i1 %36, i32 0, i32 %phitmp %38 = add i64 %2, 128 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = urem i64 %40, 2 %42 = sub i64 %5, %41 %43 = inttoptr i64 %12 to i32* %44 = inttoptr i64 %15 to i32* %45 = inttoptr i64 %18 to i32* %46 = icmp eq i64 %41, 0 %47 = add i64 %30, -8 %48 = inttoptr i64 %47 to i64* %49 = add i64 %30, -16 %50 = inttoptr i64 %49 to i64* %51 = zext i32 %34 to i64 %52 = and i64 %42, -2 %53 = icmp eq i64 %52, 0 store i64 0, i64* %storemerge631.reg2mem store i64 %28, i64* %sv_0.330.reg2mem store i64 %27, i64* %sv_1.329.reg2mem store i64 %26, i64* %sv_2.328.reg2mem store i32* %45, i32** %sv_3.227.reg2mem store i32* %44, i32** %sv_4.226.reg2mem store i32* %43, i32** %sv_5.325.reg2mem br label LBL_3 LBL_3: %sv_5.325.reload = load i32*, i32** %sv_5.325.reg2mem %sv_4.226.reload = load i32*, i32** %sv_4.226.reg2mem %sv_3.227.reload = load i32*, i32** %sv_3.227.reg2mem %sv_2.328.reload = load i64, i64* %sv_2.328.reg2mem %sv_1.329.reload = load i64, i64* %sv_1.329.reg2mem %sv_0.330.reload = load i64, i64* %sv_0.330.reg2mem %storemerge631.reload = load i64, i64* %storemerge631.reg2mem store i32* %sv_5.325.reload, i32** %sv_5.0.reg2mem store i64 %sv_2.328.reload, i64* %sv_2.0.reg2mem store i64 %sv_1.329.reload, i64* %sv_1.0.reg2mem store i64 %sv_0.330.reload, i64* %sv_0.0.reg2mem br i1 %46, label LBL_5, label LBL_4 LBL_4: %54 = load i32, i32* %sv_5.325.reload, align 4 store i64 %sv_0.330.reload, i64* %48, align 8 store i64 %sv_1.329.reload, i64* %50, align 8 %55 = call i64 @FUNC(i64 %51, i32 %storemerge, i32 %54, i64 0, i64 0, i64 %sv_2.328.reload, i64 %storemerge631.reload, i64 ptrtoint (i32* @0 to i64)) %56 = ptrtoint i32* %sv_5.325.reload to i64 %57 = add i64 %56, 4 %58 = inttoptr i64 %57 to i32* %59 = add i64 %sv_2.328.reload, 4 %60 = add i64 %sv_1.329.reload, 4 %61 = add i64 %sv_0.330.reload, 4 store i32* %58, i32** %sv_5.0.reg2mem store i64 %59, i64* %sv_2.0.reg2mem store i64 %60, i64* %sv_1.0.reg2mem store i64 %61, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_5.0.reload = load i32*, i32** %sv_5.0.reg2mem store i64 0, i64* %storemerge718.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.117.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.116.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.115.reg2mem store i32* %sv_3.227.reload, i32** %sv_3.014.reg2mem store i32* %sv_4.226.reload, i32** %sv_4.013.reg2mem store i32* %sv_5.0.reload, i32** %sv_5.112.reg2mem store i32* %sv_5.0.reload, i32** %sv_5.1.lcssa.reg2mem store i32* %sv_4.226.reload, i32** %sv_4.0.lcssa.reg2mem store i32* %sv_3.227.reload, i32** %sv_3.0.lcssa.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.lcssa.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.lcssa.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem store i64 0, i64* %storemerge7.lcssa.reg2mem br i1 %53, label LBL_7, label LBL_6 LBL_6: %sv_5.112.reload = load i32*, i32** %sv_5.112.reg2mem %sv_4.013.reload = load i32*, i32** %sv_4.013.reg2mem %sv_3.014.reload = load i32*, i32** %sv_3.014.reg2mem %sv_2.115.reload = load i64, i64* %sv_2.115.reg2mem %sv_1.116.reload = load i64, i64* %sv_1.116.reg2mem %sv_0.117.reload = load i64, i64* %sv_0.117.reg2mem %storemerge718.reload = load i64, i64* %storemerge718.reg2mem %62 = load i32, i32* %sv_3.014.reload, align 4 %63 = load i32, i32* %sv_4.013.reload, align 4 %64 = zext i32 %63 to i64 %65 = load i32, i32* %sv_5.112.reload, align 4 store i64 %sv_0.117.reload, i64* %48, align 8 store i64 %sv_1.116.reload, i64* %50, align 8 %66 = zext i32 %62 to i64 %67 = call i64 @FUNC(i64 %51, i32 %storemerge, i32 %65, i64 %64, i64 %66, i64 %sv_2.115.reload, i64 %storemerge718.reload, i64 ptrtoint (i32* @0 to i64)) %68 = ptrtoint i32* %sv_5.112.reload to i64 %69 = add i64 %68, 4 %70 = add i64 %sv_2.115.reload, 4 %71 = add i64 %sv_1.116.reload, 4 %72 = add i64 %sv_0.117.reload, 4 %73 = load i32, i32* %sv_3.014.reload, align 4 %74 = load i32, i32* %sv_4.013.reload, align 4 %75 = zext i32 %74 to i64 %76 = inttoptr i64 %69 to i32* %77 = load i32, i32* %76, align 4 store i64 %72, i64* %48, align 8 store i64 %71, i64* %50, align 8 %78 = zext i32 %73 to i64 %79 = call i64 @FUNC(i64 %51, i32 %storemerge, i32 %77, i64 %75, i64 %78, i64 %70, i64 ptrtoint (i32* @0 to i64), i64 ptrtoint (i32* @0 to i64)) %80 = add i64 %68, 8 %81 = inttoptr i64 %80 to i32* %82 = add i64 %sv_2.115.reload, 8 %83 = add i64 %sv_1.116.reload, 8 %84 = add i64 %sv_0.117.reload, 8 %85 = ptrtoint i32* %sv_4.013.reload to i64 %86 = add i64 %85, 4 %87 = inttoptr i64 %86 to i32* %88 = ptrtoint i32* %sv_3.014.reload to i64 %89 = add i64 %88, 4 %90 = inttoptr i64 %89 to i32* %91 = add nuw i64 %storemerge718.reload, 2 %92 = icmp ult i64 %91, %52 store i64 %91, i64* %storemerge718.reg2mem store i64 %84, i64* %sv_0.117.reg2mem store i64 %83, i64* %sv_1.116.reg2mem store i64 %82, i64* %sv_2.115.reg2mem store i32* %90, i32** %sv_3.014.reg2mem store i32* %87, i32** %sv_4.013.reg2mem store i32* %81, i32** %sv_5.112.reg2mem store i32* %81, i32** %sv_5.1.lcssa.reg2mem store i32* %87, i32** %sv_4.0.lcssa.reg2mem store i32* %90, i32** %sv_3.0.lcssa.reg2mem store i64 %82, i64* %sv_2.1.lcssa.reg2mem store i64 %83, i64* %sv_1.1.lcssa.reg2mem store i64 %84, i64* %sv_0.1.lcssa.reg2mem store i64 %91, i64* %storemerge7.lcssa.reg2mem br i1 %92, label LBL_6, label LBL_7 LBL_7: %storemerge7.lcssa.reload = load i64, i64* %storemerge7.lcssa.reg2mem %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem %sv_2.1.lcssa.reload = load i64, i64* %sv_2.1.lcssa.reg2mem %sv_3.0.lcssa.reload = load i32*, i32** %sv_3.0.lcssa.reg2mem %sv_4.0.lcssa.reload = load i32*, i32** %sv_4.0.lcssa.reg2mem %sv_5.1.lcssa.reload = load i32*, i32** %sv_5.1.lcssa.reg2mem %93 = icmp ult i64 %storemerge7.lcssa.reload, %42 %94 = icmp eq i1 %93, false store i32* %sv_5.1.lcssa.reload, i32** %sv_5.2.reg2mem store i32* %sv_4.0.lcssa.reload, i32** %sv_4.1.reg2mem store i32* %sv_3.0.lcssa.reload, i32** %sv_3.1.reg2mem store i64 %sv_2.1.lcssa.reload, i64* %sv_2.2.reg2mem store i64 %sv_1.1.lcssa.reload, i64* %sv_1.2.reg2mem store i64 %sv_0.1.lcssa.reload, i64* %sv_0.2.reg2mem br i1 %94, label LBL_9, label LBL_8 LBL_8: %95 = load i32, i32* %sv_3.0.lcssa.reload, align 4 %96 = load i32, i32* %sv_4.0.lcssa.reload, align 4 %97 = zext i32 %96 to i64 %98 = load i32, i32* %sv_5.1.lcssa.reload, align 4 store i64 %sv_0.1.lcssa.reload, i64* %48, align 8 store i64 %sv_1.1.lcssa.reload, i64* %50, align 8 %99 = zext i32 %95 to i64 %100 = call i64 @FUNC(i64 %51, i32 %storemerge, i32 %98, i64 %97, i64 %99, i64 %sv_2.1.lcssa.reload, i64 %storemerge7.lcssa.reload, i64 ptrtoint (i32* @0 to i64)) %101 = ptrtoint i32* %sv_5.1.lcssa.reload to i64 %102 = add i64 %101, 4 %103 = inttoptr i64 %102 to i32* %104 = add i64 %sv_2.1.lcssa.reload, 4 %105 = add i64 %sv_1.1.lcssa.reload, 4 %106 = add i64 %sv_0.1.lcssa.reload, 4 %107 = ptrtoint i32* %sv_4.0.lcssa.reload to i64 %108 = add i64 %107, 4 %109 = inttoptr i64 %108 to i32* %110 = ptrtoint i32* %sv_3.0.lcssa.reload to i64 %111 = add i64 %110, 4 %112 = inttoptr i64 %111 to i32* store i32* %103, i32** %sv_5.2.reg2mem store i32* %109, i32** %sv_4.1.reg2mem store i32* %112, i32** %sv_3.1.reg2mem store i64 %104, i64* %sv_2.2.reg2mem store i64 %105, i64* %sv_1.2.reg2mem store i64 %106, i64* %sv_0.2.reg2mem br label LBL_9 LBL_9: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem %sv_3.1.reload = load i32*, i32** %sv_3.1.reg2mem %sv_4.1.reload = load i32*, i32** %sv_4.1.reg2mem %sv_5.2.reload = load i32*, i32** %sv_5.2.reg2mem %113 = add nuw i64 %storemerge631.reload, 1 %exitcond = icmp eq i64 %113, %8 store i64 %113, i64* %storemerge631.reg2mem store i64 %sv_0.2.reload, i64* %sv_0.330.reg2mem store i64 %sv_1.2.reload, i64* %sv_1.329.reg2mem store i64 %sv_2.2.reload, i64* %sv_2.328.reg2mem store i32* %sv_3.1.reload, i32** %sv_3.227.reg2mem store i32* %sv_4.1.reload, i32** %sv_4.226.reg2mem store i32* %sv_5.2.reload, i32** %sv_5.325.reg2mem br i1 %exitcond, label LBL_10, label LBL_3 LBL_10: %114 = load i64, i64* %11, align 8 %115 = inttoptr i64 %114 to i64* call void @free(i64* %115) store i64 %26, i64* %11, align 8 %116 = load i64, i64* %14, align 8 %117 = inttoptr i64 %116 to i64* call void @free(i64* %117) store i64 %27, i64* %14, align 8 %118 = load i64, i64* %17, align 8 %119 = inttoptr i64 %118 to i64* call void @free(i64* %119) store i64 %28, i64* %17, align 8 %120 = load i64, i64* %4, align 8 %121 = add i64 %2, 88 %122 = inttoptr i64 %121 to i64* store i64 %120, i64* %122, align 8 %123 = add i64 %2, 48 %124 = inttoptr i64 %123 to i64* store i64 %120, i64* %124, align 8 %125 = load i64, i64* %7, align 8 %126 = add i64 %2, 96 %127 = inttoptr i64 %126 to i64* store i64 %125, i64* %127, align 8 %128 = add i64 %2, 56 %129 = inttoptr i64 %128 to i64* store i64 %125, i64* %129, align 8 %130 = add i64 %2, 24 %131 = inttoptr i64 %130 to i32* %132 = load i32, i32* %131, align 4 %133 = add i64 %2, 104 %134 = inttoptr i64 %133 to i32* store i32 %132, i32* %134, align 4 %135 = add i64 %2, 64 %136 = inttoptr i64 %135 to i32* store i32 %132, i32* %136, align 4 %137 = add i64 %2, 28 %138 = inttoptr i64 %137 to i32* %139 = load i32, i32* %138, align 4 %140 = add i64 %2, 108 %141 = inttoptr i64 %140 to i32* store i32 %139, i32* %141, align 4 %142 = add i64 %2, 68 %143 = inttoptr i64 %142 to i32* store i32 %139, i32* %143, align 4 %144 = add i64 %2, 120 %145 = inttoptr i64 %144 to i32* store i32 0, i32* %145, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_12 LBL_11: call void @free(i64* %20) call void @free(i64* %21) call void @free(i64* %22) store i64 ptrtoint (i32* @0 to i64), 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* %sv_5.1.lcssa.reload, { 1, 2, 0 } uselistorder i32* %sv_4.0.lcssa.reload, { 1, 2, 0 } uselistorder i32* %sv_3.0.lcssa.reload, { 1, 2, 0 } uselistorder i64 %sv_2.1.lcssa.reload, { 1, 2, 0 } uselistorder i64 %sv_1.1.lcssa.reload, { 1, 2, 0 } uselistorder i64 %sv_0.1.lcssa.reload, { 1, 2, 0 } uselistorder i64 %68, { 1, 0 } uselistorder i64 %sv_0.117.reload, { 1, 0, 2 } uselistorder i64 %sv_1.116.reload, { 1, 0, 2 } uselistorder i64 %sv_2.115.reload, { 1, 0, 2 } uselistorder i64 %storemerge631.reload, { 1, 0 } uselistorder i64 %sv_0.330.reload, { 1, 2, 0 } uselistorder i64 %sv_1.329.reload, { 1, 2, 0 } uselistorder i64 %sv_2.328.reload, { 1, 2, 0 } uselistorder i32* %sv_5.325.reload, { 1, 2, 0 } uselistorder i64 %52, { 1, 0 } uselistorder i64 %51, { 0, 2, 1, 3 } uselistorder i64* %50, { 0, 2, 1, 3 } uselistorder i64* %48, { 0, 2, 1, 3 } uselistorder i64 %42, { 1, 0 } uselistorder i64 %41, { 1, 0 } uselistorder i32 %storemerge, { 1, 2, 3, 0 } uselistorder i64 %28, { 1, 0 } uselistorder i64 %27, { 1, 0 } uselistorder i64 %26, { 1, 0 } uselistorder i64* %22, { 0, 2, 1 } uselistorder i64* %21, { 0, 2, 1 } uselistorder i64* %20, { 0, 2, 1 } uselistorder i32 %19, { 2, 1, 0 } uselistorder i64 %8, { 1, 2, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %2, { 0, 1, 2, 4, 3, 5, 7, 6, 8, 9, 10, 11, 12, 13, 15, 14, 17, 16 } uselistorder i64* %storemerge631.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.330.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.329.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.328.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_3.227.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_4.226.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_5.325.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge718.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.117.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.116.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.115.reg2mem, { 2, 0, 1 } uselistorder i32** %sv_3.014.reg2mem, { 2, 0, 1 } uselistorder i32** %sv_4.013.reg2mem, { 2, 0, 1 } uselistorder i32** %sv_5.112.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 4, { 6, 7, 8, 9, 10, 11, 0, 1, 2, 3, 4, 5, 12, 13, 14, 15 } uselistorder i64 (i64, i32, i32, i64, i64, i64, i64, i64)* @sycc_to_rgb, { 1, 3, 2, 0 } uselistorder i64 ptrtoint (i32* @0 to i64), { 0, 4, 1, 2, 3, 5 } uselistorder i64 2, { 1, 0 } uselistorder i32 0, { 2, 1, 0, 3 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
_libssh2_check_length_5878
_libssh2_check_length
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 = load i64, i64* %2, align 8 %4 = add i64 %3, 16 %5 = icmp uge i64 %4, %arg2 %6 = icmp ugt i64 %3, -17 %not.or.cond = icmp eq i1 %6, %5 %storemerge = zext i1 %not.or.cond to i64 ret i64 %storemerge }
0
BinRealVul
secure_decrypt_12197
secure_decrypt
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = bitcast i32* %sv_2 to i64* %3 = call i64 @FUNC(i64* nonnull %2, i64* nonnull %sv_3, i64* nonnull %sv_4, i64* nonnull %sv_5) %4 = call i64 @FUNC() %5 = icmp eq i32 %arg3, 0 br i1 %5, label LBL_0.LBL_4_crit_edge, label LBL_2 LBL_1: %.pre = and i64 %1, 4294967295 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_4 LBL_2: %6 = load i32, i32* %sv_2, align 4 %7 = zext i32 %6 to i64 %8 = and i64 %1, 4294967295 %9 = call i64 @FUNC(i64 %8, i64 %0, i64* nonnull %sv_1, i64 %7, i64* nonnull %sv_4) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %8) %14 = and i64 %13, 4294967295 %15 = add i64 %14, %0 %16 = inttoptr i64 %15 to i64* %17 = call i32 @memcmp(i64* %16, i64* nonnull %sv_1, i32 16) %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 %8, i64* %.pre-phi.reg2mem store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %19, label LBL_5, label LBL_4 LBL_4: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %20 = load i32, i32* %sv_2, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %0, i64 %0, i64 0, i64 %21, i64* nonnull %sv_3) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false %spec.select = select i1 %25, i64 4294967295, i64 0 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = call i64 @FUNC() %27 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 32) %28 = call i64* @memset(i64* nonnull %sv_3, i32 0, i32 32) %29 = call i64* @memset(i64* nonnull %sv_5, i32 0, i32 16) ret i64 %sv_0.0.reload uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i64 %0, { 2, 3, 0, 1 } uselistorder i64* (i64*, i32, i32)* @memset, { 0, 5, 1, 4, 3, 2 } uselistorder i32 0, { 0, 1, 2, 6, 7, 8, 9, 3, 4, 5, 10 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
fecr_dump_10515
fecr_dump
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.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 %. = select i1 %4, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0) %5 = ptrtoint i8* %. to i64 %6 = ptrtoint i32* %arg1 to i64 %7 = call i64 @FUNC(i64 %6, i64 %5, i64 %arg2) %8 = inttoptr i64 %arg2 to %_IO_FILE* %9 = call i32 @fwrite(i64* bitcast ([3 x i8]* @gv_2 to i64*), i32 1, i32 2, %_IO_FILE* %8) %10 = add i64 %6, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_3, label LBL_1 LBL_1: %14 = add i64 %6, 16 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %16 = load i64, i64* %15, align 8 %17 = mul i64 %indvars.iv.reload, 8 %18 = add i64 %16, %17 %19 = add i64 %18, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = inttoptr i64 %18 to i32* %23 = load i32, i32* %22, align 4 %24 = zext i32 %23 to i64 %25 = zext i32 %21 to i64 %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %8, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i8* %., i64 %24, i64 %25) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %27 = load i32, i32* %11, align 4 %28 = zext i32 %27 to i64 %29 = icmp ult i64 %indvars.iv.next, %28 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %29, label LBL_2, label LBL_3 LBL_3: %30 = add i64 %6, 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 br i1 %34, label LBL_5, label LBL_4 LBL_4: %35 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %8, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_4, i64 0, i64 0), i8* %.) br label LBL_5 LBL_5: %36 = call i64 @FUNC(i64 %5, i64 %6, i64 %arg2) ret i64 0 uselistorder i32* %11, { 1, 0 } uselistorder i64 %6, { 0, 2, 3, 1, 4 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 0, 3, 1 } uselistorder i64 8, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 %arg2, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
h261_decode_picture_header_1629
h261_decode_picture_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.pre-phi6.reg2mem = alloca i32* %.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.03.reg2mem = alloca i32 %storemerge14.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 36 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %3, 40 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %3, 44 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i32 %11, 4 %13 = zext i32 %12 to i64 %14 = urem i32 %12, 32 %15 = shl i32 %8, %14 %16 = call i64 @FUNC(i64 %4, i64 %13) %17 = trunc i64 %16 to i32 %18 = or i32 %15, %17 %19 = inttoptr i64 %4 to i32* %20 = load i32, i32* %19, align 4 %21 = call i64 @FUNC(i64 %4) %22 = trunc i64 %21 to i32 %23 = sub i32 %20, %22 %24 = icmp sgt i32 %23, 24 store i32 %23, i32* %storemerge14.reg2mem store i32 %18, i32* %sv_0.03.reg2mem store i32 %18, i32* %sv_0.0.lcssa.reg2mem br i1 %24, label LBL_1, label LBL_3 LBL_1: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %25 = mul i32 %sv_0.03.reload, 2 %26 = call i64 @FUNC(i64 %4, i64 1) %27 = trunc i64 %26 to i32 %28 = or i32 %25, %27 %29 = urem i32 %28, 1048576 %30 = icmp eq i32 %29, 16 br i1 %30, label LBL_5, label LBL_2 LBL_2: %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %31 = add nsw i32 %storemerge14.reload, -1 %32 = icmp sgt i32 %31, 24 store i32 %31, i32* %storemerge14.reg2mem store i32 %29, i32* %sv_0.03.reg2mem store i32 %29, i32* %sv_0.0.lcssa.reg2mem br i1 %32, label LBL_1, label LBL_3 LBL_3: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %33 = icmp eq i32 %sv_0.0.lcssa.reload, 16 br i1 %33, label LBL_5, label LBL_4 LBL_4: %34 = add i64 %3, 24 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = call i64 @FUNC(i64 %36, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_11 LBL_5: %38 = call i64 @FUNC(i64 %4, i64 5) %39 = trunc i64 %38 to i32 %40 = add i64 %3, 32 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = call i64 @FUNC(i64 %4) %43 = call i64 @FUNC(i64 %4) %44 = call i64 @FUNC(i64 %4) %45 = call i64 @FUNC(i64 %4) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false %49 = bitcast i64* %arg1 to i32* br i1 %48, label LBL_7, label LBL_6 LBL_6: store i32 176, i32* %49, align 4 %50 = add i64 %3, 4 %51 = inttoptr i64 %50 to i32* store i32 144, i32* %51, align 4 %52 = add i64 %3, 8 %53 = inttoptr i64 %52 to i32* store i32 11, i32* %53, align 4 %54 = add i64 %3, 12 %55 = inttoptr i64 %54 to i32* store i32 9, i32* %55, align 4 store i32 9, i32* %.reg2mem store i32* %53, i32** %.pre-phi6.reg2mem br label LBL_8 LBL_7: store i32 352, i32* %49, align 4 %56 = add i64 %3, 4 %57 = inttoptr i64 %56 to i32* store i32 288, i32* %57, align 4 %58 = add i64 %3, 8 %59 = inttoptr i64 %58 to i32* store i32 22, i32* %59, align 4 %60 = add i64 %3, 12 %61 = inttoptr i64 %60 to i32* store i32 18, i32* %61, align 4 store i32 18, i32* %.reg2mem store i32* %59, i32** %.pre-phi6.reg2mem br label LBL_8 LBL_8: %.pre-phi6.reload = load i32*, i32** %.pre-phi6.reg2mem %.reload = load i32, i32* %.reg2mem %62 = load i32, i32* %.pre-phi6.reload, align 4 %63 = mul i32 %.reload, %62 %64 = add i64 %3, 16 %65 = inttoptr i64 %64 to i32* store i32 %63, i32* %65, align 4 %66 = call i64 @FUNC(i64 %4) %67 = call i64 @FUNC(i64 %4) %68 = call i64 @FUNC(i64 %4) %69 = trunc i64 %68 to i32 %70 = icmp eq i32 %69, 0 %71 = icmp eq i1 %70, false br i1 %71, label LBL_9, label LBL_10 LBL_9: %72 = call i64 @FUNC(i64 %4, i64 8) %73 = call i64 @FUNC(i64 %4) %74 = trunc i64 %73 to i32 %75 = icmp eq i32 %74, 0 %76 = icmp eq i1 %75, false br i1 %76, label LBL_9, label LBL_10 LBL_10: %77 = add i64 %3, 20 %78 = inttoptr i64 %77 to i32* store i32 0, i32* %78, align 4 %79 = add i64 %3, 48 %80 = inttoptr i64 %79 to i32* store i32 0, i32* %80, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %13, { 1, 0 } uselistorder i64 %4, { 2, 1, 0, 3, 4, 5, 6, 7, 8, 9, 10, 12, 11, 13, 14 } uselistorder i64 %3, { 3, 4, 5, 6, 7, 8, 0, 1, 2, 9, 10, 11, 12, 13 } uselistorder i32* %storemerge14.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi6.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 3, 0, 4 } uselistorder i64 (i64)* @get_bits1, { 2, 0, 1 } uselistorder i64 (i64)* @skip_bits1, { 4, 3, 2, 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i32 24, { 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
reposvul_c_test
arcmsr_hbaD_doorbell_isr_226
arcmsr_hbaD_doorbell_isr
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3) store i64 %4, i64* %sv_0.0.in.reg2mem br label LBL_1 LBL_1: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %5 = and i64 %sv_0.0.in.reload, 4294967295 %6 = call i64 @FUNC(i64 %5, i64 %3) %7 = urem i32 %sv_0.0, 2 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %2) br label LBL_3 LBL_3: %10 = and i32 %sv_0.0, 2 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = call i64 @FUNC(i64 %2) br label LBL_5 LBL_5: %13 = and i32 %sv_0.0, 4 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_7, label LBL_6 LBL_6: %15 = call i64 @FUNC(i64 %2) br label LBL_7 LBL_7: %16 = call i64 @FUNC(i64 %3) %17 = urem i64 %16, 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 %16, i64* %sv_0.0.in.reg2mem br i1 %19, label LBL_1, label LBL_8 LBL_8: ret i64 %17 uselistorder i64 %17, { 1, 0 } uselistorder i32 %sv_0.0, { 2, 1, 0 } uselistorder i64 %sv_0.0.in.reload, { 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64* %sv_0.0.in.reg2mem, { 1, 0, 2 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i64)* @readl, { 1, 0 } uselistorder i64 4294967295, { 2, 0, 1 } }
0
BinRealVul
tvb_raw_text_add_12284
tvb_raw_text_add
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %2, i64 %3, i64 0, i64 4294967295, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64 %1) %6 = bitcast i32* %sv_1 to i64* %sext = mul i64 %4, 4294967296 %7 = ashr exact i64 %sext, 32 store i32 0, i32* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %8 = call i64 @FUNC(i64 %3, i32 %sv_0.0.reload, i64 4294967295, i64* nonnull %6, i64 0) %9 = trunc i64 %8 to i32 %10 = zext i32 %sv_0.0.reload to i64 %11 = call i64 @FUNC(i64 %3, i64 %10, i32 %9) %12 = and i64 %8, 4294967295 %13 = call i64 @FUNC(i64 %2, i64 %3, i64 %10, i64 %12, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 %11) %14 = load i32, i32* %sv_1, align 4 %15 = zext i32 %14 to i64 %16 = icmp sgt i64 %7, %15 store i32 %14, i32* %sv_0.0.reg2mem br i1 %16, label LBL_1, label LBL_2 LBL_2: ret i64 %15 uselistorder i64 %3, { 0, 2, 1, 3, 4 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64, i64, i64, i8*, i64)* @proto_tree_add_text, { 1, 0 } uselistorder i64 4294967295, { 2, 3, 4, 0, 1 } }
1
BinRealVul
soap_xmlParseMemory_19106
soap_xmlParseMemory
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1, i64 %arg2) %1 = icmp eq i64 %0, 0 store i64 0, i64* %sv_0.1.reg2mem br i1 %1, label LBL_7, label LBL_1 LBL_1: %2 = inttoptr i64 %0 to i32* %3 = add i64 %0, 24 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* store i64 4198946, i64* %6, align 8 %7 = load i64, i64* %4, align 8 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* store i64 4198960, i64* %9, align 8 %10 = load i64, i64* %4, align 8 %11 = add i64 %10, 16 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %12, align 8 %13 = load i64, i64* %4, align 8 %14 = add i64 %13, 24 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %15, align 8 %16 = call i64 @FUNC(i64 1) %17 = call i64 @FUNC(i64 %0) %18 = and i64 %16, 4294967295 %19 = call i64 @FUNC(i64 %18) %20 = load i32, i32* %2, align 4 %21 = icmp eq i32 %20, 0 %22 = add i64 %0, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 br i1 %21, label LBL_5, label LBL_2 LBL_2: %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64 %24, i64* %sv_0.0.reg2mem br i1 %28, label LBL_6, label LBL_3 LBL_3: %29 = add i64 %0, 16 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 store i64 %24, i64* %sv_0.0.reg2mem br i1 %32, label LBL_6, label LBL_4 LBL_4: %33 = call i64 @FUNC(i64 %31) store i64 %33, i64* %25, align 8 store i64 %24, i64* %sv_0.0.reg2mem br label LBL_6 LBL_5: %34 = call i64 @FUNC(i64 %24) store i64 0, i64* %23, align 8 store i64 0, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %35 = call i64 @FUNC(i64 %0) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem ret i64 %sv_0.1.reload uselistorder i64 %24, { 4, 0, 1, 2, 3 } uselistorder i64 %0, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @php_libxml_disable_entity_loader, { 1, 0 } uselistorder i32 1, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
gru_check_context_placement_12910
gru_check_context_placement
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_6, label LBL_1 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = load i64, i64* @gv_0, align 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = icmp eq i32 %4, %7 %10 = icmp eq i1 %9, false store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_6, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %0, i64 %0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 0) %16 = call i64 @FUNC(i64 %0, i64 1) store i64 %16, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %17 = call i64 @FUNC(i64 %0) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 store i64 %17, i64* %rax.0.reg2mem br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 1) store i64 %20, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 2, 1, 4, 3, 5, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 (i64)* @STAT, { 1, 0 } uselistorder label LBL_6, { 2, 3, 4, 1, 0 } }
1
BinRealVul
generate_joint_tables_38
generate_joint_tables
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %sv_0.4.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.17.reg2mem = alloca i32 %storemerge58.reg2mem = alloca i32 %sv_0.311.reg2mem = alloca i32 %storemerge312.reg2mem = alloca i32 %sv_0.514.reg2mem = alloca i32 %storemerge215.reg2mem = alloca i32 %indvars.iv30.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.117.reg2mem = alloca i32 %storemerge118.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_1.322.reg2mem = alloca i32 %indvars.iv27.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %3 = ptrtoint i64* %sv_6 to i64 %4 = trunc i64 %1 to i32 %5 = icmp sgt i32 %4, 23 br i1 %5, label LBL_10, label LBL_1 LBL_1: %6 = ptrtoint i64* %sv_5 to i64 %7 = add i64 %2, 8 %8 = add i64 %3, -20576 %9 = add i64 %2, 1544 %10 = add i64 %3, -16480 %11 = add i64 %6, -8 %12 = inttoptr i64 %11 to i64* %13 = add i64 %6, -16 %14 = inttoptr i64 %13 to i64* %15 = add i64 %6, -24 %16 = inttoptr i64 %15 to i64* %17 = add i64 %6, -32 %18 = inttoptr i64 %17 to i64* %19 = ptrtoint i64* %sv_3 to i64 %20 = add i64 %6, -40 %21 = inttoptr i64 %20 to i64* %22 = add i64 %6, -48 %23 = inttoptr i64 %22 to i64* %24 = add i64 %6, -56 %25 = inttoptr i64 %24 to i64* %26 = ptrtoint i64* %sv_2 to i64 %27 = add i64 %2, 4128 store i64 0, i64* %indvars.iv30.reg2mem br label LBL_9 LBL_2: %sv_1.322.reload = load i32, i32* %sv_1.322.reg2mem %indvars.iv27.reload = load i64, i64* %indvars.iv27.reg2mem %28 = mul i64 %indvars.iv27.reload, 2 %29 = add i64 %28, %7 %30 = inttoptr i64 %29 to i16* %31 = load i16, i16* %30, align 2 %32 = zext i16 %31 to i32 %33 = sub nsw i32 12, %32 %34 = icmp slt i32 %33, 1 store i32 %sv_1.322.reload, i32* %sv_1.2.reg2mem br i1 %34, label LBL_7, label LBL_3 LBL_3: %35 = add i64 %28, %9 %36 = inttoptr i64 %35 to i16* %indvars.iv27.tr = trunc i64 %indvars.iv27.reload to i32 %37 = mul i32 %indvars.iv27.tr, 256 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %storemerge118.reg2mem store i32 %sv_1.322.reload, i32* %sv_1.117.reg2mem br label LBL_4 LBL_4: %sv_1.117.reload = load i32, i32* %sv_1.117.reg2mem %storemerge118.reload = load i32, i32* %storemerge118.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %38 = add nuw nsw i64 %indvars.iv.reload, %76 %39 = mul i64 %38, 2 %40 = add i64 %39, %7 %41 = inttoptr i64 %40 to i16* %42 = load i16, i16* %41, align 2 %43 = zext i16 %42 to i32 %44 = icmp slt i32 %33, %43 store i32 %sv_1.117.reload, i32* %sv_1.0.reg2mem br i1 %44, label LBL_6, label LBL_5 LBL_5: %45 = add nuw nsw i32 %43, %32 %46 = sext i32 %sv_1.117.reload to i64 %47 = trunc i32 %45 to i8 %48 = add i64 %8, %46 %49 = inttoptr i64 %48 to i8* store i8 %47, i8* %49, align 1 %50 = load i16, i16* %36, align 2 %51 = urem i32 %43, 32 %52 = icmp eq i32 %51, 0 %53 = zext i16 %50 to i32 %54 = shl i32 %53, %51 %55 = trunc i32 %54 to i16 %rdx.0 = select i1 %52, i16 %50, i16 %55 %56 = add i64 %39, %9 %57 = inttoptr i64 %56 to i16* %58 = load i16, i16* %57, align 2 %59 = add i16 %rdx.0, %58 %60 = mul i64 %46, 2 %61 = add i64 %10, %60 %62 = inttoptr i64 %61 to i16* store i16 %59, i16* %62, align 2 %63 = add nuw nsw i32 %storemerge118.reload, %37 %64 = trunc i32 %63 to i16 %65 = add i64 %60, %3 %66 = add i64 %65, -8288 %67 = inttoptr i64 %66 to i16* store i16 %64, i16* %67, align 2 %68 = icmp ne i16 %64, -1 %69 = zext i1 %68 to i32 %spec.select = add i32 %sv_1.117.reload, %69 store i32 %spec.select, i32* %sv_1.0.reg2mem br label LBL_6 LBL_6: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %70 = add nuw nsw i32 %storemerge118.reload, 1 %exitcond26 = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %70, i32* %storemerge118.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.117.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.2.reg2mem br i1 %exitcond26, label LBL_7, label LBL_4 LBL_7: %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %indvars.iv.next28 = add nuw nsw i64 %indvars.iv27.reload, 1 %exitcond29 = icmp eq i64 %indvars.iv.next28, 256 store i64 %indvars.iv.next28, i64* %indvars.iv27.reg2mem store i32 %sv_1.2.reload, i32* %sv_1.322.reg2mem br i1 %exitcond29, label LBL_8, label LBL_2 LBL_8: %71 = mul i64 %indvars.iv30.reload, 8 %72 = add i64 %27, %71 %73 = call i64 @FUNC(i64 %72) store i64 0, i64* %12, align 8 store i64 2, i64* %14, align 8 store i64 2, i64* %16, align 8 store i64 %19, i64* %18, align 8 store i64 2, i64* %21, align 8 store i64 2, i64* %23, align 8 store i64 %26, i64* %25, align 8 %74 = zext i32 %sv_1.2.reload to i64 %75 = call i64 @FUNC(i64 %72, i64 12, i64 %74, i64* nonnull %sv_4, i64 1, i64 1) %indvars.iv.next31 = add nuw nsw i64 %indvars.iv30.reload, 1 %exitcond32 = icmp eq i64 %indvars.iv.next31, 3 store i64 %indvars.iv.next31, i64* %indvars.iv30.reg2mem store i64 %75, i64* %rax.1.reg2mem br i1 %exitcond32, label LBL_24, label LBL_9 LBL_9: %indvars.iv30.reload = load i64, i64* %indvars.iv30.reg2mem %76 = mul i64 %indvars.iv30.reload, 256 store i64 0, i64* %indvars.iv27.reg2mem store i32 0, i32* %sv_1.322.reg2mem br label LBL_2 LBL_10: %77 = add i64 %2, 3080 %78 = add i64 %2, 4 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = icmp eq i32 %80, 0 %82 = sext i32 %80 to i64 %83 = mul i64 %82, 256 %84 = add i64 %2, 8 %85 = zext i1 %81 to i64 %86 = mul i64 %85, 256 %87 = add i64 %2, 1544 %88 = add i64 %3, -20576 %89 = add i64 %3, -16480 store i32 -16, i32* %storemerge215.reg2mem store i32 0, i32* %sv_0.514.reg2mem br label LBL_11 LBL_11: %sv_0.514.reload = load i32, i32* %sv_0.514.reg2mem %storemerge215.reload = load i32, i32* %storemerge215.reg2mem %90 = urem i32 %storemerge215.reload, 256 %91 = zext i32 %90 to i64 %92 = or i64 %83, %91 %93 = mul i64 %92, 2 %94 = add i64 %93, %84 %95 = inttoptr i64 %94 to i16* %96 = load i16, i16* %95, align 2 %97 = zext i16 %96 to i32 %98 = sub nsw i32 12, %97 %99 = icmp slt i32 %98, 2 store i32 %sv_0.514.reload, i32* %sv_0.4.reg2mem br i1 %99, label LBL_22, label LBL_12 LBL_12: %100 = add i64 %93, %87 %101 = inttoptr i64 %100 to i16* %102 = trunc i32 %storemerge215.reload to i8 store i32 -16, i32* %storemerge312.reg2mem store i32 %sv_0.514.reload, i32* %sv_0.311.reg2mem br label LBL_13 LBL_13: %sv_0.311.reload = load i32, i32* %sv_0.311.reg2mem %storemerge312.reload = load i32, i32* %storemerge312.reg2mem %103 = urem i32 %storemerge312.reload, 256 %104 = zext i32 %103 to i64 %105 = or i64 %86, %104 %106 = mul i64 %105, 2 %107 = add i64 %106, %84 %108 = inttoptr i64 %107 to i16* %109 = load i16, i16* %108, align 2 %110 = zext i16 %109 to i32 %111 = sub nsw i32 %98, %110 %112 = icmp slt i32 %111, 1 store i32 %sv_0.311.reload, i32* %sv_0.2.reg2mem br i1 %112, label LBL_21, label LBL_14 LBL_14: %113 = load i16, i16* %101, align 2 %114 = zext i16 %113 to i32 %115 = urem i32 %110, 32 %116 = shl i32 %114, %115 %117 = add i64 %106, %87 %118 = inttoptr i64 %117 to i16* %119 = load i16, i16* %118, align 2 %120 = zext i16 %119 to i32 %121 = add i32 %116, %120 %122 = add nuw nsw i32 %110, %97 %123 = add nsw i32 %storemerge312.reload, %storemerge215.reload %124 = trunc i32 %123 to i8 %125 = trunc i32 %storemerge312.reload to i8 store i32 -16, i32* %storemerge58.reg2mem store i32 %sv_0.311.reload, i32* %sv_0.17.reg2mem br label LBL_15 LBL_15: %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem %storemerge58.reload = load i32, i32* %storemerge58.reg2mem %126 = mul i32 %storemerge58.reload, 2 %127 = and i32 %126, 510 %128 = or i32 %127, 1024 %129 = zext i32 %128 to i64 %130 = add i64 %84, %129 %131 = inttoptr i64 %130 to i16* %132 = load i16, i16* %131, align 2 %133 = zext i16 %132 to i32 %134 = icmp slt i32 %111, %133 store i32 %sv_0.17.reload, i32* %sv_0.0.reg2mem br i1 %134, label LBL_20, label LBL_16 LBL_16: %135 = add nuw nsw i32 %122, %133 %136 = sext i32 %sv_0.17.reload to i64 %137 = trunc i32 %135 to i8 %138 = add i64 %88, %136 %139 = inttoptr i64 %138 to i8* store i8 %137, i8* %139, align 1 %140 = urem i32 %133, 32 %141 = shl i32 %121, %140 %142 = or i32 %127, 2560 %143 = zext i32 %142 to i64 %144 = add i64 %84, %143 %145 = inttoptr i64 %144 to i16* %146 = load i16, i16* %145, align 2 %147 = trunc i32 %141 to i16 %148 = add i16 %146, %147 %149 = mul i64 %136, 2 %150 = add i64 %89, %149 %151 = inttoptr i64 %150 to i16* store i16 %148, i16* %151, align 2 %152 = load i32, i32* %79, align 4 %153 = icmp eq i32 %152, 0 %154 = mul i64 %136, 4 %155 = add i64 %77, %154 br i1 %153, label LBL_18, label LBL_17 LBL_17: %156 = inttoptr i64 %155 to i8* store i8 %102, i8* %156, align 1 %157 = add i64 %155, 1 %158 = inttoptr i64 %157 to i8* store i8 %124, i8* %158, align 1 %159 = add nsw i32 %storemerge58.reload, %storemerge215.reload %160 = trunc i32 %159 to i8 %161 = add i64 %155, 2 %162 = inttoptr i64 %161 to i8* store i8 %160, i8* %162, align 1 br label LBL_19 LBL_18: %163 = add i64 %155, 1 %164 = inttoptr i64 %163 to i8* store i8 %102, i8* %164, align 1 %165 = inttoptr i64 %155 to i8* store i8 %125, i8* %165, align 1 %166 = trunc i32 %storemerge58.reload to i8 %167 = add i64 %155, 2 %168 = inttoptr i64 %167 to i8* store i8 %166, i8* %168, align 1 br label LBL_19 LBL_19: %169 = add i32 %sv_0.17.reload, 1 store i32 %169, i32* %sv_0.0.reg2mem br label LBL_20 LBL_20: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %170 = add nsw i32 %storemerge58.reload, 1 %exitcond = icmp eq i32 %170, 16 store i32 %170, i32* %storemerge58.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.17.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %exitcond, label LBL_21, label LBL_15 LBL_21: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %171 = add nsw i32 %storemerge312.reload, 1 %exitcond24 = icmp eq i32 %171, 16 store i32 %171, i32* %storemerge312.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.311.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.4.reg2mem br i1 %exitcond24, label LBL_22, label LBL_13 LBL_22: %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem %172 = add nsw i32 %storemerge215.reload, 1 %exitcond25 = icmp eq i32 %172, 16 store i32 %172, i32* %storemerge215.reg2mem store i32 %sv_0.4.reload, i32* %sv_0.514.reg2mem br i1 %exitcond25, label LBL_23, label LBL_11 LBL_23: %173 = add i64 %2, 4128 %174 = call i64 @FUNC(i64 %173) %175 = zext i32 %sv_0.4.reload to i64 %176 = call i64 @FUNC(i64 %173, i64 12, i64 %175, i64* nonnull %sv_4, i64 1, i64 1) store i64 %176, i64* %rax.1.reg2mem br label LBL_24 LBL_24: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %155, { 2, 3, 5, 0, 1, 4 } uselistorder i32 %storemerge58.reload, { 1, 0, 2, 3 } uselistorder i32 %sv_0.17.reload, { 1, 2, 0 } uselistorder i32 %110, { 1, 0, 2 } uselistorder i64 %106, { 1, 0 } uselistorder i32 %storemerge312.reload, { 1, 0, 2, 3 } uselistorder i32 %sv_0.311.reload, { 1, 0 } uselistorder i8 %102, { 1, 0 } uselistorder i64 %93, { 1, 0 } uselistorder i32 %storemerge215.reload, { 1, 3, 2, 0, 4 } uselistorder i32 %sv_0.514.reload, { 1, 0 } uselistorder i32 %80, { 1, 0 } uselistorder i64 %indvars.iv30.reload, { 2, 1, 0 } uselistorder i64 %60, { 1, 0 } uselistorder i32 %51, { 1, 0 } uselistorder i64 %39, { 1, 0 } uselistorder i32 %sv_1.117.reload, { 2, 1, 0 } uselistorder i64 %28, { 1, 0 } uselistorder i32 %sv_1.322.reload, { 1, 0 } uselistorder i64 %3, { 3, 4, 0, 1, 2 } uselistorder i64 %2, { 4, 1, 5, 7, 6, 0, 2, 3 } uselistorder i64* %indvars.iv27.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.322.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge118.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.117.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge215.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.514.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge312.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.311.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge58.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @ff_free_vlc, { 1, 0 } uselistorder i32 256, { 1, 2, 0 } uselistorder i64 4128, { 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
mrb_remove_method_19159
mrb_remove_method
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 = icmp eq i64 %arg2, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = zext i32 %arg3 to i64 %8 = call i64 @FUNC(i64 %arg1, i32 %arg3, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %arg2, i64 %1) store i64 %8, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder i32 %arg3, { 2, 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
resp_print_string_error_integer_8936
resp_print_string_error_integer
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.in.lcssa.reg2mem = alloca i64 %sv_0.0.in3.reg2mem = alloca i64 %sv_1.05.reg2mem = alloca i32 %0 = ptrtoint i32* %arg2 to i64 %1 = trunc i64 %arg3 to i32 %2 = add i64 %0, 1 %sv_1.02 = add i32 %1, -1 %3 = icmp slt i32 %sv_1.02, 2 store i32 %sv_1.02, i32* %sv_1.05.reg2mem store i64 %2, i64* %sv_0.0.in3.reg2mem store i64 %2, i64* %sv_0.0.in.lcssa.reg2mem br i1 %3, label LBL_4, label LBL_2 LBL_1: %sv_1.0 = add i32 %sv_1.05.reload, -1 %4 = icmp slt i32 %sv_1.0, 2 store i32 %sv_1.0, i32* %sv_1.05.reg2mem store i64 %.pre, i64* %sv_0.0.in3.reg2mem store i64 %.pre, i64* %sv_0.0.in.lcssa.reg2mem br i1 %4, label LBL_4, label LBL_2 LBL_2: %sv_0.0.in3.reload = load i64, i64* %sv_0.0.in3.reg2mem %sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem %sv_0.0 = inttoptr i64 %sv_0.0.in3.reload to i8* %5 = load i8, i8* %sv_0.0, align 1 %6 = icmp eq i8 %5, 13 %7 = icmp eq i1 %6, false %.pre = add i64 %sv_0.0.in3.reload, 1 br i1 %7, label LBL_1, label LBL_3 LBL_3: %8 = inttoptr i64 %.pre to i8* %9 = load i8, i8* %8, align 1 %10 = icmp eq i8 %9, 10 %11 = icmp eq i1 %10, false store i64 %sv_0.0.in3.reload, i64* %sv_0.0.in.lcssa.reg2mem br i1 %11, label LBL_1, label LBL_4 LBL_4: %sv_0.0.in.lcssa.reload = load i64, i64* %sv_0.0.in.lcssa.reg2mem %12 = sub i64 %sv_0.0.in.lcssa.reload, %2 %13 = trunc i64 %12 to i32 %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %15 = inttoptr i64 %2 to i64* %16 = call i32 @fwrite(i64* %15, i32 1, i32 %13, %_IO_FILE* %14) ret i64 4294967295 uselistorder i64 %.pre, { 2, 1, 0 } uselistorder i64 %sv_0.0.in3.reload, { 0, 2, 1 } uselistorder i64 %2, { 3, 2, 0, 1 } uselistorder i32* %sv_1.05.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.in3.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
core_dev_unexport_17979
core_dev_unexport
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = add i64 %0, 16 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false %8 = call i64 @FUNC(i64 %1) store i64 %8, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_1: %9 = ptrtoint i64* %arg1 to i64 %10 = add i64 %9, 12 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC(i64 %9, i64 %0) %13 = call i64 @FUNC(i64 %10) %14 = call i64 @FUNC(i64 %9) %15 = add i64 %9, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i32 %17, -1 store i32 %18, i32* %16, align 4 %19 = call i64 @FUNC(i64 %9) store i64 0, i64* %4, align 8 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 i64 %9, { 0, 1, 2, 4, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @spin_unlock, { 2, 1, 0 } uselistorder i64 (i64)* @spin_lock, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
configure_accelerator_2526
configure_accelerator
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.020.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_1.11326.reg2mem = alloca i8* %sv_0.11227.reg2mem = alloca i32 %.reg2mem = alloca i8 %sv_2 = alloca i64, align 8 %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %2 = inttoptr i64 %1 to i8* %3 = icmp eq i64 %1, 0 %4 = icmp eq i1 %3, false %spec.store.select = select i1 %4, i8* %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0) %5 = bitcast i64* %sv_2 to i8* %6 = load i8, i8* %spec.store.select, align 1 %7 = icmp eq i8 %6, 0 %8 = icmp eq i1 %7, false store i8 %6, i8* %.reg2mem store i32 0, i32* %sv_0.11227.reg2mem store i8* %spec.store.select, i8** %sv_1.11326.reg2mem br i1 %8, label LBL_1, label LBL_11 LBL_1: %sv_1.11326.reload = load i8*, i8** %sv_1.11326.reg2mem %sv_0.11227.reload = load i32, i32* %sv_0.11227.reg2mem %.reload = load i8, i8* %.reg2mem %9 = icmp eq i8 %.reload, 58 %10 = icmp eq i1 %9, false %11 = ptrtoint i8* %sv_1.11326.reload to i64 %12 = add i64 %11, 1 %13 = inttoptr i64 %12 to i8* %sv_1.0 = select i1 %10, i8* %sv_1.11326.reload, i8* %13 %14 = ptrtoint i8* %sv_1.0 to i64 %15 = call i64 @FUNC(i64* nonnull %sv_2, i64 10, i64 %14, i64 58) %16 = inttoptr i64 %15 to i8* store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %17 = mul nuw nsw i64 %indvars.iv.reload, 40 %18 = add i64 %17, ptrtoint ([2 x i8*]* @gv_2 to i64) %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i8* %22 = call i32 @strcmp(i8* %21, i8* nonnull %5) %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_7, label LBL_3 LBL_3: %25 = add i64 %17, ptrtoint (i64* @gv_3 to i64) %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = trunc i64 %27 to i8 %29 = icmp eq i8 %28, 1 br i1 %29, label LBL_5, label LBL_4 LBL_4: %30 = add i64 %17, ptrtoint ([4 x i8]** @gv_4 to i64) %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = inttoptr i64 %32 to i8* %34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_5, i64 0, i64 0), i8* %33) br label LBL_7 LBL_5: %35 = add i64 %17, ptrtoint (i64* @gv_6 to i64) %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = inttoptr i64 %37 to i8* store i8 1, i8* %38, align 1 %39 = add i64 %17, ptrtoint (i64* @gv_7 to i64) %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = trunc i64 %41 to i32 %43 = icmp slt i32 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_13, label LBL_6 LBL_6: %45 = sub i32 0, %42 %46 = call i8* @strerror(i32 %45) %47 = add i64 %17, ptrtoint ([4 x i8]** @gv_4 to i64) %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8 %51 = inttoptr i64 %49 to i8* %52 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %50, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_9, i64 0, i64 0), i8* %51, i8* %46) %53 = load i64, i64* %36, align 8 %54 = inttoptr i64 %53 to i8* store i8 0, i8* %54, align 1 store i32 1, i32* %sv_0.020.reg2mem br label LBL_8 LBL_7: %55 = icmp eq i64 %indvars.iv.reload, 1 store i64 1, i64* %indvars.iv.reg2mem br i1 %55, label LBL_9, label LBL_2 LBL_8: %sv_0.020.reload = load i32, i32* %sv_0.020.reg2mem %56 = load i8, i8* %16, align 1 %57 = icmp eq i8 %56, 0 %58 = icmp eq i1 %57, false store i8 %56, i8* %.reg2mem store i32 %sv_0.020.reload, i32* %sv_0.11227.reg2mem store i8* %16, i8** %sv_1.11326.reg2mem br i1 %58, label LBL_1, label LBL_10 LBL_9: %59 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8 %60 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %59, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_10, i64 0, i64 0), i64* nonnull %sv_2) store i32 %sv_0.11227.reload, i32* %sv_0.020.reg2mem br label LBL_8 LBL_10: %61 = trunc i32 %sv_0.020.reload to i8 %62 = icmp eq i8 %61, 1 br i1 %62, label LBL_12, label LBL_11 LBL_11: %63 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8 %64 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_11 to i64*), i32 1, i32 22, %_IO_FILE* %63) br label LBL_12 LBL_12: call void @exit(i32 1) unreachable LBL_13: %65 = trunc i32 %sv_0.11227.reload to i8 %66 = icmp eq i8 %65, 0 br i1 %66, label LBL_15, label LBL_14 LBL_14: %67 = add i64 %17, ptrtoint ([4 x i8]** @gv_4 to i64) %68 = inttoptr i64 %67 to i64* %69 = load i64, i64* %68, align 8 %70 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8 %71 = inttoptr i64 %69 to i8* %72 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %70, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_12, i64 0, i64 0), i8* %71) br label LBL_15 LBL_15: ret i64 0 uselistorder i64 %17, { 0, 1, 2, 3, 5, 4, 6 } uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i32 %sv_0.11227.reload, { 1, 0 } uselistorder i8* %sv_1.11326.reload, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_2, { 0, 2, 1 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.11227.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_1.11326.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.020.reg2mem, { 2, 0, 1 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 2, 0 } uselistorder %_IO_FILE** @gv_8, { 3, 2, 1, 0 } uselistorder i8 1, { 1, 2, 0 } uselistorder i32 0, { 5, 6, 7, 0, 1, 2, 3, 4 } uselistorder i8 0, { 2, 4, 3, 0, 1 } uselistorder i1 false, { 4, 1, 2, 3, 0, 5 } uselistorder i64 0, { 1, 11, 12, 9, 10, 5, 6, 7, 8, 0, 13, 14, 21, 15, 16, 2, 3, 4, 17, 18, 19, 20 } uselistorder i32 1, { 6, 7, 0, 8, 5, 4, 3, 2, 1 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
is_ntfs_dotgit_5663
is_ntfs_dotgit
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 store i64 %arg1, i64* %sv_1.0.reg2mem store i64 0, i64* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i64, i64* %storemerge.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %0 = add i64 %storemerge.reload, %sv_1.0.reload %1 = inttoptr i64 %0 to i8* %2 = load i8, i8* %1, align 1 switch i8 %2, label LBL_2 [ i8 0, label LBL_3 i8 92, label LBL_3 ] LBL_2: %3 = sext i8 %2 to i64 %4 = and i64 %3, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i64 %storemerge.reload, i64* %sv_0.0.reg2mem br i1 %7, label LBL_9, label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %storemerge.reload, i64 4) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = inttoptr i64 %sv_1.0.reload to i8* %12 = call i32 @strncasecmp(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 4) %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 1, i64* %rax.0.reg2mem br i1 %14, label LBL_5, label LBL_10 LBL_5: %15 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %storemerge.reload, i64 5) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = inttoptr i64 %sv_1.0.reload to i8* %19 = call i32 @strncasecmp(i8* %18, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 5) %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i64 1, i64* %rax.0.reg2mem br i1 %21, label LBL_7, label LBL_10 LBL_7: %22 = load i8, i8* %1, align 1 %23 = icmp eq i8 %22, 92 store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_8, label LBL_10 LBL_8: %24 = add i64 %0, 1 store i64 %24, i64* %sv_1.1.reg2mem store i64 -1, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %25 = add i64 %sv_0.0.reload, 1 store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem store i64 %25, i64* %storemerge.reg2mem br label LBL_1 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %2, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 3, 2, 4, 1, 0, 5 } uselistorder i64 %storemerge.reload, { 2, 1, 0, 3 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 6, 5, 0, 1, 2, 7, 3, 4 } uselistorder i32 (i8*, i8*, i32)* @strncasecmp, { 1, 0 } uselistorder i64 (i64, i64, i64)* @only_spaces_and_periods, { 1, 0 } uselistorder i8 92, { 1, 0, 2 } uselistorder i32 1, { 4, 3, 2, 1, 0, 6, 5 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
atusb_get_and_show_build_12857
atusb_get_and_show_build
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %0, i64 %2, i64 1, i64 0, i64 0, i64 0, i64* nonnull %sv_0, i64 64) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = ptrtoint i64* %sv_1 to i64 %sext = mul i64 %3, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = add i64 %6, -80 %9 = add i64 %8, %7 %10 = inttoptr i64 %9 to i8* store i8 0, i8* %10, align 1 %11 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64 0, i64 0, i64 0) br label LBL_2 LBL_2: %12 = and i64 %3, 4294967295 ret i64 %12 uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 0 } }
1
BinRealVul
br_mdb_ip4_get_5363
br_mdb_ip4_get
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 store i64 %1, i64* %sv_0, align 8 %2 = call i16 @htons(i16 2048) %3 = bitcast i64* %sv_0 to i32* %4 = call i64 @FUNC(i64 %0, i32* nonnull %3) ret i64 %4 uselistorder i64* %sv_0, { 1, 0 } }
0
BinRealVul
ehci_queues_rip_unused_933
ehci_queues_rip_unused
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge9.in.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 0 %2 = add i64 %arg1, 8 %storemerge5 = select i1 %1, i64 %2, i64 %arg1 %3 = inttoptr i64 %storemerge5 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_8, label LBL_1 LBL_1: %6 = and i64 %arg2, 4294967295 %7 = add i64 %arg1, 16 %8 = inttoptr i64 %7 to i64* %9 = trunc i64 %arg3 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 %4, i64* %storemerge9.in.reg2mem br label LBL_6 LBL_2: br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = load i64, i64* %8, align 8 %13 = add i64 %storemerge9.in.reload, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %15, 250000000 %17 = icmp ult i64 %12, %16 br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %storemerge9.in.reload, i64 %6) br label LBL_5 LBL_5: %19 = icmp eq i64 %22, 0 store i64 %22, i64* %storemerge9.in.reg2mem br i1 %19, label LBL_8, label LBL_6 LBL_6: %storemerge9.in.reload = load i64, i64* %storemerge9.in.reg2mem %storemerge9 = inttoptr i64 %storemerge9.in.reload to i32* %20 = add i64 %storemerge9.in.reload, 16 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = load i32, i32* %storemerge9, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_2, label LBL_7 LBL_7: store i32 0, i32* %storemerge9, align 4 %25 = load i64, i64* %8, align 8 %26 = add i64 %storemerge9.in.reload, 8 %27 = inttoptr i64 %26 to i64* store i64 %25, i64* %27, align 8 br label LBL_5 LBL_8: ret i64 0 uselistorder i64 %22, { 1, 0 } uselistorder i64 %storemerge9.in.reload, { 3, 4, 0, 2, 1 } uselistorder i64* %8, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder i64 %arg1, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } }
0
BinRealVul
wpa_ioctl_7670
wpa_ioctl
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.in.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 ult i32 %4, 4 %6 = icmp sgt i32 %4, 256 %or.cond3 = or i1 %5, %6 store i64 4294967274, i64* %rax.0.reg2mem br i1 %or.cond3, label LBL_19, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg2 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_19 LBL_2: %13 = and i64 %3, 4294967295 %14 = call i64 @FUNC(i64 %13, i64 0) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %16, label LBL_3, label LBL_19 LBL_3: %17 = load i64, i64* %9, align 8 %18 = call i64 @FUNC(i64 %14, i64 %17, i32 %4) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 store i64 4294967282, i64* %sv_0.1.reg2mem br i1 %20, label LBL_4, label LBL_18 LBL_4: %21 = inttoptr i64 %14 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 store i64 %23, i64* @0, align 8 switch i32 %22, label LBL_15 [ i32 1, label LBL_5 i32 2, label LBL_6 i32 3, label LBL_7 i32 4, label LBL_8 i32 5, label LBL_9 i32 6, label LBL_10 i32 7, label LBL_11 i32 8, label LBL_12 i32 9, label LBL_13 i32 10, label LBL_14 ] LBL_5: %24 = call i64 @FUNC(i64 %arg1, i64 %14) %25 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %14, i64 %17, i64 %2, i64 %1) store i64 %24, i64* %sv_0.1.reg2mem br label LBL_18 LBL_6: %26 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %17, i64 %2, i64 %1) %27 = call i64 @FUNC(i64 %arg1) %28 = call i64 @FUNC(i64 %arg1, i64 %14, i64 0) %29 = call i64 @FUNC(i64 %arg1) store i64 %28, i64* %sv_0.1.reg2mem br label LBL_18 LBL_7: %30 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %13, i64 %17, i64 %2, i64 %1) %31 = call i64 @FUNC(i64 %arg1, i64 %14) store i64 %31, i64* %sv_0.1.reg2mem br label LBL_18 LBL_8: %32 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i64 %13, i64 %17, i64 %2, i64 %1) %33 = call i64 @FUNC(i64 %arg1, i64 %14) store i64 %33, i64* %sv_0.0.in.reg2mem br label LBL_16 LBL_9: %34 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i64 %13, i64 %17, i64 %2, i64 %1) %35 = call i64 @FUNC(i64 %arg1, i64 %14) store i64 %35, i64* %sv_0.0.in.reg2mem br label LBL_16 LBL_10: %36 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0), i64 %13, i64 %17, i64 %2, i64 %1) %37 = call i64 @FUNC(i64 %arg1, i64 %14) store i64 %37, i64* %sv_0.0.in.reg2mem br label LBL_16 LBL_11: %38 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_6, i64 0, i64 0), i64 %13, i64 %17, i64 %2, i64 %1) %39 = call i64 @FUNC(i64 %arg1, i64 %14) store i64 %39, i64* %sv_0.1.reg2mem br label LBL_18 LBL_12: %40 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_7, i64 0, i64 0), i64 %13, i64 %17, i64 %2, i64 %1) %41 = call i64 @FUNC(i64 %arg1, i64 %14) store i64 %41, i64* %sv_0.1.reg2mem br label LBL_18 LBL_13: %42 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_8, i64 0, i64 0), i64 %13, i64 %17, i64 %2, i64 %1) store i64 0, i64* %sv_0.1.reg2mem br label LBL_18 LBL_14: %43 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_9, i64 0, i64 0), i64 %13, i64 %17, i64 %2, i64 %1) store i64 0, i64* %sv_0.1.reg2mem br label LBL_18 LBL_15: %44 = load i32, i32* %21, align 4 %45 = zext i32 %44 to i64 %46 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_10, i64 0, i64 0), i64 %45, i64 %17, i64 %2, i64 %1) store i64 4294967201, i64* %rax.0.reg2mem br label LBL_19 LBL_16: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %47 = icmp eq i32 %sv_0.0, 0 %48 = icmp eq i1 %47, false store i64 %sv_0.0.in.reload, i64* %sv_0.1.reg2mem br i1 %48, label LBL_18, label LBL_17 LBL_17: %49 = load i64, i64* %9, align 8 %50 = call i64 @FUNC(i64 %49, i64 %14, i32 %4) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 %spec.select = select i1 %52, i64 %sv_0.0.in.reload, i64 4294967282 store i64 %spec.select, i64* %sv_0.1.reg2mem br label LBL_18 LBL_18: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %53 = call i64 @FUNC(i64 %14) %54 = and i64 %sv_0.1.reload, 4294967295 store i64 %54, 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 %sv_0.0.in.reload, { 2, 0, 1 } uselistorder i64 %17, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 11 } uselistorder i64 %14, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 0, 1, 12, 11, 13 } uselistorder i64 %13, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 %4, { 0, 1, 3, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 8, 10, 1, 2, 3, 4, 5, 6, 7, 9 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 1, 3, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @DBG_PRT, { 0, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 4294967282, { 1, 0 } uselistorder i64 0, { 12, 13, 0, 32, 33, 1, 30, 31, 28, 29, 26, 27, 24, 25, 22, 23, 20, 21, 18, 19, 34, 16, 17, 14, 15, 37, 35, 38, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 36 } uselistorder i64 4294967274, { 1, 0 } uselistorder i64 %arg1, { 9, 8, 7, 6, 5, 4, 1, 3, 2, 0 } uselistorder label LBL_19, { 3, 4, 0, 2, 1 } uselistorder label LBL_18, { 7, 9, 6, 5, 4, 3, 2, 1, 0, 8 } }
1
BinRealVul
snd_usb_copy_string_desc_3871
snd_usb_copy_string_desc
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg2 to i32 %3 = add i64 %arg4, 4294967295 %4 = and i64 %3, 4294967295 %5 = call i64 @FUNC(i64 %1, i32 %2, i64 %0, i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_1: %sext = mul i64 %5, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = add i64 %9, %0 %11 = inttoptr i64 %10 to i8* store i8 0, i8* %11, align 1 %12 = and i64 %5, 4294967295 store i64 %12, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
if6_get_next_9178
if6_get_next
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.lcssa.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg2, 0 %3 = icmp eq i1 %2, false store i64 %arg2, i64* %storemerge.lcssa.reg2mem br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = trunc i64 %1 to i32 %5 = bitcast i64* %arg1 to i32* %sext = mul i64 %1, 4294967296 %6 = ashr exact i64 %sext, 29 %7 = add i64 %6, ptrtoint (i64* @gv_0 to i64) %8 = inttoptr i64 %7 to i64* %9 = add i32 %4, 1 store i32 %9, i32* %5, align 4 %10 = icmp sgt i32 %4, 255 store i64 %arg2, i64* %storemerge.lcssa.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_2: store i32 %9, i32* %5, align 4 br label LBL_3 LBL_3: %11 = load i64, i64* %8, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %storemerge.lcssa.reg2mem br i1 %13, label LBL_4, label LBL_2 LBL_4: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i32 %9, { 1, 0 } uselistorder i32* %5, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
cipso_v4_req_delattr_5254
cipso_v4_req_delattr
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = inttoptr i64 %3 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %1) store i64 %8, 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 label LBL_3, { 2, 1, 0 } }
0
BinRealVul
ff_packet_split_and_drop_side_data_17044
ff_packet_split_and_drop_side_data
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32* %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 12 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = icmp eq i32 %3, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_9, label LBL_1 LBL_1: %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = icmp slt i32 %9, 13 store i64 %10, i64* %rax.0.reg2mem br i1 %11, label LBL_9, label LBL_2 LBL_2: %12 = sext i32 %9 to i64 %13 = add i64 %12, %0 %14 = add i64 %13, -8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, 1311768467463790320 %18 = icmp eq i1 %17, false store i64 %16, i64* %rax.0.reg2mem br i1 %18, label LBL_9, label LBL_3 LBL_3: %19 = add i64 %13, -13 %20 = inttoptr i64 %19 to i32* store i32* %20, i32** %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %21 = load i32, i32* %sv_0.0.reload, align 4 %22 = icmp ugt i32 %21, 2147483642 %23 = ptrtoint i32* %sv_0.0.reload to i64 %24 = sub i64 %23, %0 %25 = zext i32 %21 to i64 %26 = icmp slt i64 %24, %25 %or.cond = or i1 %22, %26 br i1 %or.cond, label LBL_5, label LBL_6 LBL_5: %27 = add i64 %23, 4 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = icmp slt i8 %29, 0 br i1 %30, label LBL_7, label LBL_6 LBL_6: %31 = add i32 %21, 5 %32 = zext i32 %31 to i64 %33 = icmp slt i64 %24, %32 %34 = sub i64 %23, %32 %35 = inttoptr i64 %34 to i32* %sv_0.1 = select i1 %33, i32* %35, i32* %sv_0.0.reload store i32* %sv_0.1, i32** %sv_0.0.reg2mem br label LBL_4 LBL_7: %36 = trunc i64 %24 to i32 %37 = sub i32 %36, %21 store i32 %37, i32* %8, align 4 %38 = icmp slt i32 %37, 0 %39 = icmp eq i1 %38, false store i64 1, i64* %rax.0.reg2mem br i1 %39, label LBL_9, label LBL_8 LBL_8: %40 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %41 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %40, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %24, { 1, 0, 2 } uselistorder i32 %21, { 2, 3, 1, 0 } uselistorder i32* %sv_0.0.reload, { 2, 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i32** %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i8 0, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
generic_update_time_8512
generic_update_time
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i8 %rsi.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 store i64 %1, i64* %rdi, align 8 %2 = and i64 %arg3, 4 %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 = add i64 %1, 8 %8 = inttoptr i64 %7 to i64* store i64 %0, i64* %8, align 8 %9 = add i64 %1, 16 %10 = inttoptr i64 %9 to i64* store i64 %6, i64* %10, align 8 br label LBL_2 LBL_2: %11 = and i64 %arg3, 32 %12 = icmp eq i64 %11, 0 store i8 0, i8* %sv_0.0.reg2mem store i64 %0, i64* %rsi.0.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: store i64 %1, i64* %rdi, align 8 %13 = call i64 @FUNC(i64 %1, i64 0) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false %17 = zext i1 %16 to i8 store i8 %17, i8* %sv_0.0.reg2mem store i64 0, i64* %rsi.0.reg2mem br label LBL_4 LBL_4: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %18 = and i64 %arg3, 8 %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = add i64 %0, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %1, 24 %24 = inttoptr i64 %23 to i64* store i64 %rsi.0.reload, i64* %24, align 8 %25 = add i64 %1, 32 %26 = inttoptr i64 %25 to i64* store i64 %22, i64* %26, align 8 br label LBL_6 LBL_6: %27 = and i64 %arg3, 16 %28 = icmp eq i64 %27, 0 br i1 %28, label LBL_8, label LBL_7 LBL_7: %29 = add i64 %0, 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = add i64 %1, 40 %33 = inttoptr i64 %32 to i64* store i64 %rsi.0.reload, i64* %33, align 8 %34 = add i64 %1, 48 %35 = inttoptr i64 %34 to i64* store i64 %31, i64* %35, align 8 br label LBL_8 LBL_8: %36 = and i64 %arg3, 28 %37 = icmp eq i64 %36, 0 store i8 %sv_0.0.reload, i8* %sv_0.1.reg2mem br i1 %37, label LBL_10, label LBL_9 LBL_9: %38 = bitcast i64* %rdi to i32* %39 = load i32, i32* %38, align 8 %40 = and i32 %39, 64 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false %spec.select = select i1 %42, i8 %sv_0.0.reload, i8 1 store i8 %spec.select, i8* %sv_0.1.reg2mem br label LBL_10 LBL_10: %sv_0.1.reload = load i8, i8* %sv_0.1.reg2mem %43 = icmp eq i8 %sv_0.1.reload, 0 %spec.select2 = select i1 %43, i64 1, i64 3 %44 = call i64 @FUNC(i64 %1, i64 %spec.select2) ret i64 0 uselistorder i8 %sv_0.0.reload, { 1, 0 } uselistorder i64 %1, { 8, 6, 7, 4, 5, 3, 2, 0, 1, 9 } uselistorder i64 %0, { 4, 3, 0, 1, 2 } uselistorder i64* %rdi, { 1, 0, 2 } uselistorder i8 0, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 8, { 1, 2, 0, 3, 4 } }
0
BinRealVul
handle_arg_log_filename_425
handle_arg_log_filename
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_0) ret i64 %0 }
0
BinRealVul
dname_dec_4777
dname_dec
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_1.3.reg2mem = alloca i32 %sv_2.2.reg2mem = alloca i32 %sv_3.1.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_1.2.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32 %.pre-phi21.reg2mem = alloca i32 %storemerge.reg2mem = alloca i64 %sv_4.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = inttoptr i64 %arg3 to i8* store i64 0, i64* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i64, i64* %storemerge.reg2mem %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem %3 = icmp eq i64 %storemerge.reload, 0 store i32 0, i32* %sv_3.1.reg2mem store i32 0, i32* %sv_2.2.reg2mem store i32 0, i32* %sv_1.3.reg2mem store i32 0, i32* %sv_0.2.reg2mem br label LBL_13 LBL_2: %sv_1.3.reload = load i32, i32* %sv_1.3.reg2mem %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %4 = zext i32 %sv_0.2.reload to i64 %5 = add i64 %4, %0 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp ugt i8 %7, -65 %9 = icmp eq i1 %8, false br i1 %9, label LBL_5, label LBL_3 LBL_3: %10 = add i32 %sv_0.2.reload, 2 %11 = icmp ugt i32 %10, %1 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_18, label LBL_4 LBL_4: %12 = icmp eq i32 %sv_1.3.reload, 0 %13 = icmp eq i1 %12, false %spec.select = select i1 %13, i32 %sv_1.3.reload, i32 %10 %14 = add i32 %sv_2.2.reload, 1 %15 = zext i8 %7 to i32 %16 = mul i32 %15, 256 %17 = and i32 %16, 16128 %18 = add i64 %5, 1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = zext i8 %20 to i32 %22 = or i32 %17, %21 store i32 %sv_3.1.reload, i32* %sv_3.0.reg2mem store i32 %14, i32* %sv_2.1.reg2mem store i32 %spec.select, i32* %sv_1.2.reg2mem store i32 %22, i32* %sv_0.1.reg2mem br label LBL_12 LBL_5: %23 = icmp eq i8 %7, 0 br i1 %23, label LBL_10, label LBL_6 LBL_6: %24 = zext i8 %7 to i32 %25 = add i32 %sv_0.2.reload, 1 %26 = add i32 %25, %24 %27 = icmp ugt i32 %26, %1 store i64 0, i64* %rax.0.reg2mem br i1 %27, label LBL_18, label LBL_7 LBL_7: store i32 %26, i32* %.pre-phi21.reg2mem store i32 %24, i32* %.pre-phi.reg2mem br i1 %3, label LBL_9, label LBL_8 LBL_8: %28 = add i64 %5, 1 %29 = zext i32 %sv_3.1.reload to i64 %30 = add i64 %storemerge.reload, %29 %31 = inttoptr i64 %30 to i64* %32 = inttoptr i64 %28 to i64* %33 = call i64* @mempcpy(i64* %31, i64* %32, i32 %24) %34 = bitcast i64* %33 to i8* store i8 46, i8* %34, align 1 %.pre = load i8, i8* %6, align 1 %.pre19 = zext i8 %.pre to i32 %.pre20 = add i32 %25, %.pre19 store i32 %.pre20, i32* %.pre-phi21.reg2mem store i32 %.pre19, i32* %.pre-phi.reg2mem br label LBL_9 LBL_9: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %.pre-phi21.reload = load i32, i32* %.pre-phi21.reg2mem %35 = add i32 %sv_3.1.reload, 1 %36 = add i32 %35, %.pre-phi.reload store i32 %36, i32* %sv_3.0.reg2mem store i32 %sv_2.2.reload, i32* %sv_2.1.reg2mem store i32 %sv_1.3.reload, i32* %sv_1.2.reg2mem store i32 %.pre-phi21.reload, i32* %sv_0.1.reg2mem br label LBL_12 LBL_10: %37 = icmp eq i32 %sv_1.3.reload, 0 %38 = icmp eq i1 %37, false %39 = add i32 %sv_0.2.reload, 1 %sv_2.0 = select i1 %38, i32 0, i32 %sv_2.2.reload %sv_1.1 = select i1 %38, i32 0, i32 %sv_1.3.reload %sv_0.0 = select i1 %38, i32 %sv_1.3.reload, i32 %39 %40 = icmp eq i32 %sv_3.1.reload, 0 %or.cond = or i1 %3, %40 store i32 %sv_3.1.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.0, i32* %sv_2.1.reg2mem store i32 %sv_1.1, i32* %sv_1.2.reg2mem store i32 %sv_0.0, i32* %sv_0.1.reg2mem br i1 %or.cond, label LBL_12, label LBL_11 LBL_11: %41 = add i32 %sv_3.1.reload, -1 %42 = zext i32 %41 to i64 %43 = add i64 %storemerge.reload, %42 %44 = inttoptr i64 %43 to i8* store i8 32, i8* %44, align 1 store i32 %sv_3.1.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.0, i32* %sv_2.1.reg2mem store i32 %sv_1.1, i32* %sv_1.2.reg2mem store i32 %sv_0.0, i32* %sv_0.1.reg2mem br label LBL_12 LBL_12: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %45 = icmp ult i32 %sv_2.1.reload, 11 %46 = icmp ult i32 %sv_3.0.reload, 2551 %or.cond5 = icmp eq i1 %46, %45 store i32 %sv_3.0.reload, i32* %sv_3.1.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.2.reg2mem store i32 %sv_1.2.reload, i32* %sv_1.3.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %or.cond5, label LBL_13, label LBL_18 LBL_13: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem %47 = icmp ult i32 %sv_0.2.reload, %1 br i1 %47, label LBL_2, label LBL_14 LBL_14: %48 = icmp eq i32 %sv_3.1.reload, 0 %49 = icmp eq i1 %48, false store i64 0, i64* %rax.0.reg2mem br i1 %49, label LBL_15, label LBL_18 LBL_15: %50 = icmp eq i1 %3, false br i1 %50, label LBL_17, label LBL_16 LBL_16: %51 = call i32 @strlen(i8* %2) %52 = add i32 %51, %sv_3.1.reload %53 = zext i32 %52 to i64 %54 = call i64 @FUNC(i64 %53) %55 = inttoptr i64 %54 to i8* %56 = call i8* @stpcpy(i8* %55, i8* %2) %57 = ptrtoint i8* %56 to i64 store i64 %54, i64* %sv_4.0.reg2mem store i64 %57, i64* %storemerge.reg2mem br label LBL_1 LBL_17: %58 = add i32 %sv_3.1.reload, -1 %59 = zext i32 %58 to i64 %60 = add i64 %storemerge.reload, %59 %61 = inttoptr i64 %60 to i8* store i8 0, i8* %61, align 1 store i64 %sv_4.0.reload, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_3.1.reload, { 6, 5, 4, 9, 2, 3, 1, 7, 0, 8 } uselistorder i32 %sv_0.2.reload, { 1, 0, 4, 3, 2 } uselistorder i32 %24, { 2, 0, 1 } uselistorder i8 %7, { 1, 2, 0, 3 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i32 %sv_2.2.reload, { 1, 2, 0 } uselistorder i32 %sv_1.3.reload, { 4, 3, 0, 5, 2, 1 } uselistorder i64 %storemerge.reload, { 3, 2, 1, 0 } uselistorder i32 %1, { 2, 1, 0 } uselistorder i64* %sv_4.0.reg2mem, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 1, 0, 2 } uselistorder i32* %.pre-phi21.reg2mem, { 0, 2, 1 } uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_3.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i32* %sv_1.2.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i32* %sv_2.2.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.3.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i32 -1, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i1 false, { 0, 4, 1, 2, 3, 5 } uselistorder i32 0, { 9, 6, 4, 5, 7, 8, 0, 1, 2, 3 } uselistorder label LBL_18, { 4, 0, 1, 2, 3 } }
0
BinRealVul
smp_task_done_11185
smp_task_done
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %0, 4 %5 = call i64 @FUNC(i64 %4) store i64 %5, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
evrpc_resume_request_18074
evrpc_resume_request
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* %storemerge2.reg2mem br label LBL_2 LBL_1: %1 = inttoptr i64 %storemerge2.reload to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, %arg2 %4 = add i64 %storemerge2.reload, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 store i64 %6, i64* %storemerge2.reg2mem br i1 %3, label LBL_3, label LBL_2 LBL_2: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %7 = icmp eq i64 %storemerge2.reload, 0 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %8, label LBL_1, label LBL_4 LBL_3: %9 = add i64 %6, 16 %10 = inttoptr i64 %9 to i64* store i64 %6, i64* %10, align 8 %.pre = add i64 %0, 8 %.pre6 = inttoptr i64 %.pre to i64* %.pre11 = load i64, i64* %.pre6, align 8 %phitmp = inttoptr i64 %.pre11 to i64* %11 = load i64, i64* %5, align 8 store i64 %11, i64* %phitmp, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 2, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
jsi_ArraySizeOfCmd_12363
jsi_ArraySizeOfCmd
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = ptrtoint i32* %arg3 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %5, i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) store i64 %14, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %15 = ptrtoint i64* %arg4 to i64 %16 = load i64, i64* %8, align 8 %17 = call i64 @FUNC(i64 %5, i64 %16) %18 = trunc i64 %17 to i32 %19 = call i64 @FUNC(i64 %5, i64 %15, i32 %18) store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
vp56_size_changed_16292
vp56_size_changed
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = bitcast i64* %rdi to i32* %10 = trunc i64 %1 to i32 %11 = add i64 %arg1, 28 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = add i64 %arg1, 16 %14 = inttoptr i64 %13 to i32* store i32 %10, i32* %14, align 4 %15 = load i32, i32* %9, align 8 %16 = icmp slt i32 %15, 0 %17 = zext i1 %16 to i32 %18 = add i32 %15, %17 %19 = ashr i32 %18, 1 %20 = add i64 %arg1, 24 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = add i64 %arg1, 20 %23 = inttoptr i64 %22 to i32* store i32 %19, i32* %23, align 4 %24 = add i64 %arg1, 4 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i64 %arg1, 44 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = add i64 %arg1, 32 %30 = inttoptr i64 %29 to i32* store i32 %26, i32* %30, align 4 %31 = load i32, i32* %25, align 4 %32 = icmp slt i32 %31, 0 %33 = zext i1 %32 to i32 %34 = add i32 %31, %33 %35 = ashr i32 %34, 1 %36 = add i64 %arg1, 40 %37 = inttoptr i64 %36 to i32* store i32 %35, i32* %37, align 4 %38 = add i64 %arg1, 36 %39 = inttoptr i64 %38 to i32* store i32 %35, i32* %39, align 4 %40 = add i64 %arg1, 72 %41 = inttoptr i64 %40 to i32* %42 = add i64 %arg1, 48 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %43 = load i32, i32* %41, align 4 %44 = load i64, i64* %3, align 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = mul i64 %indvars.iv.reload, 4 %48 = add i64 %46, %47 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = mul i32 %50, %43 %52 = add i64 %42, %47 %53 = inttoptr i64 %52 to i32* store i32 %51, i32* %53, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %54 = load i32, i32* %9, align 8 %55 = sdiv i32 %54, 1073741824 %56 = add i64 %arg1, 64 %57 = inttoptr i64 %56 to i32* store i32 %55, i32* %57, align 4 %58 = load i32, i32* %25, align 4 %59 = sdiv i32 %58, 1073741824 %60 = add i64 %arg1, 68 %61 = inttoptr i64 %60 to i32* store i32 %59, i32* %61, align 4 %62 = load i32, i32* %57, align 4 %63 = icmp slt i32 %62, 1001 %or.cond = icmp eq i1 %63, false br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %64 = call i64 @FUNC(i64 %arg1, i64 0, i64 0) %65 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %66 = mul i32 %62, 4 %67 = add i32 %66, 6 %68 = sext i32 %67 to i64 %69 = add i64 %arg1, 80 %70 = call i64 @FUNC(i64 %69, i64 %68, i64 1) %71 = load i32, i32* %57, align 4 %72 = load i32, i32* %61, align 4 %73 = mul i32 %72, %71 %74 = sext i32 %73 to i64 %75 = add i64 %arg1, 88 %76 = call i64 @FUNC(i64 %75, i64 %74, i64 1) %77 = add i64 %arg1, 96 %78 = inttoptr i64 %77 to i64* %79 = load i64, i64* %78, align 8 %80 = call i64 @FUNC(i64 %79) %81 = mul i32 %8, 16 %82 = sext i32 %81 to i64 %83 = call i64 @FUNC(i64 %82) store i64 %83, i64* %78, align 8 %84 = add i64 %arg1, 104 %85 = inttoptr i64 %84 to i64* store i64 %83, i64* %85, align 8 %86 = inttoptr i64 %69 to i64* %87 = load i64, i64* %86, align 8 %88 = icmp eq i64 %87, 0 store i64 4294967284, i64* %rax.0.reg2mem br i1 %88, label LBL_11, label LBL_5 LBL_5: %89 = inttoptr i64 %75 to i64* %90 = load i64, i64* %89, align 8 %91 = icmp eq i64 %90, 0 store i64 4294967284, i64* %rax.0.reg2mem br i1 %91, label LBL_11, label LBL_6 LBL_6: %92 = load i64, i64* %78, align 8 %93 = icmp eq i64 %92, 0 %94 = icmp eq i1 %93, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %94, label LBL_7, label LBL_11 LBL_7: %95 = load i32, i32* %41, align 4 %96 = icmp slt i32 %95, 0 %97 = icmp eq i1 %96, false br i1 %97, label LBL_9, label LBL_8 LBL_8: %98 = mul i32 %8, 15 %99 = sext i32 %98 to i64 %100 = add i64 %83, %99 store i64 %100, i64* %85, align 8 br label LBL_9 LBL_9: %101 = add i64 %arg1, 112 %102 = inttoptr i64 %101 to i64* %103 = load i64, i64* %102, align 8 %104 = icmp eq i64 %103, 0 store i64 0, i64* %rax.0.reg2mem br i1 %104, label LBL_11, label LBL_10 LBL_10: %105 = call i64 @FUNC(i64 %103) store i64 %105, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %10, { 1, 0 } uselistorder i32 %8, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2, 6 } uselistorder i64 4294967284, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @av_reallocp_array, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 4, { 1, 0, 2, 3 } uselistorder i32 0, { 2, 0, 1 } uselistorder i64 %arg1, { 1, 2, 3, 4, 7, 6, 5, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 } uselistorder label LBL_11, { 4, 0, 3, 2, 1, 5 } }
1
BinRealVul
idtoname_request_3738
idtoname_request
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %2 = add i64 %1, -16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = ptrtoint i32* %arg4 to i64 %6 = call i64 @FUNC(i64 %0, i64 %5, i64 %4) %7 = add i64 %1, -8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = bitcast i64* %sv_0 to i8* %11 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %10, i32 11, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i32 %9) %12 = add i64 %1, -4 %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 %. = select i1 %16, i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64 ptrtoint ([6 x i8]* @gv_2 to i64) %17 = call i64 @FUNC(i64 %0, i64 %5, i64 %.) %18 = ptrtoint i64* %sv_0 to i64 %19 = call i64 @FUNC(i64 %0, i64 %5, i64 %18) %20 = add i64 %18, -1 %21 = inttoptr i64 %20 to i8* store i8 10, i8* %21, align 1 ret i64 %20 uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64 (i64, i64, i64)* @qword_add, { 2, 1, 0 } }
0
BinRealVul
uv_mutex_trylock_7141
uv_mutex_trylock
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i32 @pthread_mutex_trylock(i64* %arg1) store i64 0, i64* %storemerge.reg2mem switch i32 %0, label LBL_1 [ i32 0, label LBL_3 i32 16, label LBL_2 i32 11, label LBL_2 ] LBL_1: call void @abort() unreachable LBL_2: store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
Pe_r_bin_pe_parse_var_12485
Pe_r_bin_pe_parse_var
define i64 @FUNC(i64* %arg1, i16* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_0 = alloca i16, align 2 store i64 32, i64* %rsi, align 8 %5 = call i64* @calloc(i32 1, i32 32) %6 = icmp eq i64* %5, null %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 32, i64 %3, i64 %4, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_2: %9 = bitcast i64* %5 to i16* store i64 32, i64* %rsi, align 8 %10 = call i64 @FUNC(i64 1, i64 32) %11 = trunc i64 %10 to i16 store i16 %11, i16* %9, align 2 %12 = icmp eq i16 %11, -1 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = ptrtoint i64* %5 to i64 %15 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 32, i64 %14, i64 %4, i64 %2, i64 %1) %16 = call i64 @FUNC(i64 %14) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_4: store i16 34, i16* %arg2, align 2 store i64 32, i64* %rsi, align 8 %17 = call i64 @FUNC(i64 1, i64 32) %18 = ptrtoint i64* %5 to i64 %19 = trunc i64 %17 to i16 %20 = add i64 %18, 2 %21 = inttoptr i64 %20 to i16* store i16 %19, i16* %21, align 2 %22 = icmp eq i16 %19, -1 %23 = icmp eq i1 %22, false br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = load i64, i64* %rsi, align 8 %25 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 %24, i64 %18, i64 %4, i64 %2, i64 %1) %26 = call i64 @FUNC(i64 %18) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_6: %27 = bitcast i64* %rsi to i16* %28 = load i16, i16* %27, align 8 %29 = add i16 %28, 2 store i16 %29, i16* %arg2, align 2 %30 = zext i16 %28 to i64 store i64 %30, i64* %rsi, align 8 %31 = call i64 @FUNC(i64 1, i64 %30) %32 = trunc i64 %31 to i16 %33 = add i64 %18, 4 %34 = inttoptr i64 %33 to i16* store i16 %32, i16* %34, align 2 %35 = icmp eq i16 %32, -1 %36 = icmp eq i1 %35, false br i1 %36, label LBL_8, label LBL_7 LBL_7: %37 = load i64, i64* %rsi, align 8 %38 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0), i64 %37, i64 %18, i64 %4, i64 %2, i64 %1) %39 = call i64 @FUNC(i64 %18) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_8: %40 = load i16, i16* %27, align 8 %41 = zext i16 %40 to i64 %42 = add nuw nsw i64 %41, 2 %43 = trunc i64 %42 to i16 store i16 %43, i16* %arg2, align 2 %44 = load i16, i16* %34, align 2 %switch = icmp ult i16 %44, 2 br i1 %switch, label LBL_10, label LBL_9 LBL_9: %45 = load i64, i64* %rsi, align 8 %46 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0), i64 %45, i64 %42, i64 %4, i64 %2, i64 %1) %47 = call i64 @FUNC(i64 %18) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_10: %48 = call i64* @malloc(i32 2) %49 = ptrtoint i64* %48 to i64 %50 = add i64 %18, 8 %51 = inttoptr i64 %50 to i64* store i64 %49, i64* %51, align 8 %52 = icmp eq i64* %48, null %53 = icmp eq i1 %52, false br i1 %53, label LBL_12, label LBL_11 LBL_11: %54 = load i64, i64* %rsi, align 8 %55 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_5, i64 0, i64 0), i64 %54, i64 %49, i64 %4, i64 %2, i64 %1) %56 = call i64 @FUNC(i64 %18) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_12: %57 = load i16, i16* %27, align 8 %58 = zext i16 %57 to i64 store i64 %58, i64* %rsi, align 8 %59 = call i64 @FUNC(i64 2, i64 %58, i64 %49, i64 2) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %60, 0 %62 = icmp slt i32 %60, 0 %63 = icmp eq i1 %62, false %64 = icmp eq i1 %61, false %65 = icmp eq i1 %63, %64 br i1 %65, label LBL_14, label LBL_13 LBL_13: %66 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_6, i64 0, i64 0), i64 %58, i64 %49, i64 2, i64 %2, i64 %1) %67 = call i64 @FUNC(i64 %18) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_14: %68 = add i16 %57, 2 store i16 %68, i16* %arg2, align 2 store i16 -257, i16* %sv_0, align 2 %69 = load i64, i64* %51, align 8 %70 = ptrtoint i16* %sv_0 to i64 store i64 %70, i64* %rsi, align 8 %71 = inttoptr i64 %69 to i64* %72 = bitcast i16* %sv_0 to i64* %73 = call i32 @memcmp(i64* %71, i64* nonnull %72, i32 2) %74 = icmp eq i32 %73, 0 br i1 %74, label LBL_16, label LBL_15 LBL_15: %75 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_7, i64 0, i64 0), i64 %70, i64 2, i64 %70, i64 %2, i64 %1) %76 = call i64 @FUNC(i64 %18) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_16: %77 = trunc i64 %70 to i16 %78 = add i16 %77, 3 %79 = and i16 %78, -4 store i16 %79, i16* %arg2, align 2 %80 = load i16, i16* %21, align 2 %81 = udiv i16 %80, 4 %82 = zext i16 %81 to i32 %83 = add i64 %18, 16 %84 = inttoptr i64 %83 to i32* store i32 %82, i32* %84, align 4 %85 = icmp ult i16 %80, 4 %86 = icmp eq i1 %85, false br i1 %86, label LBL_18, label LBL_17 LBL_17: %87 = zext i16 %81 to i64 %88 = load i64, i64* %rsi, align 8 %89 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_8, i64 0, i64 0), i64 %88, i64 %87, i64 %70, i64 %2, i64 %1) %90 = call i64 @FUNC(i64 %18) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_18: %91 = load i16, i16* %21, align 2 %92 = zext i16 %91 to i32 %93 = call i64* @malloc(i32 %92) %94 = ptrtoint i64* %93 to i64 %95 = add i64 %18, 24 %96 = inttoptr i64 %95 to i64* store i64 %94, i64* %96, align 8 %97 = icmp eq i64* %93, null %98 = icmp eq i1 %97, false br i1 %98, label LBL_20, label LBL_19 LBL_19: %99 = load i64, i64* %rsi, align 8 %100 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_9, i64 0, i64 0), i64 %99, i64 %94, i64 %70, i64 %2, i64 %1) %101 = call i64 @FUNC(i64 %18) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_20: %102 = zext i16 %91 to i64 %103 = load i16, i16* %21, align 2 %104 = zext i16 %103 to i64 %105 = load i16, i16* %27, align 8 %106 = zext i16 %105 to i64 store i64 %106, i64* %rsi, align 8 %107 = call i64 @FUNC(i64 %102, i64 %106, i64 %94, i64 %104) %108 = load i16, i16* %21, align 2 %109 = trunc i64 %107 to i32 %110 = zext i16 %108 to i32 %111 = icmp eq i32 %109, %110 br i1 %111, label LBL_22, label LBL_21 LBL_21: %112 = zext i16 %108 to i64 %113 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_10, i64 0, i64 0), i64 %106, i64 %112, i64 %104, i64 %2, i64 %1) %114 = call i64 @FUNC(i64 %18) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_22: %115 = add i16 %108, %105 store i16 %115, i16* %arg2, align 2 store i64 %18, 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 i16 %108, { 0, 2, 1 } uselistorder i16 %91, { 1, 0 } uselistorder i64 %70, { 4, 3, 0, 2, 1, 5 } uselistorder i32 %60, { 1, 0 } uselistorder i64 %49, { 1, 0, 2, 3 } uselistorder i64 %30, { 1, 0 } uselistorder i64 %18, { 0, 9, 8, 10, 7, 11, 6, 5, 4, 12, 3, 2, 13, 14, 1, 16, 15 } uselistorder i64* %5, { 0, 1, 3, 2 } uselistorder i64* %rsi, { 6, 13, 12, 5, 4, 11, 10, 9, 3, 7, 8, 2, 1, 0 } uselistorder i64 %2, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @r_buf_read_at, { 1, 0 } uselistorder i16 2, { 1, 0, 2 } uselistorder i64 2, { 1, 0, 4, 2, 3, 5 } uselistorder i64 (i64, i64)* @r_buf_read_le16_at, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pe_printf, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
unimp_class_init_298
unimp_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 4198669, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i8* store i8 1, i8* %4, align 1 ret i64 %0 uselistorder i64 %0, { 1, 0, 2 } }
0
BinRealVul
uv_rwlock_tryrdlock_13196
uv_rwlock_tryrdlock
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i32 @pthread_rwlock_tryrdlock(i64* %arg1) switch i32 %0, label LBL_1 [ i32 16, label LBL_2 i32 11, label LBL_2 i32 0, label LBL_2 ] LBL_1: call void @abort() unreachable LBL_2: %1 = icmp eq i32 %0, 0 %. = select i1 %1, i64 0, i64 4294967295 ret i64 %. uselistorder i32 %0, { 1, 0 } }
1
BinRealVul
BuildTestPacket_13471
BuildTestPacket
define i64 @FUNC(i64 %arg1, i16 %arg2, i16 %arg3, i32 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %0 = call i64 @FUNC(i64 1, i64 1532) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_14 LBL_1: %sext = mul i64 %arg6, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = inttoptr i64 %0 to %timeval* %5 = call i64 @FUNC(i64 %0) %6 = call i32 @gettimeofday(%timeval* %4, %timezone* null) store i32 69, i32* %sv_0, align 4 %7 = trunc i64 %3 to i16 %8 = add i16 %7, 20 %9 = call i16 @htons(i16 %8) %10 = call i16 @htons(i16 %arg2) %11 = call i16 @htons(i16 %arg3) %12 = icmp eq i32 %arg4, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = or i16 %arg3, 8192 %14 = call i16 @htons(i16 %13) br label LBL_4 LBL_3: %15 = call i16 @htons(i16 %arg3) br label LBL_4 LBL_4: %16 = bitcast i32* %sv_0 to i8* %17 = call i64 @FUNC(i64 %0, i8* nonnull %16, i64 24) %18 = call i64 @FUNC(i64 %0) %19 = add i64 %0, 16 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 %21 = add i64 %0, 24 %22 = call i64 @FUNC(i64 %0, i64 %21) %23 = add i64 %0, 28 %24 = call i64 @FUNC(i64 %0, i64 %23) %25 = call i64 @FUNC(i64 1, i64 %3) %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false store i64 0, i64* %rax.0.reg2mem br i1 %27, label LBL_5, label LBL_14 LBL_5: %28 = trunc i64 %3 to i32 %arg5.tr = trunc i64 %arg5 to i32 %sext10 = mul i32 %arg5.tr, 16777216 %29 = ashr exact i32 %sext10, 24 %30 = inttoptr i64 %25 to i64* %31 = call i64* @memset(i64* %30, i32 %29, i32 %28) %32 = call i64 @FUNC(i64 %0, i32 20, i64 %25, i64 %3) %33 = add nsw i64 %3, 20 %34 = and i64 %33, 4294967295 %35 = call i64 @FUNC(i64 %0, i64 %34) %36 = call i64 @FUNC(i64 %25) %37 = call i64 @FUNC(i64 %0) %38 = load i64, i64* %20, align 8 %39 = call i64 @FUNC(i64 %37, i64 20) %40 = trunc i64 %39 to i16 %41 = add i64 %38, 20 %42 = inttoptr i64 %41 to i16* store i16 %40, i16* %42, align 2 %43 = call i64 @FUNC(i64 %0) %44 = trunc i64 %43 to i8 %45 = icmp eq i8 %44, 4 %46 = icmp eq i1 %45, false br i1 %46, label LBL_13, label LBL_6 LBL_6: %47 = call i64 @FUNC(i64 %0) %48 = urem i64 %47, 256 %49 = icmp eq i64 %48, 20 %50 = icmp eq i1 %49, false br i1 %50, label LBL_13, label LBL_7 LBL_7: %51 = call i64 @FUNC(i64 %0) %52 = trunc i64 %51 to i32 %53 = add i32 %28, 20 %54 = urem i32 %52, 65536 %55 = icmp eq i32 %54, %53 %56 = icmp eq i1 %55, false br i1 %56, label LBL_13, label LBL_8 LBL_8: %57 = call i64 @FUNC(i64 %0) %58 = trunc i64 %57 to i16 %59 = icmp eq i16 %58, %arg2 %60 = icmp eq i1 %59, false br i1 %60, label LBL_13, label LBL_9 LBL_9: %61 = call i64 @FUNC(i64 %0) %62 = trunc i64 %61 to i16 %63 = icmp eq i16 %62, %arg3 %64 = icmp eq i1 %63, false br i1 %64, label LBL_13, label LBL_10 LBL_10: %65 = call i64 @FUNC(i64 %0) %66 = trunc i64 %65 to i32 %67 = urem i32 %66, 256 %68 = icmp eq i32 %67, %arg4 %69 = icmp eq i1 %68, false br i1 %69, label LBL_13, label LBL_11 LBL_11: %70 = call i64 @FUNC(i64 %0) %71 = urem i64 %70, 256 %72 = icmp eq i64 %71, 64 %73 = icmp eq i1 %72, false br i1 %73, label LBL_13, label LBL_12 LBL_12: %74 = call i64 @FUNC(i64 %0) %75 = trunc i64 %arg1 to i8 %76 = trunc i64 %74 to i8 %77 = icmp eq i8 %75, %76 %78 = icmp eq i1 %77, false store i64 %0, i64* %rax.0.reg2mem br i1 %78, label LBL_13, label LBL_14 LBL_13: %79 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 2, 0, 4, 1, 3 } uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 } uselistorder i32* %sv_0, { 1, 0 } uselistorder i32 65536, { 0, 4, 2, 1, 3 } uselistorder i64 4294967295, { 2, 0, 1 } uselistorder i64 20, { 0, 3, 2, 1 } uselistorder i64 (i64)* @GET_PKT_DATA, { 1, 0 } uselistorder i64 24, { 1, 0, 2 } uselistorder i16 8192, { 1, 0 } uselistorder i16 (i16)* @htons, { 5, 4, 3, 2, 1, 0 } uselistorder i1 false, { 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 11, 0 } uselistorder i64 (i64, i64)* @SCCalloc, { 1, 0 } uselistorder i32 1, { 9, 2, 1, 0, 8, 10, 11, 7, 6, 5, 4, 3 } uselistorder i16 %arg3, { 1, 2, 0, 3 } uselistorder label LBL_13, { 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
hfi1_user_sdma_free_queues_4083
hfi1_user_sdma_free_queues
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = load i64, i64* %0 %5 = add i64 %3, 24 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %7 to i64 %12 = zext i32 %10 to i64 %13 = and i64 %2, 4294967295 %14 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %12, i64 %11, i64 %1) %15 = inttoptr i64 %8 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_4, label LBL_1 LBL_1: %18 = add i64 %16, 36 %19 = call i64 @FUNC(i64 %18) %20 = add i64 %3, 12 %21 = call i64 @FUNC(i64 %20, i64 %4) %22 = add i64 %16, 20 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_3, label LBL_2 LBL_2: %27 = call i64 @FUNC(i64 %22) br label LBL_3 LBL_3: %28 = call i64 @FUNC(i64 %20, i64 %4) %29 = add i64 %16, 8 %30 = call i64 @FUNC(i64 %29) %31 = add i64 %16, 12 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, 0 %35 = add i64 %16, 16 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = zext i1 %34 to i64 %39 = zext i32 %37 to i64 %40 = call i64 @FUNC(i64 %39, i64 %38) %41 = add i64 %16, 24 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43) %45 = add i64 %16, 32 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = zext i32 %47 to i64 %49 = call i64 @FUNC(i64 %48) %50 = call i64 @FUNC(i64 %16) store i64 0, i64* %15, align 8 br label LBL_4 LBL_4: %51 = add i64 %3, 16 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = icmp eq i64 %53, 0 br i1 %54, label LBL_6, label LBL_5 LBL_5: %55 = inttoptr i64 %53 to i64* %56 = load i64, i64* %55, align 8 %57 = call i64 @FUNC(i64 %56) %58 = load i64, i64* %52, align 8 %59 = call i64 @FUNC(i64 %58) store i64 0, i64* %52, align 8 br label LBL_6 LBL_6: ret i64 0 uselistorder i64* %52, { 1, 0, 2 } uselistorder i64 %16, { 0, 2, 1, 3, 5, 4, 6, 7, 8 } uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @kfree, { 2, 1, 0 } }
0
BinRealVul
IsLocaleTreeInstantiated_9896
IsLocaleTreeInstantiated
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem2 = alloca i64 %sv_0.5.reg2mem = alloca i64 %sv_0.4.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %.reg2mem2 br i1 %2, label LBL_17, label LBL_1 LBL_1: %3 = load i64, i64* @gv_1, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64* nonnull @gv_1) %.pre = load i64, i64* @gv_1, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %7 = call i64 @FUNC(i64 %.reload) %8 = load i64, i64* @gv_0, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_16, label LBL_4 LBL_4: %11 = call i8* @setlocale(i32 0, i8* null) %12 = icmp eq i8* %11, null br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = ptrtoint i8* %11 to i64 %14 = call i64 @FUNC(i64 %13) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %14, i64* %sv_0.1.reg2mem br i1 %16, label LBL_7, label LBL_6 LBL_6: %17 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) store i64 %17, i64* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %18 = icmp eq i64 %sv_0.1.reload, 0 %19 = icmp eq i1 %18, false store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br i1 %19, label LBL_9, label LBL_8 LBL_8: %20 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0)) store i64 %20, i64* %sv_0.2.reg2mem br label LBL_9 LBL_9: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %21 = icmp eq i64 %sv_0.2.reload, 0 %22 = icmp eq i1 %21, false store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem br i1 %22, label LBL_11, label LBL_10 LBL_10: %23 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0)) store i64 %23, i64* %sv_0.3.reg2mem br label LBL_11 LBL_11: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %24 = icmp eq i64 %sv_0.3.reload, 0 %25 = icmp eq i1 %24, false store i64 %sv_0.3.reload, i64* %sv_0.4.reg2mem br i1 %25, label LBL_13, label LBL_12 LBL_12: %26 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0)) store i64 %26, i64* %sv_0.4.reg2mem br label LBL_13 LBL_13: %sv_0.4.reload = load i64, i64* %sv_0.4.reg2mem %27 = icmp eq i64 %sv_0.4.reload, 0 %28 = icmp eq i1 %27, false store i64 %sv_0.4.reload, i64* %sv_0.5.reg2mem br i1 %28, label LBL_15, label LBL_14 LBL_14: %29 = call i64 @FUNC(i64 ptrtoint (i64* @gv_6 to i64)) store i64 %29, i64* %sv_0.5.reg2mem br label LBL_15 LBL_15: %30 = ptrtoint i64* %arg1 to i64 %sv_0.5.reload = load i64, i64* %sv_0.5.reg2mem %31 = load [12 x i8]*, [12 x i8]** @gv_7, align 8 %32 = ptrtoint [12 x i8]* %31 to i64 %33 = call i64 @FUNC(i64 %32, i64 %sv_0.5.reload, i64 %30) store i64 %33, i64* @gv_0, align 8 %34 = call i64 @FUNC(i64 %sv_0.5.reload) br label LBL_16 LBL_16: %35 = load i64, i64* @gv_1, align 8 %36 = call i64 @FUNC(i64 %35) %.pre1 = load i64, i64* @gv_0, align 8 store i64 %.pre1, i64* %.reg2mem2 br label LBL_17 LBL_17: %.reload3 = load i64, i64* %.reg2mem2 %37 = icmp eq i64 %.reload3, 0 %38 = icmp eq i1 %37, false %39 = zext i1 %38 to i64 ret i64 %39 uselistorder i8* %11, { 1, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem2, { 0, 2, 1 } uselistorder i64 (i8*)* @GetEnvironmentValue, { 3, 2, 1, 0 } uselistorder i64 (i64)* @ConstantString, { 1, 0 } uselistorder i64* @gv_1, { 2, 0, 1, 3 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
rfbProcessFileTransferReadBuffer_12286
rfbProcessFileTransferReadBuffer
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 0 store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_7, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %2 to i32 %4 = add i32 %3, 1 %5 = call i64* @malloc(i32 %4) %6 = ptrtoint i64* %5 to i64 %7 = icmp eq i64* %5, null store i64 %6, i64* %storemerge.reg2mem br i1 %7, label LBL_7, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %arg1, i64 %6, i32 %3) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp slt i32 %9, 0 %12 = icmp eq i1 %11, false %13 = icmp eq i1 %10, false %14 = icmp eq i1 %12, %13 br i1 %14, label LBL_6, label LBL_3 LBL_3: br i1 %10, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0)) br label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %arg1) call void @free(i64* nonnull %5) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %17 = and i64 %2, 4294967295 %18 = add i64 %17, %6 %19 = inttoptr i64 %18 to i8* store i8 0, i8* %19, align 1 store i64 %6, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %9, { 1, 0 } uselistorder i64 %6, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_7, { 2, 3, 1, 0 } }
1
BinRealVul
is_zero_cluster_16148
is_zero_cluster
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %3 = trunc i64 %1 to i32 %4 = call i64 @FUNC(i64 %2, i64 0, i64 %arg2, i32 %3, i64* nonnull %sv_0, i64* nonnull %sv_1) %5 = icmp slt i64 %4, 0 br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = trunc i64 %4 to i32 %7 = urem i32 %6, 2 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 1, i64* %storemerge.reg2mem br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = and i32 %6, 2 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 1, i64* %storemerge.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_3: store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %6, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0, 2 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_4, { 2, 1, 0 } }
1
BinRealVul
gic_cpu_write_865
gic_cpu_write
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = trunc i64 %arg3 to i32 %sext5 = mul i64 %arg4, 4294967296 %6 = ashr exact i64 %sext5, 32 %7 = icmp eq i32 %5, 16 br i1 %7, label LBL_7, label LBL_1 LBL_1: %sext4 = mul i64 %arg3, 4294967296 %8 = ashr exact i64 %sext4, 32 %9 = trunc i64 %8 to i32 %10 = icmp sgt i32 %9, 16 br i1 %10, label LBL_8, label LBL_2 LBL_2: %11 = icmp eq i32 %9, 8 br i1 %11, label LBL_9, label LBL_3 LBL_3: %12 = icmp sgt i32 %9, 8 br i1 %12, label LBL_8, label LBL_4 LBL_4: switch i32 %9, label LBL_8 [ i32 0, label LBL_5 i32 4, label LBL_6 ] LBL_5: %13 = urem i64 %6, 2 %14 = trunc i64 %13 to i32 %15 = ashr exact i64 %sext, 30 %16 = add i64 %15, %3 %17 = inttoptr i64 %16 to i32* store i32 %14, i32* %17, align 4 %18 = icmp eq i32 %14, 0 %19 = and i64 %4, 4294967295 %20 = select i1 %18, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0) %21 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %19, i8* %20, i64 %13, i64 %2, i64 %1) br label LBL_9 LBL_6: %22 = trunc i64 %6 to i32 %23 = urem i32 %22, 256 %24 = ashr exact i64 %sext, 30 %25 = add i64 %3, 16 %26 = add i64 %25, %24 %27 = inttoptr i64 %26 to i32* store i32 %23, i32* %27, align 4 br label LBL_9 LBL_7: %28 = urem i64 %6, 1024 %29 = and i64 %4, 4294967295 %30 = call i64 @FUNC(i64 %3, i64 %29, i64 %28) store i64 %30, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %31 = and i64 %8, 4294967295 %32 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %31, i64 %arg3, i64 %arg4, i64 %2, i64 %1) store i64 %32, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %33 = call i64 @FUNC(i64 %3) store i64 %33, 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 %13, { 1, 0 } uselistorder i64 %6, { 0, 2, 1 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %sext, { 1, 2, 0 } uselistorder i64 %3, { 2, 3, 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967295, { 2, 0, 1 } uselistorder i64 30, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i32 8, { 1, 0, 2, 3 } uselistorder i32 16, { 1, 0 } uselistorder i64 32, { 1, 0, 2 } uselistorder i64 4294967296, { 1, 0, 2 } uselistorder i64 %arg4, { 1, 0 } uselistorder i64 %arg3, { 1, 0, 2 } uselistorder label LBL_9, { 1, 2, 0 } }
0
BinRealVul
wireless_process_ioctl_10304
wireless_process_ioctl
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 4294967277, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_11 LBL_1: %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = trunc i64 %4 to i32 switch i32 %5, label LBL_5 [ i32 35611, label LBL_2 i32 35612, label LBL_3 ] LBL_2: %6 = call i64 @FUNC(i64 %1, i64 %0) store i64 %6, i64* %rax.0.reg2mem br label LBL_11 LBL_3: %7 = add i64 %1, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = call i64 @FUNC(i64 %1, i64 %0) store i64 %11, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %12 = call i64 @FUNC(i64 %1) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 4294967277, i64* %rax.0.reg2mem br i1 %15, label LBL_6, label LBL_11 LBL_6: %16 = and i64 %4, 4294967295 %17 = call i64 @FUNC(i64 %1, i64 %16) %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_10, label LBL_7 LBL_7: %19 = icmp ult i32 %5, 35616 br i1 %19, label LBL_8, label LBL_9 LBL_8: %20 = call i64 @FUNC(i64 %1, i64 %0, i32 %5, i64 %17) store i64 %20, i64* %rax.0.reg2mem br label LBL_11 LBL_9: %21 = call i64 @FUNC(i64 %1, i64 %0, i32 %5, i64 %17) store i64 %21, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %22 = inttoptr i64 %1 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %. = select i1 %24, i64 4294967201, i64 %1 store i64 %., i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %17, { 1, 0, 2 } uselistorder i32 %5, { 1, 2, 0, 3 } uselistorder i64 %1, { 0, 3, 2, 1, 4, 5, 6, 7, 8, 9 } uselistorder i64 %0, { 2, 1, 0, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 6, 2, 4, 7, 3 } uselistorder label LBL_11, { 0, 3, 4, 1, 5, 6, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
fib6_rule_suppress_13608
fib6_rule_suppress
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp eq i64* %arg2, null %4 = icmp eq i1 %3, false store i64 0, 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, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 store i32* null, i32** %sv_0.0.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = inttoptr i64 %8 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i32* store i32* %12, i32** %sv_0.0.reg2mem br label LBL_3 LBL_3: %13 = trunc i64 %2 to i32 %14 = trunc i64 %1 to i32 %15 = icmp ugt i32 %13, %14 br i1 %15, label LBL_4, label LBL_6 LBL_4: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %16 = ptrtoint i32* %arg1 to i64 %17 = add i64 %16, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, -1 %21 = icmp eq i32* %sv_0.0.reload, null %or.cond = or i1 %21, %20 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_8, label LBL_5 LBL_5: %22 = load i32, i32* %sv_0.0.reload, align 4 %23 = icmp eq i32 %22, %19 store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_8 LBL_6: %24 = inttoptr i64 %6 to i32* %25 = load i32, i32* %24, align 4 %26 = urem i32 %25, 2 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i64 1, i64* %rax.0.reg2mem br i1 %28, label LBL_8, label LBL_7 LBL_7: %29 = call i64 @FUNC(i64 %5) store i64 1, 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* %rax.0.reg2mem, { 0, 2, 1, 4, 3, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32* null, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_8, { 1, 0, 3, 2, 4 } }
0
BinRealVul
ff_h263_pred_motion_18745
ff_h263_pred_motion
define i64 @FUNC(i32* %arg1, i32 %arg2, i32 %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i64 %.pre-phi15.reg2mem = alloca i16* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg1 to i64 %4 = trunc i64 %2 to i32 %5 = sext i32 %arg3 to i64 %6 = mul i64 %5, 8 %7 = add i64 %3, 24 %8 = add i64 %7, %6 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = sext i32 %arg2 to i64 %12 = mul i64 %11, 4 %13 = add i64 %3, 40 %14 = add i64 %13, %12 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 4 %19 = add i64 %18, %10 %20 = add i64 %19, -4 %21 = inttoptr i64 %20 to i16* %22 = add i64 %3, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 0 %26 = icmp sgt i32 %arg2, 2 %or.cond = or i1 %26, %25 br i1 %or.cond, label LBL_19, label LBL_1 LBL_1: %27 = icmp eq i32 %arg2, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_10, label LBL_2 LBL_2: %29 = add i64 %3, 4 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = add i64 %3, 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %31, %34 %36 = icmp eq i1 %35, false br i1 %36, label LBL_4, label LBL_3 LBL_3: %37 = trunc i64 %1 to i32 %38 = bitcast i64* %arg5 to i32* store i32 0, i32* %38, align 4 %39 = bitcast i64* %arg4 to i32* store i32 %37, i32* %39, align 4 br label LBL_20 LBL_4: %40 = add i32 %31, 1 %41 = icmp eq i32 %40, %34 %42 = icmp eq i1 %41, false br i1 %42, label LBL_9, label LBL_5 LBL_5: %43 = add i64 %3, 16 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_9, label LBL_6 LBL_6: %47 = add i64 %12, ptrtoint (i32** @gv_0 to i64) %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = sub i32 %49, %4 %51 = sext i32 %50 to i64 %52 = mul i64 %51, 4 %53 = add i64 %52, %19 %54 = inttoptr i64 %53 to i16* %55 = icmp eq i32 %31, 0 %56 = icmp eq i1 %55, false %57 = load i16, i16* %54, align 2 br i1 %56, label LBL_8, label LBL_7 LBL_7: %58 = sext i16 %57 to i32 %59 = bitcast i64* %arg4 to i32* store i32 %58, i32* %59, align 4 %60 = add i64 %53, 2 %61 = inttoptr i64 %60 to i16* %62 = load i16, i16* %61, align 2 %63 = sext i16 %62 to i32 %64 = bitcast i64* %arg5 to i32* store i32 %63, i32* %64, align 4 br label LBL_20 LBL_8: %65 = sext i16 %57 to i64 %66 = load i16, i16* %21, align 2 %67 = sext i16 %66 to i64 %68 = and i64 %67, 4294967295 %69 = call i64 @FUNC(i64 %68, i64 0, i64 %65) %70 = trunc i64 %69 to i32 %sext = mul i32 %70, 65536 %71 = ashr exact i32 %sext, 16 %72 = bitcast i64* %arg4 to i32* store i32 %71, i32* %72, align 4 %73 = add i64 %53, 2 %74 = inttoptr i64 %73 to i16* %75 = load i16, i16* %74, align 2 %76 = sext i16 %75 to i64 %77 = add i64 %19, -2 %78 = inttoptr i64 %77 to i16* %79 = load i16, i16* %78, align 2 %80 = sext i16 %79 to i64 %81 = and i64 %80, 4294967295 %82 = call i64 @FUNC(i64 %81, i64 0, i64 %76) %83 = trunc i64 %82 to i32 %sext5 = mul i32 %83, 65536 %84 = ashr exact i32 %sext5, 16 %85 = bitcast i64* %arg5 to i32* store i32 %84, i32* %85, align 4 br label LBL_20 LBL_9: %86 = load i16, i16* %21, align 2 %87 = sext i16 %86 to i32 %88 = bitcast i64* %arg4 to i32* store i32 %87, i32* %88, align 4 %89 = add i64 %19, -2 %90 = inttoptr i64 %89 to i16* %91 = load i16, i16* %90, align 2 %92 = sext i16 %91 to i32 %93 = bitcast i64* %arg5 to i32* store i32 %92, i32* %93, align 4 br label LBL_20 LBL_10: %94 = icmp eq i32 %arg2, 1 %95 = icmp eq i1 %94, false br i1 %95, label LBL_15, label LBL_11 LBL_11: %96 = add i64 %3, 4 %97 = inttoptr i64 %96 to i32* %98 = load i32, i32* %97, align 4 %99 = add i32 %98, 1 %100 = add i64 %3, 8 %101 = inttoptr i64 %100 to i32* %102 = load i32, i32* %101, align 4 %103 = icmp eq i32 %99, %102 %104 = icmp eq i1 %103, false br i1 %104, label LBL_14, label LBL_12 LBL_12: %105 = add i64 %3, 16 %106 = inttoptr i64 %105 to i32* %107 = load i32, i32* %106, align 4 %108 = icmp eq i32 %107, 0 br i1 %108, label LBL_14, label LBL_13 LBL_13: %109 = add i64 %12, ptrtoint (i32** @gv_0 to i64) %110 = inttoptr i64 %109 to i32* %111 = load i32, i32* %110, align 4 %112 = sub i32 %111, %4 %113 = sext i32 %112 to i64 %114 = mul i64 %113, 4 %115 = add i64 %114, %19 %116 = inttoptr i64 %115 to i16* %117 = load i16, i16* %116, align 2 %118 = sext i16 %117 to i64 %119 = load i16, i16* %21, align 2 %120 = sext i16 %119 to i64 %121 = and i64 %120, 4294967295 %122 = call i64 @FUNC(i64 %121, i64 0, i64 %118) %123 = trunc i64 %122 to i32 %sext6 = mul i32 %123, 65536 %124 = ashr exact i32 %sext6, 16 %125 = bitcast i64* %arg4 to i32* store i32 %124, i32* %125, align 4 %126 = add i64 %115, 2 %127 = inttoptr i64 %126 to i16* %128 = load i16, i16* %127, align 2 %129 = sext i16 %128 to i64 %130 = add i64 %19, -2 %131 = inttoptr i64 %130 to i16* %132 = load i16, i16* %131, align 2 %133 = sext i16 %132 to i64 %134 = and i64 %133, 4294967295 %135 = call i64 @FUNC(i64 %134, i64 0, i64 %129) %136 = trunc i64 %135 to i32 %sext7 = mul i32 %136, 65536 %137 = ashr exact i32 %sext7, 16 %138 = bitcast i64* %arg5 to i32* store i32 %137, i32* %138, align 4 br label LBL_20 LBL_14: %139 = load i16, i16* %21, align 2 %140 = sext i16 %139 to i32 %141 = bitcast i64* %arg4 to i32* store i32 %140, i32* %141, align 4 %142 = add i64 %19, -2 %143 = inttoptr i64 %142 to i16* %144 = load i16, i16* %143, align 2 %145 = sext i16 %144 to i32 %146 = bitcast i64* %arg5 to i32* store i32 %145, i32* %146, align 4 br label LBL_20 LBL_15: %147 = add i64 %12, ptrtoint (i32** @gv_0 to i64) %148 = inttoptr i64 %147 to i32* %149 = load i32, i32* %148, align 4 %150 = add i64 %3, 4 %151 = inttoptr i64 %150 to i32* %152 = load i32, i32* %151, align 4 %153 = add i64 %3, 8 %154 = inttoptr i64 %153 to i32* %155 = load i32, i32* %154, align 4 %156 = icmp eq i32 %152, %155 %157 = icmp eq i1 %156, false br i1 %157, label LBL_15.LBL_18_crit_edge, label LBL_17 LBL_16: %.pre = load i16, i16* %21, align 2 %.pre13 = add i64 %19, -2 %.pre14 = inttoptr i64 %.pre13 to i16* %phitmp = sext i16 %.pre to i64 %phitmp17 = and i64 %phitmp, 4294967295 store i16* %.pre14, i16** %.pre-phi15.reg2mem store i64 %phitmp17, i64* %.reg2mem br label LBL_18 LBL_17: %158 = add i64 %19, -2 %159 = inttoptr i64 %158 to i16* store i16 0, i16* %159, align 2 store i16 0, i16* %21, align 2 store i16* %159, i16** %.pre-phi15.reg2mem store i64 0, i64* %.reg2mem br label LBL_18 LBL_18: %160 = mul i64 %2, 4294967296 %sext16 = sub i64 0, %160 %161 = ashr exact i64 %sext16, 30 %162 = add i64 %19, %161 %163 = inttoptr i64 %162 to i16* %164 = sub i32 %149, %4 %165 = sext i32 %164 to i64 %166 = mul i64 %165, 4 %167 = add i64 %166, %19 %168 = inttoptr i64 %167 to i16* %.reload = load i64, i64* %.reg2mem %.pre-phi15.reload = load i16*, i16** %.pre-phi15.reg2mem %169 = load i16, i16* %168, align 2 %170 = sext i16 %169 to i64 %171 = load i16, i16* %163, align 2 %172 = sext i16 %171 to i64 %173 = and i64 %172, 4294967295 %174 = call i64 @FUNC(i64 %.reload, i64 %173, i64 %170) %175 = trunc i64 %174 to i32 %sext8 = mul i32 %175, 65536 %176 = ashr exact i32 %sext8, 16 %177 = bitcast i64* %arg4 to i32* store i32 %176, i32* %177, align 4 %178 = add i64 %167, 2 %179 = inttoptr i64 %178 to i16* %180 = load i16, i16* %179, align 2 %181 = sext i16 %180 to i64 %182 = add i64 %162, 2 %183 = inttoptr i64 %182 to i16* %184 = load i16, i16* %183, align 2 %185 = load i16, i16* %.pre-phi15.reload, align 2 %186 = sext i16 %185 to i64 %187 = sext i16 %184 to i64 %188 = and i64 %187, 4294967295 %189 = and i64 %186, 4294967295 %190 = call i64 @FUNC(i64 %189, i64 %188, i64 %181) %191 = trunc i64 %190 to i32 %sext9 = mul i32 %191, 65536 %192 = ashr exact i32 %sext9, 16 %193 = bitcast i64* %arg5 to i32* store i32 %192, i32* %193, align 4 br label LBL_20 LBL_19: %194 = mul i64 %2, 4294967296 %sext18 = sub i64 0, %194 %195 = ashr exact i64 %sext18, 30 %196 = add i64 %19, %195 %197 = add i64 %12, ptrtoint (i32** @gv_0 to i64) %198 = inttoptr i64 %197 to i32* %199 = load i32, i32* %198, align 4 %200 = sub i32 %199, %4 %201 = sext i32 %200 to i64 %202 = mul i64 %201, 4 %203 = add i64 %202, %19 %204 = inttoptr i64 %203 to i16* %205 = load i16, i16* %204, align 2 %206 = sext i16 %205 to i64 %207 = inttoptr i64 %196 to i16* %208 = load i16, i16* %207, align 2 %209 = load i16, i16* %21, align 2 %210 = sext i16 %209 to i64 %211 = sext i16 %208 to i64 %212 = and i64 %211, 4294967295 %213 = and i64 %210, 4294967295 %214 = call i64 @FUNC(i64 %213, i64 %212, i64 %206) %215 = trunc i64 %214 to i32 %sext10 = mul i32 %215, 65536 %216 = ashr exact i32 %sext10, 16 %217 = bitcast i64* %arg4 to i32* store i32 %216, i32* %217, align 4 %218 = add i64 %203, 2 %219 = inttoptr i64 %218 to i16* %220 = load i16, i16* %219, align 2 %221 = sext i16 %220 to i64 %222 = add i64 %196, 2 %223 = inttoptr i64 %222 to i16* %224 = load i16, i16* %223, align 2 %225 = add i64 %19, -2 %226 = inttoptr i64 %225 to i16* %227 = load i16, i16* %226, align 2 %228 = sext i16 %227 to i64 %229 = sext i16 %224 to i64 %230 = and i64 %229, 4294967295 %231 = and i64 %228, 4294967295 %232 = call i64 @FUNC(i64 %231, i64 %230, i64 %221) %233 = trunc i64 %232 to i32 %sext11 = mul i32 %233, 65536 %234 = ashr exact i32 %sext11, 16 %235 = bitcast i64* %arg5 to i32* store i32 %234, i32* %235, align 4 br label LBL_20 LBL_20: ret i64 %19 uselistorder i16 %57, { 1, 0 } uselistorder i16* %21, { 6, 4, 0, 3, 5, 2, 1 } uselistorder i64 %19, { 13, 7, 0, 1, 2, 3, 8, 6, 9, 10, 4, 11, 12, 5, 14 } uselistorder i64 %3, { 9, 8, 7, 6, 5, 4, 3, 2, 10, 0, 1 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i64 -2, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i64 (i64, i64, i64)* @mid_pred, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 3, 4, 5, 6, 7, 0, 8, 9, 10, 11 } uselistorder i64 4, { 0, 1, 6, 2, 7, 3, 8, 4, 5 } uselistorder i64 8, { 1, 2, 3, 0 } uselistorder i32 %arg2, { 2, 1, 0, 3 } uselistorder label LBL_20, { 3, 4, 5, 2, 6, 1, 0, 7 } uselistorder label LBL_18, { 1, 0 } }
1
BinRealVul
ehci_advance_async_state_16337
ehci_advance_async_state
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 = call i64 @FUNC(i64 %2, i64 1) %4 = trunc i64 %3 to i32 %5 = trunc i64 %1 to i32 switch i32 %4, label LBL_11 [ i32 0, label LBL_1 i32 1, label LBL_3 ] LBL_1: %6 = urem i32 %5, 2 %7 = icmp eq i32 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_12, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %2, i64 1) %9 = call i64 @FUNC(i64 %2, i64 1, i64 1) br label LBL_5 LBL_3: %.pre1 = urem i32 %5, 2 %10 = icmp eq i32 %.pre1, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = call i64 @FUNC(i64 %2, i64 1) %13 = call i64 @FUNC(i64 %2, i64 1, i64 0) store i64 %13, i64* %rax.0.reg2mem br label LBL_12 LBL_5: %14 = and i32 %5, 2 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_7, label LBL_6 LBL_6: %16 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0)) %17 = and i32 %5, -3 %18 = bitcast i64* %arg1 to i32* store i32 %17, i32* %18, align 4 %19 = call i64 @FUNC(i64 %2, i64 2) store i64 %19, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %20 = add i64 %2, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = and i32 %22, 2 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_9, label LBL_8 LBL_8: %25 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0)) store i64 %25, i64* %rax.0.reg2mem br label LBL_12 LBL_9: %26 = add i64 %2, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 store i64 0, i64* %rax.0.reg2mem br i1 %29, label LBL_12, label LBL_10 LBL_10: %30 = call i64 @FUNC(i64 %2, i64 1, i64 2) %31 = call i64 @FUNC(i64 %2, i64 1) store i64 %31, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %32 = add i64 %2, 12 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = zext i32 %34 to i64 %36 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %37 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %36, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i64 %35) call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_5, i64 0, i64 0), i32 76, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_6, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), 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 %5, { 2, 3, 0, 1 } uselistorder i64 %2, { 0, 5, 4, 7, 6, 3, 2, 1, 9, 8, 10 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 6, 4, 3, 2, 7 } uselistorder i64 (i8*)* @DPRINTF, { 1, 0 } uselistorder i64 (i64, i64, i64)* @ehci_set_state, { 2, 1, 0 } uselistorder i32 2, { 2, 3, 0, 1 } uselistorder i32 0, { 2, 3, 4, 5, 6, 1, 0 } uselistorder i64 1, { 2, 1, 3, 5, 6, 0, 7, 4 } uselistorder label LBL_12, { 2, 3, 0, 4, 5, 6, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
mon_init_func_14840
mon_init_func
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %2 = inttoptr i64 %1 to i8* %3 = icmp eq i64 %1, 0 %4 = icmp eq i1 %3, false %spec.select = select i1 %4, i8* %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0) %5 = call i32 @strcmp(i8* %spec.select, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i32 1, i32* %storemerge3.reg2mem br i1 %7, label LBL_1, label LBL_3 LBL_1: %8 = call i32 @strcmp(i8* %spec.select, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0)) %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i32 2, i32* %storemerge3.reg2mem br i1 %10, label LBL_2, label LBL_3 LBL_2: %11 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i8* %spec.select) call void @exit(i32 1) unreachable LBL_3: %13 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64 0) %14 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i64 0) %15 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0)) %16 = call i64 @FUNC(i64 %15) %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = inttoptr i64 %15 to i8* %20 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %21 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %20, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_8, i64 0, i64 0), i8* %19) call void @exit(i32 1) unreachable LBL_5: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %22 = trunc i64 %13 to i32 %23 = icmp eq i32 %22, 0 %24 = or i32 %storemerge3.reload, 4 %spec.select4 = select i1 %23, i32 %storemerge3.reload, i32 %24 %25 = trunc i64 %14 to i32 %26 = icmp eq i32 %25, 0 %27 = or i32 %spec.select4, 8 %sv_0.1 = select i1 %26, i32 %spec.select4, i32 %27 %28 = zext i32 %sv_0.1 to i64 %29 = call i64 @FUNC(i64 %16, i64 %28) ret i64 0 uselistorder i32 %storemerge3.reload, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @qemu_opt_get_bool, { 1, 0 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_3, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), { 1, 0 } uselistorder i64 (i64, i8*)* @qemu_opt_get, { 1, 0 } }
1
BinRealVul
ipmi_si_port_setup_8054
ipmi_si_port_setup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.in.reg2mem = alloca i32 %storemerge2.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967277, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_15 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 4 br i1 %9, label LBL_6, label LBL_2 LBL_2: %10 = icmp sgt i32 %8, 4 br i1 %10, label LBL_7, label LBL_3 LBL_3: switch i32 %8, label LBL_7 [ i32 1, label LBL_4 i32 2, label LBL_5 ] LBL_4: %11 = add i64 %5, 16 %12 = inttoptr i64 %11 to i64* store i64 4198772, i64* %12, align 8 %13 = add i64 %5, 24 %14 = inttoptr i64 %13 to i64* store i64 4198782, i64* %14, align 8 br label LBL_8 LBL_5: %15 = add i64 %5, 16 %16 = inttoptr i64 %15 to i64* store i64 4198795, i64* %16, align 8 %17 = add i64 %5, 24 %18 = inttoptr i64 %17 to i64* store i64 4198805, i64* %18, align 8 br label LBL_8 LBL_6: %19 = add i64 %5, 16 %20 = inttoptr i64 %19 to i64* store i64 4198818, i64* %20, align 8 %21 = add i64 %5, 24 %22 = inttoptr i64 %21 to i64* store i64 4198828, i64* %22, align 8 br label LBL_8 LBL_7: %23 = add i64 %5, 40 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i32 %8) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_15 LBL_8: %27 = add i64 %5, 8 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_14, label LBL_9 LBL_9: %31 = add i64 %5, 12 %32 = inttoptr i64 %31 to i32* store i32 0, i32* %storemerge2.reg2mem br label LBL_10 LBL_10: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %33 = load i32, i32* %7, align 4 %34 = load i32, i32* %32, align 4 %35 = mul i32 %34, %storemerge2.reload %36 = add i32 %35, %2 %37 = zext i32 %33 to i64 %38 = zext i32 %36 to i64 %39 = call i64 @FUNC(i64 %38, i64 %37, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0)) %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_13, label LBL_11 LBL_11: %42 = icmp eq i32 %storemerge2.reload, 0 %43 = icmp eq i1 %42, false store i32 %storemerge2.reload, i32* %.in.reg2mem store i64 4294967291, i64* %rax.0.reg2mem br i1 %43, label LBL_12, label LBL_15 LBL_12: %.in.reload = load i32, i32* %.in.reg2mem %44 = add i32 %.in.reload, -1 %45 = load i32, i32* %7, align 4 %46 = load i32, i32* %32, align 4 %47 = mul i32 %46, %44 %48 = add i32 %47, %2 %49 = zext i32 %45 to i64 %50 = zext i32 %48 to i64 %51 = call i64 @FUNC(i64 %50, i64 %49) %52 = icmp eq i32 %44, 0 %53 = icmp eq i1 %52, false store i32 %44, i32* %.in.reg2mem store i64 4294967291, i64* %rax.0.reg2mem br i1 %53, label LBL_12, label LBL_15 LBL_13: %54 = add i32 %storemerge2.reload, 1 %55 = load i32, i32* %28, align 4 %56 = zext i32 %55 to i64 %57 = sext i32 %54 to i64 %58 = icmp slt i64 %57, %56 store i32 %54, i32* %storemerge2.reg2mem br i1 %58, label LBL_10, label LBL_14 LBL_14: %59 = add i64 %5, 32 %60 = inttoptr i64 %59 to i64* store i64 4198841, i64* %60, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %44, { 0, 2, 1 } uselistorder i32 %storemerge2.reload, { 1, 0, 3, 2 } uselistorder i32* %28, { 1, 0 } uselistorder i64 %5, { 6, 7, 5, 4, 8, 9, 0, 1, 2, 3, 10 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i32* %.in.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 } uselistorder i32 4, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i32 0, { 3, 2, 0, 1, 4 } uselistorder label LBL_15, { 3, 0, 1, 4, 2 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
__read_io_type_11066
__read_io_type
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_3, label LBL_1 LBL_1: %1 = icmp eq i64* %arg1, inttoptr (i64 1 to i64*) %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_4 LBL_2: %3 = icmp eq i64* %arg1, inttoptr (i64 2 to i64*) %4 = icmp eq i1 %3, false store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_3, label LBL_4 LBL_3: store i64 2, 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 label LBL_4, { 2, 0, 1 } }
1
BinRealVul
l3_unscale_18784
l3_unscale
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %arg2 to i32 %4 = mul i64 %arg1, 4 %5 = urem i64 %arg2, 4 %6 = or i64 %5, %4 %sext = mul i64 %6, 4294967296 %7 = ashr exact i64 %sext, 30 %8 = add i64 %7, ptrtoint (i32** @gv_0 to i64) %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %7, ptrtoint (i32** @gv_1 to i64) %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = ashr i32 %3, 2 %15 = sub i32 %10, %14 %16 = icmp eq i32 %15, 0 %17 = icmp slt i32 %15, 0 %18 = icmp eq i1 %17, false %19 = icmp eq i1 %16, false %20 = icmp eq i1 %18, %19 br i1 %20, label LBL_2, label LBL_1 LBL_1: %21 = zext i32 %15 to i64 %22 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %2, i64 %1) br label LBL_2 LBL_2: %23 = icmp ult i32 %15, 32 store i64 0, i64* %storemerge2.reg2mem br i1 %23, label LBL_3, label LBL_4 LBL_3: %24 = add i32 %15, 31 %25 = urem i32 %24, 32 %26 = shl i32 1, %25 %27 = add i32 %26, %13 %28 = urem i32 %15, 32 %29 = lshr i32 %27, %28 %rdx.0 = zext i32 %29 to i64 store i64 %rdx.0, i64* %storemerge2.reg2mem br label LBL_4 LBL_4: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem ret i64 %storemerge2.reload uselistorder i32 %15, { 0, 2, 1, 3, 5, 4 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
unpack_entry_4946
unpack_entry
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 store i64 %arg2, i64* %sv_1, align 8 %5 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %6 = icmp eq i32 %5, 0 %7 = trunc i64 %2 to i32 %8 = icmp slt i32 %7, 2 %or.cond = or i1 %8, %6 br i1 %or.cond, label LBL_3, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %4, i64 %arg2) %10 = add i64 %9, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = sub i64 %12, %arg2 %14 = add i64 %9, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %4, i64* nonnull %sv_2, i64 %arg2, i64 %13, i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 store i64 %17, i64* %r8.0.reg2mem br i1 %20, label LBL_3, label LBL_2 LBL_2: %21 = load i32, i32* %15, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %4, i64 %22) %24 = call i64 @FUNC(i64 %23) %25 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %24, i64 %22, i64 %13, i64 %17, i64 %1) %26 = call i64 @FUNC(i64 %4, i64 %23) %27 = call i64 @FUNC(i64* nonnull %sv_2) store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_3: %28 = ptrtoint i64* %arg4 to i64 %29 = trunc i64 %3 to i32 %30 = call i64 @FUNC(i64 %4, i64* nonnull %sv_2, i64* nonnull %sv_1, i64 %28) %31 = trunc i64 %30 to i32 %32 = bitcast i64* %arg3 to i32* store i32 %31, i32* %32, align 4 %33 = icmp ult i32 %29, 2 br i1 %33, label LBL_5, label LBL_4 LBL_4: %34 = add i32 %29, -2 %35 = icmp ult i32 %34, 4 br i1 %35, label LBL_6, label LBL_7 LBL_5: %36 = ptrtoint i64* %arg3 to i64 %37 = load i64, i64* %sv_1, align 8 %38 = call i64 @FUNC(i64 %4, i64* nonnull %sv_2, i64 %37, i64 %28, i64 %arg2, i64 %36) store i64 %38, i64* %sv_0.0.reg2mem br label LBL_8 LBL_6: %39 = load i64, i64* %sv_1, align 8 %40 = call i64 @FUNC(i64 %4, i64* nonnull %sv_2, i64 %39, i64 %28) store i64 %40, i64* %sv_0.0.reg2mem br label LBL_8 LBL_7: %r8.0.reload = load i64, i64* %r8.0.reg2mem %41 = add i64 %4, 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = and i64 %3, 4294967295 %45 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %44, i64 %arg2, i64 %43, i64 %r8.0.reload, i64 %1) store i64 0, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %46 = call i64 @FUNC(i64* nonnull %sv_2) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %29, { 1, 0 } uselistorder i64 %22, { 1, 0 } uselistorder i64 %17, { 1, 0, 2 } uselistorder i64* %sv_1, { 1, 2, 0, 3 } uselistorder i64 %4, { 4, 5, 6, 7, 0, 1, 2, 3 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64*)* @unuse_pack, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64 %arg2, { 3, 4, 1, 0, 2, 5 } }
0
BinRealVul
ffm_is_avail_data_2631
ffm_is_avail_data
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = sub i64 %0, %4 %6 = icmp slt i64 %5, %1 store i64 1, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_11 LBL_1: %7 = call i64 @FUNC(i64 %4) %8 = add i64 %0, 40 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_2 LBL_2: %13 = add i64 %0, 32 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, %7 %17 = icmp eq i1 %16, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_11 LBL_3: %18 = sub i64 %15, %7 store i64 %18, i64* %sv_0.0.in.reg2mem br label LBL_9 LBL_4: %19 = icmp eq i64 %10, %7 %20 = icmp eq i1 %19, false br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = add i64 %0, 24 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %. = select i1 %24, i64 4294967293, i64 4294967294 store i64 %., i64* %rax.0.reg2mem br label LBL_11 LBL_6: %25 = icmp sgt i64 %10, %7 br i1 %25, label LBL_7, label LBL_8 LBL_7: %26 = sub i64 %10, %7 store i64 %26, i64* %sv_0.0.in.reg2mem br label LBL_9 LBL_8: %27 = add i64 %0, 32 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = sub i64 -1024, %7 %31 = add i64 %30, %10 %32 = add i64 %31, %29 store i64 %32, i64* %sv_0.0.in.reg2mem br label LBL_9 LBL_9: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %33 = add i64 %0, 16 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = udiv i64 %sv_0.0.in.reload, %35 %37 = add i64 %35, -4 %38 = mul i64 %37, %36 %39 = add i64 %38, %5 %40 = icmp slt i64 %39, %1 store i64 1, i64* %rax.0.reg2mem br i1 %40, label LBL_10, label LBL_11 LBL_10: %41 = add i64 %0, 24 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = icmp eq i64 %43, 0 %.6 = select i1 %44, i64 4294967293, i64 4294967294 store i64 %.6, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %35, { 1, 0 } uselistorder i64 %15, { 1, 0 } uselistorder i64 %10, { 0, 3, 1, 2, 4 } uselistorder i64 %7, { 0, 5, 1, 2, 4, 3 } uselistorder i64 %0, { 1, 0, 5, 4, 3, 2, 6, 7 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 3, 1 } uselistorder i64 32, { 1, 2, 0 } }
0
BinRealVul
node_add_before_4947
node_add_before
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = icmp eq i64* %arg2, null %3 = icmp eq i1 %2, false %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64* %arg3, null %7 = icmp eq i1 %6, false %8 = zext i1 %7 to i64 %9 = call i64 @FUNC(i64 %8) %10 = icmp eq i64* %arg4, null %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %arg1, i64 %1, i64 %0) store i64 %12, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %13 = icmp eq i64* %arg4, %arg3 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %arg1, i64 %1, i64 %0) store i64 %15, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %16 = ptrtoint i64* %arg4 to i64 store i64 %arg1, i64* %arg2, align 8 %17 = add i64 %16, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %1, 16 %21 = inttoptr i64 %20 to i64* store i64 %19, i64* %21, align 8 %22 = load i64, i64* %18, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = add i64 %22, 8 %25 = inttoptr i64 %24 to i64* store i64 %1, i64* %25, align 8 br label LBL_6 LBL_6: %26 = add i64 %1, 8 %27 = inttoptr i64 %26 to i64* store i64 %16, i64* %27, align 8 store i64 %1, i64* %18, align 8 %28 = add i64 %0, 16 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i32 %30, 1 store i32 %31, i32* %29, align 4 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 %1, { 3, 4, 2, 5, 1, 0 } uselistorder i64 %0, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @return_if_fail, { 1, 0 } uselistorder i64* %arg4, { 2, 0, 1 } uselistorder i64 %arg1, { 2, 1, 0 } }
0
BinRealVul
__dma_alloc_coherent_11325
__dma_alloc_coherent
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.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: %2 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 1) %5 = call i64 @FUNC(i64 1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = and i64 %arg4, 2 %9 = icmp eq i64 %8, 0 %or.cond = or i1 %9, %7 br i1 %or.cond, label LBL_6, label LBL_3 LBL_3: %10 = add i64 %arg2, 4095 %11 = and i64 %10, -4096 %12 = call i64 @FUNC(i64 %11) %13 = and i64 %12, 4294967295 %14 = udiv i64 %10, 4096 %15 = call i64 @FUNC(i64 %3, i64 %14, i64 %13) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_7 LBL_4: %18 = call i64 @FUNC(i64 %15) %19 = call i64 @FUNC(i64 %3, i64 %18) store i64 %19, i64* %arg3, align 8 %20 = call i64 @FUNC(i64 %15) %21 = and i64 %arg4, 4 %22 = icmp eq i64 %21, 0 store i64 %20, i64* %rax.0.reg2mem br i1 %22, label LBL_7, label LBL_5 LBL_5: %23 = inttoptr i64 %20 to i64* %24 = trunc i64 %11 to i32 %25 = call i64* @memset(i64* %23, i32 0, i32 %24) store i64 %20, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %26 = ptrtoint i64* %arg3 to i64 %27 = trunc i64 %4 to i32 %28 = icmp ne i32 %27, 0 %29 = zext i1 %28 to i64 %sv_0.0 = or i64 %29, %arg4 %30 = trunc i64 %sv_0.0 to i32 %31 = call i64 @FUNC(i64 %3, i64 %arg2, i64 %26, i32 %30) store i64 %31, 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 %20, { 1, 2, 0 } uselistorder i64 %3, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 3, 4 } uselistorder i32 0, { 2, 0, 1, 3 } uselistorder i64 (i64)* @IS_ENABLED, { 1, 0 } uselistorder i64* null, { 1, 2, 0, 3 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 3, 1, 0, 2, 4 } }
1
BinRealVul
hmp_change_535
hmp_change
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %7 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %8 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %9 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %10 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0)) store i64 0, i64* %sv_0, align 8 %11 = inttoptr i64 %7 to i8* %12 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0)) %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false %15 = icmp eq i64 %10, 0 br i1 %14, label LBL_8, label LBL_1 LBL_1: br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_5, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) store i64 %16, i64* %rax.0.reg2mem br label LBL_13 LBL_3: %17 = inttoptr i64 %8 to i8* %18 = call i32 @strcmp(i8* %17, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0)) %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = call i32 @strcmp(i8* %17, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0)) %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_7, label LBL_5 LBL_5: %23 = icmp eq i64 %9, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64 %6, i64 4198939, i64 0) store i64 %25, i64* %rax.0.reg2mem br label LBL_13 LBL_7: %26 = icmp eq i64 %9, 0 %27 = icmp eq i1 %26, false %28 = zext i1 %27 to i64 %29 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i64 %8, i64 %28, i64 %9, i64* nonnull %sv_0) br label LBL_12 LBL_8: br i1 %15, label LBL_11, label LBL_9 LBL_9: %30 = load i64, i64* @gv_8, align 8 %31 = call i64 @FUNC(i64 %30, i64 %10, i64 1, i64 0, i64* nonnull %sv_0) %32 = load i64, i64* %sv_0, align 8 %33 = icmp eq i64 %32, 0 br i1 %33, label LBL_11, label LBL_10 LBL_10: %34 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0) store i64 %34, i64* %rax.0.reg2mem br label LBL_13 LBL_11: %35 = icmp eq i64 %9, 0 %36 = icmp eq i1 %35, false %37 = zext i1 %36 to i64 %38 = call i64 @FUNC(i64 1, i64 %7, i64 0, i64 0, i64 %8, i64 %37) br label LBL_12 LBL_12: %39 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0) store i64 %39, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %15, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %9, { 3, 1, 0, 2 } uselistorder i64* %sv_0, { 0, 1, 4, 2, 3, 5 } uselistorder i64 %6, { 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64*)* @hmp_handle_error, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 } uselistorder i64 (i64, i8*)* @qdict_get_try_str, { 1, 0 } uselistorder i64 (i64, i8*)* @qdict_get_str, { 1, 0 } }
0
BinRealVul
get_instantiation_keyring_11404
get_instantiation_keyring
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 store i64 0, i64* %arg3, align 8 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_4 LBL_1: %2 = icmp slt i64 %arg1, 1 store i64 2, i64* %rax.0.reg2mem br i1 %2, label LBL_4, label LBL_2 LBL_2: %3 = call i64 @FUNC(i64 %arg1, i64 1, i64 2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 -1, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_4 LBL_3: %6 = call i64 @FUNC(i64 %3) store i64 %6, i64* %arg3, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 2, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_4, { 3, 1, 0, 2 } }
1
BinRealVul
receive_tcppacket_11640
receive_tcppacket
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sext = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext, 32 store i64 %1, i64* %sv_1, align 8 %2 = trunc i64 %1 to i32 %3 = inttoptr i64 %arg2 to i64* %4 = call i64* @memcpy(i64* nonnull %sv_0, i64* %3, i32 %2) %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = bitcast i64* %sv_1 to i32* %9 = call i64 @FUNC(i64 %7, i32* nonnull %8) ret i64 %9 uselistorder i64* %sv_1, { 1, 0 } }
1
BinRealVul
add_to_iovec_1048
add_to_iovec
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = add i64 %1, 16384 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp slt i32 %5, 1 br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = add i32 %5, -1 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 16 %10 = add i64 %9, %1 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %10, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = sext i32 %15 to i64 %17 = add i64 %12, %16 %18 = icmp eq i64 %17, %0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = trunc i64 %2 to i32 %21 = add i32 %15, %20 store i32 %21, i32* %14, align 4 br label LBL_4 LBL_3: %22 = sext i32 %5 to i64 %23 = mul i64 %22, 16 %24 = add i64 %23, %1 %25 = inttoptr i64 %24 to i64* store i64 %0, i64* %25, align 8 %26 = load i32, i32* %4, align 4 %27 = add i32 %26, 1 store i32 %27, i32* %4, align 4 %28 = sext i32 %26 to i64 %29 = mul i64 %28, 16 %30 = add i64 %1, 8 %31 = add i64 %30, %29 %32 = trunc i64 %2 to i32 %33 = inttoptr i64 %31 to i32* store i32 %32, i32* %33, align 4 br label LBL_4 LBL_4: %34 = load i32, i32* %4, align 4 %35 = zext i32 %34 to i64 %36 = icmp slt i32 %34, 1024 store i64 %35, i64* %rax.0.reg2mem br i1 %36, label LBL_6, label LBL_5 LBL_5: %37 = call i64 @FUNC(i64 %1) store i64 %37, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %4, { 0, 2, 1, 3 } uselistorder i64 %1, { 3, 2, 0, 1, 4 } uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
pmcraid_eh_device_reset_handler_9254
pmcraid_eh_device_reset_handler
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %0, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %0, i64 30, i64 0) ret i64 %2 }
0
BinRealVul
flask_security_resolve_bool_6102
flask_security_resolve_bool
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, -1 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %4, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64* nonnull %sv_0, i64 %7, i64 256) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = and i64 %11, 4294967295 store i64 %14, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %15 = load i64, i64* %sv_0, align 8 %16 = call i64 @FUNC(i64 %15) %17 = trunc i64 %16 to i32 %18 = bitcast i64* %arg1 to i32* store i32 %17, i32* %18, align 4 store i64 0, i64* %6, align 8 %19 = load i64, i64* %sv_0, align 8 %20 = call i64 @FUNC(i64 %19) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 1, 0 } uselistorder i64* %sv_0, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
read_module_6440
read_module
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0, i64 0) %2 = call i64 @FUNC(i64 %0, i64 %arg2, i64 1) %3 = icmp eq i64 %2, -1 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = call i64* @calloc(i32 1, i32 192) %6 = icmp eq i64* %5, null %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = ptrtoint i64* %5 to i64 %9 = call i64 @FUNC(i64 %0) store i64 %9, i64* %5, align 8 %10 = call i64 @FUNC(i64 %0) %11 = add i64 %8, 8 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = call i64 @FUNC(i64 %0) %14 = add i64 %8, 16 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = call i64 @FUNC(i64 %0) %17 = add i64 %8, 24 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = call i64 @FUNC(i64 %0) %20 = add i64 %8, 32 %21 = inttoptr i64 %20 to i64* store i64 %19, i64* %21, align 8 %22 = call i64 @FUNC(i64 %0) %23 = add i64 %8, 40 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 %25 = call i64 @FUNC(i64 %0) %26 = add i64 %8, 48 %27 = inttoptr i64 %26 to i64* store i64 %25, i64* %27, align 8 %28 = call i64 @FUNC(i64 %0) %29 = add i64 %8, 56 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 %31 = call i64 @FUNC(i64 %0) %32 = add i64 %8, 64 %33 = inttoptr i64 %32 to i64* store i64 %31, i64* %33, align 8 %34 = call i64 @FUNC(i64 %0) %35 = add i64 %8, 72 %36 = inttoptr i64 %35 to i64* store i64 %34, i64* %36, align 8 %37 = call i64 @FUNC(i64 %0) %38 = add i64 %8, 80 %39 = inttoptr i64 %38 to i64* store i64 %37, i64* %39, align 8 %40 = call i64 @FUNC(i64 %0) %41 = add i64 %8, 88 %42 = inttoptr i64 %41 to i64* store i64 %40, i64* %42, align 8 %43 = call i64 @FUNC(i64 %0) %44 = add i64 %8, 96 %45 = inttoptr i64 %44 to i64* store i64 %43, i64* %45, align 8 %46 = call i64 @FUNC(i64 %0) %47 = add i64 %8, 104 %48 = inttoptr i64 %47 to i64* store i64 %46, i64* %48, align 8 %49 = call i64 @FUNC(i64 %0) %50 = add i64 %8, 112 %51 = inttoptr i64 %50 to i64* store i64 %49, i64* %51, align 8 %52 = call i64 @FUNC(i64 %0) %53 = add i64 %8, 120 %54 = inttoptr i64 %53 to i64* store i64 %52, i64* %54, align 8 %55 = call i64 @FUNC(i64 %0) %56 = add i64 %8, 128 %57 = inttoptr i64 %56 to i64* store i64 %55, i64* %57, align 8 %58 = call i64 @FUNC(i64 %0) %59 = add i64 %8, 136 %60 = inttoptr i64 %59 to i64* store i64 %58, i64* %60, align 8 %61 = call i64 @FUNC(i64 %0) %62 = add i64 %8, 144 %63 = inttoptr i64 %62 to i64* store i64 %61, i64* %63, align 8 %64 = call i64 @FUNC(i64 %0) %65 = add i64 %8, 152 %66 = inttoptr i64 %65 to i64* store i64 %64, i64* %66, align 8 %67 = call i64 @FUNC(i64 %0) %68 = add i64 %8, 160 %69 = inttoptr i64 %68 to i64* store i64 %67, i64* %69, align 8 %70 = call i64 @FUNC(i64 %0) %71 = add i64 %8, 168 %72 = inttoptr i64 %71 to i64* store i64 %70, i64* %72, align 8 %73 = call i64 @FUNC(i64 %0) %74 = add i64 %8, 176 %75 = inttoptr i64 %74 to i64* store i64 %73, i64* %75, align 8 %76 = call i64 @FUNC(i64 %0) %77 = add i64 %8, 184 %78 = inttoptr i64 %77 to i64* store i64 %76, i64* %78, align 8 %79 = call i64 @FUNC(i64 %0, i64 %1, i64 1) store i64 %8, 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* %5, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 16, { 1, 2, 3, 0, 4 } uselistorder i64 8, { 3, 0, 4, 2, 1, 5, 6, 7, 8 } uselistorder i64 (i64)* @r_buf_read_le32, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @r_buf_read_le64, { 2, 1, 0 } uselistorder i64 -1, { 3, 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @r_buf_seek, { 2, 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
io_async_task_func_5773
io_async_task_func
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, -16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, -8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = bitcast i64* %arg1 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %6, i64 %12, i64 %9) %14 = call i64 @FUNC(i64 %1, i64 %3) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_2, label LBL_1 LBL_1: %17 = call i64 @FUNC(i64 %6) %18 = add i64 %6, 8 %19 = call i64 @FUNC(i64 %18) store i64 %19, i64* %storemerge.reg2mem br label LBL_8 LBL_2: %20 = add i64 %0, 16 %21 = call i64 @FUNC(i64 %20) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = call i64 @FUNC(i64 %20) br label LBL_4 LBL_4: %25 = inttoptr i64 %3 to i32* %26 = add i64 %3, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %1, i64 %28) %30 = call i64 @FUNC(i64 %6) %31 = load i32, i32* %25, align 4 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_6, label LBL_5 LBL_5: %34 = call i64 @FUNC(i64 %1) br label LBL_7 LBL_6: %35 = call i64 @FUNC(i64 %1, i64 4294967171) br label LBL_7 LBL_7: %36 = add i64 %6, 8 %37 = call i64 @FUNC(i64 %36) %38 = load i64, i64* %27, align 8 %39 = call i64 @FUNC(i64 %38) %40 = call i64 @FUNC(i64 %3) store i64 %40, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 3, 4, 2, 1, 0 } uselistorder i64 %1, { 0, 1, 2, 4, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 (i64)* @percpu_ref_put, { 1, 0 } uselistorder i64 (i64)* @spin_unlock_irq, { 1, 0 } uselistorder i64 8, { 1, 2, 3, 0 } }
0
BinRealVul
SFS_ArrayDeref_5967
SFS_ArrayDeref
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64 %6, i64 4202515) %9 = call i64 @FUNC(i64 %6) %10 = call i64 @FUNC(i64 %6, i64 4202517) store i64 %10, 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 %6, { 2, 1, 0, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64, i64)* @SFS_AddString, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
spapr_tce_reset_2251
spapr_tce_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %.tr = trunc i64 %0 to i32 %2 = mul i32 %.tr, 8 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* %7 = call i64* @memset(i64* %6, i32 0, i32 %2) %8 = ptrtoint i64* %7 to i64 store i64 %8, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 2, 0 } }
0
BinRealVul
ff_color_frame_10189
ff_color_frame
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem22 = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0.011.reg2mem = alloca i64 %storemerge412.reg2mem = alloca i32 %storemerge6.in.reg2mem = alloca i32 %.reg2mem20 = alloca i32 %storemerge313.reg2mem = alloca i32 %.reg2mem18 = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = urem i32 %5, 2 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %3, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %12, label LBL_14, label LBL_1 LBL_1: %13 = ptrtoint i64* %arg2 to i64 %14 = ptrtoint i32* %arg1 to i64 %15 = add i64 %14, 32 %16 = add i64 %14, 4 %17 = inttoptr i64 %16 to i32* %18 = add i64 %3, 8 %19 = inttoptr i64 %18 to i32* %20 = add i64 %14, 8 %21 = inttoptr i64 %20 to i32* %22 = add i64 %3, 12 %23 = inttoptr i64 %22 to i32* %24 = add i64 %3, 16 %25 = inttoptr i64 %24 to i32* %26 = add i64 %14, 12 store i32 %11, i32* %.reg2mem store i64 0, i64* %.reg2mem18 store i32 0, i32* %storemerge313.reg2mem br label LBL_2 LBL_2: %storemerge313.reload = load i32, i32* %storemerge313.reg2mem %.reload19 = load i64, i64* %.reg2mem18 %.reload = load i32, i32* %.reg2mem %27 = mul i64 %.reload19, 8 %28 = add i64 %15, %27 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = add i32 %storemerge313.reload, -1 %32 = icmp ult i32 %31, 2 %33 = icmp eq i1 %32, false %34 = load i32, i32* %17, align 4 br i1 %33, label LBL_3, label LBL_4 LBL_3: %35 = load i32, i32* %21, align 4 store i32 %34, i32* %.reg2mem20 store i32 %35, i32* %storemerge6.in.reg2mem br label LBL_5 LBL_4: %36 = zext i32 %34 to i64 %37 = load i32, i32* %19, align 4 %38 = urem i32 %37, 32 %39 = shl i32 1, %38 %storemerge = zext i32 %39 to i64 %40 = add nuw nsw i64 %36, 4294967295 %41 = add nuw nsw i64 %40, %storemerge %42 = icmp eq i32 %38, 0 %43 = trunc i64 %41 to i32 %44 = ashr i32 %43, %38 %45 = zext i32 %44 to i64 %rdx.0 = select i1 %42, i64 %41, i64 %45 %46 = trunc i64 %rdx.0 to i32 %47 = load i32, i32* %21, align 4 %48 = load i32, i32* %23, align 4 %49 = urem i32 %48, 32 %50 = shl i32 1, %49 %51 = add i32 %47, -1 %52 = add i32 %51, %50 %53 = ashr i32 %52, %49 store i32 %46, i32* %.reg2mem20 store i32 %53, i32* %storemerge6.in.reg2mem br label LBL_5 LBL_5: %storemerge6.in.reload = load i32, i32* %storemerge6.in.reg2mem %54 = icmp sgt i32 %storemerge6.in.reload, 0 store i32 %.reload, i32* %.reg2mem22 br i1 %54, label LBL_6, label LBL_13 LBL_6: %.reload21 = load i32, i32* %.reg2mem20 %55 = icmp sgt i32 %.reload21, 0 %56 = mul i64 %.reload19, 4 %57 = add i64 %56, %13 %58 = inttoptr i64 %57 to i32* %59 = add i64 %26, %56 %60 = inttoptr i64 %59 to i32* %wide.trip.count = zext i32 %.reload21 to i64 store i32 0, i32* %storemerge412.reg2mem store i64 %30, i64* %sv_0.011.reg2mem br label LBL_7 LBL_7: %sv_0.011.reload = load i64, i64* %sv_0.011.reg2mem %storemerge412.reload = load i32, i32* %storemerge412.reg2mem %61 = load i32, i32* %25, align 4 %62 = icmp slt i32 %61, 9 br i1 %62, label LBL_10, label LBL_8 LBL_8: store i64 0, i64* %indvars.iv.reg2mem br i1 %55, label LBL_9, label LBL_11 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %63 = load i32, i32* %58, align 4 %64 = mul i64 %indvars.iv.reload, 2 %65 = add i64 %64, %sv_0.011.reload %66 = trunc i32 %63 to i16 %67 = inttoptr i64 %65 to i16* store i16 %66, i16* %67, align 2 %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_11, label LBL_9 LBL_10: %68 = load i32, i32* %58, align 4 %69 = inttoptr i64 %sv_0.011.reload to i64* %70 = call i64* @memset(i64* %69, i32 %68, i32 %.reload21) br label LBL_11 LBL_11: %71 = load i32, i32* %60, align 4 %72 = sext i32 %71 to i64 %73 = add i64 %sv_0.011.reload, %72 %74 = add nuw nsw i32 %storemerge412.reload, 1 %exitcond15 = icmp eq i32 %74, %storemerge6.in.reload store i32 %74, i32* %storemerge412.reg2mem store i64 %73, i64* %sv_0.011.reg2mem br i1 %exitcond15, label LBL_12, label LBL_7 LBL_12: %.pre = load i32, i32* %10, align 4 store i32 %.pre, i32* %.reg2mem22 br label LBL_13 LBL_13: %.reload23 = load i32, i32* %.reg2mem22 %75 = add i32 %storemerge313.reload, 1 %76 = zext i32 %.reload23 to i64 %77 = sext i32 %75 to i64 %78 = icmp slt i64 %77, %76 store i32 %.reload23, i32* %.reg2mem store i64 %77, i64* %.reg2mem18 store i32 %75, i32* %storemerge313.reg2mem store i64 %76, i64* %.lcssa.reg2mem br i1 %78, label LBL_2, label LBL_14 LBL_14: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32 %.reload23, { 1, 0 } uselistorder i64 %sv_0.011.reload, { 2, 0, 1 } uselistorder i32 %.reload21, { 0, 2, 1 } uselistorder i32 %storemerge6.in.reload, { 1, 0 } uselistorder i32 %49, { 1, 0 } uselistorder i32 %38, { 1, 2, 0 } uselistorder i32 %34, { 1, 0 } uselistorder i64 %.reload19, { 1, 0 } uselistorder i32 %storemerge313.reload, { 1, 0 } uselistorder i32* %21, { 1, 0 } uselistorder i64 %14, { 1, 2, 3, 0 } uselistorder i64 %3, { 2, 1, 0, 3, 4 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem18, { 1, 0, 2 } uselistorder i32* %storemerge313.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem20, { 0, 2, 1 } uselistorder i32* %storemerge6.in.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge412.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.011.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem22, { 0, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_11, { 2, 0, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
hidp_process_intr_transmit_10577
hidp_process_intr_transmit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_5 LBL_1: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* store i64 %2, i64* %.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %7 = add i64 %.reload, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = inttoptr i64 %.reload to i64* %11 = load i64, i64* %10, align 8 %12 = load i32, i32* %6, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %13, i64 %11, i32 %9) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %0, i64 %.reload) store i64 %18, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %19 = call i64 @FUNC(i64 %0) %20 = call i64 @FUNC(i64 %.reload) %21 = call i64 @FUNC(i64 %0) %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false store i64 %21, i64* %.reg2mem store i64 %21, i64* %rax.0.reg2mem br i1 %23, label LBL_2, label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload, { 0, 3, 2, 1 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64 %0, { 4, 1, 2, 3, 0, 5 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64 8, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 (i64)* @skb_dequeue, { 1, 0 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
__flow_hash_from_keys_13186
__flow_hash_from_keys
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %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 = and i64 %arg2, 4294967295 %5 = and i64 %2, 4294967295 %6 = and i64 %3, 4294967295 %7 = call i64 @FUNC(i64 %6, i64 %5, i64 %4) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false %.op = and i64 %7, 4294967295 %11 = select i1 %10, i64 %.op, i64 1 ret i64 %11 }
1
BinRealVul
idct_col_2939
idct_col
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %1 to i32 %6 = trunc i64 %2 to i32 %7 = urem i32 %6, 256 %sext = mul i32 %5, 65536 %8 = ashr exact i32 %sext, 16 %9 = mul nsw i32 %7, %8 %10 = add i64 %4, 16 %11 = inttoptr i64 %10 to i16* %12 = load i16, i16* %11, align 2 %13 = add i64 %3, 8 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = zext i8 %15 to i32 %17 = sext i16 %12 to i32 %18 = mul nsw i32 %16, %17 %19 = add i64 %4, 32 %20 = inttoptr i64 %19 to i16* %21 = load i16, i16* %20, align 2 %22 = add i64 %3, 16 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = zext i8 %24 to i32 %26 = sext i16 %21 to i32 %27 = mul nsw i32 %25, %26 %28 = add i64 %4, 48 %29 = inttoptr i64 %28 to i16* %30 = load i16, i16* %29, align 2 %31 = add i64 %3, 24 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = zext i8 %33 to i32 %35 = sext i16 %30 to i32 %36 = mul nsw i32 %34, %35 %37 = add i64 %4, 64 %38 = inttoptr i64 %37 to i16* %39 = load i16, i16* %38, align 2 %40 = add i64 %3, 32 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = zext i8 %42 to i32 %44 = sext i16 %39 to i32 %45 = mul nsw i32 %43, %44 %46 = add i64 %4, 80 %47 = inttoptr i64 %46 to i16* %48 = load i16, i16* %47, align 2 %49 = add i64 %3, 40 %50 = inttoptr i64 %49 to i8* %51 = load i8, i8* %50, align 1 %52 = zext i8 %51 to i32 %53 = sext i16 %48 to i32 %54 = mul nsw i32 %52, %53 %55 = add i64 %4, 96 %56 = inttoptr i64 %55 to i16* %57 = load i16, i16* %56, align 2 %58 = add i64 %3, 48 %59 = inttoptr i64 %58 to i8* %60 = load i8, i8* %59, align 1 %61 = zext i8 %60 to i32 %62 = sext i16 %57 to i32 %63 = mul nsw i32 %61, %62 %64 = add i64 %4, 112 %65 = inttoptr i64 %64 to i16* %66 = load i16, i16* %65, align 2 %67 = add i64 %3, 56 %68 = inttoptr i64 %67 to i8* %69 = load i8, i8* %68, align 1 %70 = zext i8 %69 to i32 %71 = sext i16 %66 to i32 %72 = mul nsw i32 %70, %71 %73 = mul i32 %36, 19266 %74 = mul i32 %54, 12873 %75 = add i32 %74, %73 %76 = ashr i32 %75, 15 %77 = mul i32 %54, 19266 %78 = mul i32 %36, -12873 %79 = add i32 %77, %78 %80 = ashr i32 %79, 15 %81 = mul i32 %72, 4520 %82 = mul i32 %18, 22725 %83 = add i32 %81, %82 %84 = ashr i32 %83, 15 %85 = sub nsw i32 %84, %76 %86 = mul i32 %18, 4520 %87 = mul i32 %72, -22725 %88 = add i32 %87, %86 %89 = ashr i32 %88, 15 %90 = sub nsw i32 %89, %80 %91 = mul i32 %76, 2 %92 = add nsw i32 %85, %91 %93 = mul i32 %80, 2 %94 = add nsw i32 %90, %93 %95 = sub nsw i32 %85, %90 %96 = mul i32 %90, 2 %97 = add nsw i32 %95, %96 %98 = mul i32 %95, 11585 %99 = ashr i32 %98, 14 %100 = mul i32 %97, 11585 %101 = ashr i32 %100, 14 %102 = mul i32 %27, 8867 %103 = mul i32 %63, -21407 %104 = add i32 %103, %102 %105 = mul i32 %63, 8867 %106 = mul i32 %27, 21407 %107 = add i32 %105, %106 %108 = ashr i32 %9, 1 %109 = ashr i32 %45, 1 %110 = sub nsw i32 %108, %109 %111 = and i32 %45, -2 %112 = add nsw i32 %110, %111 %113 = ashr i32 %104, 15 %114 = sub nsw i32 %110, %113 %115 = ashr i32 %107, 15 %116 = sub nsw i32 %112, %115 %117 = sub nsw i32 %116, %94 %118 = sub nsw i32 %114, %99 %119 = mul i32 %113, 2 %120 = add nsw i32 %114, %119 %121 = sub nsw i32 %120, %101 %122 = mul i32 %115, 2 %123 = add nsw i32 %116, %122 %124 = sub i32 %123, %92 %125 = mul i32 %92, 2 %126 = add i32 %124, %125 %127 = trunc i32 %126 to i16 %128 = bitcast i64* %arg1 to i16* store i16 %127, i16* %128, align 2 %129 = mul i32 %101, 2 %130 = add i32 %129, %121 %131 = trunc i32 %130 to i16 store i16 %131, i16* %11, align 2 %132 = mul i32 %99, 2 %133 = add nsw i32 %132, %118 %134 = trunc i32 %133 to i16 store i16 %134, i16* %20, align 2 %135 = mul i32 %94, 2 %136 = add i32 %135, %117 %137 = trunc i32 %136 to i16 store i16 %137, i16* %29, align 2 %138 = trunc i32 %117 to i16 store i16 %138, i16* %38, align 2 %139 = trunc i32 %118 to i16 store i16 %139, i16* %47, align 2 %140 = trunc i32 %121 to i16 store i16 %140, i16* %56, align 2 %141 = trunc i32 %124 to i16 store i16 %141, i16* %65, align 2 ret i64 %64 uselistorder i32 %110, { 1, 0 } uselistorder i32 %90, { 0, 2, 1 } uselistorder i32 %85, { 1, 0 } uselistorder i32 %18, { 1, 0 } uselistorder i64* %0, { 1, 0 } }
0
BinRealVul
hash_name_8747
hash_name
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.in.reg2mem = alloca i8 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = trunc i64 %1 to i8 store i64 %2, i64* %sv_2.0.reg2mem store i64 0, i64* %sv_1.0.reg2mem store i8 %3, i8* %sv_0.0.in.reg2mem br label LBL_1 LBL_1: %sv_0.0.in.reload = load i8, i8* %sv_0.0.in.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %4 = add i64 %sv_1.0.reload, 1 %5 = zext i8 %sv_0.0.in.reload to i64 %6 = call i64 @FUNC(i64 %5, i64 %sv_2.0.reload) %7 = add i64 %4, %arg1 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = icmp ne i8 %9, 0 %11 = icmp eq i8 %9, 47 %12 = icmp eq i1 %11, false %or.cond = icmp eq i1 %10, %12 store i64 %6, i64* %sv_2.0.reg2mem store i64 %4, i64* %sv_1.0.reg2mem store i8 %9, i8* %sv_0.0.in.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %6) %14 = call i64 @FUNC(i64 %13, i64 %4) ret i64 %14 uselistorder i64 %6, { 1, 0 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i8* %sv_0.0.in.reg2mem, { 1, 0, 2 } uselistorder i32 1, { 3, 2, 1, 0 } }
0
BinRealVul
spl_filesystem_file_read_line_6520
spl_filesystem_file_read_line
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.lcssa.reg2mem = alloca i64 %storemerge.in39.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %arg3 to i32 %5 = call i64 @FUNC(i64 %3, i64 %2, i32 %4) %6 = urem i64 %1, 2 %7 = icmp eq i64 %6, 0 store i64 %5, i64* %storemerge.in.lcssa.reg2mem br i1 %7, label LBL_4, label LBL_1 LBL_1: %storemerge8 = trunc i64 %5 to i32 %8 = icmp eq i32 %storemerge8, 0 %9 = icmp eq i1 %8, false store i64 %5, i64* %storemerge.in39.reg2mem store i64 %5, i64* %storemerge.in.lcssa.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_2: %10 = call i64 @FUNC(i64 %2) %11 = call i64 @FUNC(i64 %3, i64 %2, i32 %4) %storemerge = trunc i64 %11 to i32 %12 = icmp eq i32 %storemerge, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %storemerge.in39.reg2mem store i64 %11, i64* %storemerge.in.lcssa.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %storemerge.in39.reload = load i64, i64* %storemerge.in39.reg2mem %14 = call i64 @FUNC(i64 %2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 %storemerge.in39.reload, i64* %storemerge.in.lcssa.reg2mem br i1 %17, label LBL_2, label LBL_4 LBL_4: %storemerge.in.lcssa.reload = load i64, i64* %storemerge.in.lcssa.reg2mem %18 = and i64 %storemerge.in.lcssa.reload, 4294967295 ret i64 %18 uselistorder i64 %5, { 0, 2, 3, 1 } uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64* %storemerge.in39.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.in.lcssa.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 (i64, i64, i32)* @spl_filesystem_file_read_line_ex, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0, 3 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
vmgenid_set_guid_auto_test_2226
vmgenid_set_guid_auto_test
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64* nonnull %sv_0) %3 = call i64 @FUNC(i64* nonnull %sv_0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %0) ret i64 %11 uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i32 1, { 7, 5, 6, 0, 8, 2, 1, 9, 4, 3 } }
0