dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
ft_get_task_tag_17666
ft_get_task_tag
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 ret i64 %4 }
1
BinRealVul
kvmppc_remove_spapr_tce_16244
kvmppc_remove_spapr_tce
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp slt i32 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = inttoptr i64 %arg1 to i64* %4 = call i32 @munmap(i64* %3, i32 0) %5 = icmp slt i32 %4, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i32 @close(i32 %0) %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i32* @__errno_location() %10 = load i32, i32* %9, align 4 %11 = call i8* @strerror(i32 %10) %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %13 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %12, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i8* %11) 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* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_4, { 1, 0, 2 } }
1
BinRealVul
tok_new_11008
tok_new
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 272) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = add i64 %0, 32 %4 = inttoptr i64 %3 to i64* store i64 0, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 0, i64* %6, align 8 %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* store i64 0, i64* %8, align 8 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* store i64 0, i64* %10, align 8 %11 = inttoptr i64 %0 to i64* store i64 0, i64* %11, align 8 %12 = add i64 %0, 40 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = add i64 %0, 48 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %15, align 8 %16 = add i64 %0, 56 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 %18 = add i64 %0, 64 %19 = inttoptr i64 %18 to i32* store i32 8, i32* %19, align 4 %20 = add i64 %0, 68 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = add i64 %0, 72 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 %24 = add i64 %0, 112 %25 = inttoptr i64 %24 to i32* store i32 1, i32* %25, align 4 %26 = add i64 %0, 116 %27 = inttoptr i64 %26 to i32* store i32 0, i32* %27, align 4 %28 = add i64 %0, 128 %29 = inttoptr i64 %28 to i64* store i64 0, i64* %29, align 8 %30 = add i64 %0, 120 %31 = inttoptr i64 %30 to i64* store i64 0, i64* %31, align 8 %32 = add i64 %0, 136 %33 = inttoptr i64 %32 to i32* store i32 0, i32* %33, align 4 %34 = add i64 %0, 140 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 %36 = add i64 %0, 144 %37 = inttoptr i64 %36 to i32* store i32 1, i32* %37, align 4 %38 = add i64 %0, 148 %39 = inttoptr i64 %38 to i32* store i32 1, i32* %39, align 4 %40 = add i64 %0, 152 %41 = inttoptr i64 %40 to i32* store i32 1, i32* %41, align 4 %42 = add i64 %0, 156 %43 = inttoptr i64 %42 to i32* store i32 0, i32* %43, align 4 %44 = add i64 %0, 196 %45 = inttoptr i64 %44 to i32* store i32 0, i32* %45, align 4 %46 = add i64 %0, 200 %47 = inttoptr i64 %46 to i32* store i32 0, i32* %47, align 4 %48 = add i64 %0, 204 %49 = inttoptr i64 %48 to i32* store i32 0, i32* %49, align 4 %50 = add i64 %0, 208 %51 = inttoptr i64 %50 to i64* store i64 0, i64* %51, align 8 %52 = add i64 %0, 216 %53 = inttoptr i64 %52 to i64* store i64 0, i64* %53, align 8 %54 = add i64 %0, 224 %55 = inttoptr i64 %54 to i32* store i32 0, i32* %55, align 4 %56 = add i64 %0, 232 %57 = inttoptr i64 %56 to i64* store i64 0, i64* %57, align 8 %58 = add i64 %0, 240 %59 = inttoptr i64 %58 to i64* store i64 0, i64* %59, align 8 %60 = add i64 %0, 248 %61 = inttoptr i64 %60 to i64* store i64 0, i64* %61, align 8 %62 = add i64 %0, 256 %63 = inttoptr i64 %62 to i32* store i32 0, i32* %63, align 4 %64 = add i64 %0, 260 %65 = inttoptr i64 %64 to i32* store i32 0, i32* %65, align 4 %66 = add i64 %0, 264 %67 = inttoptr i64 %66 to i32* store i32 0, i32* %67, align 4 store i64 %0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
dd_get_item_size_7114
dd_get_item_size
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %sv_0.0.reg2mem = alloca i64 %1 = load i32, i32* %0 %sv_1 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %arg2) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) unreachable LBL_2: %7 = call i64 @FUNC(i64 %arg2, i64 %arg2) %8 = inttoptr i64 %7 to i8* %9 = bitcast i64* %sv_1 to %stat* %10 = call i32 @lstat(i8* %8, %stat* nonnull %9) %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = and i32 %1, 61440 %14 = icmp eq i32 %13, 32768 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_6 LBL_4: %16 = call i32* @__errno_location() %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 2 %19 = icmp eq i1 %18, false store i64 0, i64* %sv_0.0.reg2mem br i1 %19, label LBL_5, label LBL_6 LBL_5: %20 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %7) store i64 -1, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %21 = inttoptr i64 %7 to i64* call void @free(i64* %21) ret i64 %sv_0.0.reload uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 0, 3 } uselistorder label LBL_6, { 2, 0, 1 } }
0
BinRealVul
inet_connect_18628
inet_connect
define i64 @FUNC(i8* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i8* %arg1 to i64 %2 = call i64 @FUNC(i64* nonnull @gv_0, i64 0, i64 0) %3 = call i64 @FUNC(i64 %2, i64 %1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = trunc i64 %arg2 to i8 %8 = icmp eq i8 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %2, i64 %0) %phitmp = and i64 %10, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %11 = call i64 @FUNC(i64 %0, i64 1) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %12 = call i64 @FUNC(i64 %2) ret i64 %sv_0.0.reload uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } }
1
BinRealVul
qemu_chr_be_write_13951
qemu_chr_be_write
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) 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 ret i64 %3 }
1
BinRealVul
aux_bridge_init_3005
aux_bridge_init
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, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %3 = trunc i64 %2 to i32 %4 = inttoptr i64 %1 to i32* store i32 %3, i32* %4, align 4 ret i64 %2 uselistorder i64 %2, { 1, 0 } }
0
BinRealVul
blk_send_16715
blk_send
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %2 = icmp eq i32 %1, 0 store i32 1, i32* %sv_0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0, i64 512) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %spec.select = select i1 %5, i32 1, i32 3 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = mul i64 %9, 512 %11 = zext i32 %sv_0.0.reload to i64 %12 = or i64 %10, %11 %13 = call i64 @FUNC(i64 %6, i64 %12) %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = inttoptr i64 %19 to i8* %21 = call i32 @strlen(i8* %20) %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %6, i64 %22) %24 = load i64, i64* %15, align 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) %28 = call i64 @FUNC(i64 %6, i64 %27, i32 %21) %29 = and i32 %sv_0.0.reload, 2 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_4, label LBL_3 LBL_3: %31 = call i64 @FUNC(i64 %6) store i64 %31, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %32 = call i64 @FUNC(i64 %6, i64 %27, i32 512) store i64 %32, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 0, 2, 3, 4 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i32)* @qemu_put_buffer, { 1, 0 } uselistorder i64 (i64)* @bdrv_get_device_name, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 0, 1 } }
1
BinRealVul
ff_lag_rac_init_2333
ff_lag_rac_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %sv_0.11.reg2mem = alloca i32 %.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = ashr i32 %4, 3 %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = sdiv i32 %7, 128 %9 = sext i32 %8 to i64 %10 = add i64 %9, %0 %11 = add i64 %1, 8 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 store i64 %10, i64* %arg1, align 8 %13 = zext i32 %5 to i64 %14 = and i64 %arg3, 4294967295 %15 = call i64 @FUNC(i64 %14, i64 %13) %sext = mul i64 %15, 4294967296 %16 = ashr exact i64 %sext, 32 %17 = add i64 %16, %0 %18 = add i64 %1, 16 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 %20 = add i64 %1, 24 %21 = inttoptr i64 %20 to i32* store i32 128, i32* %21, align 4 %22 = load i64, i64* %12, align 8 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = udiv i8 %24, 2 %26 = zext i8 %25 to i32 %27 = add i64 %1, 28 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = add i64 %1, 36 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = add i32 %31, -8 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i64 %33, i64 0) %35 = trunc i64 %34 to i32 %36 = add i64 %1, 32 %37 = inttoptr i64 %36 to i32* store i32 %35, i32* %37, align 4 %38 = add i64 %1, 40 %39 = add i64 %1, 296 store i64 0, i64* %indvars.iv.reg2mem store i32 %35, i32* %.reg2mem store i32 0, i32* %sv_0.11.reg2mem br label LBL_1 LBL_1: %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem %.reload = load i32, i32* %.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %40 = urem i32 %.reload, 32 %41 = trunc i64 %indvars.iv.reload to i32 %42 = shl i32 %41, %40 store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %43 = add i32 %sv_0.0.reload, 1 %44 = sext i32 %43 to i64 %45 = add i64 %38, %44 %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = zext i8 %47 to i32 %49 = icmp ult i32 %42, %48 %50 = icmp eq i1 %49, false store i32 %43, i32* %sv_0.0.reg2mem br i1 %50, label LBL_2, label LBL_3 LBL_3: %51 = trunc i32 %sv_0.0.reload to i8 %52 = add i64 %39, %indvars.iv.reload %53 = inttoptr i64 %52 to i8* store i8 %51, i8* %53, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %54 = load i32, i32* %37, align 4 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %54, i32* %.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.11.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %55 = add i32 %54, 23 store i32 %55, i32* %37, align 4 ret i64 %1 uselistorder i32 %54, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 2, 1, 0 } uselistorder i32* %37, { 1, 0, 2 } uselistorder i64 %1, { 2, 1, 0, 3, 4, 5, 6, 7, 8 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.11.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32 128, { 1, 0 } }
0
BinRealVul
free_pipe_info_6463
free_pipe_info
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rdi.2.reg2mem = alloca i64 %rdi.1.lcssa.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %.reg2mem5 = alloca i32 %rdi.11.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem3 = alloca i64 %.reg2mem = alloca i32 %0 = add i64 %arg1, 32 %1 = inttoptr i64 %0 to i32* %2 = load i32, i32* %1, align 4 %3 = add i64 %arg1, 24 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = zext i32 %2 to i64 %7 = call i64 @FUNC(i64 %5, i64 %6, i64 0) %8 = load i64, i64* %4, align 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %arg1, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 store i32 %12, i32* %.reg2mem store i64 0, i64* %.reg2mem3 store i32 0, i32* %storemerge2.reg2mem store i64 %8, i64* %rdi.11.reg2mem store i64 %8, i64* %rdi.1.lcssa.reg2mem br i1 %13, label LBL_4, label LBL_1 LBL_1: %rdi.11.reload = load i64, i64* %rdi.11.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload4 = load i64, i64* %.reg2mem3 %.reload = load i32, i32* %.reg2mem %14 = mul i64 %.reload4, 8 %15 = add i64 %rdi.11.reload, %14 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 store i32 %.reload, i32* %.reg2mem5 store i64 %rdi.11.reload, i64* %rdi.0.reg2mem br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = call i64 @FUNC(i64 %arg1, i64 %15) %.pre = load i32, i32* %11, align 4 store i32 %.pre, i32* %.reg2mem5 store i64 %arg1, i64* %rdi.0.reg2mem br label LBL_3 LBL_3: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %.reload6 = load i32, i32* %.reg2mem5 %20 = add i32 %storemerge2.reload, 1 %21 = zext i32 %.reload6 to i64 %22 = sext i32 %20 to i64 %23 = icmp slt i64 %22, %21 store i32 %.reload6, i32* %.reg2mem store i64 %22, i64* %.reg2mem3 store i32 %20, i32* %storemerge2.reg2mem store i64 %rdi.0.reload, i64* %rdi.11.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.lcssa.reg2mem br i1 %23, label LBL_1, label LBL_4 LBL_4: %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem %24 = add i64 %arg1, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, 0 store i64 %rdi.1.lcssa.reload, i64* %rdi.2.reg2mem br i1 %27, label LBL_6, label LBL_5 LBL_5: %28 = call i64 @FUNC(i64 %26) store i64 %26, i64* %rdi.2.reg2mem br label LBL_6 LBL_6: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %29 = call i64 @FUNC(i64 %rdi.2.reload) %30 = call i64 @FUNC(i64 %arg1) ret i64 %30 uselistorder i32 %.reload6, { 1, 0 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem3, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.11.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 %arg1, { 1, 4, 0, 2, 3, 5, 6 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
vhost_scsi_send_evt_11664
vhost_scsi_send_evt
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rsi = alloca i64, align 8 %rdx = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg5, 4294967295 %2 = zext i32 %arg4 to i64 %3 = call i64 @FUNC(i64 %0, i64 %2, i64 %1) %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = icmp eq i32* %arg2, null %6 = icmp eq i64* %arg3, null %or.cond = or i1 %5, %6 br i1 %or.cond, label LBL_5, label LBL_2 LBL_2: %7 = inttoptr i64 %3 to i32* store i32 1, i32* %7, align 4 %8 = bitcast i64* %rsi to i32* %9 = load i32, i32* %8, align 8 %10 = urem i32 %9, 256 %11 = add i64 %3, 4 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = bitcast i64* %rdx to i32* %14 = load i32, i32* %13, align 8 %15 = icmp slt i32 %14, 256 store i32 %14, i32* %.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = udiv i32 %14, 256 %17 = or i32 %16, 64 %18 = add i64 %3, 8 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %.pre = load i32, i32* %13, align 8 store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %20 = urem i32 %.reload, 256 %21 = add i64 %3, 12 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 br label LBL_5 LBL_5: %23 = add i64 %0, 8 %24 = add i64 %3, 16 %25 = call i64 @FUNC(i64 %24, i64 %23) %26 = add i64 %0, 4 %27 = call i64 @FUNC(i64 %0, i64 %26) store i64 %27, 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 %14, { 1, 0, 2 } uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32 256, { 0, 1, 3, 2 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
float64_scalbn_473
float64_scalbn
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i16 %4 = call i64 @FUNC(i64 %0) %5 = icmp eq i16 %3, 2047 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = icmp eq i64 %1, 0 store i64 %0, i64* %rax.0.reg2mem br i1 %7, label LBL_7, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %0, i64 %0) store i64 %8, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %9 = icmp eq i16 %3, 0 br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = or i64 %1, 4503599627370496 store i64 %10, i64* %sv_0.0.reg2mem br label LBL_6 LBL_5: %11 = icmp eq i64 %1, 0 %12 = icmp eq i1 %11, false store i64 %1, i64* %sv_0.0.reg2mem store i64 %0, i64* %rax.0.reg2mem br i1 %12, label LBL_6, label LBL_7 LBL_6: %13 = trunc i64 %2 to i32 %14 = trunc i64 %4 to i32 %sext4 = mul i32 %14, 65536 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %15 = trunc i64 %arg2 to i32 %16 = icmp slt i32 %15, 4097 %17 = icmp sgt i32 %15, -4097 %18 = select i1 %17, i32 %15, i32 61440 %19 = select i1 %16, i32 %18, i32 4096 %20 = add i32 %19, %13 %21 = mul i64 %sv_0.0.reload, 1024 %22 = mul i32 %20, 65536 %sext5 = add i32 %22, -65536 %23 = ashr exact i32 %sext5, 16 %24 = zext i32 %23 to i64 %25 = ashr exact i32 %sext4, 16 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %26, i64 %24, i64 %21) store i64 %27, 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, { 0, 2, 3, 1 } uselistorder i64 %0, { 0, 3, 2, 1, 4, 5, 6 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 4503599627370496, { 2, 0, 1 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_7, { 2, 0, 3, 1 } }
0
BinRealVul
expwrite_8539
expwrite
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem14 = alloca i32 %.in.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %sv_1.06.reg2mem = alloca i64 %sv_2.07.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i32 %.reg2mem12 = alloca i64 %.reg2mem10 = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg4 to i64 %4 = ptrtoint i64* %arg2 to i64 %sv_3 = alloca i64, align 8 %sext = mul i64 %arg5, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = urem i64 %2, 2 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = and i64 %5, 4294967295 %10 = call i64 @FUNC(i64 %arg1, i64 %4, i64 %arg3, i64 %3, i64 %9) store i64 %10, i64* %rax.0.reg2mem br label LBL_16 LBL_2: %11 = and i64 %arg3, 4294967295 %12 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %arg1, i64 %11, i64 %arg5, i64 %1) %13 = add i64 %arg1, 4095 %14 = icmp slt i64 %arg1, 0 %15 = select i1 %14, i64 %13, i64 %arg1 %16 = udiv i64 %15, 4096 %17 = add i64 %arg1, -1 %18 = add i64 %17, %arg3 %19 = udiv i64 %18, 4096 %sext9 = mul i64 %16, 4294967296 %20 = ashr exact i64 %sext9, 32 %21 = icmp slt i64 %19, %20 %22 = trunc i64 %arg3 to i32 store i32 %22, i32* %.reg2mem14 br i1 %21, label LBL_12, label LBL_3 LBL_3: %23 = trunc i64 %16 to i32 %24 = add i64 %3, 24 %25 = inttoptr i64 %24 to i64* %26 = add i64 %3, 8 %27 = inttoptr i64 %26 to i32* %28 = add i64 %3, 16 %29 = inttoptr i64 %28 to i64* %30 = ptrtoint i64* %sv_3 to i64 store i32 %22, i32* %.reg2mem store i64 %11, i64* %.reg2mem10 store i64 %20, i64* %.reg2mem12 store i32 %23, i32* %storemerge8.reg2mem store i64 %arg1, i64* %sv_2.07.reg2mem store i64 %arg3, i64* %sv_1.06.reg2mem store i64 %4, i64* %sv_0.05.reg2mem br label LBL_4 LBL_4: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem %sv_2.07.reload = load i64, i64* %sv_2.07.reg2mem %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %.reload13 = load i64, i64* %.reg2mem12 %31 = mul i64 %.reload13, 4096 %32 = sub i64 %sv_2.07.reload, %31 %33 = sub i64 4096, %32 %34 = icmp sgt i64 %33, 0 %35 = icmp ult i64 %sv_1.06.reload, %33 %or.cond = icmp eq i1 %34, %35 %storemerge4 = select i1 %or.cond, i64 %sv_1.06.reload, i64 %33 %36 = load i64, i64* %25, align 8 %37 = mul i64 %.reload13, 4 %38 = add i64 %36, %37 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp eq i32 %40, -1 br i1 %41, label LBL_6, label LBL_5 LBL_5: %.reload11 = load i64, i64* %.reg2mem10 %42 = zext i32 %40 to i64 %43 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %.reload13, i64 %42, i64 %.reload11, i64 %arg5, i64 %1) %44 = load i64, i64* %25, align 8 %45 = add i64 %44, %37 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = mul i32 %47, 4096 %49 = zext i32 %48 to i64 %50 = add i64 %32, %49 %51 = load i32, i32* %27, align 4 %52 = zext i32 %51 to i64 %53 = call i64 @FUNC(i64 %52, i64 %50) %54 = load i32, i32* %27, align 4 %55 = inttoptr i64 %sv_0.05.reload to i64* %56 = trunc i64 %storemerge4 to i32 %57 = call i32 @write(i32 %54, i64* %55, i32 %56) %58 = sext i32 %57 to i64 %59 = icmp eq i64 %storemerge4, %58 store i64 %sv_0.05.reload, i64* %.in.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %59, label LBL_11, label LBL_16 LBL_6: %.reload = load i32, i32* %.reg2mem %60 = load i64, i64* %29, align 8 %61 = mul i64 %60, 4096 %62 = load i32, i32* %27, align 4 %63 = zext i32 %62 to i64 %64 = call i64 @FUNC(i64 %63, i64 %61) %65 = and i32 %.reload, 4 %66 = icmp eq i32 %65, 0 %67 = icmp eq i1 %66, false br i1 %67, label LBL_8, label LBL_7 LBL_7: %68 = load i64, i64* %29, align 8 %69 = add i64 %68, 1 store i64 %69, i64* %29, align 8 %70 = and i64 %68, 4294967295 store i64 %70, i64* %storemerge3.reg2mem br label LBL_9 LBL_8: %71 = zext i32 %storemerge8.reload to i64 store i64 %71, i64* %storemerge3.reg2mem br label LBL_9 LBL_9: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %72 = load i64, i64* %25, align 8 %73 = add i64 %72, %37 %74 = trunc i64 %storemerge3.reload to i32 %75 = inttoptr i64 %73 to i32* store i32 %74, i32* %75, align 4 %76 = load i64, i64* %25, align 8 %77 = add i64 %76, %37 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = zext i32 %79 to i64 %81 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0), i64 %.reload13, i64 %80, i64 %72, i64 %arg5, i64 %1) %82 = call i64 @FUNC(i64 %31, i64* nonnull %sv_3, i64 4096, i64 %3) %83 = trunc i64 %82 to i32 %84 = icmp eq i32 %83, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %84, label LBL_10, label LBL_16 LBL_10: %85 = add i64 %32, %30 %86 = inttoptr i64 %85 to i64* %87 = inttoptr i64 %sv_0.05.reload to i64* %88 = trunc i64 %storemerge4 to i32 %89 = call i64* @memcpy(i64* %86, i64* %87, i32 %88) %90 = load i32, i32* %27, align 4 %91 = call i32 @write(i32 %90, i64* nonnull %sv_3, i32 4096) %92 = icmp eq i32 %91, 4096 store i64 %30, i64* %.in.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %92, label LBL_11, label LBL_16 LBL_11: %.in.reload = load i64, i64* %.in.reg2mem %93 = trunc i64 %.in.reload to i32 %94 = sub i64 %sv_1.06.reload, %storemerge4 %95 = add i64 %storemerge4, %sv_2.07.reload %96 = add i64 %storemerge4, %sv_0.05.reload %97 = add i32 %storemerge8.reload, 1 %98 = sext i32 %97 to i64 %99 = icmp slt i64 %19, %98 store i32 %93, i32* %.reg2mem store i64 %.in.reload, i64* %.reg2mem10 store i64 %98, i64* %.reg2mem12 store i32 %97, i32* %storemerge8.reg2mem store i64 %95, i64* %sv_2.07.reg2mem store i64 %94, i64* %sv_1.06.reg2mem store i64 %96, i64* %sv_0.05.reg2mem store i32 %93, i32* %.reg2mem14 br i1 %99, label LBL_12, label LBL_4 LBL_12: %.reload15 = load i32, i32* %.reg2mem14 %100 = and i32 %.reload15, 2 %101 = icmp eq i32 %100, 0 br i1 %101, label LBL_14, label LBL_13 LBL_13: %102 = add i64 %3, 8 %103 = inttoptr i64 %102 to i32* %104 = load i32, i32* %103, align 4 %105 = call i32 @fsync(i32 %104) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_14: %106 = trunc i64 %5 to i32 %107 = icmp eq i32 %106, 0 store i64 0, i64* %rax.0.reg2mem br i1 %107, label LBL_16, label LBL_15 LBL_15: %108 = add i64 %3, 8 %109 = inttoptr i64 %108 to i32* %110 = load i32, i32* %109, align 4 %111 = call i32 @fdatasync(i32 %110) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.in.reload, { 1, 0 } uselistorder i64 %72, { 1, 0 } uselistorder i64 %37, { 3, 2, 1, 0 } uselistorder i64 %storemerge4, { 0, 1, 3, 2, 5, 4 } uselistorder i64 %33, { 1, 2, 0 } uselistorder i64 %32, { 1, 0, 2 } uselistorder i64 %31, { 1, 0 } uselistorder i64 %.reload13, { 0, 1, 3, 2 } uselistorder i64 %sv_2.07.reload, { 1, 0 } uselistorder i64 %sv_1.06.reload, { 2, 0, 1 } uselistorder i64 %sv_0.05.reload, { 3, 2, 0, 1 } uselistorder i64* %29, { 1, 0, 2 } uselistorder i32* %27, { 1, 0, 2, 3 } uselistorder i64* %25, { 1, 2, 0, 3 } uselistorder i32 %22, { 1, 0 } uselistorder i64 %16, { 1, 0 } uselistorder i64 %11, { 0, 2, 1 } uselistorder i64 %3, { 6, 5, 2, 4, 1, 3, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem10, { 1, 0, 2 } uselistorder i64* %.reg2mem12, { 1, 0, 2 } uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.07.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i64* %.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 1, 2, 3, 7 } uselistorder i64* %0, { 1, 0 } uselistorder i32 0, { 1, 4, 2, 3, 0 } uselistorder i32 (i32, i64*, i32)* @write, { 1, 0 } uselistorder i64 (i64, i64)* @myseek, { 1, 0 } uselistorder i32 4096, { 1, 2, 0 } uselistorder i64 8, { 0, 2, 1 } uselistorder i64 4096, { 4, 0, 5, 1, 2, 3 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DEBUG, { 2, 1, 0 } uselistorder i64 4294967295, { 0, 1, 3, 2, 4, 5 } uselistorder i64 %arg5, { 2, 1, 3, 0 } uselistorder i64 %arg3, { 0, 1, 2, 4, 3 } uselistorder i64 %arg1, { 0, 1, 3, 4, 5, 6, 2 } uselistorder label LBL_16, { 5, 4, 3, 0, 1, 2, 6 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
rac_get_model256_sym_16970
rac_get_model256_sym
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.04.reg2mem = alloca i32 %sv_2.05.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i32* %arg1 to i64 %2 = add i64 %1, 4 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = ashr i32 %4, 8 store i32 %5, i32* %3, align 4 %6 = bitcast i64* %rdi to i32* %7 = load i32, i32* %6, align 8 %8 = ashr i32 %7, 31 %9 = zext i32 %7 to i64 %10 = zext i32 %8 to i64 %11 = mul i64 %10, 4294967296 %12 = or i64 %11, %9 %13 = zext i32 %5 to i64 %14 = sdiv i64 %12, %13 %15 = trunc i64 %14 to i32 %16 = ashr i32 %15, 8 %narrow = add nsw i32 %16, 256 %17 = sext i32 %narrow to i64 %18 = mul i64 %17, 4 %19 = add i64 %18, %0 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %narrow2 = add nsw i32 %16, 257 %22 = sext i32 %narrow2 to i64 %23 = mul i64 %22, 4 %24 = add i64 %23, %0 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i32 %26, 1 %28 = add i32 %21, 1 %29 = zext i32 %28 to i64 %30 = sext i32 %27 to i64 %31 = icmp sgt i64 %30, %29 store i32 %21, i32* %sv_1.0.lcssa.reg2mem store i32 %28, i32* %.lcssa.reg2mem br i1 %31, label LBL_1, label LBL_3 LBL_1: %sext = mul i64 %14, 4294967296 %32 = ashr exact i64 %sext, 32 store i32 %27, i32* %sv_2.05.reg2mem store i32 %21, i32* %sv_1.04.reg2mem br label LBL_2 LBL_2: %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem %sv_2.05.reload = load i32, i32* %sv_2.05.reg2mem %33 = add i32 %sv_1.04.reload, %sv_2.05.reload %34 = ashr i32 %33, 1 %35 = sext i32 %34 to i64 %36 = mul i64 %35, 4 %37 = add i64 %36, %0 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = zext i32 %39 to i64 %41 = icmp slt i64 %32, %40 %spec.select = select i1 %41, i32 %sv_1.04.reload, i32 %34 %spec.select3 = select i1 %41, i32 %34, i32 %sv_2.05.reload %42 = add i32 %spec.select, 1 %43 = zext i32 %42 to i64 %44 = sext i32 %spec.select3 to i64 %45 = icmp sgt i64 %44, %43 store i32 %spec.select3, i32* %sv_2.05.reg2mem store i32 %spec.select, i32* %sv_1.04.reg2mem store i32 %spec.select, i32* %sv_1.0.lcssa.reg2mem store i32 %42, i32* %.lcssa.reg2mem br i1 %45, label LBL_2, label LBL_3 LBL_3: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %46 = sext i32 %sv_1.0.lcssa.reload to i64 %47 = mul i64 %46, 4 %48 = add i64 %47, %0 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = icmp eq i32 %sv_1.0.lcssa.reload, 255 store i32 %4, i32* %sv_0.0.reg2mem br i1 %51, label LBL_5, label LBL_4 LBL_4: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %52 = sext i32 %.lcssa.reload to i64 %53 = mul i64 %52, 4 %54 = add i64 %53, %0 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = mul i32 %56, %5 store i32 %57, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %58 = mul i32 %50, %5 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %59 = sub i32 %7, %58 store i32 %59, i32* %arg1, align 4 %60 = sub i32 %sv_0.0.reload, %58 store i32 %60, i32* %3, align 4 %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_7, label LBL_6 LBL_6: %66 = call i64 @FUNC(i64 %1) br label LBL_7 LBL_7: %67 = zext i32 %sv_1.0.lcssa.reload to i64 %68 = call i64 @FUNC(i64 %0, i64 %67) ret i64 %67 uselistorder i32 %58, { 1, 0 } uselistorder i32 %21, { 1, 0, 2 } uselistorder i32 %5, { 1, 0, 2, 3 } uselistorder i64 %0, { 5, 0, 1, 2, 3, 4 } uselistorder i32* %sv_2.05.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.04.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
kvm_arm_sync_mpstate_to_kvm_15499
kvm_arm_sync_mpstate_to_kvm
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %2 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %3 = icmp eq i32 %2, 0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 store i32 %6, i32* %sv_0, align 4 %7 = ptrtoint i32* %arg1 to i64 %8 = call i64 @FUNC(i64 %7) %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %9, i64 2, i32* nonnull %sv_0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 0, i64* %storemerge.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = sub i32 0, %11 %14 = call i8* @strerror(i32 %13) %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %16 = and i64 %10, 4294967295 %17 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %15, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %16, i8* %14) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 0, { 4, 5, 6, 7, 1, 0, 2, 3, 8 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
xfrm_state_fini_18991
xfrm_state_fini
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 28 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 4210761) %3 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 1) %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = zext i1 %6 to i64 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %7) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = zext i1 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %12, i64 0) %15 = add i64 %arg1, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = zext i1 %20 to i64 %22 = call i64 @FUNC(i64 %21) %23 = load i64, i64* %16, align 8 %24 = call i64 @FUNC(i64 %23, i64 0) %25 = add i64 %arg1, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = zext i1 %30 to i64 %32 = call i64 @FUNC(i64 %31) %33 = load i64, i64* %26, align 8 %34 = call i64 @FUNC(i64 %33, i64 0) ret i64 %34 uselistorder i64 %12, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64 (i64, i64)* @xfrm_hash_free, { 2, 1, 0 } uselistorder i64 (i64)* @hlist_empty, { 2, 1, 0 } uselistorder i64 (i64)* @WARN_ON, { 3, 2, 1, 0 } uselistorder i64 (i64)* @flush_work, { 1, 0 } }
1
BinRealVul
create_17398
create
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = alloca i32 %xmm0.2.reg2mem = alloca i128 %.reg2mem = alloca i128 %storemerge14.reg2mem = alloca i64 %xmm0.0.reg2mem = alloca i128 %rax.0.reg2mem = alloca i64 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = trunc i64 %arg7 to i32 %sv_0 = alloca i32, align 4 %7 = load i64, i64* %1 %8 = load i64, i64* %1 %sv_1 = alloca i64, align 8 %9 = load i32, i32* %2 %sv_2 = alloca i32, align 4 %10 = call i64 @FUNC(i128 %5) %11 = call i64 @FUNC(i128 %4) %12 = call i64 @FUNC(i128 %3) store i64 0, i64* %rax.0.reg2mem switch i32 %6, label LBL_1 [ i32 0, label LBL_8 i32 1, label LBL_6 i32 2, label LBL_5 i32 3, label LBL_4 i32 4, label LBL_3 i32 5, label LBL_2 i32 6, label LBL_7 ] LBL_1: %13 = icmp eq i32 %6, 7 %14 = icmp eq i1 %13, false %.18 = select i1 %14, i64 4294967295, i64 7 store i64 %.18, i64* %rax.0.reg2mem br label LBL_8 LBL_2: store i64 5, i64* %rax.0.reg2mem br label LBL_8 LBL_3: store i64 4, i64* %rax.0.reg2mem br label LBL_8 LBL_4: store i64 3, i64* %rax.0.reg2mem br label LBL_8 LBL_5: store i64 2, i64* %rax.0.reg2mem br label LBL_8 LBL_6: store i64 1, i64* %rax.0.reg2mem br label LBL_8 LBL_7: store i64 6, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %sext9 = mul i64 %arg6, 4294967296 %15 = ashr exact i64 %sext9, 32 %rax.0.reload = load i64, i64* %rax.0.reg2mem %16 = call i64 @FUNC(i64 %rax.0.reload, i64 %rax.0.reload) %17 = trunc i64 %16 to i32 store i32 %17, i32* %sv_2, align 4 %18 = icmp eq i32 %9, 0 %. = select i1 %18, i64 0, i64 9 %19 = call i128 @__asm_movsd.1(i64 %12) %20 = call i128 @__asm_movsd.1(i64 4611686018427387904) %21 = call i128 @FUNC(i128 %19, i128 %20) %22 = call i128 @__asm_movsd.1(i64 4616189618054758400) %23 = call i128 @FUNC(i128 %21, i128 %22) %24 = call i32 @FUNC(i128 %23) %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64* nonnull %sv_1, i64 %25, i64 %.) %27 = trunc i64 %15 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i128 %23, i128* %xmm0.0.reg2mem store i64 0, i64* %storemerge14.reg2mem br i1 %29, label LBL_10, label LBL_9 LBL_9: %30 = call i128 @__asm_movsd.1(i64 %12) %31 = call i32 @FUNC(i128 %30) %32 = sext i32 %31 to i64 store i128 %30, i128* %xmm0.0.reg2mem store i64 %32, i64* %storemerge14.reg2mem br label LBL_10 LBL_10: %33 = sext i64 %10 to i128 %34 = trunc i64 %15 to i8 %35 = call i8 @llvm.ctpop.i8(i8 %34), !range !52 %36 = urem i8 %35, 2 %37 = icmp eq i8 %36, 0 %storemerge14.reload = load i64, i64* %storemerge14.reg2mem %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem store i64 %storemerge14.reload, i64* %sv_1, align 8 %38 = call i128 @FUNC(i128 %xmm0.0.reload, i128 %xmm0.0.reload) call void @FUNC(i128 %38, i64 %10) br i1 %37, label LBL_12, label LBL_11 LBL_11: %39 = call i128 @FUNC(i128 %38, i128 %38) call void @FUNC(i128 %39, i64 %10) br i1 %28, label LBL_17, label LBL_14 LBL_12: %40 = call i128 @__asm_movsd.1(i64 4607137382803743703) call void @FUNC(i128 %40, i128 %33) br i1 %28, label LBL_12.LBL_16_crit_edge, label LBL_15 LBL_13: %.pre = load i128, i128* @gv_0, align 8 store i128 %.pre, i128* %.reg2mem br label LBL_16 LBL_14: %41 = call i128 @__asm_movsd.1(i64 4607137382803743703) call void @FUNC(i128 %41, i128 %33) br label LBL_15 LBL_15: %42 = call i128 @__asm_movsd.1(i64 %10) %43 = load i128, i128* @gv_0, align 8 call void @FUNC(i128 %42, i128 %43) store i128 %43, i128* %.reg2mem br label LBL_16 LBL_16: %.reload = load i128, i128* %.reg2mem %44 = call i128 @__asm_movsd.1(i64 4607137382803743703) call void @FUNC(i128 %44, i128 %33) %45 = call i128 @__asm_movsd.1(i64 %10) %46 = call i128 @__asm_movsd.1(i64 4636737291354636288) %47 = call i128 @FUNC(i128 %45, i128 %46) %48 = call i64 @FUNC(i128 %47) %49 = call i128 @FUNC(i128 %47, i128 %47) call void @FUNC(i128 %49, i64 %10) %50 = call i128 @FUNC(i128 %49, i128 %49) call void @FUNC(i128 %50, i64 %10) %51 = call i128 @__asm_movsd.1(i64 4607137382803743703) call void @FUNC(i128 %51, i128 %33) %52 = call i128 @__asm_movsd.1(i64 %10) call void @FUNC(i128 %52, i128 %.reload) %53 = call i128 @__asm_movsd.1(i64 4607137382803743703) call void @FUNC(i128 %53, i128 %33) %54 = call i128 @__asm_movsd.1(i64 %10) store i128 %54, i128* %xmm0.2.reg2mem br label LBL_18 LBL_17: %55 = call i128 @__asm_movsd.1(i64 %8) %56 = call i64 @FUNC(i128 %55) %57 = call i128 @FUNC(i128 %55, i128 %55) call void @FUNC(i128 %57, i64 %10) %58 = call i128 @FUNC(i128 %57, i128 %57) call void @FUNC(i128 %58, i64 %10) %59 = call i128 @__asm_movsd.1(i64 %7) store i128 %59, i128* %xmm0.2.reg2mem br label LBL_18 LBL_18: %60 = and i64 %arg3, 4294967295 %xmm0.2.reload = load i128, i128* %xmm0.2.reg2mem %61 = call i64 @FUNC(i128 %xmm0.2.reload) %62 = and i64 %arg1, 4294967295 %63 = call i64 @FUNC(i64 %62) %64 = trunc i64 %arg2 to i32 %65 = bitcast i32* %sv_0 to i64* %66 = call i64 @FUNC(i64 %60, i32 %64, i64 0, i64* nonnull %65, i32* nonnull %sv_2, i64* nonnull %sv_1) %sext11 = mul i64 %66, 4294967296 %67 = icmp eq i64 %sext11, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_20, label LBL_19 LBL_19: %69 = ptrtoint i32* %sv_2 to i64 %70 = ptrtoint i64* %sv_1 to i64 %71 = load i32, i32* %sv_0, align 4 %72 = zext i32 %71 to i64 %73 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %72, i64 %69, i64 %70) br label LBL_20 LBL_20: %74 = ashr exact i64 %sext11, 32 ret i64 %74 uselistorder i128 %57, { 1, 0, 2 } uselistorder i128 %55, { 1, 2, 0 } uselistorder i128 %38, { 1, 0, 2 } uselistorder i128 %33, { 2, 0, 3, 1, 4 } uselistorder i64 %rax.0.reload, { 1, 0 } uselistorder i64 %15, { 1, 0 } uselistorder i64 %10, { 4, 5, 2, 3, 0, 1, 6, 7, 8, 9, 10 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i64* %sv_1, { 2, 0, 3, 1 } uselistorder i32 %6, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 8, 7, 6, 5, 4, 3, 2 } uselistorder i64* %1, { 1, 0 } uselistorder i128* %0, { 2, 1, 0 } uselistorder i128* @gv_0, { 1, 0 } uselistorder void (i128, i128)* @__asm_comisd, { 2, 3, 0, 4, 5, 1, 6 } uselistorder i64 4607137382803743703, { 2, 0, 3, 1, 4, 5 } uselistorder void (i128, i64)* @__asm_ucomisd, { 2, 3, 0, 1, 4, 5 } uselistorder i128 (i64)* @__asm_movsd.1, { 2, 6, 3, 4, 5, 0, 7, 8, 9, 10, 1, 11, 12, 13, 14, 15 } uselistorder i64 4294967295, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 (i128)* @__asm_movsd, { 1, 2, 0, 3, 4, 5, 6, 7 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 3, 4, 5, 6, 7, 2, 0 } }
1
BinRealVul
cli_check_3941
cli_check
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 br i1 %5, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %8) ret i64 %9 LBL_2: %10 = call i64 @FUNC(i64 %8) %11 = load i64, i64* %7, align 8 %12 = call i64 @FUNC(i64 %11) %13 = and i64 %12, 4294967295 %14 = call i64 @FUNC(i64 %13) %15 = load i64, i64* %7, align 8 %16 = call i64 @FUNC(i64 %15) %17 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %18 = inttoptr i64 %16 to i8* %19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %17, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i8* %18) call void @exit(i32 2) unreachable uselistorder i64 %8, { 1, 0 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } }
0
BinRealVul
get_evtchn_to_irq_10986
get_evtchn_to_irq
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = call i64 @FUNC() %2 = icmp slt i64 %0, %1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = load i64, i64* @gv_0, align 8 %4 = trunc i64 %0 to i32 %5 = ashr i32 %4, 5 %6 = sext i32 %5 to i64 %7 = mul i64 %6, 8 %8 = add i64 %3, %7 %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 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_3 LBL_2: %13 = mul i64 %arg1, 4 %14 = and i64 %13, 124 %15 = add i64 %10, %14 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 store i64 %18, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
__return_cfs_rq_runtime_10842
__return_cfs_rq_runtime
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = load i64, i64* @gv_0, align 8 %6 = sub i64 %3, %5 %7 = icmp slt i64 %6, 1 store i64 %6, i64* %rax.0.reg2mem br i1 %7, label LBL_7, label LBL_1 LBL_1: %8 = add i64 %4, 40 %9 = call i64 @FUNC(i64 %8) %10 = inttoptr i64 %4 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 9223372036854775807 br i1 %12, label LBL_6, label LBL_2 LBL_2: %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %4, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %15, %18 %20 = icmp eq i1 %19, false br i1 %20, label LBL_6, label LBL_3 LBL_3: %21 = add i64 %4, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = add i64 %23, %6 store i64 %24, i64* %22, align 8 %25 = call i64 @FUNC() %26 = icmp sgt i64 %24, %25 br i1 %26, label LBL_4, label LBL_6 LBL_4: %27 = add i64 %4, 24 %28 = call i64 @FUNC(i64 %27) %29 = trunc i64 %28 to i8 %30 = icmp eq i8 %29, 1 br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = call i64 @FUNC(i64 %4) br label LBL_6 LBL_6: %32 = call i64 @FUNC(i64 %8) %33 = sub i64 %8, %6 store i64 %33, i64* %arg1, align 8 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 %8, { 1, 0, 2 } uselistorder i64 %6, { 2, 1, 0, 3 } uselistorder i64 %4, { 0, 1, 3, 2, 5, 4 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0, 3, 4 } }
0
BinRealVul
make_forin_8953
make_forin
define i64 @FUNC(i64 %arg1, i32* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rsi = alloca i64, align 8 %0 = trunc i64 %arg6 to i32 %1 = call i64 @FUNC() %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i32* store i32 %0, i32* %4, align 4 %5 = load i64, i64* %2, align 8 %6 = bitcast i64* %rsi to i32* %7 = load i32, i32* %6, align 8 %8 = add i64 %5, 4 %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 4 %10 = call i64 @FUNC(i64 %arg3, i64 %1) %11 = add i64 %arg4, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %13, 2 %15 = and i64 %14, 4294967295 %16 = call i64 @FUNC(i64 %15) %17 = call i64 @FUNC() %18 = call i64 @FUNC(i64 %arg1, i64 %17, i64 %16) %19 = add i64 %18, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = load i64, i64* %12, align 8 %23 = add i64 %21, %22 %24 = sub i64 0, %23 %25 = and i64 %24, 4294967295 %26 = call i64 @FUNC(i64 %25) %27 = call i64 @FUNC(i64 %arg4, i64 1, i64 0, i64 %arg5, i64 2) %28 = call i64 @FUNC(i64 2) %29 = call i64 @FUNC(i64 %arg4, i64 %26) %30 = call i64 @FUNC(i64 %10, i64 %18) %31 = call i64 @FUNC(i64 %30, i64 %29, i64 %28) ret i64 %31 uselistorder i64 1, { 4, 5, 0, 2, 6, 1, 3, 7 } uselistorder i64 (i64, i64, i64)* @codes_join3, { 1, 0 } uselistorder i64 2, { 1, 2, 0 } uselistorder i64 8, { 5, 6, 0, 1, 2, 3, 4, 7, 8, 9, 10 } uselistorder i64 (i64, i64)* @codes_join, { 4, 3, 2, 1, 0 } }
0
BinRealVul
nbd_recv_coroutines_enter_all_6714
nbd_recv_coroutines_enter_all
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = mul i64 %indvars.iv.reload, 8 %3 = add i64 %2, %1 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %5) br label LBL_3 LBL_3: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %8 = add i64 %1, 80 %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 label LBL_5 LBL_5: br i1 %12, label LBL_5, label LBL_6 LBL_6: ret i64 %10 uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
DefaultTTFEnglishNames_18768
DefaultTTFEnglishNames
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %2 = icmp eq i64* %arg1, null br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = trunc i64 %1 to i8 %4 = icmp eq i8 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %0) store i64 %6, i64* %arg1, align 8 br label LBL_3 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 = inttoptr i64 %9 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) store i64 %18, i64* %8, align 8 br label LBL_6 LBL_6: %19 = add i64 %1, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_8, label LBL_7 LBL_7: %23 = inttoptr i64 %21 to i8* %24 = load i8, i8* %23, align 1 %25 = icmp eq i8 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_9, label LBL_8 LBL_8: %27 = call i64 @FUNC(i64 %0) %28 = call i64 @FUNC(i64 %27) store i64 %28, i64* %20, align 8 br label LBL_9 LBL_9: %29 = add i64 %1, 24 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_11, label LBL_10 LBL_10: %33 = inttoptr i64 %31 to i8* %34 = load i8, i8* %33, align 1 %35 = icmp eq i8 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_15, label LBL_11 LBL_11: %37 = bitcast i64* %sv_1 to i32* %38 = call i32 @time(i32* nonnull %37) %39 = call %tm* @localtime(i32* nonnull %37) %40 = ptrtoint %tm* %39 to i64 %41 = add i64 %40, 20 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = add i64 %40, 16 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = add i64 %40, 12 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i64 %0, 16 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = icmp eq i64 %52, 0 %54 = add i64 %0, 24 %storemerge.in.in = select i1 %53, i64 %54, i64 %50 %storemerge.in = inttoptr i64 %storemerge.in.in to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %55 = load i8*, i8** @gv_0, align 8 %56 = icmp eq i8* %55, null %57 = icmp eq i1 %56, false br i1 %57, label LBL_13, label LBL_12 LBL_12: %58 = load i64, i64* @gv_1, align 8 %59 = icmp eq i64 %58, 0 %. = select i1 %59, i64 ptrtoint ([14 x i8]* @gv_2 to i64), i64 %58 store i64 %., i64* %rax.0.reg2mem br label LBL_14 LBL_13: %60 = ptrtoint i8* %55 to i64 store i64 %60, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %61 = add i32 %43, 1900 %62 = zext i32 %61 to i64 %63 = add i32 %46, 1 %64 = zext i32 %63 to i64 %65 = zext i32 %49 to i64 %rax.0.reload = load i64, i64* %rax.0.reg2mem %66 = bitcast i64* %sv_0 to i8* %67 = inttoptr i64 %rax.0.reload to i8* %68 = inttoptr i64 %storemerge to i8* %69 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %66, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i8* %67, i8* %68, i64 %65, i64 %64, i64 %62) %70 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %70, i64* %30, align 8 br label LBL_15 LBL_15: %71 = add i64 %1, 32 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = icmp eq i64 %73, 0 br i1 %74, label LBL_17, label LBL_16 LBL_16: %75 = inttoptr i64 %73 to i8* %76 = load i8, i8* %75, align 1 %77 = icmp eq i8 %76, 0 %78 = icmp eq i1 %77, false br i1 %78, label LBL_18, label LBL_17 LBL_17: %79 = add i64 %0, 16 %80 = inttoptr i64 %79 to i64* %81 = load i64, i64* %80, align 8 %82 = call i64 @FUNC(i64 %81) store i64 %82, i64* %72, align 8 br label LBL_18 LBL_18: %83 = add i64 %1, 40 %84 = inttoptr i64 %83 to i64* %85 = load i64, i64* %84, align 8 %86 = icmp eq i64 %85, 0 br i1 %86, label LBL_20, label LBL_19 LBL_19: %87 = inttoptr i64 %85 to i8* %88 = load i8, i8* %87, align 1 %89 = icmp eq i8 %88, 0 %90 = icmp eq i1 %89, false br i1 %90, label LBL_26, label LBL_20 LBL_20: %91 = add i64 %0, 40 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = icmp eq i32 %93, 0 br i1 %94, label LBL_22, label LBL_21 LBL_21: %95 = add i64 %0, 48 %96 = inttoptr i64 %95 to i64* %97 = load i64, i64* %96, align 8 %98 = call i128 @FUNC(i64 %97) %99 = bitcast i64* %sv_0 to i8* %100 = trunc i128 %98 to i64 %101 = bitcast i64 %100 to double %102 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %99, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0), double %101) br label LBL_25 LBL_22: %103 = add i64 %0, 32 %104 = inttoptr i64 %103 to i64* %105 = load i64, i64* %104, align 8 %106 = icmp eq i64 %105, 0 br i1 %106, label LBL_24, label LBL_23 LBL_23: %107 = bitcast i64* %sv_0 to i8* %108 = inttoptr i64 %105 to i8* %109 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %107, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_5, i64 0, i64 0), i8* %108) br label LBL_25 LBL_24: store i64 2336927755350992214, i64* %sv_0, align 8 br label LBL_25 LBL_25: %110 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %110, i64* %84, align 8 br label LBL_26 LBL_26: %111 = add i64 %1, 48 %112 = inttoptr i64 %111 to i64* %113 = load i64, i64* %112, align 8 %114 = icmp eq i64 %113, 0 br i1 %114, label LBL_28, label LBL_27 LBL_27: %115 = inttoptr i64 %113 to i8* %116 = load i8, i8* %115, align 1 %117 = zext i8 %116 to i64 %118 = icmp eq i8 %116, 0 %119 = icmp eq i1 %118, false store i64 %117, i64* %rax.1.reg2mem br i1 %119, label LBL_29, label LBL_28 LBL_28: %120 = add i64 %0, 24 %121 = inttoptr i64 %120 to i64* %122 = load i64, i64* %121, align 8 %123 = call i64 @FUNC(i64 %122) store i64 %123, i64* %112, align 8 store i64 %123, i64* %rax.1.reg2mem br label LBL_29 LBL_29: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64* %sv_0, { 0, 5, 1, 2, 3, 4 } uselistorder i64 %1, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i64 %0, { 0, 3, 2, 1, 4, 6, 5, 7, 8, 9 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 1 } uselistorder i64 (i64*)* @copy, { 1, 0 } uselistorder i64 (i64)* @utf8_verify_copy, { 4, 3, 2, 1, 0 } uselistorder label LBL_14, { 1, 0 } }
1
BinRealVul
h264bsdInit_11652
h264bsdInit
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 0) store i64 %4, i64* %arg1, align 8 br label LBL_2 LBL_2: ret i64 1 uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
usb_bt_init_14124
usb_bt_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %arg2) store i64 %4, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %5 = call i64 @FUNC(i64 0) %6 = and i64 %5, 4294967295 %7 = call i64 @FUNC(i64 %6) store i64 %7, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem %8 = icmp eq i64 %storemerge.reload, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_6 LBL_4: %10 = ptrtoint i64* %arg1 to i64 %11 = call i64 @FUNC(i64 %10, i64 ptrtoint ([14 x i8]* @gv_0 to i64)) %12 = add i64 %11, -8 %13 = inttoptr i64 %12 to i64* store i64 %storemerge.reload, i64* %13, align 8 %14 = call i64 @FUNC(i64 %11) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false store i64 %11, i64* %rax.0.reg2mem br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([14 x i8]* @gv_0 to i64)) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %11, { 0, 2, 1 } uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 0, { 2, 0, 1 } uselistorder i8 0, { 1, 0 } uselistorder label LBL_6, { 2, 0, 1 } }
1
BinRealVul
sha512_export_10549
sha512_export
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 store i64 %4, i64* %arg2, align 8 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* store i64 0, i64* %6, align 8 %7 = add i64 %2, 8 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i64* %10 = inttoptr i64 %7 to i64* %11 = call i64* @memcpy(i64* %9, i64* %10, i32 64) %12 = add i64 %2, 72 %13 = add i64 %0, 80 %14 = inttoptr i64 %13 to i64* %15 = inttoptr i64 %12 to i64* %16 = call i64* @memcpy(i64* %14, i64* %15, i32 128) ret i64 0 uselistorder i64 %0, { 2, 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } }
0
BinRealVul
crypto_report_cipher_13665
crypto_report_cipher
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 store i32 1752197475, i32* %sv_0, align 4 %1 = call i64 @FUNC(i64 %0, i64 1, i64 20, i32* nonnull %sv_0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false %. = select i1 %4, i64 4294967206, i64 0 ret i64 %. }
0
BinRealVul
v9fs_link_9488
v9fs_link
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %sv_3 = alloca i8*, align 8 %3 = bitcast i8** %sv_3 to i64* %4 = call i64 @FUNC(i64* nonnull %3) %5 = bitcast i32* %sv_1 to i64* %6 = bitcast i32* %sv_2 to i64* %7 = call i64 @FUNC(i64 %2, i64 7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %5, i64* nonnull %6, i64* nonnull %3) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 0 store i64 %7, i64* %sv_0.1.reg2mem br i1 %9, label LBL_8, label LBL_1 LBL_1: %10 = trunc i64 %1 to i32 %11 = load i8*, i8** %sv_3, align 8 %12 = ptrtoint i8* %11 to i64 %13 = load i32, i32* %sv_2, align 4 %14 = zext i32 %13 to i64 %15 = load i32, i32* %sv_1, align 4 %16 = zext i32 %15 to i64 %17 = add i64 %2, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %20, i32 %10, i64 %16, i64 %14, i64 %12) %22 = load i8*, i8** %sv_3, align 8 %23 = ptrtoint i8* %22 to i64 %24 = call i64 @FUNC(i64 %23) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 store i64 4294967294, i64* %sv_0.1.reg2mem br i1 %26, label LBL_2, label LBL_8 LBL_2: %27 = load i8*, i8** %sv_3, align 8 %28 = call i32 @strcmp(i8* inttoptr (i64 4202581 to i8*), i8* %27) %29 = icmp eq i32 %28, 0 store i64 4294967279, i64* %sv_0.1.reg2mem br i1 %29, label LBL_8, label LBL_3 LBL_3: %30 = load i8*, i8** %sv_3, align 8 %31 = call i32 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8* %30) %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i64 4294967279, i64* %sv_0.1.reg2mem br i1 %33, label LBL_4, label LBL_8 LBL_4: %34 = load i32, i32* %sv_1, align 4 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i64 %2, i64 %35) %37 = icmp eq i64 %36, 0 %38 = icmp eq i1 %37, false store i64 4294967294, i64* %sv_0.1.reg2mem br i1 %38, label LBL_5, label LBL_8 LBL_5: %39 = load i32, i32* %sv_2, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %2, i64 %40) %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false store i64 4294967294, i64* %sv_0.0.reg2mem br i1 %43, label LBL_6, label LBL_7 LBL_6: %44 = call i64 @FUNC(i64 %2, i64 %41, i64 %36, i64* nonnull %3) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false %spec.select = select i1 %47, i64 %44, i64 7 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %48 = call i64 @FUNC(i64 %2, i64 %36) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %49 = call i64 @FUNC(i64* nonnull %3) %50 = and i64 %sv_0.1.reload, 4294967295 %51 = call i64 @FUNC(i64 %2, i64 %50) ret i64 %51 uselistorder i64* %3, { 1, 0, 2, 3 } uselistorder i8** %sv_3, { 3, 2, 1, 0, 4 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64 %2, { 5, 0, 1, 2, 3, 4, 6 } uselistorder i64* %sv_0.1.reg2mem, { 0, 5, 1, 3, 2, 4, 6 } uselistorder i64 (i64, i64)* @get_fid, { 1, 0 } uselistorder i64 4294967279, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 4294967294, { 2, 0, 1 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0 } uselistorder label LBL_8, { 5, 0, 2, 1, 3, 4 } }
0
BinRealVul
raw_close_3358
raw_close
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 slt i32 %2, 0 store i64 %3, i64* %rax.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = call i32 @close(i32 %2) %7 = bitcast i64* %arg1 to i32* store i32 -1, i32* %7, align 4 %8 = add i64 %5, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %10) store i64 %12, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } }
0
BinRealVul
posix_lock_file_wait_18849
posix_lock_file_wait
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC() %5 = add i64 %2, 16 %6 = inttoptr i64 %5 to i64* %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = urem i64 %1, 2 %10 = icmp eq i64 %9, 0 store i64 %3, i64* %rdi.0.reg2mem br label LBL_1 LBL_1: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %11 = call i64 @FUNC(i64 %rdi.0.reload, i64 %2) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, -11 %14 = icmp eq i1 %13, false %or.cond = or i1 %10, %14 store i64 %11, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_2 LBL_2: %15 = load i64, i64* %6, align 8 %16 = icmp eq i64 %15, 0 %17 = load i64, i64* %8, align 8 %18 = zext i1 %16 to i64 %19 = call i64 @FUNC(i64 %17, i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 store i64 %17, i64* %rdi.0.reg2mem br i1 %21, label LBL_1, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %2) store i64 %19, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %23 = and i64 %sv_0.0.reload, 4294967295 ret i64 %23 uselistorder i64 %2, { 0, 3, 2, 1 } uselistorder i64* %rdi.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
snd_timer_start_slave_12245
snd_timer_start_slave
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2) store i64 or (i64 ptrtoint (i64* @gv_0 to i64), i64 1), i64* %arg1, align 8 %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %6, 32 %9 = add i64 %1, 16 %10 = call i64 @FUNC(i64 %9, i64 %8) br label LBL_2 LBL_2: %11 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2) ret i64 1 uselistorder i64 %2, { 1, 0 } uselistorder i64* @gv_0, { 0, 2, 1 } }
1
BinRealVul
iniparser_getboolean_12953
iniparser_getboolean
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64 %0 = ptrtoint i8* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %2 = call i64 @FUNC(i64 %1, i64 %0, i64 0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ashr exact i64 %sext, 32 store i64 %5, i64* %storemerge.in.reg2mem br label LBL_6 LBL_2: %6 = inttoptr i64 %2 to i8* %7 = load i8, i8* %6, align 1 store i64 1, i64* %storemerge.in.reg2mem store i64 1, i64* %storemerge.in.reg2mem store i64 1, i64* %storemerge.in.reg2mem store i64 1, i64* %storemerge.in.reg2mem switch i8 %7, label LBL_3 [ i8 121, label LBL_6 i8 89, label LBL_6 i8 49, label LBL_6 i8 116, label LBL_6 ] LBL_3: %8 = icmp eq i8 %7, 84 %9 = icmp eq i1 %8, false store i64 1, i64* %storemerge.in.reg2mem br i1 %9, label LBL_4, label LBL_6 LBL_4: store i64 0, i64* %storemerge.in.reg2mem store i64 0, i64* %storemerge.in.reg2mem store i64 0, i64* %storemerge.in.reg2mem store i64 0, i64* %storemerge.in.reg2mem switch i8 %7, label LBL_5 [ i8 110, label LBL_6 i8 78, label LBL_6 i8 48, label LBL_6 i8 102, label LBL_6 ] LBL_5: %10 = icmp eq i8 %7, 70 %11 = icmp eq i1 %10, false %12 = ashr exact i64 %sext, 32 %spec.select = select i1 %11, i64 %12, i64 0 store i64 %spec.select, i64* %storemerge.in.reg2mem br label LBL_6 LBL_6: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i8 %7, { 2, 0, 3, 1 } uselistorder i64 %sext, { 1, 0 } uselistorder label LBL_6, { 0, 6, 7, 8, 9, 5, 1, 2, 3, 4, 10 } }
1
BinRealVul
mem_add_1840
mem_add
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_0.04.reg2mem = alloca i32 %sv_2.05.reg2mem = alloca i64 %sv_2.0.ph.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %.reg2mem = alloca i64 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = load i64, i64* %0 %5 = load i32, i32* %1 %6 = load i32, i32* %1 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64* nonnull %sv_4, i64 %2, i64 %12, i64 %9) %14 = load i64, i64* %8, align 8 %15 = load i64, i64* %11, align 8 %16 = call i64 @FUNC(i64* nonnull %sv_3, i64 %2, i64 %15, i64 %14) %17 = load i64, i64* %sv_4, align 8 %18 = icmp ult i64 %17, 4096 %19 = icmp eq i1 %18, false %20 = icmp ult i32 %6, 4096 %or.cond = or i1 %20, %19 br i1 %or.cond, label LBL_2, label LBL_0.LBL_3_crit_edge LBL_1: %.pre = load i64, i64* %sv_3, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_3 LBL_2: %21 = sext i32 %6 to i64 %22 = and i64 %17, -4096 %23 = sub i64 %22, %17 %24 = icmp ult i64 %23, %21 %25 = select i1 %24, i64 %23, i64 %21 %26 = call i64 @FUNC(i64 %3, i64* nonnull %sv_4) %27 = trunc i64 %25 to i32 %28 = sub i32 %5, %27 %29 = load i64, i64* %sv_3, align 8 %30 = add i64 %29, %25 store i64 %30, i64* %sv_3, align 8 %31 = add i64 %25, %4 store i64 %30, i64* %.reg2mem store i32 %28, i32* %sv_0.0.ph.reg2mem store i64 %31, i64* %sv_2.0.ph.reg2mem br label LBL_3 LBL_3: %sv_2.0.ph.reload = load i64, i64* %sv_2.0.ph.reg2mem %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %.reload = load i64, i64* %.reg2mem %32 = icmp ult i32 %sv_0.0.ph.reload, 4096 store i64 %.reload, i64* %sv_4, align 8 store i64 %sv_2.0.ph.reload, i64* %sv_2.05.reg2mem store i32 %sv_0.0.ph.reload, i32* %sv_0.04.reg2mem store i32 %sv_0.0.ph.reload, i32* %sv_0.0.lcssa.reg2mem br i1 %32, label LBL_8, label LBL_4 LBL_4: %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %sv_2.05.reload = load i64, i64* %sv_2.05.reg2mem %33 = icmp ult i64 %sv_2.05.reload, 4096 br i1 %33, label LBL_6, label LBL_5 LBL_5: %34 = call i64 @FUNC(i64 %3, i64* nonnull %sv_4) store i32 4096, i32* %sv_1.0.reg2mem br label LBL_7 LBL_6: %35 = urem i32 %sv_0.04.reload, 4096 %36 = call i64 @FUNC(i64 %3, i64* nonnull %sv_4) store i32 %35, i32* %sv_1.0.reg2mem br label LBL_7 LBL_7: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %37 = sub i32 %sv_0.04.reload, %sv_1.0.reload %38 = load i64, i64* %sv_3, align 8 %39 = zext i32 %sv_1.0.reload to i64 %40 = add i64 %38, %39 store i64 %40, i64* %sv_3, align 8 %41 = add i64 %sv_2.05.reload, %39 %42 = icmp ult i32 %37, 4096 store i64 %40, i64* %sv_4, align 8 store i64 %41, i64* %sv_2.05.reg2mem store i32 %37, i32* %sv_0.04.reg2mem store i32 %37, i32* %sv_0.0.lcssa.reg2mem br i1 %42, label LBL_8, label LBL_4 LBL_8: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %43 = icmp eq i32 %sv_0.0.lcssa.reload, 0 store i64 0, i64* %rax.0.reg2mem br i1 %43, label LBL_10, label LBL_9 LBL_9: %44 = call i64 @FUNC(i64 %3, i64* nonnull %sv_4) store i64 %44, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_1.0.reload, { 1, 0 } uselistorder i64 %sv_2.05.reload, { 1, 0 } uselistorder i64 %17, { 1, 0, 2 } uselistorder i64* %sv_4, { 1, 6, 2, 3, 0, 4, 7, 5 } uselistorder i64* %sv_3, { 2, 3, 4, 5, 0, 1 } uselistorder i64 %3, { 2, 1, 0, 3 } uselistorder i64* %sv_2.05.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.04.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %1, { 1, 0 } uselistorder i64 (i64, i64*)* @register_subpage, { 1, 2, 0 } uselistorder i32 4096, { 4, 1, 0, 2, 3 } uselistorder i64 (i64*, i64, i64, i64)* @limit, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
ga_disable_non_whitelisted_10089
ga_disable_non_whitelisted
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %rdx.16.reg2mem = alloca i64 %sv_0.07.reg2mem = alloca i64 %.reg2mem22 = alloca i64* %.reg2mem20 = alloca i64 %rdx.0.lcssa9.reg2mem = alloca i64 %rdx.0.lcssa8.reg2mem = alloca i64 %.reg2mem18 = alloca i64 %spec.select.lcssa.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i64 %spec.select11.reg2mem = alloca i32 %.reg2mem16 = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = call i64 @FUNC() %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %.reg2mem20 store i64* %5, i64** %.reg2mem22 store i64 %4, i64* %sv_0.07.reg2mem br i1 %8, label LBL_6, label LBL_8 LBL_1: %spec.select11.reload = load i32, i32* %spec.select11.reg2mem %.reload17 = load i32, i32* %.reg2mem16 %.reload = load i64, i64* %.reg2mem %.pre = load i64, i64* %.reload23, align 8 %9 = inttoptr i64 %.pre to i8* %10 = inttoptr i64 %.reload to i8* %11 = call i32 @strcmp(i8* %9, i8* %10) %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false %spec.select = select i1 %13, i32 %spec.select11.reload, i32 1 %14 = add i32 %.reload17, 1 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = add i64 %16, ptrtoint ([2 x i8*]* @gv_0 to i64) %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64 %19, i64* %.reg2mem store i32 %14, i32* %.reg2mem16 store i32 %spec.select, i32* %spec.select11.reg2mem store i64 %.reload, i64* %.lcssa.reg2mem store i32 %spec.select, i32* %spec.select.lcssa.reg2mem br i1 %21, label LBL_1, label LBL_2 LBL_2: %spec.select.lcssa.reload = load i32, i32* %spec.select.lcssa.reg2mem %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %22 = trunc i32 %spec.select.lcssa.reload to i8 %23 = icmp eq i8 %22, 1 store i64 %.lcssa.reload, i64* %rdx.0.lcssa9.reg2mem br i1 %23, label LBL_5, label LBL_2.LBL_4_crit_edge LBL_3: %.pre15 = load i64, i64* %.reload23, align 8 store i64 %.pre15, i64* %.reg2mem18 store i64 %.lcssa.reload, i64* %rdx.0.lcssa8.reg2mem br label LBL_4 LBL_4: %rdx.0.lcssa8.reload = load i64, i64* %rdx.0.lcssa8.reg2mem %.reload19 = load i64, i64* %.reg2mem18 %24 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %.reload19, i64 %rdx.0.lcssa8.reload, i64 %3, i64 %2, i64 %1) %25 = load i64, i64* %.reload23, align 8 %26 = call i64 @FUNC(i64 %25) store i64 %rdx.0.lcssa8.reload, i64* %rdx.0.lcssa9.reg2mem br label LBL_5 LBL_5: %rdx.0.lcssa9.reload = load i64, i64* %rdx.0.lcssa9.reg2mem %27 = load i64, i64* %.reload23, align 8 %28 = call i64 @FUNC(i64 %27) %29 = add i64 %sv_0.07.reload, 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false store i64 %31, i64* %.reg2mem20 store i64* %30, i64** %.reg2mem22 store i64 %29, i64* %sv_0.07.reg2mem store i64 %rdx.0.lcssa9.reload, i64* %rdx.16.reg2mem br i1 %33, label LBL_6, label LBL_8 LBL_6: %rdx.16.reload = load i64, i64* %rdx.16.reg2mem %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem %.reload23 = load i64*, i64** %.reg2mem22 %.reload21 = load i64, i64* %.reg2mem20 %34 = load i64, i64* bitcast ([2 x i8*]* @gv_0 to i64*), align 8 %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false store i64 %.reload21, i64* %.reg2mem18 store i64 %rdx.16.reload, i64* %rdx.0.lcssa8.reg2mem br i1 %36, label LBL_7, label LBL_4 LBL_7: %37 = inttoptr i64 %.reload21 to i8* %38 = inttoptr i64 %34 to i8* %39 = call i32 @strcmp(i8* %37, i8* %38) %40 = icmp eq i32 %39, 0 %spec.select10 = zext i1 %40 to i32 %41 = load i64, i64* inttoptr (i64 add (i64 ptrtoint ([2 x i8*]* @gv_0 to i64), i64 8) to i64*), align 8 %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false store i64 %41, i64* %.reg2mem store i32 1, i32* %.reg2mem16 store i32 %spec.select10, i32* %spec.select11.reg2mem store i64 %34, i64* %.lcssa.reg2mem store i32 %spec.select10, i32* %spec.select.lcssa.reg2mem br i1 %43, label LBL_1, label LBL_2 LBL_8: %44 = call i64 @FUNC(i64 %4) ret i64 %44 uselistorder i64* %.reload23, { 2, 3, 0, 1 } uselistorder i64 %.lcssa.reload, { 1, 0 } uselistorder i64 %4, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem16, { 1, 2, 0 } uselistorder i32* %spec.select11.reg2mem, { 1, 2, 0 } uselistorder i64* %.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32* %spec.select.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem18, { 1, 0, 2 } uselistorder i64* %rdx.0.lcssa8.reg2mem, { 1, 0, 2 } uselistorder i64* %rdx.0.lcssa9.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem20, { 0, 2, 1 } uselistorder i64** %.reg2mem22, { 0, 2, 1 } uselistorder i64* %sv_0.07.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 0, { 0, 5, 1, 2, 3, 4 } uselistorder i1 false, { 0, 2, 5, 4, 3, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
select_voice_14762
select_voice
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) 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 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = mul i64 %indvars.iv.reload, 16 %4 = add i64 %3, ptrtoint ([7 x i8]** @gv_0 to i64) %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i8* %8 = call i32 @strcmp(i8* %7, i8* %arg2) %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = add i64 %3, add (i64 ptrtoint ([7 x i8]** @gv_0 to i64), i64 8) %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 store i64 %13, i64* %arg1, align 8 %14 = ptrtoint i8* %arg2 to i64 %15 = call i64 @FUNC(i64 %arg3, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 %14, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_5 LBL_3: %16 = icmp eq i64 %indvars.iv.reload, 1 store i64 1, i64* %indvars.iv.reg2mem br i1 %16, label LBL_4, label LBL_1 LBL_4: %17 = ptrtoint i8* %arg2 to i64 %18 = call i64 @FUNC(i64 %arg3, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64 %17, i64 %2, i64 %1) %19 = call i64 @FUNC(i64 %arg3, i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i64 %17, i64 %2, i64 %1) %20 = call i64 @FUNC(i64 %arg3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0)) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 2, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 1, { 4, 1, 2, 0, 5, 3, 6, 7 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 5, 0, 2, 1 } uselistorder i64 %arg3, { 2, 1, 0, 3 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
my_asctime_13817
my_asctime
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 %arg1, i64* %sv_0, align 8 %0 = bitcast i64* %sv_0 to i32* %1 = call %tm* @localtime(i32* nonnull %0) %2 = icmp eq %tm* %1, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) store i64 %4, i64* %storemerge.reg2mem br label LBL_4 LBL_2: %5 = call i8* @asctime(%tm* %1) %6 = call i64 @FUNC(i8* %5) %7 = inttoptr i64 %6 to i8* %8 = call i32 @strlen(i8* %7) %9 = icmp slt i32 %8, 1 store i64 %6, i64* %storemerge.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = sext i32 %8 to i64 %11 = add i64 %6, -1 %12 = add i64 %11, %10 %13 = inttoptr i64 %12 to i8* store i8 0, i8* %13, align 1 store i64 %6, 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, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 (i8*)* @g_strdup, { 1, 0 } uselistorder i32 1, { 1, 3, 0, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
extend_raw_data_11275
extend_raw_data
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %1, %arg3 %3 = trunc i64 %2 to i32 %4 = add i32 %3, 16 %5 = call i64* @realloc(i64* %arg1, i32 %4) %6 = icmp eq i64* %5, null %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_3 LBL_1: %8 = ptrtoint i64* %5 to i64 %9 = ptrtoint i64* %arg2 to i64 store i64 %8, i64* %arg1, align 8 %10 = add i64 %8, 16 %11 = add i64 %8, 8 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = load i64, i64* %5, align 8 %14 = add i64 %13, %10 %15 = call i64 @FUNC(i64 %9, i64 %14, i64 %arg3) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_2, label LBL_3 LBL_2: store i64 %2, i64* %5, align 8 store i64 %14, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 1, 0, 2 } uselistorder i64* %5, { 0, 1, 3, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
change_mount_flags_8972
change_mount_flags
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = urem i64 %arg2, 2 %2 = icmp ne i64 %1, 0 %spec.select = zext i1 %2 to i32 %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %spec.select, %4 %6 = icmp eq i1 %5, false store i64 0, i64* %storemerge1.reg2mem br i1 %6, label LBL_1, label LBL_4 LBL_1: %7 = icmp eq i1 %2, false %8 = call i64 @FUNC(i64 %0) br i1 %7, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %8) %phitmp = and i64 %9, 4294967295 store i64 %phitmp, i64* %storemerge1.reg2mem br label LBL_4 LBL_3: %10 = call i64 @FUNC(i64 %8) store i64 0, i64* %storemerge1.reg2mem br label LBL_4 LBL_4: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem ret i64 %storemerge1.reload uselistorder i64 %8, { 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
pci_piix3_xen_ide_unplug_15230
pci_piix3_xen_ide_unplug
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = call i64 @FUNC(i64 0, i64 %indvars.iv.reload) %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_6, label LBL_2 LBL_2: %4 = inttoptr i64 %2 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_6, label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %2) %9 = call i64 @FUNC(i64 %8) %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = call i64 @FUNC(i64 %8, i64 %9) br label LBL_5 LBL_5: %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %2, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = sext i32 %17 to i64 %19 = sext i32 %14 to i64 %20 = mul i64 %19, 2 %21 = add nsw i64 %20, %18 %22 = mul i64 %21, 8 %23 = add i64 %22, %1 %24 = inttoptr i64 %23 to i64* store i64 0, i64* %24, align 8 %25 = call i64 @FUNC(i64 %8) br label LBL_6 LBL_6: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_7, label LBL_1 LBL_7: %26 = call i64 @FUNC(i64 %0) ret i64 0 uselistorder i64 %8, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 2, 0, 1 } }
1
BinRealVul
vnc_client_io_17491
vnc_client_io
define i64 @FUNC(i32* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %arg2, 2 %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i32* %arg3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = and i64 %arg2, 2 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = ptrtoint i32* %arg3 to i64 %11 = call i64 @FUNC(i64 %10) br label LBL_4 LBL_4: %12 = trunc i64 %1 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_8, label LBL_5 LBL_5: %14 = ptrtoint i32* %arg3 to i64 %15 = add i64 %14, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = zext i32 %17 to i64 %20 = call i64 @FUNC(i64 %19) br label LBL_7 LBL_7: store i32 0, i32* %16, align 4 br label LBL_8 LBL_8: ret i64 1 uselistorder i64 2, { 1, 0 } uselistorder i32* %arg3, { 1, 0, 2 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_4, { 2, 0, 1 } }
1
BinRealVul
gen_dstst_320
gen_dstst
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %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_2, label LBL_1 LBL_1: %7 = ptrtoint i32* %arg1 to i64 %8 = call i64 @FUNC(i64 %7, i64 1) 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 4294967295, { 0, 2, 1 } }
0
BinRealVul
pc_fw_add_pflash_drv_3210
pc_fw_add_pflash_drv
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.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* %.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: store i64 ptrtoint ([17 x i8]* @gv_1 to i64), i64* @gv_0, align 8 store i64 ptrtoint ([17 x i8]* @gv_1 to i64), i64* %.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %3 = call i64 @FUNC(i64 0, i64 %.reload) %4 = call i64 @FUNC(i64 1, i64 4294967295, i64 %3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) %5 = call i64 @FUNC(i64 %3) %6 = icmp eq i64 %4, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %6, label LBL_6, label LBL_3 LBL_3: %7 = call i64 @FUNC() %8 = icmp eq i64 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_6, label LBL_4 LBL_4: %9 = inttoptr i64 %7 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %4, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 %12, i64* %rax.0.reg2mem br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %4) store i64 %16, 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* %.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_6, { 2, 3, 0, 1 } }
0
BinRealVul
fio_cluster_signal_children_7069
fio_cluster_signal_children
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = call i32 @getpid() %3 = icmp eq i32 %2, %1 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i32 @getpid() %5 = call i32 @kill(i32 %4, i32 2) %6 = sext i32 %5 to i64 store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %7 = call i64 @FUNC(i64 0, i64 1, i64 0, i64 0, i64 0, i64 1) %8 = call i64 @FUNC(i64 %7, i64 4294967295) store i64 %8, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i32 ()* @getpid, { 1, 0 } uselistorder i32 1, { 1, 0 } }
0
BinRealVul
ip6_tnl_dst_reset_17509
ip6_tnl_dst_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 store i32 0, i32* %storemerge1.reg2mem br label LBL_1 LBL_1: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %1 = call i64 @FUNC(i64 %0, i64 0) %2 = add nuw nsw i32 %storemerge1.reload, 1 %exitcond = icmp eq i32 %2, 4 store i32 %2, i32* %storemerge1.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: ret i64 %1 uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } }
1
BinRealVul
keyctl_get_keyring_ID_10065
keyctl_get_keyring_ID
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false %3 = zext i1 %2 to i64 %4 = call i64 @FUNC(i64 %arg1, i64 %3, i64 0) %5 = icmp ult i64 %4, -1000 store i64 %4, i64* %sv_0.0.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = inttoptr i64 %4 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %4) store i64 %7, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %4, { 2, 1, 0, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
f2fs_grab_read_bio_4401
f2fs_grab_read_bio
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %0, i64 %arg2, i64 0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 -14, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_6 LBL_1: %5 = icmp ult i32 %arg3, 128 %6 = select i1 %5, i32 %arg3, i32 128 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %0, i64 %7, i64 0) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 -12, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_6 LBL_2: %11 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %8) %12 = inttoptr i64 %8 to i64* store i64 4198812, i64* %12, align 8 %13 = call i64 @FUNC(i64 %8, i64 0, i32 %arg4) %14 = call i64 @FUNC(i64 %arg1) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 store i64 %8, i64* %rax.0.reg2mem br i1 %16, label LBL_6, label LBL_3 LBL_3: %17 = load i64, i64* @gv_0, align 8 %18 = call i64 @FUNC(i64 %17, i64 0) %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %8) store i64 -12, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %not. = icmp ne i1 %16, true %spec.select = zext i1 %not. to i32 %22 = inttoptr i64 %18 to i64* store i64 %8, i64* %22, align 8 %23 = add i64 %18, 8 %24 = inttoptr i64 %23 to i32* store i32 %spec.select, i32* %24, align 4 %25 = add i64 %8, 8 %26 = inttoptr i64 %25 to i64* store i64 %18, i64* %26, align 8 %27 = call i64 @FUNC(i64 %0, i64 %arg2) store i64 %8, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 1, 3, 4, 2, 0, 5, 7, 6, 8 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 5, 1, 3, 4 } uselistorder i32 %arg3, { 1, 0 } uselistorder label LBL_6, { 1, 4, 0, 2, 3 } }
0
BinRealVul
balloon_page_18685
balloon_page
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = trunc i64 %arg2 to i32 %7 = icmp eq i32 %6, 0 %. = select i1 %7, i32 4, i32 3 %8 = call i32 @sysconf(i32 30) %9 = inttoptr i64 %arg1 to i64* %10 = call i32 @madvise(i64* %9, i32 %8, i32 %.) %11 = sext i32 %10 to i64 store i64 %11, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } }
1
BinRealVul
check_exception_14704
check_exception
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.011.reg2mem = alloca i64 %sv_0.010.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %sv_0.09.reg2mem = alloca i64 %.pre-phi17.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = load i32*, i32** @gv_0, align 8 %2 = load i32, i32* %1, align 4 %3 = and i64 %0, 4294967295 %4 = zext i32 %2 to i64 %5 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %3) %6 = load i32*, i32** @gv_0, align 8 %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 8 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = ptrtoint i32* %6 to i64 %11 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %12 = icmp eq i32 %2, 0 %.off = add i32 %2, -10 %13 = icmp ult i32 %.off, 4 %narrow = or i1 %12, %13 %14 = trunc i64 %0 to i32 %15 = icmp eq i32 %14, 0 %.off14 = add i32 %14, -10 %16 = icmp ult i32 %.off14, 4 %narrow15 = or i1 %15, %16 %17 = icmp eq i1 %narrow15, false %18 = icmp eq i1 %17, false %or.cond5 = icmp eq i1 %18, %narrow br i1 %or.cond5, label LBL_5, label LBL_3 LBL_3: %19 = load i32*, i32** @gv_0, align 8 %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 14 %22 = icmp eq i1 %21, false store i64 %0, i64* %sv_0.0.reg2mem br i1 %22, label LBL_6, label LBL_4 LBL_4: %.not = icmp ne i1 %18, true %23 = icmp eq i32 %14, 14 %24 = icmp eq i1 %23, false %or.cond13 = icmp eq i1 %24, %.not store i32 %14, i32* %.pre-phi17.reg2mem store i64 %0, i64* %sv_0.09.reg2mem br i1 %or.cond13, label LBL_7, label LBL_5 LBL_5: %25 = bitcast i64* %arg2 to i32* store i32 0, i32* %25, align 4 store i64 8, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.pre = trunc i64 %sv_0.0.reload to i32 store i32 %.pre, i32* %.pre-phi17.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.09.reg2mem store i32 %.pre, i32* %.pre-phi.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.010.reg2mem br i1 %18, label LBL_8, label LBL_7 LBL_7: %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %.pre-phi17.reload = load i32, i32* %.pre-phi17.reg2mem %26 = icmp ne i32 %.pre-phi17.reload, 14 %27 = icmp eq i32 %.pre-phi17.reload, 8 %28 = icmp eq i1 %27, false %or.cond7 = icmp eq i1 %26, %28 store i32 %.pre-phi17.reload, i32* %.pre-phi.reg2mem store i64 %sv_0.09.reload, i64* %sv_0.010.reg2mem store i64 %sv_0.09.reload, i64* %sv_0.011.reg2mem br i1 %or.cond7, label LBL_9, label LBL_8 LBL_8: %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %29 = load i32*, i32** @gv_0, align 8 store i32 %.pre-phi.reload, i32* %29, align 4 store i64 %sv_0.010.reload, i64* %sv_0.011.reg2mem br label LBL_9 LBL_9: %sv_0.011.reload = load i64, i64* %sv_0.011.reg2mem %30 = and i64 %sv_0.011.reload, 4294967295 ret i64 %30 uselistorder i1 %18, { 2, 0, 1 } uselistorder i32 %14, { 0, 2, 1, 3 } uselistorder i32 %2, { 1, 2, 0 } uselistorder i64 %0, { 0, 1, 3, 2 } uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.010.reg2mem, { 0, 2, 1 } uselistorder i32 14, { 1, 0, 2 } uselistorder i1 false, { 2, 1, 4, 3, 0, 5 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
iscsi_readv_writev_bh_cb_2516
iscsi_readv_writev_bh_cb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %0) ret i64 %5 }
0
BinRealVul
do_shmat_15365
do_shmat
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge11.reg2mem = alloca i32 %sv_0.08.reg2mem = alloca i64 %sv_0.0.in.in.reg2mem = alloca i64* %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %2 = trunc i64 %arg1 to i32 %3 = bitcast i64* %sv_1 to %shmid_ds* %4 = call i32 @shmctl(i32 %2, i32 2, %shmid_ds* nonnull %3) %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %5) %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 0 br i1 %10, label LBL_2, label LBL_1 LBL_1: %sext7 = mul i64 %6, 4294967296 %11 = ashr exact i64 %sext7, 32 store i64 %11, i64* %rax.0.reg2mem br label LBL_14 LBL_2: %sext = mul i64 %arg1, 4294967296 %12 = ashr exact i64 %sext, 32 %sext4 = mul i64 %arg3, 4294967296 %13 = ashr exact i64 %sext4, 32 %14 = call i64 @FUNC() %15 = icmp eq i64 %arg2, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %arg2) %17 = trunc i64 %13 to i32 %18 = trunc i64 %12 to i32 %19 = inttoptr i64 %16 to i64* %20 = call i64* @shmat(i32 %18, i64* %19, i32 %17) store i64* %20, i64** %sv_0.0.in.in.reg2mem br label LBL_7 LBL_4: %21 = call i64 @FUNC(i64 0, i64 %1) %22 = icmp eq i64 %21, -1 %23 = icmp eq i1 %22, false br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = call i32* @__errno_location() store i32 12, i32* %24, align 4 store i64 4294967295, i64* %sv_0.08.reg2mem br label LBL_8 LBL_6: %25 = trunc i64 %13 to i32 %26 = or i32 %25, 16384 %27 = call i64 @FUNC(i64 %21) %28 = trunc i64 %12 to i32 %29 = inttoptr i64 %27 to i64* %30 = call i64* @shmat(i32 %28, i64* %29, i32 %26) store i64* %30, i64** %sv_0.0.in.in.reg2mem br label LBL_7 LBL_7: %sv_0.0.in.in.reload = load i64*, i64** %sv_0.0.in.in.reg2mem %sv_0.0.in = ptrtoint i64* %sv_0.0.in.in.reload to i64 %sv_0.0 = trunc i64 %sv_0.0.in to i32 %31 = icmp eq i32 %sv_0.0, -1 %32 = icmp eq i1 %31, false store i64 %sv_0.0.in, i64* %sv_0.08.reg2mem br i1 %32, label LBL_9, label LBL_8 LBL_8: %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem %33 = call i64 @FUNC() %34 = and i64 %sv_0.08.reload, 4294967295 %35 = call i64 @FUNC(i64 %34) %sext5 = mul i64 %35, 4294967296 %36 = ashr exact i64 %sext5, 32 store i64 %36, i64* %rax.0.reg2mem br label LBL_14 LBL_9: %sext9 = mul i64 %sv_0.0.in, 4294967296 %37 = ashr exact i64 %sext9, 32 %38 = call i64 @FUNC(i64 %37) %39 = and i64 %arg3, 4096 %40 = icmp eq i64 %39, 0 %. = select i1 %40, i64 7, i64 3 %41 = add i64 %38, %1 %42 = call i64 @FUNC(i64 %38, i64 %41, i64 %.) store i32 0, i32* %storemerge11.reg2mem br label LBL_10 LBL_10: %storemerge11.reload = load i32, i32* %storemerge11.reg2mem %43 = sext i32 %storemerge11.reload to i64 %44 = mul nsw i64 %43, 24 %45 = add i64 %44, ptrtoint (i8** @gv_0 to i64) %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 8 %48 = icmp eq i8 %47, 1 br i1 %48, label LBL_12, label LBL_11 LBL_11: store i8 1, i8* %46, align 8 %49 = add i64 %44, ptrtoint (i64* @gv_1 to i64) %50 = inttoptr i64 %49 to i64* store i64 %38, i64* %50, align 8 %51 = add i64 %44, ptrtoint (i64* @gv_2 to i64) %52 = inttoptr i64 %51 to i64* br label LBL_13 LBL_12: %53 = add nuw i32 %storemerge11.reload, 1 %54 = icmp ult i32 %53, 10 store i32 %53, i32* %storemerge11.reg2mem br i1 %54, label LBL_10, label LBL_13 LBL_13: %55 = call i64 @FUNC() store i64 %38, 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 %38, { 0, 2, 3, 1 } uselistorder i64 %sv_0.0.in, { 1, 0, 2 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64** %sv_0.0.in.in.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i8 1, { 1, 0 } uselistorder i64 ()* @mmap_unlock, { 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i64 -1, { 1, 0 } uselistorder i64* (i32, i64*, i32)* @shmat, { 1, 0 } uselistorder i64 (i64)* @g2h, { 1, 0 } uselistorder i64 32, { 0, 2, 3, 4, 1 } uselistorder i64 4294967296, { 0, 1, 3, 4, 2 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i64)* @get_errno, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
drop_futex_key_refs_13254
drop_futex_key_refs
define i64 @FUNC(i64* %arg1) 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 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %3 = call i32 @fwrite(i64* bitcast ([24 x i8]* @gv_1 to i64*), i32 1, i32 23, %_IO_FILE* %2) %4 = sext i32 %3 to i64 store i64 %4, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = urem i64 %8, 4 store i64 %9, i64* %rax.0.reg2mem switch i64 %9, label LBL_5 [ i64 1, label LBL_3 i64 2, label LBL_4 ] LBL_3: %10 = call i64 @FUNC(i64 %5) store i64 %10, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %11 = call i64 @FUNC(i64 %5) store i64 %11, 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 %9, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_5, { 1, 2, 0, 3 } }
1
BinRealVul
nvme_io_cmd_3148
nvme_io_cmd
define i64 @FUNC(i16* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = and i64 %2, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = trunc i64 %1 to i32 %10 = urem i32 %9, 65536 %11 = icmp uge i32 %10, %5 %12 = icmp ne i1 %11, true %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = urem i64 %1, 65536 %15 = and i64 %4, 4294967295 %16 = call i64 @FUNC(i64 %15, i64 %14) store i64 3, i64* %rax.0.reg2mem br label LBL_10 LBL_3: %17 = ptrtoint i32* %arg2 to i64 %18 = add i64 %17, 4 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = icmp ugt i8 %20, 3 br i1 %21, label LBL_9, label LBL_4 LBL_4: %22 = ptrtoint i16* %arg1 to i64 %23 = add i64 %22, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = add i64 %4, 4294967295 %27 = and i64 %26, 4294967295 %28 = add i64 %25, %27 %29 = icmp ugt i8 %20, 1 br i1 %29, label LBL_8, label LBL_5 LBL_5: switch i8 %20, label LBL_9 [ i8 0, label LBL_6 i8 1, label LBL_7 ] LBL_6: %30 = ptrtoint i32* %arg3 to i64 %31 = call i64 @FUNC(i64 %22, i64 %28, i64 %17, i64 %30) store i64 %31, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %32 = ptrtoint i32* %arg3 to i64 %33 = call i64 @FUNC(i64 %22, i64 %28, i64 %17, i64 %32) store i64 %33, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %34 = ptrtoint i32* %arg3 to i64 %35 = call i64 @FUNC(i64 %22, i64 %28, i64 %17, i64 %34) store i64 %35, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %36 = zext i8 %20 to i64 %37 = call i64 @FUNC(i64 %36) store i64 6, 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 %28, { 2, 0, 1 } uselistorder i64 %22, { 2, 0, 1, 3 } uselistorder i64 %17, { 2, 0, 1, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i1 false, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 2, 3, 0, 4 } uselistorder i32* %arg3, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
hdsp_dds_offset_3891
hdsp_dds_offset
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %3 = trunc i64 %1 to i32 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %3, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_1, label LBL_6 LBL_1: store i32 100000000, i32* %sv_1, align 4 %9 = and i64 %1, 4294967295 %10 = bitcast i32* %sv_1 to i64* %11 = call i64 @FUNC(i64* nonnull %10, i64 %9, i64* nonnull %sv_0) %12 = icmp slt i32 %6, 112000 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = load i32, i32* %sv_1, align 4 %14 = mul i32 %13, 4 store i32 %14, i32* %sv_1, align 4 store i32 %14, i32* %.reg2mem br label LBL_5 LBL_3: %15 = icmp slt i32 %6, 56000 %.pre = load i32, i32* %sv_1, align 4 store i32 %.pre, i32* %.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = mul i32 %.pre, 2 store i32 %16, i32* %sv_1, align 4 store i32 %16, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem %17 = sub i32 %.reload, %6 %18 = zext i32 %17 to i64 store i64 %18, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %.pre, { 1, 0 } uselistorder i32 %6, { 0, 2, 1 } uselistorder i32* %sv_1, { 4, 0, 3, 2, 5, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } }
0
BinRealVul
alac_linear_predictor_15470
alac_linear_predictor
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.1.reg2mem = alloca i64 %sv_0.024.reg2mem = alloca i32 %sv_1.025.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_2.0.lcssa.reg2mem = alloca i32 %.reg2mem50 = alloca i32 %.pre-phi.reg2mem = alloca i64 %sv_2.021.reg2mem = alloca i32 %storemerge1222.reg2mem = alloca i32 %.reg2mem48 = alloca i64 %sv_3.027.reg2mem = alloca i32* %storemerge1028.reg2mem = alloca i32 %.reg2mem46 = alloca i64 %storemerge1330.reg2mem = alloca i32 %.reg2mem44 = alloca i64 %storemerge31.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = ptrtoint i64* %arg1 to i64 store i64 %1, i64* %rdi, align 8 %2 = load i32, i32* %0 %sv_4 = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = ashr exact i64 %sext, 28 %5 = add nsw i64 %4, %3 %6 = mul i64 %5, 8 %7 = add i64 %1, 24 %8 = add i64 %7, %6 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 31 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_1 LBL_1: %14 = add i64 %1, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = ashr exact i64 %sext, 29 %18 = add i64 %16, %17 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %1, 16 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %20 to i32* %25 = load i32, i32* %24, align 4 %26 = inttoptr i64 %23 to i32* store i32 %25, i32* %26, align 4 %27 = bitcast i64* %rdi to i32* %28 = load i32, i32* %27, align 8 %29 = zext i32 %28 to i64 %30 = icmp ugt i32 %28, 1 store i64 1, i64* %.reg2mem store i32 1, i32* %storemerge31.reg2mem store i64 %29, i64* %rax.1.reg2mem br i1 %30, label LBL_2, label LBL_19 LBL_2: %storemerge31.reload = load i32, i32* %storemerge31.reg2mem %.reload = load i64, i64* %.reg2mem %31 = load i64, i64* %15, align 8 %32 = add i64 %31, %17 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = mul i64 %.reload, 4 %36 = add i64 %34, %35 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = add i64 %36, -4 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = load i64, i64* %22, align 8 %43 = add i64 %42, %35 %44 = sub i32 %38, %41 %45 = inttoptr i64 %43 to i32* store i32 %44, i32* %45, align 4 %46 = add i32 %storemerge31.reload, 1 %47 = load i32, i32* %27, align 8 %48 = zext i32 %47 to i64 %49 = sext i32 %46 to i64 %50 = icmp slt i64 %49, %48 store i64 %49, i64* %.reg2mem store i32 %46, i32* %storemerge31.reg2mem store i64 %48, i64* %rax.1.reg2mem br i1 %50, label LBL_2, label LBL_19 LBL_3: %51 = and i64 %10, 4294967295 %52 = icmp slt i32 %11, 1 store i64 %51, i64* %rax.1.reg2mem br i1 %52, label LBL_19, label LBL_4 LBL_4: %53 = add i64 %1, 8 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = ashr exact i64 %sext, 29 %57 = add i64 %55, %56 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = inttoptr i64 %59 to i32* %61 = add i64 %1, 16 %62 = inttoptr i64 %61 to i64* %63 = load i64, i64* %62, align 8 %64 = load i32, i32* %60, align 4 %65 = inttoptr i64 %63 to i32* store i32 %64, i32* %65, align 4 %66 = icmp eq i64 %51, 0 store i64 1, i64* %.reg2mem44 store i32 1, i32* %storemerge1330.reg2mem br i1 %66, label LBL_6, label LBL_5 LBL_5: %storemerge1330.reload = load i32, i32* %storemerge1330.reg2mem %.reload45 = load i64, i64* %.reg2mem44 %67 = mul i64 %.reload45, 4 %68 = add i64 %67, %59 %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %71 = add i64 %68, -4 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = add i64 %67, %63 %75 = sub i32 %70, %73 %76 = inttoptr i64 %74 to i32* store i32 %75, i32* %76, align 4 %77 = add i32 %storemerge1330.reload, 1 %78 = sext i32 %77 to i64 %79 = icmp slt i64 %51, %78 store i64 %78, i64* %.reg2mem44 store i32 %77, i32* %storemerge1330.reg2mem br i1 %79, label LBL_6, label LBL_5 LBL_6: %storemerge1026 = add i32 %11, 1 %80 = bitcast i64* %rdi to i32* %81 = load i32, i32* %80, align 8 %82 = zext i32 %81 to i64 %83 = sext i32 %storemerge1026 to i64 %84 = icmp slt i64 %83, %82 store i64 %82, i64* %rax.1.reg2mem br i1 %84, label LBL_7, label LBL_19 LBL_7: %85 = ptrtoint i64* %sv_4 to i64 %86 = add i32 %2, 31 %87 = urem i32 %86, 32 %88 = shl i32 1, %87 %89 = add i64 %85, -200 %90 = urem i32 %2, 32 %sext15 = mul i64 %10, 4294967296 %91 = ashr exact i64 %sext15, 30 %sv_1.023 = add i32 %11, -1 %92 = icmp slt i32 %sv_1.023, 0 %93 = sext i32 %sv_1.023 to i64 store i64 %83, i64* %.reg2mem46 store i32 %storemerge1026, i32* %storemerge1028.reg2mem store i32* %60, i32** %sv_3.027.reg2mem br label LBL_8 LBL_8: %sv_3.027.reload = load i32*, i32** %sv_3.027.reg2mem %storemerge1028.reload = load i32, i32* %storemerge1028.reg2mem %.reload47 = load i64, i64* %.reg2mem46 br i1 %66, label LBL_8.LBL_12_crit_edge, label LBL_10 LBL_9: %.pre = load i32, i32* %sv_3.027.reload, align 4 %.pre36 = ptrtoint i32* %sv_3.027.reload to i64 store i64 %.pre36, i64* %.pre-phi.reg2mem store i32 %.pre, i32* %.reg2mem50 store i32 %88, i32* %sv_2.0.lcssa.reg2mem br label LBL_12 LBL_10: %94 = ptrtoint i32* %sv_3.027.reload to i64 %95 = load i32, i32* %sv_3.027.reload, align 4 store i64 0, i64* %.reg2mem48 store i32 0, i32* %storemerge1222.reg2mem store i32 %88, i32* %sv_2.021.reg2mem br label LBL_11 LBL_11: %sv_2.021.reload = load i32, i32* %sv_2.021.reg2mem %storemerge1222.reload = load i32, i32* %storemerge1222.reg2mem %.reload49 = load i64, i64* %.reg2mem48 %96 = sub i32 %11, %storemerge1222.reload %97 = sext i32 %96 to i64 %98 = mul i64 %97, 4 %99 = add i64 %98, %94 %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = sub i32 %101, %95 %103 = mul i64 %.reload49, 4 %104 = add i64 %103, %89 %105 = inttoptr i64 %104 to i32* %106 = load i32, i32* %105, align 4 %107 = mul i32 %106, %102 %108 = add i32 %107, %sv_2.021.reload %109 = add i32 %storemerge1222.reload, 1 %110 = sext i32 %109 to i64 %111 = icmp sgt i64 %51, %110 store i64 %110, i64* %.reg2mem48 store i32 %109, i32* %storemerge1222.reg2mem store i32 %108, i32* %sv_2.021.reg2mem store i64 %94, i64* %.pre-phi.reg2mem store i32 %95, i32* %.reg2mem50 store i32 %108, i32* %sv_2.0.lcssa.reg2mem br i1 %111, label LBL_11, label LBL_12 LBL_12: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %.reload51 = load i32, i32* %.reg2mem50 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %112 = ashr i32 %sv_2.0.lcssa.reload, %90 %113 = add i64 %.pre-phi.reload, 4 %114 = add i64 %113, %91 %115 = inttoptr i64 %114 to i32* %116 = load i32, i32* %115, align 4 %117 = mul i64 %.reload47, 4 %118 = add i64 %117, %63 %119 = add i32 %112, %.reload51 %120 = sub i32 %116, %119 %121 = inttoptr i64 %118 to i32* store i32 %120, i32* %121, align 4 %122 = icmp eq i32 %120, 0 %brmerge = or i1 %92, %122 br i1 %brmerge, label LBL_18, label LBL_13 LBL_13: %123 = icmp sgt i32 %120, -1 store i64 %93, i64* %indvars.iv.reg2mem store i32 %sv_1.023, i32* %sv_1.025.reg2mem store i32 %120, i32* %sv_0.024.reg2mem br label LBL_15 LBL_14: %124 = load i32, i32* %sv_3.027.reload, align 4 %125 = sub i32 %11, %sv_1.025.reload %126 = sext i32 %125 to i64 %127 = mul i64 %126, 4 %128 = add i64 %127, %.pre-phi.reload %129 = inttoptr i64 %128 to i32* %130 = load i32, i32* %129, align 4 %131 = sub i32 %124, %130 %132 = icmp eq i32 %131, 0 %133 = icmp slt i32 %131, 0 %. = select i1 %133, i32 -1, i32 1 %rax.0 = select i1 %132, i32 0, i32 %. %134 = sub nsw i32 0, %rax.0 %spec.select16 = select i1 %123, i32 %rax.0, i32 %134 %135 = mul i64 %indvars.iv.reload, 4 %136 = add i64 %135, %89 %137 = inttoptr i64 %136 to i32* %138 = load i32, i32* %137, align 4 %139 = sub i32 %138, %spec.select16 store i32 %139, i32* %137, align 4 %140 = mul i32 %spec.select16, %131 %141 = ashr i32 %140, %90 %142 = mul i32 %141, %125 %143 = sub i32 %sv_0.024.reload, %142 %sv_1.0 = add i32 %sv_1.025.reload, -1 %144 = icmp slt i32 %sv_1.0, 0 %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_1.0, i32* %sv_1.025.reg2mem store i32 %143, i32* %sv_0.024.reg2mem br i1 %144, label LBL_18, label LBL_15 LBL_15: %sv_0.024.reload = load i32, i32* %sv_0.024.reg2mem %sv_1.025.reload = load i32, i32* %sv_1.025.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem br i1 %123, label LBL_17, label LBL_16 LBL_16: %145 = icmp slt i32 %sv_0.024.reload, 0 br i1 %145, label LBL_14, label LBL_18 LBL_17: %146 = icmp eq i32 %sv_0.024.reload, 0 %147 = icmp slt i32 %sv_0.024.reload, 0 %148 = icmp eq i1 %147, false %149 = icmp eq i1 %146, false %150 = icmp eq i1 %148, %149 br i1 %150, label LBL_14, label LBL_18 LBL_18: %151 = inttoptr i64 %113 to i32* %storemerge10 = add i32 %storemerge1028.reload, 1 %152 = load i32, i32* %80, align 8 %153 = zext i32 %152 to i64 %154 = sext i32 %storemerge10 to i64 %155 = icmp slt i64 %154, %153 store i64 %154, i64* %.reg2mem46 store i32 %storemerge10, i32* %storemerge1028.reg2mem store i32* %151, i32** %sv_3.027.reg2mem store i64 %153, i64* %rax.1.reg2mem br i1 %155, label LBL_8, label LBL_19 LBL_19: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i32 %sv_0.024.reload, { 2, 1, 3, 0 } uselistorder i64 %113, { 1, 0 } uselistorder i64 %.pre-phi.reload, { 1, 0 } uselistorder i32* %sv_3.027.reload, { 0, 2, 1, 4, 3 } uselistorder i32 %90, { 1, 0 } uselistorder i32 %88, { 1, 0 } uselistorder i32* %80, { 1, 0 } uselistorder i64 %67, { 1, 0 } uselistorder i64 %51, { 2, 3, 1, 0 } uselistorder i64 %35, { 1, 0 } uselistorder i32* %27, { 1, 0 } uselistorder i32 %11, { 2, 3, 1, 0, 4, 5 } uselistorder i64 %sext, { 3, 2, 1, 0 } uselistorder i32 %2, { 1, 0 } uselistorder i64 %1, { 3, 4, 2, 1, 0, 5 } uselistorder i64* %rdi, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge31.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem44, { 2, 0, 1 } uselistorder i32* %storemerge1330.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem46, { 1, 0, 2 } uselistorder i32* %storemerge1028.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_3.027.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem48, { 1, 0, 2 } uselistorder i32* %storemerge1222.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.021.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 4, 5, 1, 3 } uselistorder i32 0, { 3, 4, 8, 9, 5, 2, 6, 7, 10, 0, 1 } uselistorder i32 -1, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 8, { 1, 2, 0 } uselistorder label LBL_19, { 1, 3, 4, 0, 2 } uselistorder label LBL_18, { 1, 2, 0, 3 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ide_sector_write_2052
ide_sector_write
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 7, i32* %1, align 4 %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = sext i32 %5 to i64 %11 = icmp sgt i64 %10, %9 %spec.select = select i1 %11, i32 %8, i32 %5 %12 = call i64 @FUNC(i64 %0, i64 %2, i32 %spec.select) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = call i64 @FUNC(i64 %0) store i64 %16, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %0, 24 %21 = inttoptr i64 %20 to i64* store i64 %19, i64* %21, align 8 %22 = mul i32 %spec.select, 512 %23 = sext i32 %22 to i64 %24 = add i64 %0, 32 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 %26 = add i64 %0, 64 %27 = call i64 @FUNC(i64 %26, i64 %20, i64 1) %28 = add i64 %0, 48 %29 = add i64 %0, 40 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31, i64 %28, i64 %23, i64 0) %33 = load i64, i64* %30, align 8 %34 = zext i32 %spec.select to i64 %35 = call i64 @FUNC(i64 %33, i64 %2, i64 %26, i64 %34, i64 4198862, i64 %0) %36 = add i64 %0, 56 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 store i64 %35, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %spec.select, { 2, 0, 1 } uselistorder i64 %0, { 0, 1, 3, 2, 4, 5, 7, 6, 8, 9, 10, 11, 12 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } }
0
BinRealVul
target_to_host_data_route_15934
target_to_host_data_route
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 store i64 %0, i64* @0, align 8 store i64 1, i64* %storemerge.reg2mem switch i64 %0, label LBL_5 [ i64 0, label LBL_4 i64 1, label LBL_1 i64 2, label LBL_1 i64 3, label LBL_2 i64 4, label LBL_2 i64 5, label LBL_2 i64 6, label LBL_4 i64 7, label LBL_3 i64 8, label LBL_3 ] LBL_1: %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i16* %3 = load i16, i16* %2, align 2 %4 = zext i16 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i16 store i16 %6, i16* %2, align 2 %7 = add i64 %1, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 store i32 %12, i32* %8, align 4 %13 = add i64 %1, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %16) %18 = trunc i64 %17 to i32 store i32 %18, i32* %14, align 4 %19 = add i64 %1, 12 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i32 store i32 %24, i32* %20, align 4 %25 = bitcast i64* %rdi to i32* %26 = load i32, i32* %25, align 8 %27 = add i32 %26, -16 %28 = add i64 %1, 16 %29 = zext i32 %27 to i64 %30 = call i64 @FUNC(i64 %28, i64 %29) br label LBL_4 LBL_2: %31 = call i64 @FUNC(i64 %0) %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %34) %36 = trunc i64 %35 to i32 store i32 %36, i32* %32, align 4 %37 = bitcast i64* %rdi to i32* %38 = load i32, i32* %37, align 8 %39 = add i32 %38, -4 %40 = add i64 %31, 4 %41 = zext i32 %39 to i64 %42 = call i64 @FUNC(i64 %40, i64 %41) br label LBL_4 LBL_3: %43 = call i64 @FUNC(i64 %0) %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %46) %48 = trunc i64 %47 to i32 store i32 %48, i32* %44, align 4 %49 = bitcast i64* %rdi to i32* %50 = load i32, i32* %49, align 8 %51 = add i32 %50, -4 %52 = add i64 %43, 4 %53 = zext i32 %51 to i64 %54 = call i64 @FUNC(i64 %52, i64 %53) br label LBL_4 LBL_4: store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %rdi, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 -4, { 1, 0 } uselistorder i64 (i64)* @tswap32, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @NLMSG_DATA, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 2, 3, 4, 1, 0 } }
1
BinRealVul
llog_process_thread_7555
llog_process_thread
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.6.reg2mem = alloca i32 %sv_1.4.reg2mem = alloca i32 %sv_2.558.reg2mem = alloca i32 %sv_0.559.reg2mem = alloca i32 %rdi.260.reg2mem = alloca i64 %r8.461.reg2mem = alloca i64 %r9.162.reg2mem = alloca i64 %r8.3.lcssa.reg2mem = alloca i64 %rdi.1.lcssa.reg2mem = alloca i64 %sv_0.4.lcssa.reg2mem = alloca i32 %sv_2.4.lcssa.reg2mem = alloca i32 %sv_1.2.lcssa.reg2mem = alloca i32 %r8.2.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i32 %sv_2.3.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %r8.1.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.240.reg2mem = alloca i32 %sv_2.441.reg2mem = alloca i32 %sv_0.443.reg2mem = alloca i32 %r8.344.reg2mem = alloca i64 %storemerge46.in.reg2mem = alloca i64 %r9.0.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_2.2.reg2mem = alloca i32 %sv_2.1.lcssa.reg2mem = alloca i32 %sv_2.136.reg2mem = alloca i32 %rdi.037.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %sv_2.05.reg2mem = alloca i32 %sv_0.06.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i32, align 4 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 store i64 4096, i64* %sv_4, align 8 store i32 0, i32* %sv_3, align 4 %4 = and i64 %0, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 4096, i64 0) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i32* store i32 -12, i32* %10, align 4 br label LBL_28 LBL_2: %11 = icmp eq i64 %3, 0 store i32 0, i32* %sv_0.06.reg2mem store i32 1, i32* %sv_2.05.reg2mem store i32 255, i32* %storemerge4.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = inttoptr i64 %3 to i32* %13 = load i32, i32* %12, align 4 %14 = add i32 %13, 1 %15 = add i64 %3, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %spec.select = select i1 %18, i32 255, i32 %17 store i32 %13, i32* %sv_0.06.reg2mem store i32 %14, i32* %sv_2.05.reg2mem store i32 %spec.select, i32* %storemerge4.reg2mem br label LBL_4 LBL_4: %19 = ptrtoint i64* %sv_5 to i64 %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %sv_2.05.reload = load i32, i32* %sv_2.05.reg2mem %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem %20 = add i32 %storemerge4.reload, 1 %21 = zext i32 %storemerge4.reload to i64 %22 = inttoptr i64 %6 to i64* %23 = add i64 %0, 24 %24 = inttoptr i64 %23 to i64* %25 = add i64 %19, -16 %26 = inttoptr i64 %25 to i64* %27 = ptrtoint i64* %sv_4 to i64 %28 = add i64 %6, 4096 %29 = icmp ult i64 %6, -4096 %30 = add i64 %0, 12 %31 = inttoptr i64 %30 to i32* %32 = add i64 %0, 16 %33 = inttoptr i64 %32 to i32* %34 = add i64 %0, 32 %35 = inttoptr i64 %34 to i64* %36 = inttoptr i64 %1 to i32* store i64 4096, i64* %rdi.260.reg2mem store i32 %sv_0.06.reload, i32* %sv_0.559.reg2mem store i32 %sv_2.05.reload, i32* %sv_2.558.reg2mem br label LBL_24 LBL_5: %37 = add i32 %sv_2.136.reload, 1 %38 = icmp sgt i32 %37, %storemerge4.reload store i64 %39, i64* %rdi.037.reg2mem store i32 %37, i32* %sv_2.136.reg2mem store i32 %37, i32* %sv_2.1.lcssa.reg2mem br i1 %38, label LBL_7, label LBL_6 LBL_6: %sv_2.136.reload = load i32, i32* %sv_2.136.reg2mem %rdi.037.reload = load i64, i64* %rdi.037.reg2mem %39 = zext i32 %sv_2.136.reload to i64 %40 = call i64 @FUNC(i64 %39, i64 %rdi.037.reload) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 store i32 %sv_2.136.reload, i32* %sv_2.1.lcssa.reg2mem br i1 %42, label LBL_5, label LBL_7 LBL_7: %sv_2.1.lcssa.reload = load i32, i32* %sv_2.1.lcssa.reg2mem %43 = sub i32 %sv_2.1.lcssa.reload, %20 %44 = xor i32 %sv_2.1.lcssa.reload, %20 %45 = xor i32 %43, %sv_2.1.lcssa.reload %46 = and i32 %45, %44 %47 = icmp slt i32 %46, 0 %48 = icmp eq i32 %43, 0 %49 = icmp slt i32 %43, 0 %50 = icmp ne i1 %49, %47 %51 = or i1 %48, %50 %52 = zext i1 %51 to i64 %53 = call i64 @FUNC(i64 %52) %54 = icmp eq i32 %sv_2.1.lcssa.reload, %20 store i32 %sv_2.1.lcssa.reload, i32* %sv_2.2.reg2mem store i32 %sv_0.559.reload, i32* %sv_0.1.reg2mem store i64 %r8.461.reload, i64* %r8.0.reg2mem store i64 %r9.162.reload, i64* %r9.0.reg2mem store i32 0, i32* %sv_1.4.reg2mem store i32 %sv_0.559.reload, i32* %sv_0.6.reg2mem br i1 %54, label LBL_25, label LBL_8 LBL_8: %r9.0.reload = load i64, i64* %r9.0.reg2mem %r8.0.reload = load i64, i64* %r8.0.reg2mem %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %55 = zext i32 %sv_2.2.reload to i64 %56 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %55, i64 %21, i64 %r8.0.reload, i64 %r9.0.reload) %57 = call i64* @memset(i64* %22, i32 0, i32 4096) %58 = load i64, i64* %sv_4, align 8 %59 = load i64, i64* %24, align 8 store i64 4096, i64* %26, align 8 %60 = call i64 @FUNC(i64 %59, i64 %0, i32* nonnull %sv_3, i32 %sv_2.2.reload, i64* nonnull %sv_4, i64 %6) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false store i32 %61, i32* %sv_1.4.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.6.reg2mem br i1 %63, label LBL_25, label LBL_9 LBL_9: %64 = trunc i64 %58 to i32 store i64 %6, i64* %storemerge46.in.reg2mem store i64 %27, i64* %r8.344.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.443.reg2mem store i32 %sv_2.2.reload, i32* %sv_2.441.reg2mem store i32 %61, i32* %sv_1.240.reg2mem store i32 %61, i32* %sv_1.2.lcssa.reg2mem store i32 %sv_2.2.reload, i32* %sv_2.4.lcssa.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.4.lcssa.reg2mem store i64 %59, i64* %rdi.1.lcssa.reg2mem store i64 %27, i64* %r8.3.lcssa.reg2mem br i1 %29, label LBL_10, label LBL_23 LBL_10: %sv_1.240.reload = load i32, i32* %sv_1.240.reg2mem %sv_2.441.reload = load i32, i32* %sv_2.441.reg2mem %sv_0.443.reload = load i32, i32* %sv_0.443.reg2mem %r8.344.reload = load i64, i64* %r8.344.reg2mem %storemerge46.in.reload = load i64, i64* %storemerge46.in.reg2mem %storemerge46 = inttoptr i64 %storemerge46.in.reload to i32* %65 = load i32, i32* %storemerge46, align 4 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %storemerge46.in.reload, i64 %66, i64 %r8.344.reload, i64 %6) %68 = call i64 @FUNC(i64 %storemerge46.in.reload) %69 = trunc i64 %68 to i32 %70 = icmp eq i32 %69, 0 br i1 %70, label LBL_12, label LBL_11 LBL_11: %71 = call i64 @FUNC(i64 %storemerge46.in.reload) br label LBL_12 LBL_12: %72 = add i64 %storemerge46.in.reload, 4 %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = load i32, i32* %storemerge46, align 4 %76 = zext i32 %74 to i64 %77 = zext i32 %75 to i64 %78 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i64 %77, i64 %76, i64 %r8.344.reload, i64 %6) %79 = load i32, i32* %73, align 4 %80 = icmp eq i32 %79, 0 %81 = icmp eq i1 %80, false br i1 %81, label LBL_14, label LBL_13 LBL_13: %82 = load i32, i32* %36, align 4 %83 = zext i32 %82 to i64 %84 = sext i32 %sv_2.441.reload to i64 %85 = icmp sgt i64 %84, %83 store i32 %sv_2.441.reload, i32* %sv_2.2.reg2mem store i32 %sv_0.443.reload, i32* %sv_0.1.reg2mem store i64 %r8.344.reload, i64* %r8.0.reg2mem store i64 %6, i64* %r9.0.reg2mem store i32 0, i32* %sv_1.4.reg2mem store i32 %sv_0.443.reload, i32* %sv_0.6.reg2mem br i1 %85, label LBL_25, label LBL_8 LBL_14: %86 = add i64 %storemerge46.in.reload, 8 %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = icmp ne i32 %88, 0 %90 = icmp slt i32 %88, 4097 %or.cond = icmp eq i1 %89, %90 br i1 %or.cond, label LBL_16, label LBL_15 LBL_15: %91 = zext i32 %88 to i64 %92 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_3, i64 0, i64 0), i64 %91, i32 %79, i32 %sv_2.441.reload, i64 %r8.344.reload, i64 %6) store i32 -22, i32* %sv_1.4.reg2mem store i32 %sv_0.443.reload, i32* %sv_0.6.reg2mem br label LBL_25 LBL_16: %93 = zext i32 %79 to i64 %94 = sext i32 %sv_2.441.reload to i64 %95 = icmp sgt i64 %94, %93 br i1 %95, label LBL_17, label LBL_18 LBL_17: %96 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_4, i64 0, i64 0), i64 %93, i64 %76, i64 %r8.344.reload, i64 %6) store i32 %sv_1.240.reload, i32* %sv_1.1.reg2mem store i32 %sv_2.441.reload, i32* %sv_2.3.reg2mem store i32 %sv_0.443.reload, i32* %sv_0.3.reg2mem store i64 %r8.344.reload, i64* %r8.2.reg2mem br label LBL_22 LBL_18: %97 = sub i64 %28, %storemerge46.in.reload %98 = and i64 %97, 4294967295 %99 = zext i32 %88 to i64 %100 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_5, i64 0, i64 0), i64 %93, i64 %99, i64 %98, i64 %6) %101 = load i32, i32* %73, align 4 store i32 %101, i32* %31, align 4 %102 = sub i64 %storemerge46.in.reload, %6 %103 = trunc i64 %102 to i32 %104 = add i32 %103, %64 store i32 %104, i32* %33, align 4 %105 = zext i32 %sv_2.441.reload to i64 %106 = call i64 @FUNC(i64 %105, i64 0) %107 = trunc i64 %106 to i32 %108 = icmp eq i32 %107, 0 br i1 %108, label LBL_20, label LBL_19 LBL_19: %109 = load i64, i64* %35, align 8 %110 = load i64, i64* %24, align 8 %111 = trunc i64 %110 to i32 %112 = icmp eq i32 %111, 0 store i32 0, i32* %sv_1.0.reg2mem store i32 %sv_2.441.reload, i32* %sv_0.2.reg2mem store i64 %109, i64* %r8.1.reg2mem store i32 %111, i32* %sv_1.4.reg2mem store i32 %sv_2.441.reload, i32* %sv_0.6.reg2mem br i1 %112, label LBL_21, label LBL_25 LBL_20: %113 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_6, i64 0, i64 0), i64 %105, i64 %99, i64 %98, i64 %6) store i32 %sv_1.240.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.443.reload, i32* %sv_0.2.reg2mem store i64 %98, i64* %r8.1.reg2mem br label LBL_21 LBL_21: %r8.1.reload = load i64, i64* %r8.1.reg2mem %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %114 = add i32 %sv_2.441.reload, 1 %115 = icmp sgt i32 %114, %storemerge4.reload store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i32 %114, i32* %sv_2.3.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem store i64 %r8.1.reload, i64* %r8.2.reg2mem store i32 0, i32* %sv_1.4.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.6.reg2mem br i1 %115, label LBL_25, label LBL_22 LBL_22: %r8.2.reload = load i64, i64* %r8.2.reg2mem %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem %sv_2.3.reload = load i32, i32* %sv_2.3.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %116 = call i64 @FUNC(i64 %storemerge46.in.reload) %117 = icmp ugt i64 %28, %116 store i64 %116, i64* %storemerge46.in.reg2mem store i64 %r8.2.reload, i64* %r8.344.reg2mem store i32 %sv_0.3.reload, i32* %sv_0.443.reg2mem store i32 %sv_2.3.reload, i32* %sv_2.441.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.240.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.2.lcssa.reg2mem store i32 %sv_2.3.reload, i32* %sv_2.4.lcssa.reg2mem store i32 %sv_0.3.reload, i32* %sv_0.4.lcssa.reg2mem store i64 %storemerge46.in.reload, i64* %rdi.1.lcssa.reg2mem store i64 %r8.2.reload, i64* %r8.3.lcssa.reg2mem br i1 %117, label LBL_10, label LBL_23 LBL_23: %r8.3.lcssa.reload = load i64, i64* %r8.3.lcssa.reg2mem %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem %sv_0.4.lcssa.reload = load i32, i32* %sv_0.4.lcssa.reg2mem %sv_2.4.lcssa.reload = load i32, i32* %sv_2.4.lcssa.reg2mem %sv_1.2.lcssa.reload = load i32, i32* %sv_1.2.lcssa.reg2mem %118 = icmp eq i32 %sv_1.2.lcssa.reload, 0 store i64 %6, i64* %r9.162.reg2mem store i64 %r8.3.lcssa.reload, i64* %r8.461.reg2mem store i64 %rdi.1.lcssa.reload, i64* %rdi.260.reg2mem store i32 %sv_0.4.lcssa.reload, i32* %sv_0.559.reg2mem store i32 %sv_2.4.lcssa.reload, i32* %sv_2.558.reg2mem store i32 %sv_1.2.lcssa.reload, i32* %sv_1.4.reg2mem store i32 %sv_0.4.lcssa.reload, i32* %sv_0.6.reg2mem br i1 %118, label LBL_24, label LBL_25 LBL_24: %sv_2.558.reload = load i32, i32* %sv_2.558.reg2mem %sv_0.559.reload = load i32, i32* %sv_0.559.reg2mem %rdi.260.reload = load i64, i64* %rdi.260.reg2mem %r8.461.reload = load i64, i64* %r8.461.reg2mem %r9.162.reload = load i64, i64* %r9.162.reg2mem %119 = icmp sgt i32 %sv_2.558.reload, %storemerge4.reload store i64 %rdi.260.reload, i64* %rdi.037.reg2mem store i32 %sv_2.558.reload, i32* %sv_2.136.reg2mem store i32 %sv_2.558.reload, i32* %sv_2.1.lcssa.reg2mem br i1 %119, label LBL_7, label LBL_6 LBL_25: %sv_1.4.reload = load i32, i32* %sv_1.4.reg2mem br i1 %11, label LBL_27, label LBL_26 LBL_26: %sv_0.6.reload = load i32, i32* %sv_0.6.reg2mem %120 = add i64 %3, 4 %121 = inttoptr i64 %120 to i32* store i32 %sv_0.6.reload, i32* %121, align 4 br label LBL_27 LBL_27: %122 = call i64 @FUNC(i64 %6) store i32 %sv_1.4.reload, i32* %33, align 4 br label LBL_28 LBL_28: ret i64 0 uselistorder i32 %sv_0.559.reload, { 1, 0 } uselistorder i32 %sv_2.558.reload, { 2, 1, 0 } uselistorder i32 %88, { 2, 0, 1, 3 } uselistorder i32 %79, { 1, 0, 2 } uselistorder i64 %storemerge46.in.reload, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 %r8.344.reload, { 0, 1, 4, 5, 2, 3 } uselistorder i32 %sv_0.443.reload, { 3, 2, 1, 0, 4 } uselistorder i32 %sv_2.441.reload, { 5, 0, 2, 3, 1, 4, 7, 8, 6 } uselistorder i32 %sv_1.240.reload, { 1, 0 } uselistorder i32 %61, { 1, 2, 0, 3 } uselistorder i32 %sv_2.2.reload, { 0, 1, 3, 2 } uselistorder i32 %sv_0.1.reload, { 1, 2, 0 } uselistorder i32 %43, { 1, 2, 0 } uselistorder i32 %sv_2.1.lcssa.reload, { 0, 1, 4, 3, 2 } uselistorder i64 %39, { 1, 0 } uselistorder i32 %sv_2.136.reload, { 0, 2, 1 } uselistorder i64 %28, { 1, 0 } uselistorder i32 %20, { 1, 0, 2 } uselistorder i32 %storemerge4.reload, { 4, 3, 0, 2, 1 } uselistorder i64 %6, { 14, 0, 4, 5, 6, 7, 8, 2, 9, 10, 1, 12, 3, 11, 13, 15 } uselistorder i64 %3, { 0, 1, 3, 2 } uselistorder i64* %sv_4, { 0, 2, 1, 3 } uselistorder i64 %0, { 4, 1, 2, 3, 5, 0, 6, 7 } uselistorder i32* %sv_0.06.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.05.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.037.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.136.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.1.lcssa.reg2mem, { 3, 0, 1, 2 } uselistorder i32* %sv_2.2.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.1.reg2mem, { 2, 0, 1 } uselistorder i64* %r8.0.reg2mem, { 2, 0, 1 } uselistorder i64* %r9.0.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge46.in.reg2mem, { 2, 0, 1 } uselistorder i64* %r8.344.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.443.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.441.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.240.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i64* %r8.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.2.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.4.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.4.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %r8.3.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.4.reg2mem, { 0, 1, 6, 5, 7, 4, 3, 2 } uselistorder i32* %sv_0.6.reg2mem, { 0, 1, 6, 5, 7, 4, 3, 2 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @CDEBUG, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @ext2_test_bit, { 1, 0 } uselistorder i64 4, { 1, 2, 3, 0 } uselistorder i32 255, { 1, 0 } uselistorder i64 (i64)* @LASSERT, { 1, 0 } uselistorder i32 0, { 17, 2, 3, 7, 8, 9, 1, 10, 11, 12, 5, 0, 13, 14, 15, 16, 18, 4, 6, 19, 20, 21 } uselistorder i64 4096, { 4, 0, 3, 1, 2 } uselistorder label LBL_25, { 1, 4, 5, 6, 2, 3, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
setup_count_cache_flush_12961
setup_count_cache_flush
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = load i8, i8* inttoptr (i64 4210725 to i8*), align 1 %1 = icmp eq i8 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() %4 = trunc i64 %3 to i8 %5 = icmp eq i8 %4, 0 store i64 1, i64* %sv_0.0.reg2mem br i1 %5, label LBL_5, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 1) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 2) %11 = trunc i64 %10 to i8 %12 = icmp eq i8 %11, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = call i64 @FUNC(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %14 = call i64 @FUNC(i64 %sv_0.0.reload) ret i64 %14 uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64)* @security_ftr_enabled, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } }
1
BinRealVul
msi_uninit_1895
msi_uninit
define i64 @FUNC(i16* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i16 %3 = urem i16 %2, 2 %4 = icmp eq i16 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i16* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %5) %10 = urem i64 %9, 256 %11 = add i64 %10, %8 %12 = call i64 @FUNC(i64 %11) %13 = urem i64 %12, 65536 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i8 %16 = call i64 @FUNC(i64 %5, i64 2, i8 %15) %17 = and i16 %2, -2 store i16 %17, i16* %arg1, align 2 %18 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) store i64 %18, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0, 2, 3 } uselistorder i16 %2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ff_png_zalloc_17115
ff_png_zalloc
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %sext2 = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext2, 32 %.rhs.trunc = trunc i64 %1 to i32 %2 = udiv i32 -1, %.rhs.trunc %3 = icmp ugt i32 %2, %0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = mul nsw i64 %1, %4 %6 = and i64 %5, 4294967295 %7 = call i64 @FUNC(i64 %6) store i64 %7, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
smbd_setup_sig_hup_handler_9739
smbd_setup_sig_hup_handler
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %1, i64 %0, i64 1, i64 0, i64 4198710, i64 0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: ret i64 %2 uselistorder i64 ()* @smbd_event_context, { 1, 0 } }
0
BinRealVul
wait_for_pid_10344
wait_for_pid
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0 = alloca i32, align 4 %0 = trunc i64 %arg1 to i32 br label LBL_1 LBL_1: %1 = call i32 @waitpid(i32 %0, i32* nonnull %sv_0, i32 0) %2 = icmp eq i32 %1, -1 %3 = icmp eq i1 %2, false br i1 %3, label LBL_4, label LBL_2 LBL_2: %4 = call i32* @__errno_location() %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 4 %7 = icmp eq i1 %6, false br i1 %7, label LBL_6, label LBL_1.backedge LBL_3: br label LBL_1 LBL_4: %8 = icmp eq i32 %1, %0 br i1 %8, label LBL_5, label LBL_1.backedge LBL_5: %9 = load i32, i32* %sv_0, align 4 %10 = and i32 %9, 65407 %11 = icmp eq i32 %10, 0 %spec.select = select i1 %11, i64 0, i64 4294967295 ret i64 %spec.select LBL_6: ret i64 4294967295 uselistorder label LBL_1.backedge, { 1, 0 } }
0
BinRealVul
mpvio_info_9923
mpvio_info
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i16, align 2 %sv_1 = alloca i32, align 4 store i64 0, i64* %arg2, align 8 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 3 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = icmp sgt i32 %3, 3 br i1 %5, label LBL_7, label LBL_2 LBL_2: switch i32 %3, label LBL_7 [ i32 1, label LBL_3 i32 2, label LBL_4 ] LBL_3: %6 = bitcast i64* %arg2 to i32* store i32 1, i32* %6, align 4 %7 = ptrtoint i32* %arg1 to i64 %8 = add i64 %7, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %13 = bitcast i64* %arg2 to i32* store i32 2, i32* %13, align 4 %14 = ptrtoint i32* %arg1 to i64 %15 = add i64 %14, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %2, 4 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_8 LBL_5: store i32 16, i32* %sv_1, align 4 %20 = ptrtoint i32* %arg1 to i64 %21 = add i64 %20, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = bitcast i16* %sv_0 to %sockaddr* %25 = call i32 @getsockname(i32 %23, %sockaddr* nonnull %24, i32* nonnull %sv_1) %26 = sext 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_8, label LBL_6 LBL_6: %29 = load i16, i16* %sv_0, align 2 %30 = icmp eq i16 %29, 1 %31 = icmp eq i1 %30, false %. = select i1 %31, i32 1, i32 2 %32 = bitcast i64* %arg2 to i32* store i32 %., i32* %32, align 4 %33 = load i32, i32* %22, align 4 %34 = add i64 %2, 4 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %36 = call i64 @FUNC(i64 0) store i64 %36, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 5, 0, 3, 1, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 5, 1, 2 } uselistorder i32 2, { 1, 2, 0 } uselistorder i32 3, { 1, 0 } uselistorder i64* %arg2, { 0, 2, 1, 3, 4 } uselistorder i32* %arg1, { 2, 0, 1 } uselistorder label LBL_8, { 1, 2, 0, 3, 4 } }
0
BinRealVul
videotoolbox_common_end_frame_1710
videotoolbox_common_end_frame
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 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 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 = icmp eq i64* %arg1, null store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_6, label LBL_1 LBL_1: %10 = inttoptr i64 %8 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_6 LBL_2: %14 = call i64 @FUNC(i64 %3) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = and i64 %14, 4294967295 %18 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %2, i64 %1) store i64 4294967294, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %19 = add i64 %8, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %23, label LBL_5, label LBL_6 LBL_5: %24 = ptrtoint i64* %arg2 to i64 %25 = call i64 @FUNC(i64 %8, i64 %24) store i64 %25, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder label LBL_6, { 3, 0, 4, 2, 1 } }
0
BinRealVul
v4l2_receive_frame_1681
v4l2_receive_frame
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 store i32 0, i32* %sv_0, align 4 %3 = call i64 @FUNC(i64 %2, i32* nonnull %sv_0) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i32 %4, -1 %or.cond = or i1 %7, %6 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %3, 4294967295 store i64 %8, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %9 = trunc i64 %1 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_7, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %2, i32* nonnull %sv_0) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false %16 = icmp eq i32 %13, -12 %or.cond3 = or i1 %16, %15 br i1 %or.cond3, label LBL_5, label LBL_4 LBL_4: %17 = and i64 %12, 4294967295 store i64 %17, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %18 = load i32, i32* %sv_0, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_7, label LBL_6 LBL_6: %20 = call i64 @FUNC(i64 %2) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_7, label LBL_8 LBL_7: %23 = ptrtoint i64* %arg2 to i64 %24 = call i64 @FUNC(i64 %2, i64 %23) store i64 %24, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %sv_0, { 2, 0, 1, 3 } uselistorder i64 %2, { 2, 0, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6 } uselistorder label LBL_8, { 1, 0, 2, 3 } uselistorder label LBL_7, { 1, 0, 2 } }
0
BinRealVul
pred8x8_top_dc_rv40_c_16842
pred8x8_top_dc_rv40_c
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i32 %indvars.iv8.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv8.reg2mem store i32 0, i32* %sv_0.06.reg2mem br label LBL_1 LBL_1: %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem %1 = sub i64 %indvars.iv8.reload, %arg2 %sext11 = mul i64 %1, 4294967296 %2 = ashr exact i64 %sext11, 32 %3 = add i64 %2, %0 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = zext i8 %5 to i32 %7 = add i32 %sv_0.06.reload, %6 %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1 %exitcond10 = icmp eq i64 %indvars.iv.next9, 8 store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem store i32 %7, i32* %sv_0.06.reg2mem br i1 %exitcond10, label LBL_2, label LBL_1 LBL_2: %8 = add i32 %7, 4 %9 = ashr i32 %8, 3 %10 = mul i32 %9, 16843009 %11 = mul i64 %arg2, 4294967296 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %sext12 = mul i64 %11, %indvars.iv.reload %12 = ashr exact i64 %sext12, 32 %13 = add i64 %12, %0 %14 = add i64 %13, 4 %15 = inttoptr i64 %14 to i32* store i32 %10, i32* %15, align 4 %16 = inttoptr i64 %13 to i32* store i32 %10, i32* %16, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %rax.0 = zext i32 %10 to i64 ret i64 %rax.0 uselistorder i32 %10, { 0, 2, 1 } uselistorder i32 %7, { 1, 0 } uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0 } }
1
BinRealVul
sanity_check_inode_6702
sanity_check_inode
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 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i8 %6 = icmp eq i8 %5, 0 br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0) %8 = trunc i64 %7 to i8 %9 = icmp eq i8 %8, 1 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %1, i64 1) %11 = load i64, i64* %2, align 8 %12 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %13 = call i64 @FUNC(i64 %0) %14 = trunc i64 %13 to i8 %15 = icmp eq i8 %14, 0 store i64 1, i64* %rax.0.reg2mem br i1 %15, label LBL_6, label LBL_4 LBL_4: %16 = load i64, i64* %2, align 8 %17 = call i64 @FUNC(i64 %16) %18 = trunc i64 %17 to i8 %19 = icmp eq i8 %18, 1 store i64 1, i64* %rax.0.reg2mem br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %1, i64 1) %21 = load i64, i64* %2, align 8 %22 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([70 x i8], [70 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %2, { 1, 2, 0, 3 } uselistorder i64 %1, { 3, 2, 1, 0, 4 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 (i64, i8*, i8*, i8*, i64)* @f2fs_msg, { 1, 0 } uselistorder i64 (i64, i64)* @set_sbi_flag, { 1, 0 } uselistorder i64 1, { 3, 1, 0, 4, 2 } uselistorder i64 (i64)* @f2fs_has_extra_attr, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0, 3 } }
0
BinRealVul
unmap_switcher_17405
unmap_switcher
define i64 @FUNC() local_unnamed_addr { LBL_0: %indvars.iv.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 = call i64 @FUNC(i64 %2) store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = mul i64 %indvars.iv.reload, 8 %5 = add i64 %4, ptrtoint (i64* @gv_1 to i64) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7, i64 0) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: ret i64 %8 uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
1
BinRealVul
dump_16134
dump
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64 %arg2, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br i1 %1, label LBL_6, label LBL_1 LBL_1: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %2 = urem i32 %storemerge1.reload, 16 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_2 LBL_2: %5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i32 %storemerge1.reload) br label LBL_3 LBL_3: %6 = add i64 %.reload, %0 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = zext i8 %8 to i32 %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 %9) %11 = icmp eq i32 %2, 15 %12 = icmp eq i1 %11, false br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = call i32 @putchar(i32 10) br label LBL_5 LBL_5: %14 = add i32 %storemerge1.reload, 1 %15 = sext i32 %14 to i64 %16 = icmp ult i64 %15, %arg2 store i64 %15, i64* %.reg2mem store i32 %14, i32* %storemerge1.reg2mem br i1 %16, label LBL_1, label LBL_6 LBL_6: %17 = call i32 @putchar(i32 10) %18 = sext i32 %17 to i64 ret i64 %18 uselistorder i32 %2, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i32 10, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
kvm_arch_remove_sw_breakpoint_13935
kvm_arch_remove_sw_breakpoint
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %1, i64 %0, i64* nonnull %sv_0, i64 4, i64 0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = call i32 @memcmp(i64* nonnull %sv_0, i64* nonnull @gv_0, i32 4) %6 = icmp eq i32 %5, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_3 LBL_2: %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = call i64 @FUNC(i64 %1, i64 ptrtoint (i64* @gv_0 to i64), i64* %8, i64 4, i64 1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %. = select i1 %11, i64 0, i64 4294967274 store i64 %., i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* @gv_0, { 1, 0 } uselistorder i64 4294967274, { 2, 0, 1 } uselistorder i64 (i64, i64, i64*, i64, i64)* @cpu_memory_rw_debug, { 1, 0 } }
1
BinRealVul
svg_saf_get_next_available_stream_12303
svg_saf_get_next_available_stream
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_2.01.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i32 2, i32* %sv_1.0.lcssa.reg2mem store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %1, label LBL_1, label LBL_4 LBL_1: %2 = ptrtoint i64* %arg1 to i64 store i64 %2, i64* %sv_2.01.reg2mem br label LBL_2 LBL_2: %sv_2.01.reload = load i64, i64* %sv_2.01.reg2mem %3 = add i64 %sv_2.01.reload, 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 store i64 %5, i64* %sv_2.01.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_3: %8 = inttoptr i64 %sv_2.01.reload to i32* %9 = load i32, i32* %8, align 4 %phitmp.le = add i32 %9, 1 store i32 %phitmp.le, i32* %sv_1.0.lcssa.reg2mem store i64 %sv_2.01.reload, i64* %sv_0.0.lcssa.reg2mem br label LBL_4 LBL_4: %10 = call i64* @malloc(i32 16) %11 = icmp eq i64* %10, null %12 = icmp eq i1 %11, false store i64 0, i64* %storemerge.reg2mem br i1 %12, label LBL_5, label LBL_9 LBL_5: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %13 = ptrtoint i64* %10 to i64 %14 = icmp eq i64 %sv_0.0.lcssa.reload, 0 br i1 %14, label LBL_7, label LBL_6 LBL_6: %15 = add i64 %sv_0.0.lcssa.reload, 8 %16 = inttoptr i64 %15 to i64* store i64 %13, i64* %16, align 8 br label LBL_8 LBL_7: store i64 %13, i64* %arg1, align 8 br label LBL_8 LBL_8: %17 = bitcast i64* %10 to i32* store i32 %sv_1.0.lcssa.reload, i32* %17, align 4 store i64 %13, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %13, { 0, 2, 1 } uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0 } uselistorder i64* %10, { 0, 2, 1 } uselistorder i64 %sv_2.01.reload, { 0, 2, 1 } uselistorder i64* %sv_2.01.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64* null, { 1, 0 } uselistorder i64* %arg1, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
tpm_passthrough_open_sysfs_cancel_16100
tpm_passthrough_open_sysfs_cancel
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.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 %sv_0 = alloca i64, align 8 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_3, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %10, i64 1) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false store i64 %12, i64* %storemerge.in.reg2mem br i1 %15, label LBL_9, label LBL_2 LBL_2: %16 = call i32* @__errno_location() %17 = load i32, i32* %16, align 4 %18 = call i8* @strerror(i32 %17) %19 = ptrtoint i8* %18 to i64 %20 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %3, i64 %4, i64 %2, i64 %1) store i64 %12, i64* %storemerge.in.reg2mem br label LBL_9 LBL_3: %21 = bitcast i64* %arg1 to i8* %22 = call i8* @strrchr(i8* %21, i32 47) %23 = icmp eq i8* %22, null br i1 %23, label LBL_8, label LBL_4 LBL_4: %24 = ptrtoint i8* %22 to i64 %25 = add i64 %24, 1 %26 = bitcast i64* %sv_0 to i8* %27 = inttoptr i64 %25 to i8* %28 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %26, i32 4096, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i8* %27) %29 = icmp ult i32 %28, 4096 store i64 4294967295, i64* %storemerge.in.reg2mem br i1 %29, label LBL_5, label LBL_9 LBL_5: %30 = ptrtoint i64* %sv_0 to i64 %31 = call i64 @FUNC(i64 %30, i64 1) %32 = trunc i64 %31 to i32 %33 = icmp slt i32 %32, 0 br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = load i64, i64* %7, align 8 %35 = call i64 @FUNC(i64* nonnull %sv_0) %36 = inttoptr i64 %34 to i64* store i64 %35, i64* %36, align 8 store i64 %31, i64* %storemerge.in.reg2mem br label LBL_9 LBL_7: %37 = call i32* @__errno_location() %38 = load i32, i32* %37, align 4 %39 = call i8* @strerror(i32 %38) %40 = ptrtoint i8* %39 to i64 %41 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i64 %30, i64 %40, i64 %25, i64 %2, i64 %1) store i64 %31, i64* %storemerge.in.reg2mem br label LBL_9 LBL_8: %42 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.in.reg2mem br label LBL_9 LBL_9: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i64 %31, { 1, 0, 2 } uselistorder i8* %22, { 1, 0 } uselistorder i64 %12, { 1, 0, 2 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %storemerge.in.reg2mem, { 0, 4, 3, 2, 1, 6, 5 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 2, 1, 0 } uselistorder i8* (i32)* @strerror, { 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i64 (i64, i64)* @qemu_open, { 1, 0 } uselistorder i64 1, { 0, 2, 1 } uselistorder label LBL_9, { 2, 1, 0, 3, 5, 4 } }
1
BinRealVul
qdev_device_help_1211
qdev_device_help
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %cond = icmp eq i64 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %cond, label LBL_14, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 0) store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_3: %10 = call i64 @FUNC(i64 %4) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_4, label LBL_14 LBL_4: %14 = call i64 @FUNC(i64 %5) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %5, i64* %sv_0.0.reg2mem br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %5) %18 = icmp eq i64 %17, 0 %spec.select = select i1 %18, i64 %5, i64 %17 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = call i64 @FUNC(i64 %sv_0.0.reload, i64* nonnull %sv_1) %20 = load i64, i64* %sv_1, align 8 %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_13, label LBL_7 LBL_7: %23 = icmp eq i64 %19, 0 %24 = icmp eq i1 %23, false store i64 %19, i64* %storemerge1.reg2mem br i1 %24, label LBL_8, label LBL_12 LBL_8: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %25 = add i64 %storemerge1.reload, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = add i64 %27, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = inttoptr i64 %27 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %sv_0.0.reload, i64 %32, i64 %30, i64 %2, i64 %1) %34 = load i64, i64* %26, align 8 %35 = add i64 %34, 16 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_10, label LBL_9 LBL_9: %39 = add i64 %34, 24 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %41, i64 %32, i64 %30, i64 %2, i64 %1) br label LBL_11 LBL_10: %43 = call i64 @FUNC(i8* inttoptr (i64 4202550 to i8*), i64 %sv_0.0.reload, i64 %32, i64 %30, i64 %2, i64 %1) br label LBL_11 LBL_11: %44 = inttoptr i64 %storemerge1.reload to i64* %45 = load i64, i64* %44, align 8 %46 = icmp eq i64 %45, 0 %47 = icmp eq i1 %46, false store i64 %45, i64* %storemerge1.reg2mem br i1 %47, label LBL_8, label LBL_12 LBL_12: %48 = call i64 @FUNC(i64 %19) store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %49 = ptrtoint i64* %sv_1 to i64 %50 = call i64 @FUNC(i64 %20) %51 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 %50, i64 %49, i64 %3, i64 %2, i64 %1) %52 = load i64, i64* %sv_1, align 8 %53 = call i64 @FUNC(i64 %52) store i64 1, 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 %32, { 1, 0, 2 } uselistorder i64 %30, { 1, 0, 2 } uselistorder i64 %19, { 2, 0, 1 } uselistorder i64 %sv_0.0.reload, { 2, 1, 0 } uselistorder i64 %5, { 2, 3, 0, 4, 5, 1 } uselistorder i64* %sv_1, { 1, 3, 2, 0, 4 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_printf, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64 0, { 10, 11, 21, 12, 13, 14, 15, 8, 22, 23, 24, 0, 18, 1, 9, 16, 17, 20, 2, 3, 4, 5, 6, 7, 19 } uselistorder label LBL_14, { 2, 3, 1, 4, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
snd_seq_queue_set_owner_10454
snd_seq_queue_set_owner
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = and i64 %4, 4294967295 %6 = call i64 @FUNC(i64 %1, i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %11 = inttoptr i64 %1 to i32* %12 = trunc i64 %arg3 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false %15 = zext i1 %14 to i32 store i32 %15, i32* %11, align 4 %16 = trunc i64 %4 to i32 %17 = add i64 %1, 4 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = call i64 @FUNC(i64 %1) %20 = call i64 @FUNC(i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 0, 1, 2, 5, 3, 4, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @queuefree, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
trusted_update_17766
trusted_update
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_13 LBL_1: %arg3.off = add i64 %arg3, -1 %7 = icmp ult i64 %arg3.off, 32767 %8 = icmp eq i64 %arg2, 0 %9 = icmp eq i1 %8, false %or.cond = icmp eq i1 %9, %7 store i64 4294967294, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_13 LBL_2: %10 = add i64 %arg3, 1 %11 = call i64 @FUNC(i64 %10, i64 0) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 4294967293, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_13 LBL_3: %14 = call i64 @FUNC() %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 4294967293, i64* %sv_0.1.reg2mem br i1 %16, label LBL_4, label LBL_12 LBL_4: %17 = ptrtoint i64* %arg1 to i64 %18 = call i64 @FUNC(i64 %17) %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 4294967293, i64* %sv_0.1.reg2mem br i1 %20, label LBL_5, label LBL_12 LBL_5: %21 = inttoptr i64 %11 to i64* %22 = inttoptr i64 %arg2 to i64* %23 = trunc i64 %arg3 to i32 %24 = call i64* @memcpy(i64* %21, i64* %22, i32 %23) %25 = add i64 %11, %arg3 %26 = inttoptr i64 %25 to i8* store i8 0, i8* %26, align 1 %27 = call i64 @FUNC(i64 %11, i64 %18, i64 %14) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 store i64 4294967294, i64* %sv_0.1.reg2mem br i1 %29, label LBL_6, label LBL_12 LBL_6: %30 = bitcast i64* %rdi to i32* %31 = inttoptr i64 %18 to i32* %32 = load i32, i32* %30, align 8 store i32 %32, i32* %31, align 4 %33 = add i64 %17, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %18, 8 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = load i64, i64* %34, align 8 %39 = add i64 %17, 16 %40 = add i64 %18, 16 %41 = inttoptr i64 %40 to i64* %42 = inttoptr i64 %39 to i64* %43 = trunc i64 %38 to i32 %44 = call i64* @memcpy(i64* %41, i64* %42, i32 %43) %45 = call i64 @FUNC(i64 %17) %46 = call i64 @FUNC(i64 %18) store i64 %18, i64* %rdi, align 8 %47 = call i64 @FUNC(i64 %18, i64 %14) %48 = trunc i64 %47 to i32 %49 = icmp slt i32 %48, 0 %50 = icmp eq i1 %49, false br i1 %50, label LBL_8, label LBL_7 LBL_7: %51 = and i64 %47, 4294967295 %52 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 %51, i64 %14, i64 %40, i64 %2, i64 %1) %53 = call i64 @FUNC(i64 %18) store i64 %47, i64* %sv_0.1.reg2mem br label LBL_12 LBL_8: %54 = inttoptr i64 %14 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp eq i32 %55, 0 store i64 %18, i64* %.reg2mem store i64 %47, i64* %sv_0.0.reg2mem br i1 %56, label LBL_11, label LBL_9 LBL_9: %57 = zext i32 %55 to i64 store i64 %57, i64* %rdi, align 8 %58 = call i64 @FUNC(i64 %57) %59 = trunc i64 %58 to i32 %60 = icmp slt i32 %59, 0 %61 = icmp eq i1 %60, false store i64 %57, i64* %.reg2mem store i64 %58, i64* %sv_0.0.reg2mem br i1 %61, label LBL_11, label LBL_10 LBL_10: %62 = and i64 %58, 4294967295 %63 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i64 %62, i64 %14, i64 %40, i64 %2, i64 %1) %64 = call i64 @FUNC(i64 %18) store i64 %58, i64* %sv_0.1.reg2mem br label LBL_12 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.reload = load i64, i64* %.reg2mem %65 = call i64 @FUNC(i64 %.reload, i64 %18) %66 = add i64 %17, 272 %67 = call i64 @FUNC(i64 %66, i64 4199002) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_12 LBL_12: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %68 = call i64 @FUNC(i64 %11) %69 = call i64 @FUNC(i64 %14) %70 = and i64 %sv_0.1.reload, 4294967295 store i64 %70, 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 i64 %58, { 0, 2, 1, 3 } uselistorder i64 %47, { 1, 0, 2, 3 } uselistorder i64 %40, { 1, 0, 2 } uselistorder i64 %18, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 10, 9, 11 } uselistorder i64 %14, { 4, 1, 5, 0, 2, 3, 6 } uselistorder i64 %11, { 1, 2, 0, 3, 4 } uselistorder i64* %rdi, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_0.1.reg2mem, { 0, 6, 5, 4, 1, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @kfree, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_info, { 1, 0 } uselistorder i64 (i64)* @dump_payload, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 4294967293, { 1, 2, 0 } uselistorder i64 (i64, i64)* @kmalloc, { 2, 1, 0 } uselistorder i64 4294967294, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6 } uselistorder i64 %arg3, { 0, 2, 3, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_13, { 3, 0, 1, 2 } uselistorder label LBL_12, { 3, 4, 5, 0, 1, 2 } }
1
BinRealVul
check_shm_size_3389
check_shm_size
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %1 = load i32, i32* %0 %sv_0 = alloca i64, align 8 %2 = trunc i64 %arg2 to i32 %3 = bitcast i64* %sv_0 to %stat* %4 = call i32 @fstat(i32 %2, %stat* nonnull %3) %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false %7 = and i64 %arg2, 4294967295 br i1 %6, label LBL_2, label LBL_1 LBL_1: %8 = call i32* @__errno_location() %9 = load i32, i32* %8, align 4 %10 = call i8* @strerror(i32 %9) %11 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i64 %7, i8* %10) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %13 = sext i32 %1 to i64 %14 = icmp ugt i64 %7, %13 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_4 LBL_3: %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %16 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %15, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @gv_2, i64 0, i64 0), i32 %2, i32 %1) store i64 4294967295, 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 %7, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
do_poll_7171
do_poll
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %2 = load i64, i64* @gv_0, align 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 store i32 0, i32* %sv_1, align 4 %5 = trunc i64 %1 to i32 %6 = icmp ult i32 %5, 129 store i64 -22, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_14 LBL_1: %7 = ptrtoint i32* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = and i64 %1, 4294967295 %12 = call i64 @FUNC(i64 %10, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 -14, i64* %rax.0.reg2mem br i1 %15, label LBL_2, label LBL_14 LBL_2: %16 = add i64 %2, 24 %17 = call i64 @FUNC(i64 0, i64 %16) %18 = add i64 %2, 16 %19 = inttoptr i64 %18 to i64* store i64 -1, i64* %19, align 8 %20 = add i64 %4, 8 %21 = add i64 %2, 8 %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, i64 %20) %26 = call i64 @FUNC(i64 %2) %27 = call i64 @FUNC() %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i64 0, i64* %sv_0.0.reg2mem br i1 %30, label LBL_13, label LBL_3 LBL_3: %31 = bitcast i64* %rdi to i32* %32 = load i32, i32* %31, align 8 %33 = icmp eq i32 %32, 0 store i32 0, i32* %storemerge4.reg2mem br i1 %33, label LBL_10, label LBL_4 LBL_4: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %34 = load i64, i64* %9, align 8 %35 = call i64 @FUNC(i32* nonnull %sv_1, i64 %34, i32 %storemerge4.reload, i64 1) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 -14, i64* %sv_0.0.reg2mem br i1 %38, label LBL_13, label LBL_5 LBL_5: %39 = load i32, i32* %sv_1, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %4, i64 %40) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 store i64 -22, i64* %sv_0.0.reg2mem br i1 %43, label LBL_13, label LBL_6 LBL_6: %44 = load i32, i32* %sv_1, align 4 %45 = zext i32 %44 to i64 %46 = call i64 @FUNC(i64 %4, i64 %45) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false store i64 0, i64* %sv_0.0.reg2mem br i1 %49, label LBL_13, label LBL_7 LBL_7: %50 = add nuw i32 %storemerge4.reload, 1 %51 = icmp ult i32 %50, %32 store i32 %50, i32* %storemerge4.reg2mem br i1 %51, label LBL_4, label LBL_8 LBL_8: %phitmp = icmp eq i32 %32, 1 %phitmp6 = icmp eq i1 %phitmp, false br i1 %phitmp6, label LBL_10, label LBL_9 LBL_9: %52 = load i32, i32* %sv_1, align 4 %53 = sext i32 %52 to i64 store i64 %53, i64* %19, align 8 br label LBL_10 LBL_10: %54 = add i64 %7, 16 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = icmp eq i64 %56, 0 br i1 %57, label LBL_12, label LBL_11 LBL_11: %58 = add i64 %2, 32 %59 = call i64 @FUNC(i64 %58, i64 %56) br label LBL_12 LBL_12: %60 = inttoptr i64 %4 to i32* %61 = load i32, i32* %22, align 4 %62 = load i32, i32* %60, align 4 %63 = zext i32 %62 to i64 %64 = call i64 @FUNC(i64 1, i64 %63, i32 %61) %65 = call i64 @FUNC(i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i64 0, i64* %19, align 8 %66 = load i32, i32* %22, align 4 %67 = zext i32 %66 to i64 %68 = call i64 @FUNC(i64 %67, i64 %20) %69 = call i64 @FUNC(i64 0, i64 %16) store i64 %sv_0.0.reload, 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 i32* %22, { 1, 0, 2 } uselistorder i64* %19, { 1, 0, 2 } uselistorder i64 %4, { 3, 0, 1, 2 } uselistorder i64 %2, { 0, 2, 1, 4, 3, 5 } uselistorder i32* %sv_1, { 1, 2, 3, 0, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 (i64, i64)* @clear_bit, { 1, 0 } uselistorder i64 -1, { 2, 0, 1 } uselistorder i64 (i64, i64)* @set_bit, { 1, 0 } uselistorder i64 -14, { 1, 0 } uselistorder i64 -22, { 1, 0 } uselistorder label LBL_14, { 2, 3, 0, 1 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ide_qdev_init_2205
ide_qdev_init
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdx.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 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = ptrtoint i64* %arg2 to i64 %12 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %3, i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_12 LBL_2: %13 = trunc i64 %5 to i32 %14 = icmp eq i32 %13, -1 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = icmp eq i64* %arg1, null %17 = icmp eq i1 %16, false %18 = zext i1 %17 to i64 %19 = zext i1 %17 to i32 %20 = bitcast i64* %arg1 to i32* store i32 %19, i32* %20, align 4 store i64 %18, i64* %rdx.0.reg2mem br label LBL_4 LBL_4: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem switch i32 %13, label LBL_11 [ i32 0, label LBL_5 i32 1, label LBL_8 ] LBL_5: %21 = icmp eq i64* %arg1, null br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 %rdx.0.reload, i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_12 LBL_7: call void @llvm.trap() unreachable LBL_8: %23 = add i64 %5, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_10, label LBL_9 LBL_9: %27 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 1, i64 %rdx.0.reload, i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_12 LBL_10: store i64 %5, i64* %24, align 8 store i64 %5, i64* %storemerge.reg2mem br label LBL_12 LBL_11: %28 = and i64 %5, 4294967295 %29 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 %28, i64 %rdx.0.reload, i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %rdx.0.reload, { 2, 1, 0 } uselistorder i64 %5, { 1, 0, 3, 4, 2, 5 } uselistorder i64 %4, { 3, 2, 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 3, 2, 1, 0 } uselistorder i64* %arg1, { 0, 2, 1, 3 } uselistorder label LBL_12, { 4, 0, 3, 2, 1 } }
0
BinRealVul
my_like_range_mb_7693
my_like_range_mb
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i32 %arg4, i32 %arg5, i32 %arg6, i64 %arg7, i64* %arg8, i64* %arg9, i64* %arg10, i64* %arg11) local_unnamed_addr { LBL_0: %sv_0.514.reg2mem = alloca i64 %sv_1.415.reg2mem = alloca i64 %sv_1.3.lcssa.reg2mem = alloca i64 %sv_0.4.lcssa.reg2mem = alloca i64 %sv_2.3.reg2mem = alloca i64 %sv_3.1.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.116.reg2mem = alloca i64 %sv_1.017.reg2mem = alloca i64 %sv_2.118.reg2mem = alloca i64 %sv_4.019.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_0.424.reg2mem = alloca i64 %sv_1.325.reg2mem = alloca i64 %sv_3.226.reg2mem = alloca i64 %sv_2.427.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg9 to i64 %1 = ptrtoint i64* %arg8 to i64 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %1, %arg7 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = sext i32 %6 to i64 %8 = add i64 %2, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp ne i64 %arg3, 0 %12 = icmp ne i64 %arg7, 0 %or.cond9.not22 = icmp eq i1 %11, %12 %13 = icmp ugt i64 %7, %arg7 %14 = icmp eq i1 %13, false %or.cond1123 = icmp eq i1 %or.cond9.not22, %14 store i64 %1, i64* %sv_0.4.lcssa.reg2mem store i64 %0, i64* %sv_1.3.lcssa.reg2mem br i1 %or.cond1123, label LBL_1, label LBL_21 LBL_1: %15 = add i64 %arg3, %arg2 %16 = add i64 %0, %arg7 %17 = icmp eq i64 %10, 0 %18 = add i64 %10, 4096 %spec.select = select i1 %17, i64 0, i64 %18 %19 = udiv i64 %arg7, %7 %20 = icmp eq i64 %spec.select, 0 store i64 %arg2, i64* %sv_2.427.reg2mem store i64 %19, i64* %sv_3.226.reg2mem store i64 %0, i64* %sv_1.325.reg2mem store i64 %1, i64* %sv_0.424.reg2mem br label LBL_2 LBL_2: %sv_0.424.reload = load i64, i64* %sv_0.424.reg2mem %sv_1.325.reload = load i64, i64* %sv_1.325.reg2mem %sv_3.226.reload = load i64, i64* %sv_3.226.reg2mem %sv_2.427.reload = load i64, i64* %sv_2.427.reg2mem %21 = inttoptr i64 %sv_2.427.reload to i8* %22 = load i8, i8* %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, %arg4 %25 = icmp eq i1 %24, false br i1 %25, label LBL_4, label LBL_3 LBL_3: %26 = add i64 %sv_2.427.reload, 1 %27 = icmp eq i64 %15, %26 store i64 %26, i64* %sv_2.0.reg2mem br i1 %27, label LBL_4, label LBL_8 LBL_4: %28 = icmp ne i32 %23, %arg5 %29 = icmp eq i32 %23, %arg6 %30 = icmp eq i1 %29, false %or.cond = icmp eq i1 %28, %30 store i64 %sv_2.427.reload, i64* %sv_2.0.reg2mem br i1 %or.cond, label LBL_8, label LBL_5 LBL_5: %31 = bitcast i64* %rdi to i32* %32 = load i32, i32* %31, align 8 %33 = urem i32 %32, 2 %34 = icmp eq i32 %33, 0 %35 = sub i64 %sv_0.424.reload, %1 %storemerge = select i1 %34, i64 %arg7, i64 %35 store i64 %storemerge, i64* %arg10, align 8 store i64 %arg7, i64* %arg11, align 8 %36 = add i64 %2, 8 %37 = inttoptr i64 %36 to i32* store i64 %sv_0.424.reload, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %38 = load i32, i32* %37, align 4 %39 = add i64 %sv_0.0.reload, 1 %40 = trunc i32 %38 to i8 %41 = inttoptr i64 %sv_0.0.reload to i8* store i8 %40, i8* %41, align 1 %42 = icmp eq i64 %39, %3 %43 = icmp eq i1 %42, false store i64 %39, i64* %sv_0.0.reg2mem br i1 %43, label LBL_6, label LBL_7 LBL_7: store i64 %arg7, i64* %arg11, align 8 %44 = call i64 @FUNC(i64 %2, i64 %sv_1.325.reload, i64 %16) br label LBL_23 LBL_8: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %45 = call i64 @FUNC(i64 %2, i64 %sv_2.0.reload, i64 %15) %46 = trunc i64 %45 to i32 %47 = icmp ult i32 %46, 2 br i1 %47, label LBL_11, label LBL_9 LBL_9: %48 = and i64 %45, 4294967295 %49 = add i64 %48, %sv_2.0.reload %50 = icmp ult i64 %15, %49 %51 = add i64 %48, %sv_0.424.reload %52 = icmp ult i64 %3, %51 %or.cond5 = or i1 %50, %52 store i32 %46, i32* %sv_4.019.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.118.reg2mem store i64 %sv_1.325.reload, i64* %sv_1.017.reg2mem store i64 %sv_0.424.reload, i64* %sv_0.116.reg2mem store i64 %sv_0.424.reload, i64* %sv_0.4.lcssa.reg2mem store i64 %sv_1.325.reload, i64* %sv_1.3.lcssa.reg2mem br i1 %or.cond5, label LBL_21, label LBL_10 LBL_10: %sv_0.116.reload = load i64, i64* %sv_0.116.reg2mem %sv_1.017.reload = load i64, i64* %sv_1.017.reg2mem %sv_2.118.reload = load i64, i64* %sv_2.118.reg2mem %sv_4.019.reload = load i32, i32* %sv_4.019.reg2mem %53 = add i32 %sv_4.019.reload, -1 %54 = add i64 %sv_2.118.reload, 1 %55 = add i64 %sv_1.017.reload, 1 %56 = inttoptr i64 %sv_2.118.reload to i8* %57 = load i8, i8* %56, align 1 %58 = inttoptr i64 %sv_1.017.reload to i8* store i8 %57, i8* %58, align 1 %59 = add i64 %sv_0.116.reload, 1 %60 = inttoptr i64 %sv_0.116.reload to i8* store i8 %57, i8* %60, align 1 %61 = icmp eq i32 %53, 0 %62 = icmp eq i1 %61, false store i32 %53, i32* %sv_4.019.reg2mem store i64 %54, i64* %sv_2.118.reg2mem store i64 %55, i64* %sv_1.017.reg2mem store i64 %59, i64* %sv_0.116.reg2mem store i64 %59, i64* %sv_0.3.reg2mem store i64 %55, i64* %sv_1.2.reg2mem store i64 %sv_3.226.reload, i64* %sv_3.1.reg2mem store i64 %54, i64* %sv_2.3.reg2mem br i1 %62, label LBL_10, label LBL_20 LBL_11: store i64 %sv_0.424.reload, i64* %sv_0.2.reg2mem store i64 %sv_1.325.reload, i64* %sv_1.1.reg2mem store i64 %sv_3.226.reload, i64* %sv_3.0.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.2.reg2mem br i1 %20, label LBL_19, label LBL_12 LBL_12: %63 = add i64 %sv_2.0.reload, 1 %64 = icmp ugt i64 %15, %63 store i64 %sv_0.424.reload, i64* %sv_0.2.reg2mem store i64 %sv_1.325.reload, i64* %sv_1.1.reg2mem store i64 %sv_3.226.reload, i64* %sv_3.0.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.2.reg2mem br i1 %64, label LBL_13, label LBL_19 LBL_13: %65 = inttoptr i64 %sv_2.0.reload to i8* %66 = load i8, i8* %65, align 1 %67 = zext i8 %66 to i64 %68 = add i64 %spec.select, %67 %69 = inttoptr i64 %68 to i8* %70 = load i8, i8* %69, align 1 %71 = icmp eq i8 %70, 0 store i64 %sv_0.424.reload, i64* %sv_0.2.reg2mem store i64 %sv_1.325.reload, i64* %sv_1.1.reg2mem store i64 %sv_3.226.reload, i64* %sv_3.0.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.2.reg2mem br i1 %71, label LBL_19, label LBL_14 LBL_14: %72 = inttoptr i64 %63 to i8* %73 = load i8, i8* %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp eq i32 %74, %arg5 %76 = icmp eq i32 %74, %arg6 %or.cond6 = or i1 %75, %76 br i1 %or.cond6, label LBL_5, label LBL_15 LBL_15: %77 = zext i8 %73 to i64 %78 = add i64 %spec.select, %77 %79 = inttoptr i64 %78 to i8* %80 = load i8, i8* %79, align 1 %81 = icmp eq i8 %80, 0 store i64 %sv_0.424.reload, i64* %sv_0.2.reg2mem store i64 %sv_1.325.reload, i64* %sv_1.1.reg2mem store i64 %sv_3.226.reload, i64* %sv_3.0.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.2.reg2mem br i1 %81, label LBL_19, label LBL_16 LBL_16: %82 = load i64, i64* %9, align 8 %83 = sext i8 %66 to i32 %84 = mul i32 %83, 64 %85 = add nsw i32 %84, -4160 %narrow = add nsw i32 %85, %74 %86 = sext i32 %narrow to i64 %87 = add i64 %82, %86 %88 = inttoptr i64 %87 to i8* %89 = load i8, i8* %88, align 1 %90 = icmp eq i8 %89, 0 store i64 %sv_0.424.reload, i64* %sv_0.2.reg2mem store i64 %sv_1.325.reload, i64* %sv_1.1.reg2mem store i64 %sv_3.226.reload, i64* %sv_3.0.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.2.reg2mem br i1 %90, label LBL_19, label LBL_17 LBL_17: %91 = icmp ne i64 %sv_3.226.reload, 1 %92 = add i64 %sv_0.424.reload, 1 %93 = icmp ugt i64 %3, %92 %or.cond8 = icmp eq i1 %91, %93 br i1 %or.cond8, label LBL_18, label LBL_5 LBL_18: %94 = add i64 %sv_1.325.reload, 1 %95 = inttoptr i64 %sv_1.325.reload to i8* store i8 %66, i8* %95, align 1 %96 = inttoptr i64 %sv_0.424.reload to i8* store i8 %66, i8* %96, align 1 %97 = add i64 %sv_3.226.reload, -1 store i64 %92, i64* %sv_0.2.reg2mem store i64 %94, i64* %sv_1.1.reg2mem store i64 %97, i64* %sv_3.0.reg2mem store i64 %63, i64* %sv_2.2.reg2mem br label LBL_19 LBL_19: %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %98 = add i64 %sv_2.2.reload, 1 %99 = add i64 %sv_1.1.reload, 1 %100 = inttoptr i64 %sv_2.2.reload to i8* %101 = load i8, i8* %100, align 1 %102 = inttoptr i64 %sv_1.1.reload to i8* store i8 %101, i8* %102, align 1 %103 = add i64 %sv_0.2.reload, 1 %104 = inttoptr i64 %sv_0.2.reload to i8* store i8 %101, i8* %104, align 1 store i64 %103, i64* %sv_0.3.reg2mem store i64 %99, i64* %sv_1.2.reg2mem store i64 %sv_3.0.reload, i64* %sv_3.1.reg2mem store i64 %98, i64* %sv_2.3.reg2mem br label LBL_20 LBL_20: %sv_2.3.reload = load i64, i64* %sv_2.3.reg2mem %sv_3.1.reload = load i64, i64* %sv_3.1.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %105 = add i64 %sv_3.1.reload, -1 %106 = icmp ne i64 %sv_2.3.reload, %15 %107 = icmp ne i64 %sv_0.3.reload, %3 %or.cond9.not = icmp eq i1 %107, %106 %108 = icmp eq i64 %105, 0 %109 = icmp eq i1 %108, false %or.cond11 = icmp eq i1 %109, %or.cond9.not store i64 %sv_2.3.reload, i64* %sv_2.427.reg2mem store i64 %105, i64* %sv_3.226.reg2mem store i64 %sv_1.2.reload, i64* %sv_1.325.reg2mem store i64 %sv_0.3.reload, i64* %sv_0.424.reg2mem store i64 %sv_0.3.reload, i64* %sv_0.4.lcssa.reg2mem store i64 %sv_1.2.reload, i64* %sv_1.3.lcssa.reg2mem br i1 %or.cond11, label LBL_2, label LBL_21 LBL_21: %sv_1.3.lcssa.reload = load i64, i64* %sv_1.3.lcssa.reg2mem %sv_0.4.lcssa.reload = load i64, i64* %sv_0.4.lcssa.reg2mem %110 = sub i64 %sv_0.4.lcssa.reload, %1 store i64 %110, i64* %arg11, align 8 store i64 %110, i64* %arg10, align 8 %111 = icmp eq i64 %sv_0.4.lcssa.reload, %3 %112 = icmp eq i1 %111, false store i64 %sv_1.3.lcssa.reload, i64* %sv_1.415.reg2mem store i64 %sv_0.4.lcssa.reload, i64* %sv_0.514.reg2mem br i1 %112, label LBL_22, label LBL_23 LBL_22: %sv_0.514.reload = load i64, i64* %sv_0.514.reg2mem %sv_1.415.reload = load i64, i64* %sv_1.415.reg2mem %113 = add i64 %sv_1.415.reload, 1 %114 = inttoptr i64 %sv_1.415.reload to i8* store i8 32, i8* %114, align 1 %115 = add i64 %sv_0.514.reload, 1 %116 = inttoptr i64 %sv_0.514.reload to i8* store i8 32, i8* %116, align 1 %117 = icmp eq i64 %115, %3 %118 = icmp eq i1 %117, false store i64 %113, i64* %sv_1.415.reg2mem store i64 %115, i64* %sv_0.514.reg2mem br i1 %118, label LBL_22, label LBL_23 LBL_23: ret i64 0 uselistorder i64 %sv_0.4.lcssa.reload, { 0, 2, 1 } uselistorder i64 %sv_0.3.reload, { 0, 2, 1 } uselistorder i64 %sv_2.3.reload, { 1, 0 } uselistorder i64 %sv_0.2.reload, { 1, 0 } uselistorder i64 %sv_1.1.reload, { 1, 0 } uselistorder i64 %sv_2.2.reload, { 1, 0 } uselistorder i8 %66, { 1, 0, 2, 3 } uselistorder i64 %sv_2.0.reload, { 1, 2, 3, 7, 0, 8, 4, 5, 9, 6 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i32 %23, { 1, 0, 2 } uselistorder i64 %sv_2.427.reload, { 0, 2, 1 } uselistorder i64 %sv_3.226.reload, { 6, 7, 2, 3, 4, 1, 5, 0 } uselistorder i64 %sv_1.325.reload, { 7, 8, 2, 3, 4, 1, 5, 0, 6, 9 } uselistorder i64 %sv_0.424.reload, { 9, 8, 2, 3, 4, 1, 5, 0, 6, 10, 7, 11 } uselistorder i64 %15, { 3, 1, 0, 2, 4 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %3, { 5, 0, 1, 2, 3, 4 } uselistorder i64 %2, { 2, 0, 1, 3, 4 } uselistorder i64 %1, { 4, 3, 1, 0, 2 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %sv_2.427.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.226.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.325.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.424.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.019.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.118.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.017.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.116.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 3, 4, 5, 1, 6 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 3, 4, 5, 1, 6 } uselistorder i64* %sv_3.0.reg2mem, { 0, 2, 3, 4, 5, 1, 6 } uselistorder i64* %sv_2.2.reg2mem, { 0, 2, 3, 4, 5, 1, 6 } uselistorder i64* %sv_0.3.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_3.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.3.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.415.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.514.reg2mem, { 2, 0, 1 } uselistorder i64 -1, { 1, 0 } uselistorder i64 1, { 3, 4, 5, 6, 7, 8, 0, 1, 9, 10, 11, 12, 13, 2, 14 } uselistorder i1 false, { 5, 1, 3, 6, 7, 4, 8, 0, 9, 2 } uselistorder i64* %arg11, { 2, 0, 1 } uselistorder i64* %arg10, { 1, 0 } uselistorder i64 %arg7, { 6, 5, 4, 7, 0, 2, 3, 1 } uselistorder i32 %arg5, { 1, 0 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_21, { 1, 0, 2 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_19, { 1, 2, 3, 4, 0, 5 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
pci_qdev_init_1205
pci_qdev_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = trunc i64 %1 to i32 %5 = or i32 %4, 1 %6 = bitcast i64* %arg1 to i32* store i32 %5, i32* %6, align 4 br label LBL_3 LBL_2: %7 = icmp eq i64* %arg1, null %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_8 LBL_3: %9 = ptrtoint i64* %arg1 to i64 %10 = add i64 %9, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 %14 = trunc i64 %9 to i32 %15 = icmp eq i32 %14, 0 %or.cond = or i1 %15, %13 br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %16 = and i64 %9, 4294967295 store i64 %16, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %17 = icmp eq i1 %13, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_8, label LBL_6 LBL_6: %18 = add i64 %9, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, 0 store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_8, label LBL_7 LBL_7: %22 = inttoptr i64 %20 to i8* %23 = call i8* @strdup(i8* %22) %24 = ptrtoint i8* %23 to i64 store i64 %24, i64* %11, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %13, { 1, 0 } uselistorder i64 %9, { 1, 3, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 5, 4 } uselistorder i64* %arg1, { 2, 0, 1 } uselistorder label LBL_8, { 2, 1, 0, 4, 3 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
url_find_protocol_2469
url_find_protocol
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strspn(i8* %0, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_0, i64 0, i64 0)) %2 = sext i32 %1 to i64 %3 = add i64 %2, %arg1 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %5, 58 br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i32 8) %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = add i64 %3, 1 %11 = inttoptr i64 %10 to i8* %12 = call i8* @strchr(i8* %11, i32 58) %13 = icmp eq i8* %12, null br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %arg1) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_5, label LBL_4 LBL_4: store i64 1701603686, i64* %sv_1, align 8 br label LBL_6 LBL_5: %17 = add nsw i64 %2, 1 %18 = icmp ult i64 %17, 128 %19 = select i1 %18, i64 %17, i64 128 %20 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg1, i64 %19) br label LBL_6 LBL_6: %21 = bitcast i64* %sv_1 to i8* %22 = call i8* @strchr(i8* nonnull %21, i32 44) %23 = icmp eq i8* %22, null br i1 %23, label LBL_8, label LBL_7 LBL_7: store i8 0, i8* %22, align 1 br label LBL_8 LBL_8: %24 = ptrtoint i64* %sv_1 to i64 %25 = call i64 @FUNC(i64* nonnull %sv_0, i64 %24, i64 128) %26 = bitcast i64* %sv_0 to i8* %27 = call i8* @strchr(i8* nonnull %26, i32 43) %28 = icmp eq i8* %27, null br i1 %28, label LBL_10, label LBL_9 LBL_9: store i8 0, i8* %27, align 1 br label LBL_10 LBL_10: %29 = call i64 @FUNC(i64 0) %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 %29, i64* %.reg2mem store i64 %29, i64* %.lcssa.reg2mem br i1 %31, label LBL_11, label LBL_15 LBL_11: %.reload = load i64, i64* %.reg2mem %32 = inttoptr i64 %.reload to i64* %33 = load i64, i64* %32, align 8 %34 = inttoptr i64 %33 to i8* %35 = call i32 @strcmp(i8* nonnull %21, i8* %34) %36 = icmp eq i32 %35, 0 store i64 %.reload, i64* %.lcssa.reg2mem br i1 %36, label LBL_15, label LBL_12 LBL_12: %37 = add i64 %.reload, 8 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = urem i32 %39, 2 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_13, label LBL_14 LBL_13: %42 = call i64 @FUNC(i64 %.reload) %43 = icmp eq i64 %42, 0 %44 = icmp eq i1 %43, false store i64 %42, i64* %.reg2mem store i64 %42, i64* %.lcssa.reg2mem br i1 %44, label LBL_11, label LBL_15 LBL_14: %45 = load i64, i64* %32, align 8 %46 = inttoptr i64 %45 to i8* %47 = call i32 @strcmp(i8* nonnull %26, i8* %46) %48 = icmp eq i32 %47, 0 store i64 %.reload, i64* %.lcssa.reg2mem br i1 %48, label LBL_15, label LBL_13 LBL_15: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %.reload, { 0, 4, 2, 1, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %sv_1, { 2, 0, 1, 3 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.lcssa.reg2mem, { 0, 1, 3, 2, 4 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 (i64)* @ffurl_protocol_next, { 1, 0 } uselistorder i64 (i64*, i64, i64)* @av_strlcpy, { 1, 0 } uselistorder i64 128, { 2, 0, 1 } uselistorder i8* (i8*, i32)* @strchr, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 4, 3, 5 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0 } uselistorder i64 %arg1, { 1, 2, 0, 3 } uselistorder label LBL_15, { 2, 0, 1, 3 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
edit_ext_13322
edit_ext
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 %arg4, i64* %sv_2, align 8 store i64 7237124276236416047, i64* %sv_1, align 8 %0 = bitcast i64* %sv_1 to i8* %1 = call i32 @mkstemp(i8* nonnull %0) %2 = icmp slt i32 %1, 0 %3 = icmp eq i1 %2, false store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_14 LBL_1: %4 = call i32 @fork() %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false store i64 1, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_14 LBL_2: %7 = ptrtoint i64* %sv_2 to i64 %8 = icmp eq i32 %4, 0 br i1 %8, label LBL_11, label LBL_3 LBL_3: %9 = call i32 @close(i32 %1) %10 = call i32 @waitpid(i32 %4, i32* nonnull %sv_0, i32 0) %11 = load i32, i32* %sv_0, align 4 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_10, label LBL_4 LBL_4: %14 = call i32 (i8*, i32, ...) @open(i8* nonnull %0, i32 0) %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false store i64 1, i64* %rax.0.reg2mem br i1 %16, label LBL_5, label LBL_14 LBL_5: %17 = call i32 @lseek(i32 %14, i32 0, i32 2) %18 = call i32 @lseek(i32 %14, i32 0, i32 0) %19 = icmp eq i32 %17, 0 br i1 %19, label LBL_10, label LBL_6 LBL_6: %20 = add i32 %17, 1 %21 = sext i32 %20 to i64 %22 = add nsw i64 %21, 23 %23 = udiv i64 %22, 16 %24 = mul i64 %23, 16 %25 = add i64 %7, 15 %26 = sub i64 %25, %24 %27 = and i64 %26, -16 %28 = inttoptr i64 %27 to i64* %29 = call i32 @read(i32 %14, i64* %28, i32 %17) %30 = icmp eq i32 %17, %29 store i64 1, i64* %rax.0.reg2mem br i1 %30, label LBL_7, label LBL_14 LBL_7: %31 = inttoptr i64 %27 to i8* %32 = call i32 @close(i32 %14) %33 = call i32 @remove(i8* nonnull %0) %34 = sext i32 %17 to i64 %35 = add i64 %27, %34 %36 = inttoptr i64 %35 to i8* store i8 0, i8* %36, align 1 %37 = call i8* @strstr(i8* %31, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %38 = icmp eq i8* %37, null br i1 %38, label LBL_10, label LBL_8 LBL_8: %39 = ptrtoint i8* %37 to i64 %40 = add i64 %39, 6 %41 = call i64 @FUNC(i64 %arg2, i64 %40) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 store i64 1, i64* %rax.0.reg2mem br i1 %43, label LBL_9, label LBL_14 LBL_9: %44 = inttoptr i64 %arg2 to i8* %45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i8* %44) br label LBL_10 LBL_10: %46 = load i32, i32* %sv_0, align 4 %47 = zext i32 %46 to i64 store i64 %47, i64* %rax.0.reg2mem br label LBL_14 LBL_11: %48 = inttoptr i64 %arg2 to i8* %49 = call i32 @strlen(i8* %48) %50 = inttoptr i64 %arg3 to i8* %51 = call i32 @strlen(i8* %50) %52 = load i64, i64* %sv_2, align 8 %53 = inttoptr i64 %52 to i8* %54 = call i32 @strlen(i8* %53) %55 = add i32 %49, 50 %56 = add i32 %55, %51 %57 = add i32 %56, %54 %58 = sext i32 %57 to i64 %59 = add nsw i64 %58, 23 %60 = udiv i64 %59, 16 %61 = mul i64 %60, 16 %62 = add i64 %7, 15 %63 = sub i64 %62, %61 %64 = and i64 %63, -16 %65 = load i64, i64* %sv_2, align 8 %66 = inttoptr i64 %64 to i8* %67 = inttoptr i64 %65 to i8* %68 = call i32 (i8*, i8*, ...) @sprintf(i8* %66, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i8* %48, i8* %50, i8* %67) %69 = inttoptr i64 %64 to i64* %70 = call i32 @write(i32 %1, i64* %69, i32 %68) %71 = icmp eq i32 %70, %68 br i1 %71, label LBL_13, label LBL_12 LBL_12: call void @exit(i32 1) unreachable LBL_13: %72 = call i32 @fsync(i32 %1) %73 = call i32 @close(i32 %1) %74 = inttoptr i64 %arg1 to i8* %75 = call i32 (i8*, i8*, ...) @execl(i8* %74, i8* %74) store i32 %75, i32* %sv_0, align 4 call void @exit(i32 %75) unreachable LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %64, { 1, 0 } uselistorder i8* %37, { 1, 0 } uselistorder i64 %27, { 0, 2, 1 } uselistorder i32 %17, { 0, 2, 1, 3, 4 } uselistorder i32 %14, { 0, 1, 3, 2, 4 } uselistorder i32 %1, { 2, 1, 3, 0, 4 } uselistorder i64* %sv_2, { 0, 1, 3, 2 } uselistorder i32* %sv_0, { 2, 1, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 0, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder i32 (i32, i32, i32)* @lseek, { 1, 0 } uselistorder i32 (i32)* @close, { 2, 1, 0 } uselistorder i32 0, { 5, 6, 0, 1, 2, 7, 3, 8, 4, 9, 10, 11 } uselistorder i64 %arg2, { 2, 0, 1 } uselistorder label LBL_14, { 5, 0, 1, 2, 3, 4 } }
1
BinRealVul
update_write_cache_brush_order_7356
update_write_cache_brush_order
define i64 @FUNC(i32* %arg1, i64* %arg2, i16* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge47.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %indvars.iv9.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i16* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i32, align 4 %5 = call i64 @FUNC(i64 %3, i64 %2) %6 = call i64 @FUNC(i64 %4, i64 %5) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 1 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_19 LBL_1: %9 = add i64 %3, 1 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = zext i8 %11 to i64 %13 = bitcast i32* %sv_0 to i64* %14 = call i64 @FUNC(i64 %12, i64* nonnull %13) %15 = load i32, i32* %sv_0, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_2, label LBL_19 LBL_2: %18 = trunc i64 %14 to i32 %sext = mul i32 %18, 16777216 %19 = ashr exact i32 %sext, 24 %20 = urem i64 %1, 256 %21 = call i64 @FUNC(i64 %4, i64 %20) %22 = urem i32 %19, 256 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %4, i64 %23) %25 = add i64 %3, 2 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = zext i8 %27 to i64 %29 = call i64 @FUNC(i64 %4, i64 %28) %30 = add i64 %3, 3 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = zext i8 %32 to i64 %34 = call i64 @FUNC(i64 %4, i64 %33) %35 = add i64 %3, 4 %36 = inttoptr i64 %35 to i8* %37 = load i8, i8* %36, align 1 %38 = zext i8 %37 to i64 %39 = call i64 @FUNC(i64 %4, i64 %38) %40 = add i64 %3, 5 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = zext i8 %42 to i64 %44 = call i64 @FUNC(i64 %4, i64 %43) %45 = load i8, i8* %26, align 1 %46 = icmp eq i8 %45, 8 %47 = icmp eq i1 %46, false br i1 %47, label LBL_18, label LBL_3 LBL_3: %48 = load i8, i8* %31, align 1 %49 = icmp eq i8 %48, 8 %50 = icmp eq i1 %49, false br i1 %50, label LBL_18, label LBL_4 LBL_4: %51 = load i8, i8* %10, align 1 %52 = icmp eq i8 %51, 1 %53 = icmp eq i1 %52, false br i1 %53, label LBL_9, label LBL_5 LBL_5: %54 = load i8, i8* %41, align 1 %55 = icmp eq i8 %54, 8 br i1 %55, label LBL_6, label LBL_7 LBL_6: %56 = add i64 %3, 6 store i64 7, i64* %indvars.iv9.reg2mem br label LBL_8 LBL_7: %57 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %58 = zext i8 %54 to i32 %59 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %57, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i32 %58) store i64 0, i64* %rax.0.reg2mem br label LBL_19 LBL_8: %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem %60 = add i64 %56, %indvars.iv9.reload %61 = inttoptr i64 %60 to i8* %62 = load i8, i8* %61, align 1 %63 = zext i8 %62 to i64 %64 = call i64 @FUNC(i64 %4, i64 %63) %indvars.iv.next10 = add nsw i64 %indvars.iv9.reload, -1 %65 = icmp eq i64 %indvars.iv9.reload, 0 %66 = icmp eq i1 %65, false store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem br i1 %66, label LBL_8, label LBL_18 LBL_9: %67 = trunc i32 %19 to i8 %68 = icmp eq i8 %67, 1 %69 = icmp eq i1 %68, false br i1 %69, label LBL_11, label LBL_10 LBL_10: %70 = load i8, i8* %41, align 1 %71 = icmp eq i8 %70, 20 %72 = icmp eq i1 %71, false br i1 %72, label LBL_11, label LBL_15 LBL_11: %73 = icmp eq i8 %67, 2 %74 = icmp eq i1 %73, false br i1 %74, label LBL_13, label LBL_12 LBL_12: %75 = load i8, i8* %41, align 1 %76 = icmp eq i8 %75, 24 %77 = icmp eq i1 %76, false br i1 %77, label LBL_13, label LBL_15 LBL_13: %78 = icmp eq i8 %67, 3 %79 = icmp eq i1 %78, false br i1 %79, label LBL_16, label LBL_14 LBL_14: %80 = load i8, i8* %41, align 1 %81 = icmp eq i8 %80, 32 %82 = icmp eq i1 %81, false br i1 %82, label LBL_16, label LBL_15 LBL_15: %83 = zext i8 %51 to i64 %84 = add i64 %3, 6 %85 = call i64 @FUNC(i64 %4, i64 %84, i64 %83) %86 = trunc i64 %85 to i8 %87 = icmp eq i8 %86, 1 store i64 0, i64* %rax.0.reg2mem br i1 %87, label LBL_18, label LBL_19 LBL_16: %88 = and i8 %51, -8 %89 = zext i8 %88 to i32 %90 = zext i8 %88 to i64 %91 = add i64 %3, 6 store i64 7, i64* %indvars.iv.reg2mem store i32 7, i32* %storemerge47.reg2mem br label LBL_17 LBL_17: %storemerge47.reload = load i32, i32* %storemerge47.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %92 = mul i32 %storemerge47.reload, %89 %93 = sext i32 %92 to i64 %94 = add i64 %91, %93 %95 = call i64 @FUNC(i64 %4, i64 %94, i64 %90) %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1 %96 = add nsw i32 %storemerge47.reload, -1 %97 = icmp eq i64 %indvars.iv.reload, 0 %98 = icmp eq i1 %97, false store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %96, i32* %storemerge47.reg2mem br i1 %98, label LBL_17, label LBL_18 LBL_18: store i64 1, 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 %indvars.iv.reload, { 1, 0 } uselistorder i64 %indvars.iv9.reload, { 2, 0, 1 } uselistorder i8* %41, { 3, 2, 1, 0, 4 } uselistorder i32 %19, { 1, 0 } uselistorder i64 %4, { 2, 1, 0, 3, 4, 5, 6, 8, 7, 9 } uselistorder i64 %3, { 1, 2, 0, 3, 4, 5, 6, 7, 8 } uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge47.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 3 } uselistorder i64 -1, { 1, 0 } uselistorder i64 (i64, i64)* @Stream_Write_UINT8, { 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_19, { 3, 0, 4, 1, 2 } uselistorder label LBL_18, { 1, 2, 0, 3, 4 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 2, 0, 1 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
TIFFWarnings_9216
TIFFWarnings
define i64 @FUNC(i8* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = bitcast i64* %sv_0 to i8* %1 = call i32 @vsprintf(i8* nonnull %0, i8* %arg2, i64 %arg3) %2 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull @gv_0, i64 1024) %3 = call i64 @FUNC(i64 0) %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC() %6 = ptrtoint i8* %arg1 to i64 %7 = call i64 @FUNC(i64 %3, i64 %5, i64 1, i64* nonnull %sv_0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %6) 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, { 2, 0, 1 } }
0
BinRealVul
tcp_open_6307
tcp_open
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = call i64* @calloc(i32 1, i32 4) %1 = icmp eq i64* %0, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_1, label LBL_8 LBL_1: %3 = bitcast i64* %0 to i32* store i32 -1, i32* %3, align 4 %4 = call i32 @socket(i32 2, i32 1, i32 0) store i32 %4, i32* %3, align 4 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) br label LBL_9 LBL_3: %9 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16) store i64 2, i64* %sv_0, align 8 %10 = trunc i64 %arg1 to i16 %11 = call i16 @htons(i16 %10) %12 = call i32 @htonl(i32 2130706433) %13 = load i32, i32* %3, align 4 %14 = bitcast i64* %sv_0 to %sockaddr* %15 = call i32 @bind(i32 %13, %sockaddr* nonnull %14, i32 16) %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_6, label LBL_4 LBL_4: %18 = load i32, i32* inttoptr (i64 4210828 to i32*), align 4 %19 = icmp eq i32 %18, 1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_9, label LBL_5 LBL_5: %21 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %22 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %21, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([83 x i8], [83 x i8]* @gv_3, i64 0, i64 0)) br label LBL_9 LBL_6: %23 = ptrtoint i64* %0 to i64 %24 = load i32, i32* %3, align 4 %25 = call i32 @listen(i32 %24, i32 5) %26 = icmp slt i32 %25, 0 %27 = icmp eq i1 %26, false store i64 %23, i64* %storemerge.reg2mem br i1 %27, label LBL_12, label LBL_7 LBL_7: %28 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %29 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %28, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0)) br label LBL_9 LBL_8: %30 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %31 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %30, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_12 LBL_9: %32 = load i32, i32* %3, align 4 %33 = icmp eq i32 %32, -1 br i1 %33, label LBL_11, label LBL_10 LBL_10: %34 = call i32 @close(i32 %32) br label LBL_11 LBL_11: call void @free(i64* nonnull %0) store i64 0, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %0, { 1, 3, 0, 2 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 0, 3, 2, 1 } uselistorder i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), { 3, 0, 1, 2 } uselistorder %_IO_FILE** @gv_0, { 0, 3, 2, 1 } uselistorder i32 0, { 2, 3, 0, 4, 1 } uselistorder label LBL_12, { 2, 0, 1 } uselistorder label LBL_9, { 2, 1, 0, 3 } }
0
BinRealVul
create_filter_with_args_16023
create_filter_with_args
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 %arg1) %3 = inttoptr i64 %2 to i8* %4 = call i8* @strchr(i8* %3, i32 61) %5 = icmp eq i8* %4, null store i8* null, i8** %sv_0.0.reg2mem br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = ptrtoint i8* %4 to i64 %7 = icmp eq i64 %2, %6 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_7, label LBL_2 LBL_2: %8 = add i64 %6, 1 %9 = inttoptr i64 %8 to i8* store i8 0, i8* %4, align 1 store i8* %9, i8** %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %10 = icmp eq i8* %sv_0.0.reload, null %11 = ptrtoint i8* %sv_0.0.reload to i64 %storemerge2 = select i1 %10, i64 ptrtoint ([7 x i8]* @gv_0 to i64), i64 %11 %12 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %2, i64 %storemerge2, i64 %1) %13 = call i64 @FUNC(i64 %2, i64 0) %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_6, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %13, i64 %11, i64 %arg2) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 store i64 %13, i64* %storemerge.reg2mem br i1 %17, label LBL_7, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %11, i64 %storemerge2, i64 %1) %19 = call i64 @FUNC(i64 %13) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %20 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i64 %2, i64 %storemerge2, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %13, { 1, 0, 2, 3 } uselistorder i64 %storemerge2, { 1, 0, 2 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %2, { 1, 3, 2, 0, 4 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i8* null, { 1, 0, 2 } uselistorder i64 (i64)* @av_strdup, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 5, 6, 7, 1, 0 } uselistorder label LBL_7, { 1, 2, 0, 3 } }
1
BinRealVul
count_subheaders_10763
count_subheaders
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.12.reg2mem = alloca i32 %sv_0.13.reg2mem = alloca i32 %storemerge14.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 store i64 1, i64* %storemerge.reg2mem br i1 %0, label LBL_6, label LBL_1 LBL_1: %1 = inttoptr i64 %arg1 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 %arg1, i64* %storemerge14.reg2mem store i32 0, i32* %sv_0.13.reg2mem store i32 0, i32* %sv_1.12.reg2mem store i32 0, i32* %sv_1.1.lcssa.reg2mem store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %4, label LBL_2, label LBL_5 LBL_2: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %storemerge14.reload = load i64, i64* %storemerge14.reg2mem %5 = add i64 %storemerge14.reload, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 store i32 1, i32* %sv_1.0.reg2mem store i32 %sv_0.13.reload, i32* %sv_0.0.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %sv_1.12.reload = load i32, i32* %sv_1.12.reg2mem %9 = call i64 @FUNC(i64 %7) %10 = trunc i64 %9 to i32 %11 = add i32 %sv_0.13.reload, %10 store i32 %sv_1.12.reload, i32* %sv_1.0.reg2mem store i32 %11, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %12 = add i64 %storemerge14.reload, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %12, i64* %storemerge14.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.13.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.12.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %16, label LBL_2, label LBL_5 LBL_5: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %17 = add i32 %sv_0.1.lcssa.reload, %sv_1.1.lcssa.reload %18 = zext i32 %17 to i64 store i64 %18, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.13.reload, { 1, 0 } uselistorder i64* %storemerge14.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.13.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.12.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
gen_set_psr_16081
gen_set_psr
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i32 %arg3, 0 br i1 %1, label LBL_3, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 1, i64* %storemerge.reg2mem br i1 %4, label LBL_2, label LBL_5 LBL_2: %5 = zext i32 %arg3 to i64 %6 = call i64 @FUNC(i64 %5) %7 = sub i32 0, %arg2 %8 = sub i32 %7, 1 %9 = zext i32 %8 to i64 %10 = and i64 %6, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 %10, i64 %9) %12 = zext i32 %arg2 to i64 %13 = zext i32 %arg4 to i64 %14 = call i64 @FUNC(i64 %13, i64 %13, i64 %12) %15 = call i64 @FUNC(i64 %10, i64 %10, i32 %arg4) %16 = call i64 @FUNC(i64 %10, i64 %5) store i64 %13, i64* %.pre-phi.reg2mem br label LBL_4 LBL_3: %17 = zext i32 %arg2 to i64 %18 = zext i32 %arg4 to i64 %19 = call i64 @FUNC(i64 %18, i64 %17) store i64 %18, i64* %.pre-phi.reg2mem br label LBL_4 LBL_4: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %20 = call i64 @FUNC(i64 %.pre-phi.reload) %21 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %13, { 0, 2, 1 } uselistorder i64 %10, { 0, 2, 1, 4, 3 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @tcg_gen_andi_i32, { 1, 0 } uselistorder i32 %arg4, { 2, 1, 0 } uselistorder i32 %arg2, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
genl_lock_dumpit_9549
genl_lock_dumpit
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC() %3 = and i64 %0, 4294967295 ret i64 %3 }
0
BinRealVul
page_find_alloc_5029
page_find_alloc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = inttoptr i64 %0 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %storemerge.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64* @mmap(i64* null, i32 0, i32 3, i32 34, i32 -1, i32 0) %8 = ptrtoint i64* %7 to i64 store i64 %8, i64* %3, align 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %9, 4095 %11 = and i64 %10, -4096 %12 = and i64 %9, -4096 %13 = call i64 @FUNC(i64 %12, i64 %11, i64 1) %14 = call i64 @FUNC(i64 0) store i64 %14, i64* %3, align 8 store i64 %14, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %9, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_3, { 1, 0, 2 } }
0
BinRealVul
do_dma_memory_set_455
do_dma_memory_set
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.lcssa.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %sv_1.02.reg2mem = alloca i64 %sv_2 = alloca i64, align 8 %0 = trunc i64 %arg2 to i32 %1 = urem i32 %0, 256 %2 = call i64* @memset(i64* nonnull %sv_2, i32 %1, i32 512) %3 = ptrtoint i64* %2 to i64 %4 = icmp eq i64 %arg3, 0 %5 = icmp eq i1 %4, false store i64 %arg3, i64* %sv_1.02.reg2mem store i64 %arg1, i64* %sv_0.01.reg2mem store i64 %3, i64* %rax.0.lcssa.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem %6 = icmp ult i64 %sv_1.02.reload, 512 %7 = select i1 %6, i64 %sv_1.02.reload, i64 512 %8 = trunc i64 %7 to i32 %9 = call i64 @FUNC(i64 %sv_0.01.reload, i64* nonnull %sv_2, i32 %8, i64 1) %10 = sub i64 %sv_1.02.reload, %7 %11 = add i64 %7, %sv_0.01.reload %12 = icmp eq i64 %10, 0 %13 = icmp eq i1 %12, false store i64 %10, i64* %sv_1.02.reg2mem store i64 %11, i64* %sv_0.01.reg2mem store i64 %7, i64* %rax.0.lcssa.reg2mem br i1 %13, label LBL_1, label LBL_2 LBL_2: %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem ret i64 %rax.0.lcssa.reload uselistorder i64 %sv_0.01.reload, { 1, 0 } uselistorder i64* %sv_1.02.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
security_decrypt_13673
security_decrypt
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64* %arg3, null %1 = icmp eq i1 %0, false store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_4 LBL_1: %2 = ptrtoint i64* %arg3 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp slt i32 %5, 4096 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = add i64 %2, 32 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = add i64 %2, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %2, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16, i64 %13, i32 %9) %18 = call i64 @FUNC(i64 %10) %19 = load i32, i32* %8, align 4 %20 = load i64, i64* %15, align 8 %21 = zext i32 %19 to i64 %22 = call i64 @FUNC(i64 %20, i64 %21) store i64 %22, i64* %arg3, align 8 store i32 0, i32* %4, align 4 br label LBL_3 LBL_3: %23 = ptrtoint i64* %arg1 to i64 %24 = trunc i64 %arg2 to i32 %25 = call i64 @FUNC(i64 %2, i32 %24, i64 %23, i64 %23) %26 = load i32, i32* %4, align 4 %27 = add i32 %26, 1 store i32 %27, i32* %4, align 4 %28 = add i64 %2, 12 %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 1, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %4, { 2, 1, 0, 3 } uselistorder i64 %2, { 1, 0, 2, 4, 3, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %arg3, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
vhost_net_init_3042
vhost_net_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 72) %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %10 = call i32 @fwrite(i64* bitcast ([44 x i8]* @gv_1 to i64*), i32 1, i32 43, %_IO_FILE* %9) br label LBL_13 LBL_2: %11 = trunc i64 %1 to i32 %12 = icmp eq i32 %11, 1 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %6) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 br i1 %16, label LBL_13, label LBL_4 LBL_4: %17 = load i64, i64* %5, align 8 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i8 %20 = icmp eq i8 %19, 0 %. = select i1 %20, i64 2, i64 0 %21 = add i64 %3, 8 %22 = inttoptr i64 %21 to i64* store i64 %., i64* %22, align 8 %23 = add i64 %3, 56 %24 = inttoptr i64 %23 to i32* store i32 %15, i32* %24, align 4 br label LBL_6 LBL_5: %25 = add i64 %3, 8 %26 = inttoptr i64 %25 to i64* store i64 0, i64* %26, align 8 %27 = add i64 %3, 56 %28 = inttoptr i64 %27 to i32* store i32 -1, i32* %28, align 4 br label LBL_6 LBL_6: %29 = bitcast i64* %rdi to i32* %30 = load i64, i64* %5, align 8 %31 = add i64 %3, 48 %32 = inttoptr i64 %31 to i64* store i64 %30, i64* %32, align 8 %33 = add i64 %3, 16 %34 = inttoptr i64 %33 to i32* store i32 2, i32* %34, align 4 %35 = add i64 %3, 64 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = add i64 %3, 24 %39 = inttoptr i64 %38 to i64* store i64 %37, i64* %39, align 8 %40 = load i64, i64* %32, align 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i64 %3, 32 %44 = inttoptr i64 %43 to i32* store i32 %42, i32* %44, align 4 %45 = load i32, i32* %29, align 8 %46 = add i64 %2, 16 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = call i64 @FUNC(i64 %3, i64 %48, i32 %45) %50 = trunc i64 %49 to i32 %51 = icmp slt i32 %50, 0 br i1 %51, label LBL_13, label LBL_7 LBL_7: br i1 %13, label LBL_12, label LBL_8 LBL_8: %52 = load i64, i64* %5, align 8 %53 = call i64 @FUNC(i64 %52, i64 0) %54 = trunc i64 %53 to i8 %55 = icmp eq i8 %54, 1 %.pre = add i64 %3, 40 %.pre2 = inttoptr i64 %.pre to i64* %.pre4 = load i64, i64* %.pre2, align 8 store i64 %.pre4, i64* %.reg2mem br i1 %55, label LBL_10, label LBL_9 LBL_9: %56 = and i64 %.pre4, -3 store i64 %56, i64* %.pre2, align 8 store i64 %56, i64* %.reg2mem br label LBL_10 LBL_10: %.reload = load i64, i64* %.reg2mem %57 = sub i64 0, %.reload %58 = sub i64 %57, 1 %59 = add i64 %3, 8 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = and i64 %61, %58 %63 = icmp eq i64 %62, 0 br i1 %63, label LBL_12, label LBL_11 LBL_11: %64 = xor i64 %.reload, 4294967295 %65 = and i64 %61, %64 %66 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %67 = trunc i64 %65 to i32 %68 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %66, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0), i32 %67) %69 = call i64 @FUNC(i64 %3) br label LBL_13 LBL_12: %70 = call i64 @FUNC(i64 %3, i64 0) store i64 %3, i64* %storemerge.reg2mem br label LBL_14 LBL_13: %71 = call i64 @FUNC(i64 %3) store i64 0, i64* %storemerge.reg2mem br label LBL_14 LBL_14: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %61, { 1, 0 } uselistorder i64 %.pre4, { 1, 0 } uselistorder i64* %.pre2, { 1, 0 } uselistorder i64* %5, { 1, 2, 0, 3 } uselistorder i64 %3, { 7, 0, 6, 4, 5, 1, 8, 9, 11, 10, 12, 13, 14, 15, 2, 3 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder label LBL_13, { 2, 0, 1, 3 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
ProcCopyColormapAndFree_9041
ProcCopyColormapAndFree
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = call i64* @malloc(i32 8) %4 = ptrtoint i64* %3 to i64 %5 = bitcast i64* %3 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %4, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = call i64 @FUNC(i64* nonnull %sv_0, i32 %9, i64 1, i64 %2, i64 6) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = trunc i64 %1 to i32 %15 = load i64, i64* %sv_0, align 8 %16 = zext i32 %6 to i64 %17 = call i64 @FUNC(i64 %16, i64 %15, i32 %14) store i64 %17, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %18 = load i32, i32* %8, align 4 %19 = add i64 %2, 4 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = and i64 %10, 4294967295 store i64 %21, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
dns_HTTPS_add_ipv6hint_6886
dns_HTTPS_add_ipv6hint
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i16, align 2 %1 = mul i64 %arg3, 16 %2 = and i64 %1, 4294967280 %3 = or i64 %2, 3 %4 = call i64 @FUNC(i64 %0) %5 = icmp slt i64 %3, %4 store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: store i16 28, i16* %sv_0, align 2 %6 = call i64 @FUNC(i64 %0, i16* nonnull %sv_0, i64 2) %arg3.tr = trunc i64 %arg3 to i16 %7 = mul i16 %arg3.tr, 16 store i16 %7, i16* %sv_0, align 2 %8 = call i64 @FUNC(i64 %0, i16* nonnull %sv_0, i64 2) %9 = trunc i64 %arg3 to i32 %10 = icmp sgt i32 %9, 0 store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_2, label LBL_4 LBL_2: %11 = ptrtoint i64* %arg2 to i64 %wide.trip.count = and i64 %arg3, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %12 = mul i64 %indvars.iv.reload, 8 %13 = add i64 %12, %11 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i16* %17 = call i64 @FUNC(i64 %0, i16* %16, i64 16) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i16* %sv_0, { 0, 2, 1, 3 } uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i16*, i64)* @dns_add_rr_nested_memcpy, { 2, 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 %arg3, { 1, 3, 2, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
sctp_transport_init_11448
sctp_transport_init
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %arg1 to i64* store i64 %0, i64* %4, align 8 %5 = add i64 %arg1, 8 %6 = inttoptr i64 %5 to i64* store i64 %3, i64* %6, align 8 %7 = bitcast i64* %rsi to i16* %8 = load i16, i16* %7, align 8 %9 = zext i16 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %arg1, 16 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = add i64 %arg1, 24 %14 = inttoptr i64 %13 to i64* store i64 0, i64* %14, align 8 %15 = add i64 %arg1, 32 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %16, align 8 %17 = add i64 %arg1, 40 %18 = inttoptr i64 %17 to i64* %19 = call i64* @memset(i64* %18, i32 0, i32 16) %20 = call i64 @FUNC(i64 200) %21 = add i64 %arg1, 56 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 %23 = add i64 %arg1, 64 %24 = inttoptr i64 %23 to i64* store i64 0, i64* %24, align 8 %25 = add i64 %arg1, 72 %26 = inttoptr i64 %25 to i64* store i64 0, i64* %26, align 8 %27 = add i64 %arg1, 80 %28 = inttoptr i64 %27 to i64* store i64 0, i64* %28, align 8 %29 = add i64 %arg1, 88 %30 = inttoptr i64 %29 to i64* store i64 0, i64* %30, align 8 %31 = add i64 %arg1, 96 %32 = inttoptr i64 %31 to i64* store i64 0, i64* %32, align 8 %33 = add i64 %arg1, 104 %34 = inttoptr i64 %33 to i64* store i64 0, i64* %34, align 8 %35 = call i32 @time(i32* null) %36 = sext i32 %35 to i64 %37 = add i64 %arg1, 112 %38 = inttoptr i64 %37 to i64* store i64 %36, i64* %38, align 8 %39 = call i32 @time(i32* null) %40 = sext i32 %39 to i64 %41 = add i64 %arg1, 120 %42 = inttoptr i64 %41 to i64* store i64 %40, i64* %42, align 8 %43 = add i64 %arg1, 128 %44 = inttoptr i64 %43 to i64* store i64 0, i64* %44, align 8 %45 = add i64 %arg1, 136 %46 = inttoptr i64 %45 to i64* store i64 7, i64* %46, align 8 %47 = add i64 %arg1, 144 %48 = inttoptr i64 %47 to i64* store i64 0, i64* %48, align 8 %49 = add i64 %arg1, 152 %50 = inttoptr i64 %49 to i64* store i64 5, i64* %50, align 8 %51 = add i64 %arg1, 160 %52 = inttoptr i64 %51 to i64* store i64 0, i64* %52, align 8 %53 = add i64 %arg1, 168 %54 = inttoptr i64 %53 to i64* store i64 %53, i64* %54, align 8 %55 = add i64 %arg1, 176 %56 = inttoptr i64 %55 to i64* store i64 %55, i64* %56, align 8 %57 = add i64 %arg1, 184 %58 = inttoptr i64 %57 to i64* store i64 %57, i64* %58, align 8 %59 = add i64 %arg1, 192 %60 = inttoptr i64 %59 to i64* store i64 0, i64* %60, align 8 %61 = add i64 %arg1, 200 %62 = inttoptr i64 %61 to i64* store i64 0, i64* %62, align 8 %63 = call i64 @FUNC(i64 %59, i64 4198804, i64 %arg1) %64 = call i64 @FUNC(i64 %61, i64 4198815, i64 %arg1) %65 = add i64 %arg1, 208 %66 = call i64 @FUNC(i64 %65, i64 8) %67 = add i64 %arg1, 216 %68 = inttoptr i64 %67 to i32* store i32 1, i32* %68, align 4 %69 = add i64 %arg1, 220 %70 = inttoptr i64 %69 to i32* store i32 0, i32* %70, align 4 %71 = add i64 %arg1, 224 %72 = inttoptr i64 %71 to i32* store i32 0, i32* %72, align 4 %73 = add i64 %arg1, 232 %74 = inttoptr i64 %73 to i32* store i32 0, i32* %74, align 4 %75 = add i64 %arg1, 236 %76 = inttoptr i64 %75 to i32* store i32 0, i32* %76, align 4 %77 = add i64 %arg1, 240 %78 = inttoptr i64 %77 to i64* store i64 0, i64* %78, align 8 %79 = add i64 %arg1, 248 %80 = inttoptr i64 %79 to i32* store i32 0, i32* %80, align 4 ret i64 %arg1 uselistorder i64 %57, { 1, 0 } uselistorder i64 %55, { 1, 0 } uselistorder i64 %53, { 1, 0 } uselistorder i64 (i64, i64, i64)* @setup_timer, { 1, 0 } uselistorder i32 (i32*)* @time, { 1, 0 } uselistorder i64 200, { 1, 0 } uselistorder i64 %arg1, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 34 } }
1
BinRealVul
red_channel_client_reset_send_data_7924
red_channel_client_reset_send_data
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i32 %rdi.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 40 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %0, i64 %5) %7 = add i64 %0, 48 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = load i32, i32* %3, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %0, i64 %10) %12 = add i64 %0, 8 %13 = add i64 %0, 60 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %0, 56 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, %15 store i32 %15, i32* %.reg2mem store i64 %12, i64* %rdi.0.reg2mem br i1 %19, label LBL_4, label LBL_1 LBL_1: %20 = sub i32 %18, %15 %21 = icmp eq i32 %20, 1 %22 = zext i1 %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = call i64 @FUNC(i64 %0) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_1.LBL_4_crit_edge, label LBL_3 LBL_2: %.pre = load i32, i32* %17, align 4 store i32 %.pre, i32* %.reg2mem store i64 %0, i64* %rdi.0.reg2mem br label LBL_4 LBL_3: %28 = load i32, i32* %14, align 4 store i32 %28, i32* %17, align 4 store i32 %28, i32* %.reg2mem store i64 %0, i64* %rdi.0.reg2mem br label LBL_4 LBL_4: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %.reload = load i32, i32* %.reg2mem %29 = add i32 %.reload, 1 store i32 %29, i32* %17, align 4 %30 = add i64 %0, 72 %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 store i32 %32, i32* %rax.0.in.reg2mem br i1 %34, label LBL_6, label LBL_5 LBL_5: %35 = add i64 %0, 64 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = icmp eq i64 %rdi.0.reload, %37 %39 = icmp eq i1 %38, false %40 = zext i1 %39 to i64 %41 = call i64 @FUNC(i64 %40) %42 = load i32, i32* %17, align 4 store i32 %42, i32* %rax.0.in.reg2mem br label LBL_6 LBL_6: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i32 %18, { 1, 0 } uselistorder i32* %17, { 2, 3, 1, 0, 4 } uselistorder i32 %15, { 2, 0, 1 } uselistorder i64 %0, { 3, 4, 0, 1, 2, 5, 6, 7, 8, 9, 10, 11, 12 } uselistorder i64 (i64)* @spice_assert, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
jsi_PstateAddVar_8370
jsi_PstateAddVar
define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %rdi.0.lcssa.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %.reg2mem23 = alloca i64 %.reg2mem21 = alloca i64 %.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 = sext i32 %3 to i64 %5 = mul i64 %4, 8 %6 = add i64 %5, %0 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC() store i64 %11, i64* %7, align 8 %.pre = load i32, i32* %2, align 4 %.pre9 = sext i32 %.pre to i64 %.pre10 = mul i64 %.pre9, 8 %.pre12 = add i64 %.pre10, %0 %.pre14 = inttoptr i64 %.pre12 to i64* %.pre20 = load i64, i64* %.pre14, align 8 store i64 %.pre20, i64* %.reg2mem br label LBL_2 LBL_2: %12 = ptrtoint i64* %arg2 to i64 %.reload = load i64, i64* %.reg2mem %13 = add i64 %.reload, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %.pre16 = ptrtoint i8* %arg3 to i64 store i64 0, i64* %.reg2mem21 store i64 %.reload, i64* %.reg2mem23 store i32 0, i32* %storemerge6.reg2mem store i64 %0, i64* %rdi.0.lcssa.reg2mem store i64 %.reload, i64* %.lcssa.reg2mem br i1 %16, label LBL_8, label LBL_3 LBL_3: %.reload24 = load i64, i64* %.reg2mem23 %.reload22 = load i64, i64* %.reg2mem21 %17 = inttoptr i64 %.reload24 to i64* %18 = load i64, i64* %17, align 8 %19 = mul i64 %.reload22, 8 %20 = add i64 %18, %19 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %.pre16, 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_7, label LBL_4 LBL_4: %27 = icmp eq i8* %arg3, null store i64 %.pre16, i64* %rax.0.reg2mem br i1 %27, label LBL_9, label LBL_5 LBL_5: %28 = add i64 %.pre16, 12 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 0 store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_9, label LBL_6 LBL_6: %32 = add i64 %.pre16, 16 %33 = inttoptr i64 %32 to i64* store i64 %12, i64* %33, align 8 %34 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %.pre16) store i64 0, i64* %33, align 8 store i64 %.pre16, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %35 = add i32 %storemerge6.reload, 1 %36 = load i32, i32* %2, align 4 %37 = sext i32 %36 to i64 %38 = mul i64 %37, 8 %39 = add i64 %38, %.pre16 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = add i64 %41, 8 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = zext i32 %44 to i64 %46 = sext i32 %35 to i64 %47 = icmp slt i64 %46, %45 store i64 %46, i64* %.reg2mem21 store i64 %41, i64* %.reg2mem23 store i32 %35, i32* %storemerge6.reg2mem store i64 %.pre16, i64* %rdi.0.lcssa.reg2mem store i64 %41, i64* %.lcssa.reg2mem br i1 %47, label LBL_3, label LBL_8 LBL_8: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %48 = call i64 @FUNC(i64 %rdi.0.lcssa.reload, i64 %.lcssa.reload, i64 %.pre16, i64 0) store i64 %48, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.pre16, { 4, 2, 3, 0, 6, 7, 8, 1, 5 } uselistorder i32* %2, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem21, { 2, 0, 1 } uselistorder i64* %.reg2mem23, { 2, 0, 1 } uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i8* %arg3, { 1, 0 } uselistorder label LBL_9, { 3, 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
ireftype_box_dump_6004
ireftype_box_dump
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdx.0.in.lcssa.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = trunc i64 %3 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_1, label LBL_7 LBL_1: %8 = add i64 %arg1, 4 %9 = inttoptr i64 %8 to i32* %10 = icmp ne i32 %5, 1 %11 = icmp eq i32 %5, 2 %12 = icmp eq i1 %11, false %or.cond = icmp eq i1 %10, %12 %spec.store.select = select i1 %or.cond, i32 %5, i32 1969974903 store i32 %spec.store.select, i32* %9, align 4 %13 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) %14 = add i64 %arg1, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i32 %16, i64 %4, i64 %2, i64 %1) %18 = add i64 %arg1, 12 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 store i32 %16, i32* %rdx.0.in.lcssa.reg2mem br i1 %21, label LBL_4, label LBL_2 LBL_2: %22 = add i64 %arg1, 16 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %24 = load i64, i64* %23, align 8 %25 = mul i64 %indvars.iv.reload, 4 %26 = add i64 %24, %25 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i32 %28, i64 %4, i64 %2, i64 %1) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %30 = load i32, i32* %19, align 4 %31 = zext i32 %30 to i64 %32 = icmp ult i64 %indvars.iv.next, %31 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %28, i32* %rdx.0.in.lcssa.reg2mem br i1 %32, label LBL_3, label LBL_4 LBL_4: %33 = add i64 %arg1, 24 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false br i1 %37, label LBL_6, label LBL_5 LBL_5: %rdx.0.in.lcssa.reload = load i32, i32* %rdx.0.in.lcssa.reg2mem %38 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i32 %rdx.0.in.lcssa.reload, i64 %4, i64 %2, i64 %1) br label LBL_6 LBL_6: %39 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %arg2) store i32 3, i32* %9, align 4 br label LBL_7 LBL_7: ret i64 0 uselistorder i32* %19, { 1, 0 } uselistorder i32* %9, { 1, 0 } uselistorder i32 %5, { 3, 1, 2, 0 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @gf_fprintf, { 1, 2, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 %arg2, { 1, 0, 2, 3, 4 } uselistorder i64 %arg1, { 0, 2, 3, 1, 4, 5, 6 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
cil_build_ast_6318
cil_build_ast
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i64 %arg2, 0 %or.cond = or i1 %0, %1 %2 = icmp eq i64 %arg3, 0 %or.cond3 = or i1 %or.cond, %2 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %or.cond3, label LBL_2, label LBL_1 LBL_1: store i64 %arg3, i64* %sv_1, align 8 %3 = call i64 @FUNC(i64 %arg2, i64 4198757, i64 4198776, i64 4198795, i64* nonnull %sv_1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %sv_0.0.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_2, label LBL_3 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %7 = and i64 %sv_0.0.reload, 4294967295 store i64 %7, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0