dataset
stringclasses
1 value
file
stringlengths
7
51
fun_name
stringlengths
2
45
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
CompRealVul
ssh_pkt_getuint32_8331
ssh_pkt_getuint32
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = sub i64 %3, %6 %8 = icmp ult i64 %7, 4 store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = add i64 %6, %0 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = zext i8 %11 to i64 %13 = mul i64 %12, 16777216 %14 = add i64 %9, 1 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = zext i8 %16 to i64 %18 = mul i64 %17, 65536 %19 = or i64 %18, %13 %20 = add i64 %9, 2 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = zext i8 %22 to i64 %24 = mul i64 %23, 256 %25 = or i64 %19, %24 %26 = add i64 %9, 3 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = zext i8 %28 to i64 %30 = or i64 %25, %29 %31 = add i64 %6, 4 store i64 %31, i64* %5, align 8 store i64 %30, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
_tcf_ife_cleanup_17881
_tcf_ife_cleanup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge12.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 store i64 %1, i64* %storemerge12.reg2mem br i1 %2, label LBL_5, label LBL_3 LBL_1: %3 = call i64 @FUNC(i64 %19) br label LBL_2 LBL_2: %4 = call i64 @FUNC(i64 %storemerge12.reload) %5 = icmp eq i64 %7, 0 store i64 %7, i64* %storemerge12.reg2mem br i1 %5, label LBL_5, label LBL_3 LBL_3: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %6 = inttoptr i64 %storemerge12.reload to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %storemerge12.reload, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %storemerge12.reload, 24 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %storemerge12.reload, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_2, label LBL_4 LBL_4: %21 = load i64, i64* %9, align 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 br i1 %24, label LBL_1, label LBL_2 LBL_5: ret i64 0 uselistorder i64 %19, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %storemerge12.reload, { 2, 1, 4, 3, 0 } uselistorder i64* %storemerge12.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 0, 2, 1 } }
1
CompRealVul
do_sigreturn_v2_2449
do_sigreturn_v2
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 104 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = urem i64 %3, 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 0, i64 0, i64 %3, i64 1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %0, i64 %3, i64 0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 0, i64 %3, i64 0) br label LBL_5 LBL_4: %15 = call i64 @FUNC(i64 0, i64 %3, i64 0) %16 = call i64 @FUNC(i64 11) br label LBL_5 LBL_5: ret i64 0 uselistorder i64 %3, { 3, 1, 2, 4, 0 } uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 } uselistorder i64 1, { 1, 0 } }
0
CompRealVul
helper_slbie_171
helper_slbie
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1, i64 %arg2) %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = inttoptr i64 %2 to i32* %5 = load i32, i32* %4, align 4 %6 = urem i32 %5, 2 %7 = icmp eq i32 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = and i32 %5, -2 store i32 %8, i32* %4, align 4 store i32 1, i32* %arg1, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %5, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
0
CompRealVul
evhttp_maybe_add_content_length_header_5156
evhttp_maybe_add_content_length_header
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0)) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 %arg2) %8 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0) store i64 %8, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 (i64, i8*)* @evhttp_find_header, { 1, 0 } }
0
CompRealVul
cpu_ppc_set_papr_2860
cpu_ppc_set_papr
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, 2056 %2 = and i64 %0, -2 store i64 %2, i64* %arg1, align 8 %3 = inttoptr i64 %1 to i64* store i64 -1, i64* %3, align 8 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 -1, i64* %5, align 8 %6 = call i64 @FUNC() %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %0) store i64 %9, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 2, 3, 1 } }
0
CompRealVul
iwl_mvm_bt_coex_reduced_txp_5295
iwl_mvm_bt_coex_reduced_txp
define i64 @FUNC(i64* %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %3 = trunc i64 %arg2 to i8 store i64 1, i64* %sv_0, align 8 %4 = icmp eq i8 %3, 10 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_5 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 8 %8 = call i64 @FUNC(i64 %7) %9 = mul i64 %arg2, 8 %10 = and i64 %9, 2040 %11 = add i64 %10, %7 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = and i64 %8, 4294967295 %15 = call i64 @FUNC(i64 %13, i64 %14) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_2, label LBL_5 LBL_2: %18 = inttoptr i64 %15 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = icmp eq i8 %21, %arg3 %23 = icmp eq i1 %22, false store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_3, label LBL_5 LBL_3: %24 = call i64 @FUNC(i64 12, i64 1) %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %26, label LBL_4, label LBL_5 LBL_4: %sext = mul i64 %arg2, 72057594037927936 %27 = ashr exact i64 %sext, 56 %28 = inttoptr i64 %24 to i32* %29 = call i64 @FUNC(i64 1) %30 = trunc i64 %29 to i32 store i32 %30, i32* %28, align 4 %31 = call i64 @FUNC(i64 3) %32 = trunc i64 %31 to i32 %33 = add i64 %24, 4 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = trunc i64 %27 to i32 %36 = urem i32 %35, 256 %37 = add i64 %24, 8 %38 = inttoptr i64 %37 to i32* %39 = icmp eq i8 %arg3, 0 %40 = or i32 %36, 4 %spec.select = select i1 %39, i32 %36, i32 %40 store i32 %spec.select, i32* %38, align 4 %41 = urem i64 %27, 256 %. = select i1 %39, i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64 ptrtoint ([3 x i8]* @gv_1 to i64) %42 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %., i64 %41, i64 %2, i64 %1) store i8 %arg3, i8* %20, align 1 %43 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0) %44 = call i64 @FUNC(i64 %24) %45 = and i64 %43, 4294967295 store i64 %45, 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 i1 %39, { 1, 0 } uselistorder i32 %36, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @cpu_to_le32, { 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 1, { 2, 3, 1, 0 } uselistorder i8 %arg3, { 1, 2, 0 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_5, { 4, 0, 1, 2, 3 } }
0
CompRealVul
ga_concat_shorten_esc_5811
ga_concat_shorten_esc
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.in.reg2mem = alloca i8 %sv_0.0.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.01.reg2mem = alloca i32 %.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %4 = icmp eq i64 %arg2, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = inttoptr i64 %arg2 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false store i8 %7, i8* %.lcssa.in.reg2mem br i1 %9, label LBL_2, label LBL_12 LBL_2: %10 = bitcast i64* %sv_2 to i8* store i64 %arg2, i64* %storemerge3.reg2mem br label LBL_4 LBL_3: %11 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) store i64 %11, i64* %rax.0.reg2mem br label LBL_13 LBL_4: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem store i64 %storemerge3.reload, i64* %sv_3, align 8 %12 = call i64 @FUNC(i64* nonnull %sv_3) %13 = load i64, i64* %sv_3, align 8 %14 = sub i64 %13, %storemerge3.reload %15 = trunc i64 %14 to i32 %16 = inttoptr i64 %13 to i8* %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 0 br i1 %18, label LBL_10, label LBL_5 LBL_5: %19 = trunc i64 %12 to i32 %sext = mul i64 %14, 4294967296 %20 = ashr exact i64 %sext, 32 store i64 %13, i64* %.reg2mem store i32 1, i32* %sv_1.01.reg2mem br label LBL_7 LBL_6: %21 = add i32 %sv_1.01.reload, 1 %22 = load i64, i64* %sv_3, align 8 %23 = add i64 %22, %20 store i64 %23, i64* %sv_3, align 8 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = icmp eq i8 %25, 0 store i64 %23, i64* %.reg2mem store i32 %21, i32* %sv_1.01.reg2mem store i32 %21, i32* %sv_1.0.lcssa.reg2mem br i1 %26, label LBL_8, label LBL_7 LBL_7: %sv_1.01.reload = load i32, i32* %sv_1.01.reg2mem %.reload = load i64, i64* %.reg2mem %27 = call i64 @FUNC(i64 %.reload) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %19, %28 store i32 %sv_1.01.reload, i32* %sv_1.0.lcssa.reg2mem br i1 %29, label LBL_6, label LBL_8 LBL_8: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %30 = icmp slt i32 %sv_1.0.lcssa.reload, 21 br i1 %30, label LBL_10, label LBL_9 LBL_9: %31 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %32 = call i64 @FUNC(i64 %3, i64 %storemerge3.reload, i32 %15) %33 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) %34 = zext i32 %sv_1.0.lcssa.reload to i64 %35 = call i64 @FUNC(i64* nonnull %sv_2, i64 100, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64 %34, i64 %2, i64 %1) %36 = call i64 @FUNC(i64 %3, i8* nonnull %10) %37 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0)) %38 = load i64, i64* %sv_3, align 8 %39 = add i64 %38, -1 store i64 %39, i64* %sv_0.0.reg2mem br label LBL_11 LBL_10: %40 = call i64 @FUNC(i64 %3, i64 %storemerge3.reload, i32 %15) store i64 %storemerge3.reload, i64* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %41 = add i64 %sv_0.0.reload, 1 %42 = inttoptr i64 %41 to i8* %43 = load i8, i8* %42, align 1 %44 = icmp eq i8 %43, 0 %45 = icmp eq i1 %44, false store i64 %41, i64* %storemerge3.reg2mem store i8 %43, i8* %.lcssa.in.reg2mem br i1 %45, label LBL_4, label LBL_12 LBL_12: %.lcssa.in.reload = load i8, i8* %.lcssa.in.reg2mem %.lcssa = zext i8 %.lcssa.in.reload to i64 store i64 %.lcssa, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_1.0.lcssa.reload, { 1, 0 } uselistorder i32 %15, { 1, 0 } uselistorder i64 %storemerge3.reload, { 0, 2, 1, 4, 3 } uselistorder i64* %sv_3, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64 %3, { 6, 2, 1, 5, 4, 3, 0 } uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i32)* @ga_concat_esc, { 1, 0 } uselistorder i64 (i64, i8*)* @ga_concat, { 4, 3, 2, 1, 0 } uselistorder i8 0, { 3, 2, 1, 0, 4 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
sinf_dump_9856
sinf_dump
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) %2 = inttoptr i64 %arg2 to %_IO_FILE* %3 = call i32 @fwrite(i64* bitcast ([3 x i8]* @gv_1 to i64*), i32 1, i32 2, %_IO_FILE* %2) %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6, i64 %arg2, i64 1) %8 = icmp eq i64 %6, 0 br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 %arg2, i64 2) %13 = icmp eq i64 %11, 0 br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16, i64 %arg2, i64 3) br label LBL_3 LBL_3: %18 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %arg2) ret i64 0 uselistorder i64 %0, { 2, 1, 0, 3, 4 } uselistorder i64 (i64, i64, i64)* @gf_isom_box_dump_ex, { 2, 1, 0 } uselistorder i64 %arg2, { 2, 1, 0, 3, 4, 5 } uselistorder label LBL_3, { 1, 2, 0 } }
0
CompRealVul
grackle_pci_class_init_2174
grackle_pci_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 4183, i32* %2, align 4 %3 = add i64 %0, 12 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i8* store i8 0, i8* %6, align 1 %7 = add i64 %0, 20 %8 = inttoptr i64 %7 to i32* store i32 394240, i32* %8, align 4 %9 = bitcast i64* %arg1 to i8* store i8 1, i8* %9, align 1 ret i64 %0 }
0
CompRealVul
SRXAFSCB_Probe_3952
SRXAFSCB_Probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 4202512) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %4 uselistorder i64 %0, { 1, 0 } }
0
CompRealVul
printMP3Headers_7861
printMP3Headers
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i32 %.pn.in.reg2mem = alloca i64 %sv_3.125.reg2mem = alloca i32 %sv_1.126.reg2mem = alloca i32 %spec.select28.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %sv_3.1.ph.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %sv_5.0.reg2mem = alloca i32 %sv_6.144.reg2mem = alloca i32 %storemerge1845.reg2mem = alloca i32 %sv_6.022.reg2mem = alloca i32 %sv_2.046.reg2mem = alloca i32 %sv_3.048.reg2mem = alloca i32 %sv_1.049.reg2mem = alloca i32 %sv_0.051.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_7 = alloca i64, align 8 %0 = inttoptr i64 %arg1 to %_IO_FILE* %1 = call i32 @fgetc(%_IO_FILE* %0) %2 = icmp eq i32 %1, -1 br i1 %2, label LBL_33, label LBL_1 LBL_1: %3 = ptrtoint i64* %sv_7 to i64 %4 = add i64 %3, -16 %5 = inttoptr i64 %4 to i64* %6 = add i64 %3, -24 %7 = inttoptr i64 %6 to i64* %8 = add i64 %3, -32 %9 = inttoptr i64 %8 to i64* store i32 %1, i32* %.reg2mem store i32 0, i32* %sv_0.051.reg2mem store i32 0, i32* %sv_1.049.reg2mem store i32 0, i32* %sv_3.048.reg2mem store i32 0, i32* %sv_2.046.reg2mem br label LBL_2 LBL_2: %sv_2.046.reload = load i32, i32* %sv_2.046.reg2mem %sv_3.048.reload = load i32, i32* %sv_3.048.reg2mem %sv_1.049.reload = load i32, i32* %sv_1.049.reg2mem %sv_0.051.reload = load i32, i32* %sv_0.051.reg2mem %.reload = load i32, i32* %.reg2mem %10 = icmp eq i32 %.reload, 73 %11 = icmp eq i1 %10, false store i32 %.reload, i32* %sv_6.022.reg2mem br i1 %11, label LBL_7, label LBL_3 LBL_3: %12 = call i32 @fgetc(%_IO_FILE* %0) %13 = icmp eq i32 %12, 68 %14 = icmp eq i1 %13, false store i32 %.reload, i32* %sv_6.022.reg2mem br i1 %14, label LBL_7, label LBL_4 LBL_4: %15 = call i32 @fgetc(%_IO_FILE* %0) %16 = icmp eq i32 %15, 51 %17 = icmp eq i1 %16, false store i32 %.reload, i32* %sv_6.022.reg2mem br i1 %17, label LBL_7, label LBL_5 LBL_5: %18 = call i32 @fgetc(%_IO_FILE* %0) %19 = icmp ne i32 %18, 255 %20 = icmp eq i32 %18, -1 %21 = icmp eq i1 %20, false %or.cond = icmp eq i1 %19, %21 br i1 %or.cond, label LBL_5, label LBL_6 LBL_6: store i32 %18, i32* %sv_6.022.reg2mem store i32 %sv_2.046.reload, i32* %sv_2.0.lcssa.reg2mem store i32 %sv_1.049.reload, i32* %sv_1.0.lcssa.reg2mem store i32 %sv_0.051.reload, i32* %sv_0.0.lcssa.reg2mem br i1 %20, label LBL_32, label LBL_7 LBL_7: %sv_6.022.reload = load i32, i32* %sv_6.022.reg2mem %22 = mul i32 %sv_6.022.reload, 16777216 store i32 2, i32* %storemerge1845.reg2mem store i32 %22, i32* %sv_6.144.reg2mem br label LBL_8 LBL_8: %23 = call i32 @fgetc(%_IO_FILE* %0) %24 = icmp eq i32 %23, -1 %25 = icmp eq i1 %24, false br i1 %25, label LBL_10, label LBL_9 LBL_9: %26 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_10: %sv_6.144.reload = load i32, i32* %sv_6.144.reg2mem %storemerge1845.reload = load i32, i32* %storemerge1845.reg2mem %27 = mul i32 %storemerge1845.reload, 8 %28 = and i32 %27, 24 %29 = shl i32 %23, %28 %30 = add i32 %29, %sv_6.144.reload %31 = add nsw i32 %storemerge1845.reload, -1 %32 = icmp eq i32 %storemerge1845.reload, 0 %33 = icmp eq i1 %32, false store i32 %31, i32* %storemerge1845.reg2mem store i32 %30, i32* %sv_6.144.reg2mem br i1 %33, label LBL_8, label LBL_11 LBL_11: %34 = icmp ugt i32 %30, -2097153 %35 = icmp eq i1 %34, false store i32 %sv_2.046.reload, i32* %sv_2.0.lcssa.reg2mem store i32 %sv_1.049.reload, i32* %sv_1.0.lcssa.reg2mem store i32 %sv_0.051.reload, i32* %sv_0.0.lcssa.reg2mem br i1 %35, label LBL_32, label LBL_12 LBL_12: %36 = and i32 %30, 3072 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_14, label LBL_13 LBL_13: %38 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0)) unreachable LBL_14: %39 = and i32 %30, 48 store i32 2, i32* %sv_5.0.reg2mem switch i32 %39, label LBL_15 [ i32 48, label LBL_16 i32 16, label LBL_18 ] LBL_15: %40 = icmp eq i32 %39, 32 %41 = icmp eq i1 %40, false store i32 1, i32* %sv_5.0.reg2mem br i1 %41, label LBL_17, label LBL_18 LBL_16: store i32 25, i32* %sv_5.0.reg2mem br label LBL_18 LBL_17: %42 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) unreachable LBL_18: %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem %43 = and i32 %30, 6 store i32 1, i32* %sv_4.0.reg2mem switch i32 %43, label LBL_21 [ i32 6, label LBL_20 i32 2, label LBL_22 i32 4, label LBL_19 ] LBL_19: store i32 2, i32* %sv_4.0.reg2mem br label LBL_22 LBL_20: store i32 3, i32* %sv_4.0.reg2mem br label LBL_22 LBL_21: %44 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0)) unreachable LBL_22: %45 = udiv i32 %30, 16 %46 = urem i32 %45, 16 %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %47 = icmp eq i32 %sv_5.0.reload, 1 %48 = icmp eq i1 %47, false br i1 %48, label LBL_29, label LBL_23 LBL_23: %49 = load i32, i32* bitcast (i32** @gv_4 to i32*), align 8 %50 = icmp eq i32 %sv_4.0.reload, 1 %51 = icmp eq i1 %50, false br i1 %51, label LBL_25, label LBL_24 LBL_24: %52 = mul i32 %46, 4 %sext = zext i32 %52 to i64 %53 = add i64 %sext, ptrtoint (i32** @gv_5 to i64) %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 store i32 %55, i32* %sv_3.1.ph.reg2mem br label LBL_30 LBL_25: %56 = icmp eq i32 %sv_4.0.reload, 2 %57 = icmp eq i1 %56, false br i1 %57, label LBL_27, label LBL_26 LBL_26: %58 = mul i32 %46, 4 %sext6 = zext i32 %58 to i64 %59 = add i64 %sext6, ptrtoint (i32** @gv_6 to i64) %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 store i32 %61, i32* %sv_3.1.ph.reg2mem br label LBL_30 LBL_27: %62 = icmp eq i32 %sv_4.0.reload, 3 %63 = icmp eq i1 %62, false store i32 %sv_3.048.reload, i32* %sv_3.1.ph.reg2mem br i1 %63, label LBL_30, label LBL_28 LBL_28: %64 = mul i32 %46, 4 %sext7 = zext i32 %64 to i64 %65 = add i64 %sext7, ptrtoint (i32** @gv_7 to i64) %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 store i32 %67, i32* %sv_3.1.ph.reg2mem br label LBL_30 LBL_29: %68 = icmp eq i32 %sv_5.0.reload, 2 %69 = icmp eq i1 %68, false %storemerge10.in = select i1 %69, i32* bitcast (i32** @gv_8 to i32*), i32* bitcast ([3 x i8]* @gv_9 to i32*) %storemerge10 = load i32, i32* %storemerge10.in, align 4 %70 = icmp eq i32 %sv_4.0.reload, 1 %71 = icmp eq i1 %70, false %72 = mul i32 %46, 4 %sext9 = zext i32 %72 to i64 %sv_3.1.in.in.v = select i1 %71, i64 ptrtoint (i32** @gv_10 to i64), i64 ptrtoint (i32** @gv_11 to i64) %sv_3.1.in.in = add i64 %sv_3.1.in.in.v, %sext9 %sv_3.1.in = inttoptr i64 %sv_3.1.in.in to i32* %sv_3.1 = load i32, i32* %sv_3.1.in, align 4 %73 = udiv i32 %30, 2 %74 = urem i32 %73, 2 %75 = mul i32 %74, 4 %spec.select = select i1 %71, i32 %74, i32 %75 %76 = mul i32 %sv_3.1, 72000 %77 = ashr i32 %76, 31 %78 = zext i32 %76 to i64 %79 = zext i32 %77 to i64 %80 = mul i64 %79, 4294967296 %81 = or i64 %80, %78 %82 = zext i32 %storemerge10 to i64 %83 = sdiv i64 %81, %82 store i64 %82, i64* %.pre-phi.reg2mem store i32 %spec.select, i32* %spec.select28.reg2mem store i32 %storemerge10, i32* %sv_1.126.reg2mem store i32 %sv_3.1, i32* %sv_3.125.reg2mem store i64 %83, i64* %.pn.in.reg2mem br label LBL_31 LBL_30: %sv_3.1.ph.reload = load i32, i32* %sv_3.1.ph.reg2mem %84 = udiv i32 %30, 2 %85 = urem i32 %84, 2 %86 = mul i32 %85, 4 %spec.select23 = select i1 %51, i32 %85, i32 %86 %87 = mul i32 %sv_3.1.ph.reload, 144000 %88 = ashr i32 %87, 31 %89 = zext i32 %87 to i64 %90 = zext i32 %88 to i64 %91 = mul i64 %90, 4294967296 %92 = or i64 %91, %89 %93 = zext i32 %49 to i64 %94 = sdiv i64 %92, %93 store i64 %93, i64* %.pre-phi.reg2mem store i32 %spec.select23, i32* %spec.select28.reg2mem store i32 %49, i32* %sv_1.126.reg2mem store i32 %sv_3.1.ph.reload, i32* %sv_3.125.reg2mem store i64 %94, i64* %.pn.in.reg2mem br label LBL_31 LBL_31: %95 = add i32 %sv_2.046.reload, 1 %96 = zext i32 %46 to i64 %97 = inttoptr i64 %96 to i8* %98 = and i32 %30, 192 %99 = icmp eq i32 %98, 0 %100 = icmp eq i1 %99, false %101 = select i1 %100, i8* inttoptr (i64 2 to i8*), i8* inttoptr (i64 1 to i8*) %102 = add i32 %sv_3.048.reload, %sv_0.051.reload %.pn.in.reload = load i64, i64* %.pn.in.reg2mem %sv_3.125.reload = load i32, i32* %sv_3.125.reg2mem %sv_1.126.reload = load i32, i32* %sv_1.126.reg2mem %spec.select28.reload = load i32, i32* %spec.select28.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pn = trunc i64 %.pn.in.reload to i32 %storemerge5 = add i32 %spec.select28.reload, %.pn %103 = urem i32 %30, 2 %104 = icmp eq i32 %103, 0 %.19 = select i1 %104, i64 ptrtoint ([4 x i8]* @gv_12 to i64), i64 ptrtoint ([3 x i8]* @gv_13 to i64) %105 = icmp eq i1 %100, false %storemerge = select i1 %105, i64 ptrtoint ([5 x i8]* @gv_14 to i64), i64 ptrtoint ([7 x i8]* @gv_15 to i64) %106 = zext i32 %sv_4.0.reload to i64 %107 = zext i32 %sv_5.0.reload to i64 store i64 %.19, i64* %5, align 8 %108 = zext i32 %storemerge5 to i64 store i64 %108, i64* %7, align 8 store i64 %storemerge, i64* %9, align 8 %109 = zext i32 %sv_3.125.reload to i64 %110 = zext i32 %95 to i64 %111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_16, i64 0, i64 0), i64 %110, i64 %107, i64 %106, i64 %.pre-phi.reload, i64 %109, i8* %101, i64 0, i8* %97) %112 = add i32 %storemerge5, -4 %113 = zext i32 %112 to i64 %114 = call i64 @FUNC(i64 %arg1, i64 %113) %115 = call i32 @fgetc(%_IO_FILE* %0) %116 = icmp eq i32 %115, -1 store i32 %115, i32* %.reg2mem store i32 %102, i32* %sv_0.051.reg2mem store i32 %sv_1.126.reload, i32* %sv_1.049.reg2mem store i32 %sv_3.125.reload, i32* %sv_3.048.reg2mem store i32 %95, i32* %sv_2.046.reg2mem store i32 %95, i32* %sv_2.0.lcssa.reg2mem store i32 %sv_1.126.reload, i32* %sv_1.0.lcssa.reg2mem store i32 %102, i32* %sv_0.0.lcssa.reg2mem br i1 %116, label LBL_32, label LBL_2 LBL_32: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %117 = icmp eq i32 %sv_2.0.lcssa.reload, 0 %118 = icmp eq i1 %117, false br i1 %118, label LBL_34, label LBL_33 LBL_33: %119 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_17, i64 0, i64 0)) unreachable LBL_34: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %120 = call i32 @putchar(i32 10) %121 = icmp slt i32 %sv_1.0.lcssa.reload, 3201 %122 = select i1 %121, i32 576, i32 1152 %123 = mul i32 %122, %sv_2.0.lcssa.reload %124 = ashr i32 %123, 31 %125 = zext i32 %123 to i64 %126 = zext i32 %124 to i64 %127 = mul i64 %126, 4294967296 %128 = or i64 %127, %125 %129 = zext i32 %sv_1.0.lcssa.reload to i64 %130 = sdiv i64 %128, %129 %131 = zext i32 %sv_2.0.lcssa.reload to i64 %132 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_18, i64 0, i64 0), i64 %131) %133 = ashr i32 %sv_0.0.lcssa.reload, 31 %134 = zext i32 %sv_0.0.lcssa.reload to i64 %135 = zext i32 %133 to i64 %136 = mul i64 %135, 4294967296 %137 = or i64 %136, %134 %138 = sdiv i64 %137, %131 %139 = and i64 %138, 4294967295 %140 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_19, i64 0, i64 0), i64 %139) %sext13 = mul i64 %130, 4294967296 %141 = ashr exact i64 %sext13, 32 %narrow = mul nsw i64 %141, -2004318071 %142 = udiv i64 %narrow, 4294967296 %143 = trunc i64 %142 to i32 %144 = trunc i64 %130 to i32 %145 = add i32 %143, %144 %146 = ashr i32 %145, 5 %147 = ashr i32 %144, 31 %148 = sub nsw i32 %146, %147 %149 = mul i32 %148, -60 %150 = add i32 %149, %144 %151 = zext i32 %150 to i64 %152 = zext i32 %148 to i64 %153 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_20, i64 0, i64 0), i64 %152, i64 %151) %154 = sext i32 %153 to i64 ret i64 %154 uselistorder i32 %144, { 0, 2, 1 } uselistorder i64 %130, { 1, 0 } uselistorder i32 %sv_0.0.lcssa.reload, { 1, 0 } uselistorder i32 %sv_2.0.lcssa.reload, { 1, 2, 0 } uselistorder i32 %storemerge5, { 1, 0 } uselistorder i32 %sv_3.125.reload, { 1, 0 } uselistorder i32 %85, { 1, 0 } uselistorder i32 %74, { 1, 0 } uselistorder i32 %sv_4.0.reload, { 1, 0, 2, 3, 4 } uselistorder i32 %46, { 4, 0, 1, 2, 3 } uselistorder i32 %sv_5.0.reload, { 2, 0, 1 } uselistorder i32 %39, { 1, 0 } uselistorder i32 %30, { 1, 8, 2, 3, 4, 6, 7, 5, 9, 0 } uselistorder i32 %storemerge1845.reload, { 1, 0, 2 } uselistorder i32 %sv_0.051.reload, { 2, 1, 0 } uselistorder i32 %sv_1.049.reload, { 1, 0 } uselistorder i32 %sv_3.048.reload, { 1, 0 } uselistorder i32 %sv_2.046.reload, { 2, 1, 0 } uselistorder %_IO_FILE* %0, { 5, 4, 1, 2, 3, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.051.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.049.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.048.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.046.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_6.022.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32* %storemerge1845.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_6.144.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_5.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_4.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_3.1.ph.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i32* %sv_2.0.lcssa.reg2mem, { 0, 1, 3, 2 } uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 1, 3, 2 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 1, 3, 2 } uselistorder i32 (i8*, ...)* @printf, { 1, 2, 0, 3 } uselistorder i64 4294967296, { 5, 0, 1, 2, 3, 4 } uselistorder i32 31, { 0, 1, 2, 4, 3 } uselistorder i32 3, { 1, 0 } uselistorder i32 16, { 1, 0, 2 } uselistorder i64 (i8*)* @error, { 4, 3, 2, 0, 1 } uselistorder i32 2, { 3, 5, 4, 7, 6, 9, 10, 0, 8, 1, 2 } uselistorder i32 0, { 8, 6, 7, 5, 4, 0, 1, 2, 3 } uselistorder i32 -1, { 4, 2, 3, 1, 0 } uselistorder i32 (%_IO_FILE*)* @fgetc, { 2, 4, 3, 5, 1, 0 } uselistorder label LBL_33, { 1, 0 } uselistorder label LBL_32, { 0, 2, 1 } uselistorder label LBL_31, { 1, 0 } uselistorder label LBL_22, { 1, 2, 0 } uselistorder label LBL_18, { 2, 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 3, 0, 1, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
mpeg_decode_picture_coding_extension_16607
mpeg_decode_picture_coding_extension
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 1 %2 = inttoptr i64 %1 to i8* store i8 0, i8* %2, align 1 %3 = bitcast i64* %arg1 to i8* store i8 0, i8* %3, align 1 %4 = add i64 %0, 20 %5 = call i64 @FUNC(i64 %4, i64 4) %6 = trunc i64 %5 to i8 %7 = add i64 %0, 2 %8 = inttoptr i64 %7 to i8* store i8 %6, i8* %8, align 1 %9 = call i64 @FUNC(i64 %4, i64 4) %10 = trunc i64 %9 to i8 %11 = add i64 %0, 3 %12 = inttoptr i64 %11 to i8* store i8 %10, i8* %12, align 1 %13 = call i64 @FUNC(i64 %4, i64 4) %14 = trunc i64 %13 to i8 %15 = add i64 %0, 4 %16 = inttoptr i64 %15 to i8* store i8 %14, i8* %16, align 1 %17 = call i64 @FUNC(i64 %4, i64 4) %18 = trunc i64 %17 to i8 %19 = add i64 %0, 5 %20 = inttoptr i64 %19 to i8* store i8 %18, i8* %20, align 1 %21 = call i64 @FUNC(i64 %4, i64 2) %22 = trunc i64 %21 to i8 %23 = add i64 %0, 6 %24 = inttoptr i64 %23 to i8* store i8 %22, i8* %24, align 1 %25 = call i64 @FUNC(i64 %4, i64 2) %26 = trunc i64 %25 to i8 %27 = add i64 %0, 7 %28 = inttoptr i64 %27 to i8* store i8 %26, i8* %28, align 1 %29 = call i64 @FUNC(i64 %4) %30 = trunc i64 %29 to i8 %31 = add i64 %0, 8 %32 = inttoptr i64 %31 to i8* store i8 %30, i8* %32, align 1 %33 = call i64 @FUNC(i64 %4) %34 = trunc i64 %33 to i8 %35 = add i64 %0, 9 %36 = inttoptr i64 %35 to i8* store i8 %34, i8* %36, align 1 %37 = call i64 @FUNC(i64 %4) %38 = trunc i64 %37 to i8 %39 = add i64 %0, 10 %40 = inttoptr i64 %39 to i8* store i8 %38, i8* %40, align 1 %41 = call i64 @FUNC(i64 %4) %42 = trunc i64 %41 to i8 %43 = add i64 %0, 11 %44 = inttoptr i64 %43 to i8* store i8 %42, i8* %44, align 1 %45 = call i64 @FUNC(i64 %4) %46 = trunc i64 %45 to i8 %47 = add i64 %0, 12 %48 = inttoptr i64 %47 to i8* store i8 %46, i8* %48, align 1 %49 = call i64 @FUNC(i64 %4) %50 = trunc i64 %49 to i8 %51 = add i64 %0, 13 %52 = inttoptr i64 %51 to i8* store i8 %50, i8* %52, align 1 %53 = call i64 @FUNC(i64 %4) %54 = trunc i64 %53 to i8 %55 = add i64 %0, 14 %56 = inttoptr i64 %55 to i8* store i8 %54, i8* %56, align 1 %57 = call i64 @FUNC(i64 %4) %58 = trunc i64 %57 to i8 %59 = add i64 %0, 15 %60 = inttoptr i64 %59 to i8* store i8 %58, i8* %60, align 1 %61 = call i64 @FUNC(i64 %4) %62 = trunc i64 %61 to i8 %63 = add i64 %0, 16 %64 = inttoptr i64 %63 to i8* store i8 %62, i8* %64, align 1 %65 = load i8, i8* %24, align 1 %66 = zext i8 %65 to i64 %67 = inttoptr i64 %66 to i8* %68 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_0 to i32), i8* %67, i64 %66) %69 = load i8, i8* %28, align 1 %70 = zext i8 %69 to i64 %71 = inttoptr i64 %70 to i8* %72 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_1 to i32), i8* %71, i64 %70) %73 = load i8, i8* %40, align 1 %74 = zext i8 %73 to i64 %75 = inttoptr i64 %74 to i8* %76 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_2 to i32), i8* %75, i64 %74) %77 = load i8, i8* %48, align 1 %78 = zext i8 %77 to i64 %79 = inttoptr i64 %78 to i8* %80 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_3 to i32), i8* %79, i64 %78) %81 = load i8, i8* %52, align 1 %82 = zext i8 %81 to i64 %83 = inttoptr i64 %82 to i8* %84 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_4 to i32), i8* %83, i64 %82) %85 = load i8, i8* %36, align 1 %86 = zext i8 %85 to i64 %87 = inttoptr i64 %86 to i8* %88 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_5 to i32), i8* %87, i64 %86) %89 = sext i32 %88 to i64 ret i64 %89 uselistorder i64 %86, { 1, 0 } uselistorder i64 %82, { 1, 0 } uselistorder i64 %78, { 1, 0 } uselistorder i64 %74, { 1, 0 } uselistorder i64 %70, { 1, 0 } uselistorder i64 %66, { 1, 0 } uselistorder i32 (i32, i8*, ...)* @dprintf, { 4, 5, 3, 2, 1, 0 } uselistorder i64 (i64)* @get_bits1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4, { 0, 4, 1, 2, 3 } uselistorder i64 1, { 1, 0 } }
1
CompRealVul
test_parse_path_16997
test_parse_path
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0) %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 4202543) %3 = call i64 @FUNC(i64* nonnull @gv_1) ret i64 %3 }
1
CompRealVul
sctp_for_each_transport_9823
sctp_for_each_transport
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i32* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i64 %storemerge4.lcssa.reg2mem = alloca i32 %storemerge412.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %2 = bitcast i32* %sv_0 to i64* %3 = call i64 @FUNC(i64* nonnull %2) %4 = trunc i64 %3 to i32 store i32 %4, i32* %sv_0, align 4 %5 = icmp eq i32 %4, 0 store i32 %4, i32* %storemerge.in.reg2mem br i1 %5, label LBL_1, label LBL_11 LBL_1: %6 = ptrtoint i64* %arg3 to i64 %7 = trunc i64 %1 to i32 %8 = add i32 %7, 1 %9 = zext i32 %8 to i64 %10 = icmp eq i64 %arg2, 0 br label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %6, i64* nonnull %2, i64 %9) %storemerge410 = trunc i64 %11 to i32 %sext11 = mul i64 %11, 4294967296 %12 = ashr exact i64 %sext11, 32 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 store i64 %12, i64* %.reg2mem store i32 %storemerge410, i32* %storemerge412.reg2mem store i32 %storemerge410, i32* %storemerge4.lcssa.reg2mem store i64 %12, i64* %.lcssa.reg2mem br i1 %15, label LBL_3, label LBL_7 LBL_3: %.reload = load i64, i64* %.reg2mem %16 = call i64 @FUNC(i64 %.reload) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_6, label LBL_4 LBL_4: %storemerge412.reload = load i32, i32* %storemerge412.reg2mem store i32 %storemerge412.reload, i32* %sv_0, align 4 %19 = icmp eq i32 %storemerge412.reload, 0 %20 = icmp eq i1 %19, false store i32 %storemerge412.reload, i32* %storemerge4.lcssa.reg2mem store i64 %.reload, i64* %.lcssa.reg2mem br i1 %20, label LBL_7, label LBL_5 LBL_5: store i32 %8, i32* %arg4, align 4 %21 = call i64 @FUNC(i64 %.reload) br label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %6, i64* nonnull %2) %storemerge4 = trunc i64 %22 to i32 %sext = mul i64 %22, 4294967296 %23 = ashr exact i64 %sext, 32 %24 = call i64 @FUNC(i64 %23) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 store i64 %23, i64* %.reg2mem store i32 %storemerge4, i32* %storemerge412.reg2mem store i32 %storemerge4, i32* %storemerge4.lcssa.reg2mem store i64 %23, i64* %.lcssa.reg2mem br i1 %26, label LBL_3, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64* nonnull %2) %28 = load i32, i32* %sv_0, align 4 %29 = icmp eq i32 %28, 0 store i32 0, i32* %storemerge.in.reg2mem br i1 %29, label LBL_11, label LBL_8 LBL_8: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem %30 = icmp eq i32 %storemerge4.lcssa.reload, 0 %31 = icmp eq i1 %30, false %or.cond = or i1 %10, %31 br i1 %or.cond, label LBL_10, label LBL_9 LBL_9: store i32 %8, i32* %arg4, align 4 %32 = call i64 @FUNC(i64 %.lcssa.reload) %33 = call i64 @FUNC(i64* nonnull %2) %34 = trunc i64 %33 to i32 store i32 %34, i32* %sv_0, align 4 %35 = icmp eq i32 %34, 0 store i32 %34, i32* %storemerge.in.reg2mem br i1 %35, label LBL_2, label LBL_11 LBL_10: %36 = call i64 @FUNC(i64 %.lcssa.reload) %storemerge.in.pre = load i32, i32* %sv_0, align 4 store i32 %storemerge.in.pre, i32* %storemerge.in.reg2mem br label LBL_11 LBL_11: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = zext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i64 %.lcssa.reload, { 1, 0 } uselistorder i32 %storemerge412.reload, { 0, 2, 1 } uselistorder i64 %.reload, { 1, 0, 2 } uselistorder i64* %2, { 4, 1, 2, 3, 0 } uselistorder i32* %sv_0, { 0, 2, 4, 3, 1, 5 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge412.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge.in.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64)* @sctp_transport_put, { 2, 1, 0 } uselistorder i64 (i64)* @IS_ERR_OR_NULL, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64*)* @sctp_transport_walk_start, { 1, 0 } uselistorder i32* %arg4, { 1, 0 } uselistorder label LBL_11, { 3, 1, 0, 2 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
netlink_getsockbyportid_9116
netlink_getsockbyportid
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 %3 = call i64 @FUNC(i64 %2) %4 = and i64 %arg2, 4294967295 %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %3, i64 %5, i64 %4) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 -111, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_4 LBL_1: %9 = call i64 @FUNC(i64 %6) %10 = add i64 %6, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 1 %14 = icmp eq i1 %13, false store i64 %6, i64* %rax.0.reg2mem br i1 %14, label LBL_4, label LBL_2 LBL_2: %15 = inttoptr i64 %9 to i32* %16 = load i32, i32* %15, align 4 %17 = call i64 @FUNC(i64 %2) %18 = add i64 %17, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %16, %20 store i64 %6, i64* %rax.0.reg2mem br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %6) store i64 -111, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 2, 1, 0, 4, 3, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 (i64)* @nlk_sk, { 1, 0 } uselistorder label LBL_4, { 3, 1, 0, 2 } }
0
CompRealVul
ff_mpegts_parse_close_3537
ff_mpegts_parse_close
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1) ret i64 %1 }
0
CompRealVul
anon_vma_clone_5987
anon_vma_clone
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_0.15.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %0, 8 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %sv_0.1.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_9 LBL_1: %5 = icmp eq i64* %arg1, null %6 = icmp eq i1 %5, false store i64 %2, i64* %storemerge6.reg2mem store i64 0, i64* %sv_0.15.reg2mem br label LBL_2 LBL_2: %sv_0.15.reload = load i64, i64* %sv_0.15.reg2mem %storemerge6.reload = load i64, i64* %storemerge6.reg2mem %7 = call i64 @FUNC(i64 0) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 %sv_0.15.reload, i64* %sv_0.0.reg2mem store i64 %7, i64* %sv_1.0.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %sv_0.15.reload) %11 = call i64 @FUNC(i64 1) %12 = icmp eq i64 %11, 0 store i64 0, i64* %sv_0.0.reg2mem store i64 %11, i64* %sv_1.0.reg2mem br i1 %12, label LBL_12, label LBL_4 LBL_4: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %13 = inttoptr i64 %storemerge6.reload to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %14) %16 = call i64 @FUNC(i64 %1, i64 %sv_1.0.reload, i64 %14) %17 = icmp eq i64 %sv_1.0.reload, 0 %or.cond = or i1 %6, %17 br i1 %or.cond, label LBL_8, label LBL_5 LBL_5: %18 = inttoptr i64 %14 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp sgt i32 %19, 1 br i1 %20, label LBL_8, label LBL_6 LBL_6: %21 = add i64 %14, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_8, label LBL_7 LBL_7: store i64 %14, i64* %arg1, align 8 br label LBL_8 LBL_8: %26 = add i64 %storemerge6.reload, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 %30 = icmp eq i1 %29, false store i64 %28, i64* %storemerge6.reg2mem store i64 %15, i64* %sv_0.15.reg2mem store i64 %15, i64* %sv_0.1.lcssa.reg2mem br i1 %30, label LBL_2, label LBL_9 LBL_9: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %31 = icmp eq i64* %arg1, null br i1 %31, label LBL_11, label LBL_10 LBL_10: %32 = add i64 %1, 4 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i32 %34, 1 store i32 %35, i32* %33, align 4 br label LBL_11 LBL_11: %36 = call i64 @FUNC(i64 %sv_0.1.lcssa.reload) store i64 0, i64* %storemerge2.reg2mem br label LBL_13 LBL_12: store i64 0, i64* %arg1, align 8 %37 = call i64 @FUNC(i64 %1) store i64 4294967284, i64* %storemerge2.reg2mem br label LBL_13 LBL_13: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem ret i64 %storemerge2.reload uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %sv_0.15.reload, { 1, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.15.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64 4, { 1, 0 } uselistorder i64 (i64)* @unlock_anon_vma_root, { 1, 0 } uselistorder i64 (i64)* @anon_vma_chain_alloc, { 1, 0 } uselistorder i64* null, { 1, 0, 2 } uselistorder i1 false, { 4, 2, 1, 3, 0 } uselistorder i64* %arg1, { 0, 3, 1, 2, 4 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
allocate_buffers_16989
allocate_buffers
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i32 %5, -2 %7 = sub i32 1, %5 %8 = and i32 %7, %5 %9 = icmp slt i32 %8, 0 %10 = icmp eq i32 %6, 0 %11 = icmp slt i32 %6, 0 %12 = icmp eq i1 %11, %9 %13 = icmp eq i1 %10, false %14 = icmp eq i1 %12, %13 %15 = icmp ne i32 %5, 0 %16 = or i1 %15, %14 store i64 0, i64* %storemerge1.reg2mem br i1 %16, label LBL_1, label LBL_10 LBL_1: %17 = trunc i64 %1 to i32 %18 = mul i32 %17, 4 %19 = add i64 %2, 8 %20 = inttoptr i64 %19 to i32* %21 = add i64 %2, 16 %22 = inttoptr i64 %21 to i64* %23 = add i64 %2, 72 %24 = inttoptr i64 %23 to i32* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge3.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %25 = call i64* @malloc(i32 %18) %26 = ptrtoint i64* %25 to i64 %27 = mul i64 %.reload, 8 %28 = add i64 %27, %2 %29 = add i64 %28, 24 %30 = inttoptr i64 %29 to i64* store i64 %26, i64* %30, align 8 %31 = icmp eq i64* %25, null br i1 %31, label LBL_9, label LBL_3 LBL_3: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %32 = load i32, i32* %20, align 4 %33 = icmp slt i32 %32, 17 br i1 %33, label LBL_6, label LBL_4 LBL_4: %34 = load i64, i64* %22, align 8 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %37) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_6, label LBL_5 LBL_5: store i32 1, i32* %24, align 4 br label LBL_7 LBL_6: store i32 0, i32* %24, align 4 %41 = call i64* @malloc(i32 %18) %42 = ptrtoint i64* %41 to i64 %43 = add i64 %28, 40 %44 = inttoptr i64 %43 to i64* store i64 %42, i64* %44, align 8 %45 = icmp eq i64* %41, null br i1 %45, label LBL_9, label LBL_7 LBL_7: %46 = call i64* @malloc(i32 %18) %47 = ptrtoint i64* %46 to i64 %48 = add i64 %28, 56 %49 = inttoptr i64 %48 to i64* store i64 %47, i64* %49, align 8 %50 = icmp eq i64* %46, null br i1 %50, label LBL_9, label LBL_8 LBL_8: %51 = add i32 %storemerge3.reload, 1 %52 = load i32, i32* %4, align 4 %53 = add i32 %52, -2 %54 = sub i32 1, %52 %55 = and i32 %54, %52 %56 = icmp slt i32 %55, 0 %57 = icmp eq i32 %53, 0 %58 = icmp slt i32 %53, 0 %59 = icmp eq i1 %58, %56 %60 = icmp eq i1 %57, false %61 = icmp eq i1 %59, %60 %62 = zext i32 %52 to i64 %63 = select i1 %61, i64 2, i64 %62 %64 = sext i32 %51 to i64 %65 = icmp sgt i64 %63, %64 store i64 %64, i64* %.reg2mem store i32 %51, i32* %storemerge3.reg2mem store i64 0, i64* %storemerge1.reg2mem br i1 %65, label LBL_2, label LBL_10 LBL_9: %66 = load i64, i64* %22, align 8 %67 = call i64 @FUNC(i64 %66) store i64 4294967284, i64* %storemerge1.reg2mem br label LBL_10 LBL_10: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem ret i64 %storemerge1.reload uselistorder i32 %53, { 1, 0 } uselistorder i32 %52, { 2, 0, 1, 3 } uselistorder i64 %28, { 1, 0, 2 } uselistorder i32 %18, { 1, 2, 0 } uselistorder i32 %5, { 1, 0, 2, 3 } uselistorder i32* %4, { 1, 0 } uselistorder i64 %2, { 0, 1, 3, 2, 4 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* null, { 1, 0, 2 } uselistorder i32 -2, { 1, 0 } uselistorder label LBL_10, { 2, 0, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
AcquirePixelList_9324
AcquirePixelList
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 48) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_6 LBL_1: %3 = inttoptr i64 %0 to i64* %4 = call i64* @memset(i64* %3, i32 0, i32 48) %5 = mul i64 %arg2, %arg1 store i64 %5, i64* %3, align 8 %6 = add i64 %0, 8 store i64 0, i64* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %7 = call i64 @FUNC(i64 65537, i64 4) %8 = mul i64 %storemerge1.reload, 8 %9 = add i64 %6, %8 %10 = inttoptr i64 %9 to i64* store i64 %7, i64* %10, align 8 %11 = icmp eq i64 %7, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %0) store i64 %13, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %14 = inttoptr i64 %7 to i64* %15 = call i64* @memset(i64* %14, i32 0, i32 262148) %16 = add nuw nsw i64 %storemerge1.reload, 1 %17 = icmp ult i64 %16, 4 store i64 %16, i64* %storemerge1.reg2mem br i1 %17, label LBL_2, label LBL_5 LBL_5: %18 = add i64 %0, 40 %19 = inttoptr i64 %18 to i64* store i64 3735928559, i64* %19, align 8 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 %7, { 1, 0, 2 } uselistorder i64 %0, { 1, 2, 3, 4, 5, 0, 6 } uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 4, { 1, 2, 0 } uselistorder i64 8, { 0, 2, 1, 3 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i32 1, { 1, 0, 2, 3 } uselistorder label LBL_6, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
__skb_get_nlattr_11381
__skb_get_nlattr
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 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = and i64 %1, 4294967295 %7 = add nsw i64 %6, -4 %8 = icmp ult i64 %7, %arg2 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = sub i64 %1, %arg2 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %12, %arg2 %14 = and i64 %arg3, 4294967295 %15 = and i64 %9, 4294967295 %16 = call i64 @FUNC(i64 %13, i64 %15, i64 %14) %17 = icmp eq i64 %16, 0 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = load i64, i64* %11, align 8 %19 = sub i64 %16, %18 store i64 %19, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 4294967295, { 0, 2, 1 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
1
CompRealVul
ad1836_register_18566
ad1836_register
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* @gv_0, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_2: %8 = add i64 %arg1, 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %arg1, 16 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %arg1, 24 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %arg1, i64 %arg1) %15 = add i64 %arg1, 80 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %arg1, 32 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 %20 = add i64 %arg1, 40 %21 = inttoptr i64 %20 to i32* store i32 12, i32* %21, align 4 %22 = add i64 %arg1, 48 %23 = inttoptr i64 %22 to i64* store i64 ptrtoint ([7 x i8]* @gv_2 to i64), i64* %23, align 8 %24 = add i64 %arg1, 56 %25 = inttoptr i64 %24 to i64* store i64 0, i64* %25, align 8 %26 = add i64 %arg1, 64 %27 = inttoptr i64 %26 to i64* store i64 ptrtoint (i64* @gv_3 to i64), i64* %27, align 8 %28 = add i64 %arg1, 72 %29 = inttoptr i64 %28 to i32* store i32 1, i32* %29, align 4 %30 = call i64 @FUNC(i64 %10) %31 = call i64 @FUNC(i64 %12) store i64 %12, i64* @gv_3, align 8 store i64 %arg1, i64* @gv_0, align 8 %32 = call i64 @FUNC(i64 %arg1, i64 4, i64 12, i64 1) %33 = trunc i64 %32 to i32 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_4, label LBL_3 LBL_3: %36 = and i64 %32, 4294967295 %37 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i64 %36, i64 1, i64 %2, i64 %1) %38 = call i64 @FUNC(i64 %arg1) store i64 %32, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_4: %39 = call i64 @FUNC(i64 %arg1, i64 0, i64 768) %40 = call i64 @FUNC(i64 %arg1, i64 1, i64 0) %41 = call i64 @FUNC(i64 %arg1, i64 2, i64 256) %42 = call i64 @FUNC(i64 %arg1, i64 3, i64 384) %43 = call i64 @FUNC(i64 %arg1, i64 4, i64 58) %44 = call i64 @FUNC(i64 %arg1, i64 5, i64 1023) %45 = call i64 @FUNC(i64 %arg1, i64 6, i64 1023) %46 = call i64 @FUNC(i64 %arg1, i64 7, i64 1023) %47 = call i64 @FUNC(i64 %arg1, i64 8, i64 1023) %48 = call i64 @FUNC(i64 %arg1, i64 9, i64 1023) %49 = call i64 @FUNC(i64 %arg1, i64 10, i64 1023) %50 = call i64 @FUNC(i64 %arg1) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 br i1 %52, label LBL_6, label LBL_5 LBL_5: %53 = and i64 %50, 4294967295 %54 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i64 %53, i64 1, i64 %2, i64 %1) %55 = call i64 @FUNC(i64 %arg1) store i64 %50, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_6: %56 = call i64 @FUNC(i64* nonnull @gv_3) %57 = trunc i64 %56 to i32 %58 = icmp eq i32 %57, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %58, label LBL_8, label LBL_7 LBL_7: %59 = and i64 %56, 4294967295 %60 = call i64 @FUNC(i64 ptrtoint (i64* @gv_3 to i64), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_6, i64 0, i64 0), i64 %59, i64 1, i64 %2, i64 %1) %61 = call i64 @FUNC(i64 %arg1) %62 = call i64 @FUNC(i64 %arg1) store i64 %56, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_8: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %12, { 1, 0, 2 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @snd_soc_write, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @kfree, { 2, 1, 0 } uselistorder i64 1, { 2, 1, 3, 0, 4 } uselistorder i64 (i64)* @INIT_LIST_HEAD, { 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_err, { 3, 2, 1, 0 } uselistorder i64 %arg1, { 5, 6, 3, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 1, 2, 20, 19, 21, 22, 23, 24, 25, 26, 29, 28, 27, 30, 31, 32, 0 } uselistorder label LBL_8, { 1, 0, 2, 3, 4 } }
1
CompRealVul
LogLuvSetupEncode_11395
LogLuvSetupEncode
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 %arg1) %4 = inttoptr i64 %3 to i32* %5 = add i64 %arg1, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 switch i32 %7, label LBL_16 [ i32 1, label LBL_1 i32 2, label LBL_13 ] LBL_1: %8 = call i64 @FUNC(i64 %arg1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 1, i64* %storemerge.reg2mem br i1 %10, label LBL_18, label LBL_2 LBL_2: %11 = add i64 %arg1, 12 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 3 %15 = icmp eq i1 %14, false %16 = add i64 %arg1, 16 %17 = inttoptr i64 %16 to i64* br i1 %15, label LBL_8, label LBL_3 LBL_3: store i64 4198764, i64* %17, align 8 %18 = load i32, i32* %4, align 4 %19 = icmp eq i32 %18, 6 store i64 1, i64* %storemerge.reg2mem br i1 %19, label LBL_18, label LBL_4 LBL_4: %20 = icmp sgt i32 %18, 6 br i1 %20, label LBL_17, label LBL_5 LBL_5: switch i32 %18, label LBL_17 [ i32 4, label LBL_6 i32 5, label LBL_7 ] LBL_6: %21 = add i64 %3, 8 %22 = inttoptr i64 %21 to i64* store i64 4198797, i64* %22, align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_18 LBL_7: %23 = add i64 %3, 8 %24 = inttoptr i64 %23 to i64* store i64 4198804, i64* %24, align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_18 LBL_8: store i64 4198775, i64* %17, align 8 %25 = load i32, i32* %4, align 4 %26 = icmp eq i32 %25, 6 store i64 1, i64* %storemerge.reg2mem br i1 %26, label LBL_18, label LBL_9 LBL_9: %27 = icmp sgt i32 %25, 6 br i1 %27, label LBL_17, label LBL_10 LBL_10: switch i32 %25, label LBL_17 [ i32 4, label LBL_11 i32 5, label LBL_12 ] LBL_11: %28 = add i64 %3, 8 %29 = inttoptr i64 %28 to i64* store i64 4198811, i64* %29, align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_18 LBL_12: %30 = add i64 %3, 8 %31 = inttoptr i64 %30 to i64* store i64 4198818, i64* %31, align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_18 LBL_13: %32 = call i64 @FUNC(i64 %arg1) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 store i64 1, i64* %storemerge.reg2mem br i1 %34, label LBL_18, label LBL_14 LBL_14: %35 = add i64 %arg1, 16 %36 = inttoptr i64 %35 to i64* store i64 4198786, i64* %36, align 8 %37 = load i32, i32* %4, align 4 store i64 1, i64* %storemerge.reg2mem switch i32 %37, label LBL_17 [ i32 4, label LBL_15 i32 5, label LBL_18 ] LBL_15: %38 = add i64 %3, 8 %39 = inttoptr i64 %38 to i64* store i64 4198825, i64* %39, align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_18 LBL_16: %40 = zext i32 %7 to i64 %41 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_1, i64 0, i64 0), i64 %40, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %1) store i64 1, i64* %storemerge.reg2mem br label LBL_18 LBL_17: %42 = load i32, i32* %6, align 4 %43 = icmp eq i32 %42, 2 %44 = icmp eq i1 %43, false %. = select i1 %44, i64 ptrtoint ([9 x i8]* @gv_3 to i64), i64 ptrtoint ([5 x i8]* @gv_4 to i64) %45 = inttoptr i64 %2 to i8* %46 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_5, i64 0, i64 0), i64 %., i8* %45, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_18 LBL_18: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %17, { 1, 0 } uselistorder i32* %4, { 0, 2, 1 } uselistorder i64 %3, { 4, 1, 0, 3, 2, 5 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 12, 2, 9, 1, 11, 5, 6, 4, 7, 8, 3, 10 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i8*, i64, i8*, i64)* @TIFFErrorExt, { 1, 0 } uselistorder i32 6, { 2, 0, 3, 1 } uselistorder i64 1, { 1, 8, 0, 10, 4, 5, 3, 6, 7, 2, 9, 11, 12 } uselistorder i32 2, { 1, 0 } uselistorder i64 %arg1, { 1, 2, 3, 4, 5, 0, 6, 7, 8 } uselistorder label LBL_18, { 11, 1, 8, 0, 10, 4, 5, 3, 6, 7, 2, 9 } uselistorder label LBL_17, { 0, 1, 3, 2, 4 } }
1
CompRealVul
EC_POINT_clear_free_4927
EC_POINT_clear_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = inttoptr i64 %arg1 to i64* %1 = call i64* @memset(i64* %0, i32 0, i32 8) %2 = call i64 @FUNC(i64 %arg1) ret i64 %2 uselistorder i64 %arg1, { 1, 0 } }
0
CompRealVul
sm501_free_init_fb_18402
sm501_free_init_fb
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = mul i64 %arg2, 8 %2 = and i64 %1, 34359738360 %3 = add i64 %2, %0 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) ret i64 %6 }
1
CompRealVul
compare_ocl_device_desc_1482
compare_ocl_device_desc
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i1 %rax.0.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i1, i1* %1 %5 = load i1, i1* %1 %6 = trunc i64 %2 to i32 %7 = call i128 @FUNC(i32 %6) %8 = trunc i64 %3 to i32 %9 = call i128 @FUNC(i32 %8) call void @FUNC(i128 %7, i128 %9) %10 = or i1 %4, %5 store i64 1, i64* %rax.0.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_1: %11 = call i128 @FUNC(i32 %6) %12 = call i128 @FUNC(i32 %8) call void @FUNC(i128 %12, i128 %11) store i64 0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1* %1, { 1, 0 } uselistorder i64* %0, { 1, 0 } }
0
CompRealVul
__cast5_decrypt_10507
__cast5_decrypt
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %sv_1.0.in.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %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 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %3, 16 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 %8, i64* %sv_1.0.in.reg2mem store i64 %13, i64* %sv_0.0.in.reg2mem br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = add i64 %6, 15 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = zext i8 %21 to i64 %23 = add i64 %3, 60 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = zext i32 %25 to i64 %27 = and i64 %13, 4294967295 %28 = call i64 @FUNC(i64 %27, i64 %26, i64 %22) %29 = xor i64 %28, %8 %30 = add i64 %6, 14 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = zext i8 %32 to i64 %34 = add i64 %3, 56 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = zext i32 %36 to i64 %38 = and i64 %29, 4294967295 %39 = call i64 @FUNC(i64 %38, i64 %37, i64 %33) %40 = xor i64 %39, %13 %41 = add i64 %6, 13 %42 = inttoptr i64 %41 to i8* %43 = load i8, i8* %42, align 1 %44 = zext i8 %43 to i64 %45 = add i64 %3, 52 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = zext i32 %47 to i64 %49 = and i64 %40, 4294967295 %50 = call i64 @FUNC(i64 %49, i64 %48, i64 %44) %51 = xor i64 %50, %29 %52 = add i64 %6, 12 %53 = inttoptr i64 %52 to i8* %54 = load i8, i8* %53, align 1 %55 = zext i8 %54 to i64 %56 = add i64 %3, 48 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = zext i32 %58 to i64 %60 = and i64 %51, 4294967295 %61 = call i64 @FUNC(i64 %60, i64 %59, i64 %55) %62 = xor i64 %61, %40 store i64 %51, i64* %sv_1.0.in.reg2mem store i64 %62, i64* %sv_0.0.in.reg2mem br label LBL_2 LBL_2: %63 = ptrtoint i64* %arg2 to i64 %64 = inttoptr i64 %6 to i8* %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_1.0.in.reload = load i64, i64* %sv_1.0.in.reg2mem %65 = add i64 %6, 11 %66 = inttoptr i64 %65 to i8* %67 = load i8, i8* %66, align 1 %68 = zext i8 %67 to i64 %69 = add i64 %3, 44 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = zext i32 %71 to i64 %73 = and i64 %sv_0.0.in.reload, 4294967295 %74 = call i64 @FUNC(i64 %73, i64 %72, i64 %68) %75 = xor i64 %74, %sv_1.0.in.reload %76 = add i64 %6, 10 %77 = inttoptr i64 %76 to i8* %78 = load i8, i8* %77, align 1 %79 = zext i8 %78 to i64 %80 = add i64 %3, 40 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = zext i32 %82 to i64 %84 = and i64 %75, 4294967295 %85 = call i64 @FUNC(i64 %84, i64 %83, i64 %79) %86 = xor i64 %85, %sv_0.0.in.reload %87 = add i64 %6, 9 %88 = inttoptr i64 %87 to i8* %89 = load i8, i8* %88, align 1 %90 = zext i8 %89 to i64 %91 = add i64 %3, 36 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = zext i32 %93 to i64 %95 = and i64 %86, 4294967295 %96 = call i64 @FUNC(i64 %95, i64 %94, i64 %90) %97 = xor i64 %96, %75 %98 = add i64 %6, 8 %99 = inttoptr i64 %98 to i8* %100 = load i8, i8* %99, align 1 %101 = zext i8 %100 to i64 %102 = add i64 %3, 32 %103 = inttoptr i64 %102 to i32* %104 = load i32, i32* %103, align 4 %105 = zext i32 %104 to i64 %106 = and i64 %97, 4294967295 %107 = call i64 @FUNC(i64 %106, i64 %105, i64 %101) %108 = xor i64 %107, %86 %109 = add i64 %6, 7 %110 = inttoptr i64 %109 to i8* %111 = load i8, i8* %110, align 1 %112 = zext i8 %111 to i64 %113 = add i64 %3, 28 %114 = inttoptr i64 %113 to i32* %115 = load i32, i32* %114, align 4 %116 = zext i32 %115 to i64 %117 = and i64 %108, 4294967295 %118 = call i64 @FUNC(i64 %117, i64 %116, i64 %112) %119 = xor i64 %118, %97 %120 = add i64 %6, 6 %121 = inttoptr i64 %120 to i8* %122 = load i8, i8* %121, align 1 %123 = zext i8 %122 to i64 %124 = add i64 %3, 24 %125 = inttoptr i64 %124 to i32* %126 = load i32, i32* %125, align 4 %127 = zext i32 %126 to i64 %128 = and i64 %119, 4294967295 %129 = call i64 @FUNC(i64 %128, i64 %127, i64 %123) %130 = xor i64 %129, %108 %131 = add i64 %6, 5 %132 = inttoptr i64 %131 to i8* %133 = load i8, i8* %132, align 1 %134 = zext i8 %133 to i64 %135 = add i64 %3, 20 %136 = inttoptr i64 %135 to i32* %137 = load i32, i32* %136, align 4 %138 = zext i32 %137 to i64 %139 = and i64 %130, 4294967295 %140 = call i64 @FUNC(i64 %139, i64 %138, i64 %134) %141 = xor i64 %140, %119 %142 = add i64 %6, 4 %143 = inttoptr i64 %142 to i8* %144 = load i8, i8* %143, align 1 %145 = zext i8 %144 to i64 %146 = load i32, i32* %15, align 4 %147 = zext i32 %146 to i64 %148 = and i64 %141, 4294967295 %149 = call i64 @FUNC(i64 %148, i64 %147, i64 %145) %150 = xor i64 %149, %130 %151 = add i64 %6, 3 %152 = inttoptr i64 %151 to i8* %153 = load i8, i8* %152, align 1 %154 = zext i8 %153 to i64 %155 = add i64 %3, 12 %156 = inttoptr i64 %155 to i32* %157 = load i32, i32* %156, align 4 %158 = zext i32 %157 to i64 %159 = and i64 %150, 4294967295 %160 = call i64 @FUNC(i64 %159, i64 %158, i64 %154) %161 = xor i64 %160, %141 %162 = add i64 %6, 2 %163 = inttoptr i64 %162 to i8* %164 = load i8, i8* %163, align 1 %165 = zext i8 %164 to i64 %166 = inttoptr i64 %4 to i32* %167 = load i32, i32* %166, align 4 %168 = zext i32 %167 to i64 %169 = and i64 %161, 4294967295 %170 = call i64 @FUNC(i64 %169, i64 %168, i64 %165) %171 = xor i64 %170, %150 %172 = add i64 %6, 1 %173 = inttoptr i64 %172 to i8* %174 = load i8, i8* %173, align 1 %175 = zext i8 %174 to i64 %176 = add i64 %3, 4 %177 = inttoptr i64 %176 to i32* %178 = load i32, i32* %177, align 4 %179 = zext i32 %178 to i64 %180 = and i64 %171, 4294967295 %181 = call i64 @FUNC(i64 %180, i64 %179, i64 %175) %182 = xor i64 %181, %161 %183 = load i8, i8* %64, align 1 %184 = zext i8 %183 to i64 %185 = bitcast i64* %rdi to i32* %186 = load i32, i32* %185, align 8 %187 = zext i32 %186 to i64 %188 = and i64 %182, 4294967295 %189 = call i64 @FUNC(i64 %188, i64 %187, i64 %184) %190 = xor i64 %189, %171 %191 = and i64 %190, 4294967295 %192 = call i64 @FUNC(i64 %191) %193 = trunc i64 %192 to i32 %194 = bitcast i64* %arg2 to i32* store i32 %193, i32* %194, align 4 %195 = add i64 %63, 4 %196 = call i64 @FUNC(i64 %188) %197 = trunc i64 %196 to i32 %198 = inttoptr i64 %195 to i32* store i32 %197, i32* %198, align 4 ret i64 %196 uselistorder i64 %196, { 1, 0 } uselistorder i64 %188, { 1, 0 } uselistorder i64 %sv_0.0.in.reload, { 1, 0 } uselistorder i64 %13, { 1, 2, 0 } uselistorder i64 %8, { 1, 0 } uselistorder i64 %6, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 11, 12, 13, 14 } uselistorder i64 %3, { 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 1, 2, 3, 13, 14 } uselistorder i64 (i64)* @cpu_to_be32, { 1, 0 } uselistorder i64 (i64, i64, i64)* @F2, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @F3, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @F1, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @be32_to_cpu, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 0, 18, 19, 20 } }
0
CompRealVul
print_quota_limits_8167
print_quota_limits
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i8* %sv_0.12.reg2mem = alloca i8* %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i32 @putchar(i32 40) store i64 0, i64* %indvars.iv.reg2mem store i8* bitcast (i8** @gv_0 to i8*), i8** %sv_0.12.reg2mem br label LBL_1 LBL_1: %sv_0.12.reload = load i8*, i8** %sv_0.12.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = mul i64 %indvars.iv.reload, 4 %3 = add i64 %2, %0 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp slt i32 %5, 0 store i8* %sv_0.12.reload, i8** %sv_0.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = zext i32 %5 to i64 %8 = mul i64 %indvars.iv.reload, 8 %9 = add i64 %8, ptrtoint ([5 x i8*]* @gv_1 to i64) %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i8* %13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i8* %sv_0.12.reload, i8* %12, i64 %7) store i8* bitcast (i64* @gv_3 to i8*), i8** %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 5 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.12.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %14 = call i32 @putchar(i32 41) %15 = sext i32 %14 to i64 ret i64 %15 uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i8* %sv_0.12.reload, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_0.12.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 10, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 } uselistorder i32 (i32)* @putchar, { 1, 0 } }
0
CompRealVul
ext4_setup_system_zone_6909
ext4_setup_system_zone
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %0, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false %8 = inttoptr i64 %2 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 br i1 %7, label LBL_3, label LBL_1 LBL_1: store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_19, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_19 LBL_3: store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_4, label LBL_19 LBL_4: %12 = trunc i64 %1 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_14, label LBL_5 LBL_5: %14 = trunc i64 %3 to i32 %15 = add i64 %2, 16 %16 = inttoptr i64 %15 to i32* %17 = and i64 %1, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %18 = call i64 @FUNC(i64 %0, i64 %indvars.iv.reload) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_10, label LBL_7 LBL_7: %21 = icmp ult i64 %indvars.iv.reload, 5 br i1 %21, label LBL_9, label LBL_8 LBL_8: %22 = trunc i64 %indvars.iv.reload to i32 %23 = urem i32 %22, %14 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_10, label LBL_9 LBL_9: %26 = call i64 @FUNC(i64 %0, i64 %indvars.iv.reload) %27 = add i64 %26, 1 %28 = call i64 @FUNC(i64 %0, i64 %indvars.iv.reload) %29 = and i64 %28, 4294967295 %30 = and i64 %27, 4294967295 %31 = call i64 @FUNC(i64 %2, i64 %29, i64 %30) br label LBL_10 LBL_10: %32 = call i64 @FUNC(i64 %0, i64 %indvars.iv.reload, i64 0) %33 = call i64 @FUNC(i64 %0, i64 %32) %34 = call i64 @FUNC(i64 %2, i64 %33, i64 1) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 store i64 %34, i64* %rax.0.shrunk.reg2mem br i1 %36, label LBL_11, label LBL_19 LBL_11: %37 = call i64 @FUNC(i64 %0, i64 %32) %38 = call i64 @FUNC(i64 %2, i64 %37, i64 1) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 store i64 %38, i64* %rax.0.shrunk.reg2mem br i1 %40, label LBL_12, label LBL_19 LBL_12: %41 = load i32, i32* %16, align 4 %42 = call i64 @FUNC(i64 %0, i64 %32) %43 = zext i32 %41 to i64 %44 = call i64 @FUNC(i64 %2, i64 %42, i64 %43) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 store i64 %44, i64* %rax.0.shrunk.reg2mem br i1 %46, label LBL_13, label LBL_19 LBL_13: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %47 = icmp ult i64 %indvars.iv.next, %17 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %47, label LBL_6, label LBL_14 LBL_14: %48 = call i64 @FUNC(i64 %0) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 br i1 %50, label LBL_17, label LBL_15 LBL_15: %51 = add i64 %2, 8 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp eq i32 %55, 0 br i1 %56, label LBL_17, label LBL_16 LBL_16: %57 = zext i32 %55 to i64 %58 = call i64 @FUNC(i64 %57) %59 = and i64 %58, 4294967295 %60 = call i64 @FUNC(i64 %0, i64 %59) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 store i64 %60, i64* %rax.0.shrunk.reg2mem br i1 %62, label LBL_17, label LBL_19 LBL_17: %63 = call i64 @FUNC(i64 %0, i64 2) %64 = trunc i64 %63 to i32 %65 = icmp eq i32 %64, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %65, label LBL_19, label LBL_18 LBL_18: %66 = call i64 @FUNC(i64 %2) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_19 LBL_19: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %indvars.iv.reload, { 0, 5, 4, 3, 2, 1, 6 } uselistorder i1 %10, { 1, 0 } uselistorder i64 %2, { 1, 0, 3, 5, 6, 2, 4, 7, 8 } uselistorder i64 %0, { 2, 1, 3, 6, 7, 9, 8, 5, 4, 10, 0, 11, 12, 13 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 4, 6, 1, 2, 3, 7, 9, 8 } uselistorder i64 (i64, i64, i64)* @add_system_zone, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 7, 8, 9, 2, 3, 4, 5, 6, 0, 10 } uselistorder i64 (i64, i64)* @test_opt, { 1, 0 } uselistorder i64 1, { 5, 7, 8, 6, 9, 0, 1, 2, 3, 4 } uselistorder label LBL_19, { 4, 3, 5, 0, 1, 2, 6, 8, 7 } uselistorder label LBL_6, { 1, 0 } }
0
CompRealVul
dictGetIterator_13176
dictGetIterator
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64* @malloc(i32 32) %1 = ptrtoint i64* %0 to i64 store i64 %arg1, i64* %0, align 8 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* store i32 -1, i32* %3, align 4 %4 = add i64 %1, 16 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 %6 = add i64 %1, 24 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 ret i64 %1 }
1
CompRealVul
avio_close_dyn_buf_3176
avio_close_dyn_buf
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: store i64 0, i64* %arg2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i32 0, i32* %sv_0.0.reg2mem br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_0, i64 32) store i32 32, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %8 = call i64 @FUNC(i64 %arg1) store i64 %arg1, i64* %arg2, align 8 %9 = load i32, i32* %3, align 4 %10 = call i64 @FUNC(i64 %arg1) %11 = call i64 @FUNC(i64 %arg1) %12 = sub i32 %9, %sv_0.0.reload %13 = zext i32 %12 to i64 store i64 %13, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @av_free, { 1, 0 } uselistorder i64 %arg1, { 0, 1, 3, 2, 5, 4, 6 } }
0
CompRealVul
nw_buf_free_4136
nw_buf_free
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = 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 ugt i32 %6, %3 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i32 %3, 1 %13 = bitcast i64* %arg1 to i32* store i32 %12, i32* %13, align 4 %14 = mul i64 %1, 8 %15 = and i64 %14, 34359738360 %16 = add i64 %11, %15 %17 = inttoptr i64 %16 to i64* store i64 %arg2, i64* %17, align 8 store i64 %arg2, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %18 = icmp ult i32 %6, 1024 br i1 %18, label LBL_3, label LBL_6 LBL_3: %19 = mul i32 %6, 16 %20 = add i64 %2, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = inttoptr i64 %22 to i64* %24 = call i64* @realloc(i64* %23, i32 %19) %25 = icmp eq i64* %24, null br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = bitcast i64* %rdi to i32* %27 = ptrtoint i64* %24 to i64 %28 = mul i32 %6, 2 store i32 %28, i32* %5, align 4 store i64 %27, i64* %21, align 8 %29 = load i32, i32* %26, align 8 %30 = add i32 %29, 1 %31 = bitcast i64* %arg1 to i32* store i32 %30, i32* %31, align 4 %32 = zext i32 %29 to i64 %33 = mul i64 %32, 8 %34 = add i64 %33, %27 %35 = inttoptr i64 %34 to i64* store i64 %arg2, i64* %35, align 8 store i64 %arg2, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %36 = inttoptr i64 %arg2 to i64* call void @free(i64* %36) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_7 LBL_6: %37 = inttoptr i64 %arg2 to i64* call void @free(i64* %37) store i64 ptrtoint (i32* @0 to i64), 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* %24, { 1, 0 } uselistorder i32 %6, { 0, 1, 3, 2 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 4, 3, 1 } uselistorder i64 8, { 0, 2, 1, 3 } uselistorder i64 %arg2, { 5, 4, 1, 3, 0, 2 } }
0
CompRealVul
update_blocked_averages_11675
update_blocked_averages
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0) %3 = call i64 @FUNC(i64 %1) %4 = inttoptr i64 %1 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, ptrtoint (i64* @gv_0 to i64) %9 = call i64 @FUNC(i64 %1) %10 = zext i1 %8 to i64 %11 = call i64 @FUNC(i64 %9, i64 %1, i64 %10) %12 = icmp eq i64 %7, ptrtoint (i64* @gv_1 to i64) %13 = call i64 @FUNC(i64 %1) %14 = zext i1 %12 to i64 %15 = call i64 @FUNC(i64 %13, i64 %1, i64 %14) %16 = call i64 @FUNC(i64 %1, i64 0) %17 = call i64 @FUNC(i64 %1) %18 = trunc i64 %17 to i8 %19 = icmp eq i8 %18, 0 %20 = load i64, i64* @gv_2, align 8 %21 = add i64 %1, 8 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 br i1 %19, label LBL_1, label LBL_2 LBL_1: %23 = add i64 %1, 16 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 br label LBL_2 LBL_2: %25 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0) ret i64 %25 uselistorder i64 %1, { 1, 0, 2, 6, 5, 4, 3, 8, 9, 7, 10, 11 } uselistorder i64 (i64)* @rq_clock_task, { 1, 0 } uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
av_write_trailer_13976
av_write_trailer
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %.reg2mem18 = alloca i64 %storemerge6.reg2mem = alloca i32 %.reg2mem16 = alloca i64 %sv_0.1.reg2mem = alloca i64 %.reg2mem14 = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_0.1.ph.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_1 = alloca i32, align 4 %0 = bitcast i32* %sv_1 to i64* %1 = trunc i64 %arg1 to i32 %sext4 = mul i64 %arg1, 4294967296 %2 = ashr exact i64 %sext4, 32 %3 = icmp slt i32 %1, 0 %4 = add i64 %arg1, 8 %5 = inttoptr i64 %4 to i64* %6 = ptrtoint i32* %sv_1 to i64 %7 = trunc i64 %2 to i32 %8 = icmp slt i32 %7, 0 br label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %arg1, i64* nonnull %0, i64 0, i64 1) %10 = trunc i64 %9 to i32 %sext = mul i64 %9, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = icmp slt i32 %10, 0 store i64 %arg1, i64* %.reg2mem store i64 %11, i64* %sv_0.1.ph.reg2mem br i1 %12, label LBL_8, label LBL_2 LBL_2: %13 = trunc i64 %11 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = add i64 %arg1, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false %spec.select = select i1 %20, i64 %2, i64 %11 %21 = urem i32 %1, 2 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %16, i64* %.pre-phi.reg2mem store i64 %arg1, i64* %.reg2mem14 store i64 %spec.select, i64* %sv_0.1.reg2mem br i1 %23, label LBL_9, label LBL_7 LBL_4: br i1 %3, label LBL_6, label LBL_5 LBL_5: %24 = load i64, i64* %5, align 8 %25 = load i32, i32* %sv_1, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 8 %28 = add i64 %27, %24 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = add i64 %30, 8 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = add i32 %33, 1 store i32 %34, i32* %32, align 4 br label LBL_6 LBL_6: %35 = call i64 @FUNC(i64* nonnull %0) store i64 %6, i64* %.reg2mem store i64 %2, i64* %sv_0.1.ph.reg2mem br i1 %8, label LBL_8, label LBL_1 LBL_7: %36 = add i64 %arg1, 24 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = call i64 @FUNC(i64 %38) store i64 %16, i64* %.pre-phi.reg2mem store i64 %38, i64* %.reg2mem14 store i64 %spec.select, i64* %sv_0.1.reg2mem br label LBL_9 LBL_8: %sv_0.1.ph.reload = load i64, i64* %sv_0.1.ph.reg2mem %.reload = load i64, i64* %.reg2mem %.pre = add i64 %arg1, 16 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %.reload, i64* %.reg2mem14 store i64 %sv_0.1.ph.reload, i64* %sv_0.1.reg2mem br label LBL_9 LBL_9: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %.reload15 = load i64, i64* %.reg2mem14 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %40 = inttoptr i64 %.pre-phi.reload to i32* %41 = load i32, i32* %40, align 4 %42 = icmp eq i32 %41, 0 store i64 0, i64* %.reg2mem16 store i32 0, i32* %storemerge6.reg2mem store i64 %.reload15, i64* %.reg2mem18 br i1 %42, label LBL_11, label LBL_10 LBL_10: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %.reload17 = load i64, i64* %.reg2mem16 %43 = load i64, i64* %5, align 8 %44 = mul i64 %.reload17, 8 %45 = add i64 %43, %44 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 %47) %49 = load i64, i64* %5, align 8 %50 = add i64 %49, %44 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = add i64 %52, 16 %54 = call i64 @FUNC(i64 %53) %55 = add i32 %storemerge6.reload, 1 %56 = load i32, i32* %40, align 4 %57 = zext i32 %56 to i64 %58 = sext i32 %55 to i64 %59 = icmp slt i64 %58, %57 store i64 %58, i64* %.reg2mem16 store i32 %55, i32* %storemerge6.reg2mem store i64 %53, i64* %.reg2mem18 br i1 %59, label LBL_10, label LBL_11 LBL_11: %.reload19 = load i64, i64* %.reg2mem18 %60 = add i64 %.reload19, 24 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = icmp eq i64 %62, 0 %.pre8 = add i64 %arg1, 32 br i1 %63, label LBL_13, label LBL_12 LBL_12: %64 = inttoptr i64 %.pre8 to i64* %65 = load i64, i64* %64, align 8 %66 = call i64 @FUNC(i64 %65) br label LBL_13 LBL_13: %67 = call i64 @FUNC(i64 %.pre8) %68 = and i64 %sv_0.1.reload, 4294967295 ret i64 %68 uselistorder i64 %44, { 1, 0 } uselistorder i32* %40, { 1, 0 } uselistorder i64 %11, { 1, 2, 0 } uselistorder i64* %5, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %.reg2mem14, { 0, 3, 1, 2 } uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %.reg2mem16, { 2, 0, 1 } uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @av_freep, { 2, 1, 0 } uselistorder i64 %arg1, { 3, 4, 6, 0, 5, 1, 9, 7, 2, 8 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 0, 2, 1 } uselistorder label LBL_8, { 1, 0 } }
1
CompRealVul
Jsi_DecrRefCount_10559
Jsi_DecrRefCount
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp slt i32 %2, 0 %5 = icmp eq i1 %4, false %6 = icmp eq i1 %3, false %7 = icmp eq i1 %5, %6 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %arg2, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = and i64 %1, 4294967295 %13 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %14 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %13, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %12, i64 %11) store i64 4294967294, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %15 = ptrtoint i64* %arg1 to i64 %16 = bitcast i64* %rsi to i32* %17 = call i64 @FUNC() %18 = and i64 %17, 4294967295 %19 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 %18, i64 %15) %20 = add i32 %2, -1 %21 = inttoptr i64 %arg2 to i32* store i32 %20, i32* %21, align 4 %22 = load i32, i32* %16, align 8 %23 = icmp eq i32 %22, 0 %24 = icmp slt i32 %22, 0 %25 = icmp eq i1 %24, false %26 = icmp eq i1 %23, false %27 = icmp eq i1 %25, %26 br i1 %27, label LBL_4, label LBL_3 LBL_3: store i32 -1, i32* %21, align 4 %28 = call i64 @FUNC(i64 %15, i64 %arg2) br label LBL_4 LBL_4: %29 = zext i32 %22 to i64 store i64 %29, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %22, { 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i1 false, { 2, 0, 3, 1 } uselistorder i64 %arg2, { 0, 2, 1, 3 } }
0
CompRealVul
napi_reuse_skb_4216
napi_reuse_skb
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 %0) %3 = and i64 %2, 4294967295 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = call i64 @FUNC(i64 %0) %6 = sub i64 2, %5 %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %0, i64 %7) %9 = bitcast i64* %arg2 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i64* store i64 %0, i64* %11, align 8 %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = add i64 %1, 8 %15 = inttoptr i64 %14 to i64* store i64 %0, i64* %15, align 8 ret i64 %1 uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 2, 1, 4, 0, 3, 5, 6, 7 } }
0
CompRealVul
add_user_command_14080
add_user_command
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = add i64 %0, 1 store i64 %1, i64* @gv_0, align 8 %2 = load i64, i64* @gv_1, align 8 %3 = inttoptr i64 %2 to i64* %.tr = trunc i64 %1 to i32 %4 = mul i32 %.tr, 8 %5 = call i64* @realloc(i64* %3, i32 %4) %6 = ptrtoint i64* %5 to i64 store i64 %6, i64* @gv_1, align 8 %7 = icmp eq i64* %5, null %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: call void @perror(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_2: %9 = load i64, i64* @gv_0, align 8 %10 = mul i64 %9, 8 %11 = add i64 %6, -8 %12 = add i64 %11, %10 %13 = ptrtoint i8* %arg1 to i64 %14 = inttoptr i64 %12 to i64* store i64 %13, i64* %14, align 8 ret i64 %13 }
1
CompRealVul
xml_sax_parse_entity_12947
xml_sax_parse_entity
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.ph.lcssa.reg2mem = alloca i32 %sv_0.0.ph26.reg2mem = alloca i32 %rdi.1.ph28.reg2mem = alloca i64 %.reg2mem98 = alloca i32 %rdi.1.ph.be.reg2mem = alloca i64 %sv_1.1.ph.ph31.reg2mem = alloca i64 %sv_2.1.ph.ph32.reg2mem = alloca i8* %rdi.1.ph.ph33.reg2mem = alloca i64 %.reg2mem96 = alloca i32 %.reg2mem94 = alloca i64 %rdi.0.reg2mem = alloca i64 %rdi.124.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i8, align 1 %sv_4 = alloca i64, align 8 store i64 0, i64* %sv_4, align 8 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %4, 0 store i64 0, i64* %sv_1.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %4, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %spec.select = select i1 %9, i64 %4, i64 0 store i64 %spec.select, i64* %sv_1.0.reg2mem br label LBL_2 LBL_2: %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %0, 12 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp ult i32 %12, %15 store i32 0, i32* %sv_0.0.ph.lcssa.reg2mem br i1 %16, label LBL_3, label LBL_33 LBL_3: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %17 = icmp eq i64 %sv_1.0.reload, 0 %spec.select3 = select i1 %17, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* null %18 = add i64 %0, 16 %19 = inttoptr i64 %18 to i32* %20 = ptrtoint i64* %sv_4 to i64 %21 = bitcast i8* %sv_3 to i64* store i32 %12, i32* %.reg2mem96 store i64 %3, i64* %rdi.1.ph.ph33.reg2mem store i8* %spec.select3, i8** %sv_2.1.ph.ph32.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.ph.ph31.reg2mem br label LBL_4.lr.ph.lr.ph LBL_4: %rdi.124.reload = load i64, i64* %rdi.124.reg2mem %.reload = load i32, i32* %.reg2mem %22 = zext i32 %.reload to i64 %23 = add i64 %rdi.124.reload, %22 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = sext i8 %25 to i32 store i64 %rdi.1.ph28.reload, i64* %rdi.0.reg2mem br i1 %80, label LBL_9, label LBL_5 LBL_5: %27 = urem i32 %26, 256 %28 = call i8* @strchr(i8* nonnull %sv_2.1.ph.ph32.reload, i32 %27) %29 = icmp eq i8* %28, null store i64 %81, i64* %rdi.0.reg2mem br i1 %29, label LBL_9, label LBL_6 LBL_6: %30 = icmp eq i8 %25, 10 %31 = icmp eq i1 %30, false br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = load i32, i32* %19, align 4 %33 = add i32 %32, 1 store i32 %33, i32* %19, align 4 br label LBL_8 LBL_8: %34 = load i32, i32* %11, align 4 %35 = add i32 %34, 1 store i32 %35, i32* %11, align 4 %36 = add i32 %35, %sv_0.0.ph26.reload %37 = load i32, i32* %14, align 4 %38 = icmp ult i32 %36, %37 store i32 %36, i32* %.reg2mem store i64 %81, i64* %rdi.124.reg2mem store i32 %sv_0.0.ph26.reload, i32* %sv_0.0.ph.lcssa.reg2mem br i1 %38, label LBL_4, label LBL_33 LBL_9: %39 = icmp eq i8 %25, 37 %40 = icmp eq i1 %82, %39 br i1 %40, label LBL_10, label LBL_12 LBL_10: %41 = load i32, i32* %11, align 4 %42 = add i32 %sv_0.0.ph26.reload, 1 %43 = add i32 %42, %41 store i32 %43, i32* %11, align 4 %44 = add i64 %0, 32 %45 = inttoptr i64 %44 to i32* store i32 1, i32* %45, align 4 %46 = load i64, i64* %sv_4, align 8 %47 = icmp eq i64 %46, 0 store i64 0, i64* %rax.0.reg2mem br i1 %47, label LBL_36, label LBL_11 LBL_11: %48 = call i64 @FUNC(i64 %46) store i64 %48, i64* %rax.0.reg2mem br label LBL_36 LBL_12: br i1 %83, label LBL_22, label LBL_13 LBL_13: %49 = icmp ne i8 %25, 34 %50 = icmp eq i8 %25, 39 %51 = icmp eq i1 %50, false %or.cond6 = icmp eq i1 %49, %51 br i1 %or.cond6, label LBL_30, label LBL_14 LBL_14: %52 = call i64* @malloc(i32 24) %53 = icmp eq i64* %52, null %54 = icmp eq i1 %53, false br i1 %54, label LBL_16, label LBL_15 LBL_15: %55 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %56 = call i32 @fwrite(i64* bitcast ([26 x i8]* @gv_2 to i64*), i32 1, i32 25, %_IO_FILE* %55) call void @exit(i32 1) unreachable LBL_16: %57 = load i64, i64* %sv_4, align 8 %58 = icmp eq i64 %57, 0 %59 = icmp eq i1 %58, false store i64 %57, i64* %.reg2mem94 br i1 %59, label LBL_18, label LBL_17 LBL_17: %60 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull @gv_3, i64 0) %.pre = load i64, i64* %sv_4, align 8 store i64 %.pre, i64* %.reg2mem94 br label LBL_18 LBL_18: %61 = ptrtoint i64* %52 to i64 %.reload95 = load i64, i64* %.reg2mem94 store i64 %.reload95, i64* %52, align 8 store i64 0, i64* %sv_4, align 8 %62 = load i64, i64* %52, align 8 %63 = inttoptr i64 %62 to i8* %64 = call i32 @strlen(i8* %63) %65 = add i64 %61, 8 %66 = inttoptr i64 %65 to i32* store i32 %64, i32* %66, align 4 %67 = add i64 %61, 12 %68 = inttoptr i64 %67 to i8* store i8 %25, i8* %68, align 1 %69 = load i32, i32* %11, align 4 %70 = add i32 %sv_0.0.ph26.reload, 1 %71 = add i32 %70, %69 store i32 %71, i32* %11, align 4 %72 = load i32, i32* %14, align 4 %73 = icmp ult i32 %71, %72 br i1 %73, label LBL_20, label LBL_19 LBL_19: call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_5, i64 0, i64 0), i32 108, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_6, i64 0, i64 0)) br label LBL_20 LBL_20: %74 = call i64 @FUNC(i64 %0) %75 = load i64, i64* %2, align 8 %76 = call i64 @FUNC(i64 %75, i64 %61) %77 = load i32, i32* %11, align 4 %78 = load i32, i32* %14, align 4 %79 = icmp ult i32 %77, %78 store i32 %77, i32* %.reg2mem96 store i64 %75, i64* %rdi.1.ph.ph33.reg2mem store i8* null, i8** %sv_2.1.ph.ph32.reg2mem store i64 %61, i64* %sv_1.1.ph.ph31.reg2mem store i32 0, i32* %sv_0.0.ph.lcssa.reg2mem br i1 %79, label LBL_4.lr.ph.lr.ph, label LBL_33 LBL_21: %sv_1.1.ph.ph31.reload = load i64, i64* %sv_1.1.ph.ph31.reg2mem %sv_2.1.ph.ph32.reload = load i8*, i8** %sv_2.1.ph.ph32.reg2mem %rdi.1.ph.ph33.reload = load i64, i64* %rdi.1.ph.ph33.reg2mem %.reload97 = load i32, i32* %.reg2mem96 %80 = icmp eq i8* %sv_2.1.ph.ph32.reload, null %81 = ptrtoint i8* %sv_2.1.ph.ph32.reload to i64 %82 = icmp eq i64 %sv_1.1.ph.ph31.reload, 0 %83 = icmp eq i1 %82, false %84 = add i64 %sv_1.1.ph.ph31.reload, 12 %85 = inttoptr i64 %84 to i8* store i32 %.reload97, i32* %.reg2mem98 store i64 %rdi.1.ph.ph33.reload, i64* %rdi.1.ph28.reg2mem store i32 0, i32* %sv_0.0.ph26.reg2mem br label LBL_4.lr.ph LBL_22: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %86 = load i8, i8* %85, align 1 %87 = urem i32 %26, 256 %88 = sext i8 %86 to i32 %89 = icmp eq i32 %87, %88 %90 = icmp eq i1 %89, false store i64 %rdi.0.reload, i64* %rdi.1.ph.be.reg2mem br i1 %90, label LBL_31, label LBL_23 LBL_23: %91 = load i64, i64* %sv_4, align 8 %92 = icmp eq i64 %91, 0 br i1 %92, label LBL_25, label LBL_24 LBL_24: %93 = call i64 @FUNC(i64 %91) br label LBL_25 LBL_25: %94 = zext i32 %sv_0.0.ph26.reload to i64 %95 = call i64 @FUNC(i64 %0, i64 %94) %96 = call i64 @FUNC(i64 %0) %97 = add i64 %sv_1.1.ph.ph31.reload, 16 %98 = inttoptr i64 %97 to i64* store i64 %96, i64* %98, align 8 %99 = icmp eq i64 %96, 0 %100 = icmp eq i1 %99, false br i1 %100, label LBL_27, label LBL_26 LBL_26: %101 = call i64 @FUNC(i64* nonnull @gv_3) store i64 %101, i64* %98, align 8 br label LBL_27 LBL_27: %102 = load i32, i32* %11, align 4 %103 = add i32 %102, 1 store i32 %103, i32* %11, align 4 %104 = load i32, i32* %14, align 4 %105 = icmp ult i32 %103, %104 br i1 %105, label LBL_29, label LBL_28 LBL_28: call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_5, i64 0, i64 0), i32 119, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_6, i64 0, i64 0)) br label LBL_29 LBL_29: %106 = call i64 @FUNC(i64 %0) %107 = add i64 %0, 32 %108 = inttoptr i64 %107 to i32* store i32 1, i32* %108, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_36 LBL_30: store i8 %25, i8* %sv_3, align 1 %109 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull %21, i64 0) store i64 %20, i64* %rdi.1.ph.be.reg2mem br label LBL_31 LBL_31: %rdi.1.ph.be.reload = load i64, i64* %rdi.1.ph.be.reg2mem %sv_0.0.ph.be = add i32 %sv_0.0.ph26.reload, 1 %110 = load i32, i32* %11, align 4 %111 = add i32 %110, %sv_0.0.ph.be %112 = load i32, i32* %14, align 4 %113 = icmp ult i32 %111, %112 store i32 %111, i32* %.reg2mem98 store i64 %rdi.1.ph.be.reload, i64* %rdi.1.ph28.reg2mem store i32 %sv_0.0.ph.be, i32* %sv_0.0.ph26.reg2mem store i32 %sv_0.0.ph.be, i32* %sv_0.0.ph.lcssa.reg2mem br i1 %113, label LBL_4.lr.ph, label LBL_33 LBL_32: %sv_0.0.ph26.reload = load i32, i32* %sv_0.0.ph26.reg2mem %rdi.1.ph28.reload = load i64, i64* %rdi.1.ph28.reg2mem %.reload99 = load i32, i32* %.reg2mem98 store i32 %.reload99, i32* %.reg2mem store i64 %rdi.1.ph28.reload, i64* %rdi.124.reg2mem br label LBL_4 LBL_33: %sv_0.0.ph.lcssa.reload = load i32, i32* %sv_0.0.ph.lcssa.reg2mem %114 = load i64, i64* %sv_4, align 8 %115 = icmp eq i64 %114, 0 br i1 %115, label LBL_35, label LBL_34 LBL_34: %116 = call i64 @FUNC(i64 %114) br label LBL_35 LBL_35: %117 = zext i32 %sv_0.0.ph.lcssa.reload to i64 %118 = call i64 @FUNC(i64 %0, i64 %117) store i64 %118, i64* %rax.0.reg2mem br label LBL_36 LBL_36: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.ph26.reload, { 2, 0, 5, 3, 4, 1 } uselistorder i1 %82, { 1, 0 } uselistorder i8* %sv_2.1.ph.ph32.reload, { 2, 0, 1 } uselistorder i64 %sv_1.1.ph.ph31.reload, { 2, 0, 1 } uselistorder i64* %52, { 0, 1, 3, 2 } uselistorder i8 %25, { 3, 0, 1, 4, 2, 5, 6 } uselistorder i32* %14, { 4, 0, 3, 1, 5, 2 } uselistorder i32* %11, { 8, 2, 3, 7, 4, 5, 0, 1, 10, 9, 6 } uselistorder i64* %sv_4, { 3, 1, 5, 6, 0, 2, 7, 8, 4, 9 } uselistorder i8* %sv_3, { 1, 0 } uselistorder i64 %0, { 1, 0, 5, 6, 7, 8, 4, 3, 2, 10, 9, 11 } uselistorder i32* %.reg2mem, { 2, 1, 0 } uselistorder i64* %rdi.124.reg2mem, { 2, 1, 0 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem94, { 0, 2, 1 } uselistorder i64* %rdi.1.ph.be.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.ph.lcssa.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i64 (i64, i64)* @xml_sax_store_text, { 1, 0 } uselistorder i64 (i64)* @xml_sax_swap, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 2, 1, 0 } uselistorder i64 (i64*, i64*, i64)* @gf_dynstrcat, { 1, 0 } uselistorder i64* null, { 1, 0, 2 } uselistorder i64 (i64)* @gf_free, { 0, 2, 1 } uselistorder i1 false, { 1, 2, 5, 3, 4, 0, 6 } uselistorder i8* null, { 3, 0, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder label LBL_36, { 2, 3, 1, 0 } uselistorder label LBL_33, { 1, 0, 2, 3 } uselistorder label LBL_4.lr.ph, { 1, 0 } uselistorder label LBL_31, { 1, 0 } uselistorder label LBL_4.lr.ph.lr.ph, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
CompRealVul
xhci_xfer_report_1693
xhci_xfer_report
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %rdi.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_3.1.reg2mem = alloca i8 %sv_1.0.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i8 %sv_1.27.reg2mem = alloca i32 %sv_3.28.reg2mem = alloca i8 %sv_2.19.reg2mem = alloca i32 %rcx.111.reg2mem = alloca i64 %rdi.113.reg2mem = alloca i64 %sv_0.314.reg2mem = alloca i32 %storemerge15.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_5 = alloca i64, align 8 store i64 0, i64* %sv_5, align 8 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 store i32 0, i32* %rax.0.in.reg2mem br i1 %7, label LBL_17, label LBL_1 LBL_1: %8 = add i64 %3, 32 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %3, 24 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %3, 12 %15 = inttoptr i64 %14 to i32* %16 = add i64 %3, 16 %17 = inttoptr i64 %16 to i32* %18 = ptrtoint i64* %sv_5 to i64 store i32 0, i32* %storemerge15.reg2mem store i32 0, i32* %sv_0.314.reg2mem store i64 %3, i64* %rdi.113.reg2mem store i32 %13, i32* %sv_2.19.reg2mem store i8 0, i8* %sv_3.28.reg2mem store i32 0, i32* %sv_1.27.reg2mem br label LBL_2 LBL_2: %sv_1.27.reload = load i32, i32* %sv_1.27.reg2mem %sv_3.28.reload = load i8, i8* %sv_3.28.reg2mem %sv_2.19.reload = load i32, i32* %sv_2.19.reg2mem %rcx.111.reload = load i64, i64* %rcx.111.reg2mem %rdi.113.reload = load i64, i64* %rdi.113.reg2mem %sv_0.314.reload = load i32, i32* %sv_0.314.reg2mem %storemerge15.reload = load i32, i32* %storemerge15.reg2mem %19 = sext i32 %storemerge15.reload to i64 %20 = mul i64 %19, 16 %21 = add i64 %20, %rdi.113.reload %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = add i64 %21, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %23, i64 %26) %28 = trunc i64 %27 to i32 %29 = icmp sgt i32 %28, 5 br i1 %29, label LBL_4, label LBL_3 LBL_3: %30 = icmp sgt i32 %28, 2 store i32 %sv_1.27.reload, i32* %sv_1.0.reg2mem store i8 %sv_3.28.reload, i8* %sv_3.1.reg2mem store i32 %sv_2.19.reload, i32* %sv_2.0.reg2mem store i32 %sv_0.314.reload, i32* %sv_0.0.reg2mem br i1 %30, label LBL_5, label LBL_8 LBL_4: %31 = icmp eq i32 %28, 6 %spec.select = select i1 %31, i32 0, i32 %sv_1.27.reload %spec.select4 = select i1 %31, i8 0, i8 %sv_3.28.reload store i32 %spec.select, i32* %sv_1.0.reg2mem store i8 %spec.select4, i8* %sv_3.1.reg2mem store i32 %sv_2.19.reload, i32* %sv_2.0.reg2mem store i32 %sv_0.314.reload, i32* %sv_0.0.reg2mem br label LBL_8 LBL_5: %32 = inttoptr i64 %21 to i32* %33 = load i32, i32* %32, align 4 %34 = urem i32 %33, 131072 %35 = icmp ugt i32 %34, %sv_2.19.reload store i8 %sv_3.28.reload, i8* %sv_3.0.reg2mem store i32 %34, i32* %sv_4.0.reg2mem br i1 %35, label LBL_6, label LBL_7 LBL_6: %36 = load i32, i32* %15, align 4 %37 = icmp eq i32 %36, 1 %38 = icmp eq i1 %37, false %spec.select5 = select i1 %38, i8 %sv_3.28.reload, i8 1 store i8 %spec.select5, i8* %sv_3.0.reg2mem store i32 %sv_2.19.reload, i32* %sv_4.0.reg2mem br label LBL_7 LBL_7: %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %sv_3.0.reload = load i8, i8* %sv_3.0.reg2mem %39 = sub i32 %sv_2.19.reload, %sv_4.0.reload %40 = add i32 %sv_4.0.reload, %sv_0.314.reload store i32 %sv_1.27.reload, i32* %sv_1.0.reg2mem store i8 %sv_3.0.reload, i8* %sv_3.1.reg2mem store i32 %39, i32* %sv_2.0.reg2mem store i32 %40, i32* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_3.1.reload = load i8, i8* %sv_3.1.reg2mem %41 = add i64 %21, 4 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = urem i32 %43, 2 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_13, label LBL_9 LBL_9: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %47 = trunc i32 %sv_1.0.reload to i8 %48 = icmp eq i8 %47, 1 store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i64 %rcx.111.reload, i64* %rcx.0.reg2mem store i64 %23, i64* %rdi.0.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %48, label LBL_16, label LBL_10 LBL_10: %49 = icmp eq i8 %sv_3.1.reload, 0 br i1 %49, label LBL_12, label LBL_11 LBL_11: %50 = and i32 %43, 2 %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_13, label LBL_12 LBL_12: %53 = load i32, i32* %15, align 4 %54 = icmp eq i32 %53, 1 %55 = icmp eq i32 %sv_2.0.reload, 0 %56 = icmp eq i1 %55, false %or.cond = or i1 %56, %54 store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i64 %rcx.111.reload, i64* %rcx.0.reg2mem store i64 %23, i64* %rdi.0.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %or.cond, label LBL_16, label LBL_13 LBL_13: %57 = load i32, i32* %17, align 4 %58 = sext i32 %57 to i64 store i64 %58, i64* %sv_5, align 8 %59 = load i64, i64* %22, align 8 %60 = load i64, i64* %25, align 8 %61 = call i64 @FUNC(i64 %59, i64 %60) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 7 %64 = icmp eq i1 %63, false store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %64, label LBL_15, label LBL_14 LBL_14: %65 = urem i32 %sv_0.0.reload, 16777216 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %66, i64 %59, i64 %rcx.111.reload, i64 %2, i64 %1) store i32 0, i32* %sv_0.1.reg2mem br label LBL_15 LBL_15: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %68 = load i64, i64* %22, align 8 %69 = load i64, i64* %25, align 8 %70 = call i64 @FUNC(i64 %68, i64 %69) %71 = and i64 %70, 4294967295 %72 = call i64 @FUNC(i64 %10, i64* nonnull %sv_5, i64 %71) %73 = load i32, i32* %15, align 4 %74 = icmp eq i32 %73, 1 %75 = icmp eq i1 %74, false store i32 1, i32* %sv_1.1.reg2mem store i64 %18, i64* %rcx.0.reg2mem store i64 %10, i64* %rdi.0.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem store i32 %73, i32* %rax.0.in.reg2mem br i1 %75, label LBL_17, label LBL_16 LBL_16: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %76 = add i32 %storemerge15.reload, 1 %77 = load i32, i32* %5, align 4 %78 = icmp ugt i32 %77, %76 store i32 %76, i32* %storemerge15.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.314.reg2mem store i64 %rdi.0.reload, i64* %rdi.113.reg2mem store i64 %rcx.0.reload, i64* %rcx.111.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.19.reg2mem store i8 %sv_3.1.reload, i8* %sv_3.28.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.27.reg2mem store i32 %76, i32* %rax.0.in.reg2mem br i1 %78, label LBL_2, label LBL_17 LBL_17: %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 %43, { 1, 0 } uselistorder i8 %sv_3.1.reload, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 3, 2, 0, 1 } uselistorder i32 %sv_4.0.reload, { 1, 0 } uselistorder i64 %21, { 0, 1, 3, 2 } uselistorder i32 %sv_0.314.reload, { 2, 0, 1 } uselistorder i64 %rcx.111.reload, { 2, 0, 1 } uselistorder i32 %sv_2.19.reload, { 4, 2, 3, 0, 1 } uselistorder i8 %sv_3.28.reload, { 2, 1, 3, 0 } uselistorder i32 %sv_1.27.reload, { 1, 2, 0 } uselistorder i32* %5, { 1, 0 } uselistorder i64* %sv_5, { 0, 2, 1, 3 } uselistorder i64 %3, { 0, 2, 1, 4, 5, 3 } uselistorder i32* %storemerge15.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.314.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.113.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.111.reg2mem, { 1, 0 } uselistorder i32* %sv_2.19.reg2mem, { 1, 0, 2 } uselistorder i8* %sv_3.28.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.27.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 1, 2 } uselistorder i8* %sv_3.1.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_2.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_1.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rcx.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rdi.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_0.2.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %rax.0.in.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i8 1, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3, 4, 5 } uselistorder i32 2, { 2, 0, 1 } uselistorder i64 (i64, i64)* @TRB_TYPE, { 1, 0 } uselistorder i8 0, { 2, 1, 0, 3 } uselistorder i32 0, { 1, 6, 8, 9, 7, 2, 3, 4, 0, 5 } uselistorder label LBL_8, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
MDC2_Update_5541
MDC2_Update
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 store i64 %2, i64* %sv_1.0.reg2mem store i64 %arg3, i64* %sv_0.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %sext = mul i64 %1, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = sub nsw i64 16, %5 %7 = icmp ugt i64 %6, %arg3 %8 = icmp eq i1 %7, false %9 = ptrtoint i32* %arg1 to i64 %10 = add i64 %9, 4 %11 = add i64 %5, %10 %12 = inttoptr i64 %11 to i64* br i1 %8, label LBL_3, label LBL_2 LBL_2: %13 = trunc i64 %arg3 to i32 %14 = call i64* @memcpy(i64* %12, i64* %arg2, i32 %13) %15 = add i32 %3, %13 store i32 %15, i32* %arg1, align 4 br label LBL_8 LBL_3: %16 = trunc i64 %6 to i32 %17 = call i64* @memcpy(i64* %12, i64* %arg2, i32 %16) %18 = sub i64 %arg3, %6 %19 = add i64 %6, %2 store i32 0, i32* %arg1, align 4 %20 = call i64 @FUNC(i64 %9, i64 %10, i64 16) store i64 %19, i64* %sv_1.0.reg2mem store i64 %18, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %21 = and i64 %sv_0.0.reload, -16 %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = ptrtoint i32* %arg1 to i64 %24 = call i64 @FUNC(i64 %23, i64 %sv_1.0.reload, i64 %21) br label LBL_6 LBL_6: %25 = sub i64 %sv_0.0.reload, %21 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = trunc i64 %25 to i32 %28 = add i64 %21, %sv_1.0.reload %29 = ptrtoint i32* %arg1 to i64 %30 = add i64 %29, 4 %31 = inttoptr i64 %30 to i64* %32 = inttoptr i64 %28 to i64* %33 = call i64* @memcpy(i64* %31, i64* %32, i32 %27) store i32 %27, i32* %arg1, align 4 br label LBL_8 LBL_8: ret i64 1 uselistorder i32 %27, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64* %12, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %6, { 0, 3, 2, 1 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64, i64, i64)* @mdc2_body, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder i64 %arg3, { 2, 3, 1, 0 } uselistorder i32* %arg1, { 4, 5, 3, 1, 0, 2 } uselistorder label LBL_8, { 1, 0, 2 } }
0
CompRealVul
user_reset_fdc_13279
user_reset_fdc
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = urem i64 %arg3, 256 %1 = and i64 %arg1, 4294967295 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 4294967292, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_6 LBL_1: %5 = trunc i64 %arg2 to i32 %6 = icmp eq i32 %5, 1 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = load i32*, i32** @gv_0, align 8 store i32 1, i32* %8, align 4 br label LBL_3 LBL_3: %9 = load i32*, i32** @gv_0, align 8 %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_5, label LBL_4 LBL_4: store i64 ptrtoint (i64* @gv_1 to i64), i64* @gv_2, align 8 %12 = call i64 @FUNC(i64 4198733, i64 %0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, -4 %15 = icmp eq i1 %14, false store i64 4294967292, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_6 LBL_5: %16 = call i64 @FUNC() 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* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_6, { 2, 0, 1 } }
1
CompRealVul
print_value_12771
print_value
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 = icmp ne i64* %arg1, null %3 = icmp eq i64* %arg2, null %4 = icmp eq i1 %3, false %or.cond = icmp eq i1 %2, %4 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_15 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = urem i64 %1, 256 store i64 %7, i64* @0, align 8 %trunc = trunc i64 %1 to i8 store i64 0, i64* %rax.0.reg2mem switch i8 %trunc, label LBL_15 [ i8 0, label LBL_2 i8 1, label LBL_4 i8 2, label LBL_6 i8 3, label LBL_8 i8 4, label LBL_12 i8 5, label LBL_13 i8 6, label LBL_14 i8 7, label LBL_9 ] LBL_2: %8 = call i64 @FUNC(i64 %5, i64 5) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_15 LBL_3: %11 = inttoptr i64 %8 to i32* store i32 1819047278, i32* %11, align 4 %12 = add i64 %8, 4 %13 = inttoptr i64 %12 to i8* store i8 0, i8* %13, align 1 store i64 1, i64* %rax.0.reg2mem br label LBL_15 LBL_4: %14 = call i64 @FUNC(i64 %5, i64 6) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_5, label LBL_15 LBL_5: %17 = inttoptr i64 %14 to i32* store i32 1936482662, i32* %17, align 4 %18 = add i64 %14, 4 %19 = inttoptr i64 %18 to i16* store i16 101, i16* %19, align 2 store i64 1, i64* %rax.0.reg2mem br label LBL_15 LBL_6: %20 = call i64 @FUNC(i64 %5, i64 5) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_7, label LBL_15 LBL_7: %23 = inttoptr i64 %20 to i32* store i32 1702195828, i32* %23, align 4 %24 = add i64 %20, 4 %25 = inttoptr i64 %24 to i8* store i8 0, i8* %25, align 1 store i64 1, i64* %rax.0.reg2mem br label LBL_15 LBL_8: %26 = call i64 @FUNC(i64 %6, i64 %5) store i64 %26, i64* %rax.0.reg2mem br label LBL_15 LBL_9: %27 = add i64 %6, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_10, label LBL_15 LBL_10: %32 = inttoptr i64 %29 to i8* %33 = call i32 @strlen(i8* %32) %34 = sext i32 %33 to i64 %35 = add nsw i64 %34, 1 %36 = call i64 @FUNC(i64 %5, i64 %35) %37 = icmp eq i64 %36, 0 %38 = icmp eq i1 %37, false store i64 0, i64* %rax.0.reg2mem br i1 %38, label LBL_11, label LBL_15 LBL_11: %39 = trunc i64 %35 to i32 %40 = load i64, i64* %28, align 8 %41 = inttoptr i64 %36 to i64* %42 = inttoptr i64 %40 to i64* %43 = call i64* @memcpy(i64* %41, i64* %42, i32 %39) store i64 1, i64* %rax.0.reg2mem br label LBL_15 LBL_12: %44 = call i64 @FUNC(i64 %6, i64 %5) store i64 %44, i64* %rax.0.reg2mem br label LBL_15 LBL_13: %45 = call i64 @FUNC(i64 %6, i64 %5) store i64 %45, i64* %rax.0.reg2mem br label LBL_15 LBL_14: %46 = call i64 @FUNC(i64 %6, i64 %5) store i64 %46, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 3, 2, 1, 4, 0 } uselistorder i64 %5, { 6, 5, 4, 7, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 14, 13, 12, 15, 2, 3, 11, 10, 4, 9, 5, 8, 6, 1, 7 } uselistorder i64 1, { 3, 8, 2, 1, 0, 4, 5, 6, 7 } uselistorder i64 (i64, i64)* @ensure, { 3, 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_15, { 7, 8, 9, 10, 1, 2, 11, 12, 3, 13, 4, 14, 5, 0, 6 } }
1
CompRealVul
intsetBlobLen_19107
intsetBlobLen
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %arg1, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %7) %sext = mul i64 %8, 4294967296 %9 = ashr exact i64 %sext, 32 %sext1 = mul i64 %3, 4294967296 %10 = ashr exact i64 %sext1, 32 %11 = mul nsw i64 %9, %10 %12 = and i64 %11, 4294967295 %13 = add nuw nsw i64 %12, 8 ret i64 %13 uselistorder i64 (i64)* @intrev32ifbe, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } }
1
CompRealVul
decode_picture_header_7717
decode_picture_header
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.08.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %rcx = alloca i64, align 8 %2 = icmp slt i32 %arg3, 1 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = trunc i64 %1 to i8 %4 = udiv i8 %3, 8 %phitmp = zext i8 %4 to i32 %5 = icmp ult i8 %3, 64 %6 = icmp sgt i32 %phitmp, %arg3 %or.cond = or i1 %5, %6 br i1 %or.cond, label LBL_2, label LBL_3 LBL_2: %7 = call i32 @puts(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_3: %8 = ptrtoint i64* %arg2 to i64 %9 = add i64 %8, 1 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp sgt i32 %11, %arg3 br i1 %12, label LBL_4, label LBL_5 LBL_4: %13 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_5: %14 = add i64 %8, 7 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = udiv i8 %16, 16 %18 = zext i8 %17 to i32 %19 = urem i8 %16, 16 %20 = zext i8 %19 to i32 %21 = icmp ult i8 %16, 64 %22 = icmp eq i8 %19, 0 %or.cond6 = icmp eq i1 %21, %22 br i1 %or.cond6, label LBL_7, label LBL_6 LBL_6: %23 = shl i32 1, %20 %24 = zext i32 %23 to i64 %rdx.0 = select i1 %22, i64 1, i64 %24 %25 = icmp ult i8 %16, 16 %26 = shl i32 1, %18 %27 = zext i32 %26 to i64 %storemerge = select i1 %25, i64 1, i64 %27 %28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %storemerge, i64 %rdx.0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_7: %29 = ptrtoint i64* %arg1 to i64 %30 = bitcast i64* %arg1 to i32* store i32 %18, i32* %30, align 4 %31 = add i64 %29, 4 %32 = inttoptr i64 %31 to i32* store i32 %20, i32* %32, align 4 %33 = bitcast i64* %rcx to i32* %34 = load i32, i32* %33, align 8 %35 = add i32 %34, 15 %36 = ashr i32 %35, 4 %37 = add i64 %29, 8 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %39 = ptrtoint i32* %arg4 to i64 %40 = add i64 %39, 4 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = zext i32 %42 to i64 %44 = add i64 %29, 32 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = add i32 %46, 4 %48 = urem i32 %47, 32 %49 = shl i32 1, %48 %storemerge2 = zext i32 %49 to i64 %50 = add nuw nsw i64 %43, 4294967295 %51 = add nuw nsw i64 %50, %storemerge2 %52 = icmp eq i32 %48, 0 %53 = trunc i64 %51 to i32 %54 = ashr i32 %53, %48 %55 = zext i32 %54 to i64 %rdx.1 = select i1 %52, i64 %51, i64 %55 %56 = trunc i64 %rdx.1 to i32 %57 = add i64 %29, 12 %58 = inttoptr i64 %57 to i32* store i32 %56, i32* %58, align 4 %59 = load i32, i32* %38, align 4 %60 = icmp ult i8 %16, 16 %notmask = shl nsw i32 -1, %18 %61 = sub i32 0, %notmask %.op = sub i32 %61, 1 %62 = select i1 %60, i32 0, i32 %.op %63 = and i32 %59, %62 %spec.select = ashr i32 %59, %18 %64 = urem i32 %63, 2 %65 = add i32 %64, %spec.select %66 = udiv i32 %63, 2 %67 = urem i32 %66, 2 %68 = add i32 %65, %67 %69 = udiv i32 %63, 4 %70 = urem i32 %69, 2 %71 = add i32 %68, %70 %72 = mul i32 %71, %56 %73 = add i64 %8, 5 %74 = inttoptr i64 %73 to i16* %75 = load i16, i16* %74, align 2 %76 = zext i16 %75 to i32 %77 = icmp eq i32 %72, %76 br i1 %77, label LBL_9, label LBL_8 LBL_8: %78 = call i32 @puts(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_9: %79 = add i64 %29, 16 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = icmp eq i32 %72, %81 br i1 %82, label LBL_12, label LBL_10 LBL_10: %83 = add i64 %29, 24 %84 = inttoptr i64 %83 to i64* %85 = load i64, i64* %84, align 8 %86 = inttoptr i64 %85 to i64* call void @free(i64* %86) store i64 0, i64* %84, align 8 %87 = mul i32 %72, 16 %88 = add i32 %87, 16 %89 = call i64* @malloc(i32 %88) %90 = ptrtoint i64* %89 to i64 store i64 %90, i64* %84, align 8 %91 = icmp eq i64* %89, null %92 = icmp eq i1 %91, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %92, label LBL_11, label LBL_20 LBL_11: store i32 %72, i32* %80, align 4 br label LBL_12 LBL_12: %93 = mul i32 %72, 2 %94 = add i32 %93, %phitmp %95 = zext i32 %94 to i64 %96 = sext i32 %arg3 to i64 %97 = icmp slt i64 %96, %95 br i1 %97, label LBL_13, label LBL_14 LBL_13: %98 = call i32 @puts(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_14: %99 = zext i8 %4 to i64 %100 = add i64 %99, %8 %101 = sext i32 %93 to i64 %102 = add i64 %100, %101 %103 = icmp sgt i32 %72, 0 %104 = add i64 %29, 24 %105 = inttoptr i64 %104 to i64* %106 = load i64, i64* %105, align 8 %107 = inttoptr i64 %106 to i64* store i64 %102, i64* %107, align 8 %108 = load i64, i64* %105, align 8 %109 = add i64 %108, 8 %110 = inttoptr i64 %109 to i32* store i32 0, i32* %110, align 4 store i64 %102, i64* %sv_0.0.lcssa.reg2mem br i1 %103, label LBL_15, label LBL_17 LBL_15: %wide.trip.count = zext i32 %72 to i64 store i64 0, i64* %indvars.iv.reg2mem store i64 %102, i64* %sv_0.08.reg2mem br label LBL_16 LBL_16: %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %indvars.iv.tr = trunc i64 %indvars.iv.reload to i32 %111 = mul i32 %indvars.iv.tr, 2 %112 = sext i32 %111 to i64 %113 = add i64 %100, %112 %114 = inttoptr i64 %113 to i16* %115 = load i16, i16* %114, align 2 %116 = zext i16 %115 to i64 %117 = add i64 %sv_0.08.reload, %116 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %118 = load i64, i64* %105, align 8 %119 = mul i64 %indvars.iv.next, 16 %120 = add i64 %118, %119 %121 = inttoptr i64 %120 to i64* store i64 %117, i64* %121, align 8 %122 = load i64, i64* %105, align 8 %123 = or i64 %119, 8 %124 = add i64 %122, %123 %125 = inttoptr i64 %124 to i32* store i32 0, i32* %125, align 4 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %117, i64* %sv_0.08.reg2mem store i64 %117, i64* %sv_0.0.lcssa.reg2mem br i1 %exitcond, label LBL_17, label LBL_16 LBL_17: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %126 = add i64 %96, %8 %127 = icmp ugt i64 %sv_0.0.lcssa.reload, %126 br i1 %127, label LBL_18, label LBL_19 LBL_18: %128 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_19: %129 = zext i32 %11 to i64 store i64 %129, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.next, { 0, 2, 1 } uselistorder i64* %105, { 2, 3, 0, 1 } uselistorder i64 %102, { 1, 0, 2 } uselistorder i32 %72, { 2, 3, 0, 4, 1, 5, 6 } uselistorder i32 %59, { 1, 0 } uselistorder i32 %48, { 1, 2, 0 } uselistorder i64 %29, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i1 %22, { 1, 0 } uselistorder i32 %20, { 1, 0 } uselistorder i8 %19, { 1, 0 } uselistorder i32 %18, { 1, 0, 3, 2 } uselistorder i8 %16, { 0, 1, 4, 3, 2 } uselistorder i8 %4, { 1, 0 } uselistorder i8 %3, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.08.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 5, 1, 2, 6, 7, 8 } uselistorder i32 16, { 1, 0 } uselistorder i32 2, { 0, 1, 3, 4, 2, 5 } uselistorder i32 0, { 4, 3, 2, 1, 0, 5 } uselistorder i8 16, { 0, 1, 3, 2 } uselistorder i64 1, { 0, 2, 1, 3 } uselistorder i32 (i8*)* @puts, { 1, 2, 4, 3, 0 } uselistorder i32 %arg3, { 1, 2, 0, 3 } uselistorder label LBL_20, { 1, 2, 3, 0, 4, 5, 6, 7 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
dlt_file_message_12840
dlt_file_message
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = and i64 %arg3, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64* %arg1, null %7 = icmp eq i1 %6, false store i64 1, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_9 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = add i64 %8, 16 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = icmp slt i64 %9, %13 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = and i64 %9, 4294967295 %16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %15, i64 %3, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_9 LBL_3: %17 = add i64 %8, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = ashr exact i64 %sext, 29 %21 = add i64 %19, %20 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %4 to %_IO_FILE* %25 = trunc i64 %23 to i32 %26 = call i32 @fseek(%_IO_FILE* %24, i32 %25, i32 0) %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_5, label LBL_4 LBL_4: %28 = load i64, i64* %18, align 8 %29 = add i64 %28, %20 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = and i64 %9, 4294967295 %33 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i64 %32, i64 %31, i64 %2, i64 %1) store i64 2, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %34 = call i64 @FUNC(i64 %8, i64 %4) %35 = trunc i64 %34 to i32 %36 = icmp slt i32 %35, 0 %37 = icmp eq i1 %36, false store i64 2, i64* %rax.0.reg2mem br i1 %37, label LBL_6, label LBL_9 LBL_6: %38 = call i64 @FUNC(i64 %8, i64 %4) %39 = trunc i64 %38 to i32 %40 = icmp slt i32 %39, 0 %41 = icmp eq i1 %40, false store i64 2, i64* %rax.0.reg2mem br i1 %41, label LBL_7, label LBL_9 LBL_7: %42 = call i64 @FUNC(i64 %8, i64 %4) %43 = trunc i64 %42 to i32 %44 = icmp slt i32 %43, 0 %45 = icmp eq i1 %44, false store i64 2, i64* %rax.0.reg2mem br i1 %45, label LBL_8, label LBL_9 LBL_8: %46 = trunc i64 %9 to i32 %47 = add i64 %8, 20 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 store i64 0, 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 %9, { 2, 1, 3, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %8, { 0, 1, 2, 3, 5, 4 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 2, 3, 6, 5, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dlt_vlog, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 4, 0, 1, 2, 5, 6, 3 } }
1
CompRealVul
do_interrupt_requests_3873
do_interrupt_requests
define i64 @FUNC(i64* %arg1, i16* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i8 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %1 to i8 %6 = icmp eq i8 %5, 0 %.pre = add i64 %3, 1 %.pre2 = inttoptr i64 %.pre to i8* br i1 %6, label LBL_8, label LBL_1 LBL_1: %7 = load i8, i8* %.pre2, align 1 %8 = icmp eq i8 %7, 1 br i1 %8, label LBL_2, label LBL_3 LBL_2: %9 = call i64 @FUNC(i64 %3) br label LBL_11 LBL_3: %10 = add i64 %3, 12 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 0 br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %3) br label LBL_8 LBL_5: %15 = add i64 %3, 2 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 0 br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = bitcast i64* %rdi to i8* %20 = bitcast i64* %arg1 to i8* store i8 0, i8* %20, align 1 store i8 1, i8* %.pre2, align 1 %.pre10 = load i8, i8* %19, align 8 store i8 %.pre10, i8* %.reg2mem br label LBL_9 LBL_7: %21 = call i64 @FUNC(i64 %3) store i64 %21, i64* %rax.0.reg2mem br label LBL_27 LBL_8: %.pr = load i8, i8* %.pre2, align 1 %22 = icmp eq i8 %.pr, 0 store i8 %5, i8* %.reg2mem br i1 %22, label LBL_15, label LBL_9 LBL_9: %.reload = load i8, i8* %.reg2mem %23 = call i64 @FUNC(i64 %3) %24 = icmp eq i8 %.reload, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_11, label LBL_10 LBL_10: %26 = bitcast i64* %rsi to i8* %27 = load i8, i8* %26, align 8 %28 = icmp eq i8 %27, 0 br i1 %28, label LBL_12, label LBL_11 LBL_11: %29 = call i64 @FUNC(i64 %3) store i64 %29, i64* %rax.0.reg2mem br label LBL_27 LBL_12: %30 = add i64 %3, 4 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = icmp eq i8 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_14, label LBL_13 LBL_13: %35 = ptrtoint i16* %arg2 to i64 %36 = add i64 %35, 1 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = icmp eq i8 %38, 0 store i64 0, i64* %rax.0.reg2mem br i1 %39, label LBL_27, label LBL_14 LBL_14: %40 = call i64 @FUNC(i64 %3) store i64 %40, i64* %rax.0.reg2mem br label LBL_27 LBL_15: %41 = trunc i64 %2 to i8 %42 = add i64 %3, 2 %43 = inttoptr i64 %42 to i8* %44 = load i8, i8* %43, align 1 %45 = icmp eq i8 %44, 1 %46 = icmp eq i8 %41, 0 %or.cond = icmp eq i1 %45, %46 br i1 %or.cond, label LBL_17, label LBL_16 LBL_16: %47 = call i64 @FUNC(i64 %3) br label LBL_17 LBL_17: %48 = add i64 %3, 3 %49 = inttoptr i64 %48 to i8* %50 = load i8, i8* %49, align 1 %51 = icmp eq i8 %50, 0 %.pre11 = add i64 %3, 4 %.pre12 = inttoptr i64 %.pre11 to i8* br i1 %51, label LBL_24, label LBL_18 LBL_18: %52 = load i8, i8* %.pre12, align 1 %53 = icmp eq i8 %52, 0 %.pre4 = add i64 %3, 12 %.pre6 = inttoptr i64 %.pre4 to i8* br i1 %53, label LBL_21, label LBL_19 LBL_19: %54 = load i8, i8* %.pre6, align 1 %55 = icmp eq i8 %54, 1 br i1 %55, label LBL_22, label LBL_20 LBL_20: %56 = call i64 @FUNC(i64 %3) br label LBL_21 LBL_21: %.pr8 = load i8, i8* %.pre6, align 1 %57 = icmp eq i8 %.pr8, 0 br i1 %57, label LBL_23, label LBL_22 LBL_22: %58 = add i64 %3, 8 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = zext i32 %60 to i64 %62 = call i64 @FUNC(i64 %3, i64 %61) br label LBL_23 LBL_23: %.pr9 = load i8, i8* %49, align 1 %63 = icmp eq i8 %.pr9, 1 store i64 0, i64* %rax.0.reg2mem br i1 %63, label LBL_27, label LBL_24 LBL_24: %64 = load i8, i8* %.pre12, align 1 %65 = icmp eq i8 %64, 0 %66 = icmp eq i1 %65, false br i1 %66, label LBL_26, label LBL_25 LBL_25: %67 = ptrtoint i16* %arg2 to i64 %68 = add i64 %67, 1 %69 = inttoptr i64 %68 to i8* %70 = load i8, i8* %69, align 1 %71 = icmp eq i8 %70, 0 store i64 0, i64* %rax.0.reg2mem br i1 %71, label LBL_27, label LBL_26 LBL_26: %72 = call i64 @FUNC(i64 %3) store i64 %72, i64* %rax.0.reg2mem br label LBL_27 LBL_27: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %.pre2, { 0, 2, 1 } uselistorder i64 %3, { 13, 11, 12, 15, 2, 1, 14, 16, 18, 8, 9, 10, 17, 7, 6, 5, 4, 0, 3, 19 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 7, 3, 2, 4, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @enable_irq_window, { 1, 0 } uselistorder i64 (i64)* @enable_nmi_window, { 3, 2, 1, 0 } uselistorder i64 (i64)* @vmx_inject_nmi, { 1, 0 } uselistorder i8 1, { 0, 1, 2, 4, 3 } uselistorder i8 0, { 1, 2, 3, 4, 5, 0, 6, 7, 8, 9, 10, 11, 12, 13, 14 } uselistorder i16* %arg2, { 1, 0 } uselistorder label LBL_27, { 3, 4, 5, 2, 1, 0, 6 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
CompRealVul
vp8_decode_flush_17322
vp8_decode_flush
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0, i64 0) ret i64 %1 }
1
CompRealVul
qobject_to_qfloat_14972
qobject_to_qfloat
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 1 %storemerge = select i1 %2, i64 %arg1, i64 0 ret i64 %storemerge }
1
CompRealVul
ff_check_pixfmt_descriptors_14289
ff_check_pixfmt_descriptors
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i16 %sv_0.0.reg2mem = alloca i16 %storemerge5.reg2mem = alloca i64 %sv_0.112.reg2mem = alloca i16 %indvars.iv.reg2mem = alloca i64 %storemerge9.reg2mem = alloca i64 %sv_0.314.reg2mem = alloca i16 %indvars.iv16.reg2mem = alloca i64 %sv_1 = alloca i16, align 2 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %0 = ptrtoint i64* %sv_4 to i64 %1 = ptrtoint i64* %sv_3 to i64 %2 = add i64 %0, -16 %3 = inttoptr i64 %2 to i64* %4 = add i64 %0, -24 %5 = inttoptr i64 %4 to i64* %6 = add i64 %0, -32 %7 = inttoptr i64 %6 to i64* %8 = bitcast i16* %sv_1 to i64* %9 = add i64 %0, -8 %10 = inttoptr i64 %9 to i64* store i64 0, i64* %indvars.iv16.reg2mem br label LBL_1 LBL_1: %sv_0.314.reload = load i16, i16* %sv_0.314.reg2mem %indvars.iv16.reload = load i64, i64* %indvars.iv16.reg2mem %11 = mul nuw nsw i64 %indvars.iv16.reload, 104 %12 = add i64 %11, ptrtoint ([13 x i8]** @gv_0 to i64) store i64 0, i64* %sv_3, align 8 store i64 %1, i64* %sv_4, align 8 store i32 0, i32* %sv_2, align 4 %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 %.pre = add i64 %11, add (i64 ptrtoint ([13 x i8]** @gv_0 to i64), i64 8) %.pre19 = inttoptr i64 %.pre to i32* br i1 %16, label LBL_6, label LBL_2 LBL_2: %17 = load i32, i32* %.pre19, align 8 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_6, label LBL_3 LBL_3: %20 = add i64 %11, add (i64 ptrtoint ([13 x i8]** @gv_0 to i64), i64 12) %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_4 LBL_4: %25 = add i64 %11, add (i64 ptrtoint ([13 x i8]** @gv_0 to i64), i64 16) %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 8 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = add i64 %11, add (i64 ptrtoint ([13 x i8]** @gv_0 to i64), i64 20) %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 store i16 %sv_0.314.reload, i16* %sv_0.2.reg2mem br i1 %33, label LBL_24, label LBL_6 LBL_6: %34 = add i64 %11, add (i64 ptrtoint ([13 x i8]** @gv_0 to i64), i64 12) %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = add i32 %36, -3 %38 = sub i32 2, %36 %39 = and i32 %38, %36 %40 = icmp slt i32 %39, 0 %41 = icmp eq i32 %37, 0 %42 = icmp slt i32 %37, 0 %43 = icmp ne i1 %42, %40 %44 = or i1 %41, %43 %45 = zext i1 %44 to i64 %46 = call i64 @FUNC(i64 %45) %47 = add i64 %11, add (i64 ptrtoint ([13 x i8]** @gv_0 to i64), i64 16) %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 8 %50 = add i32 %49, -3 %51 = sub i32 2, %49 %52 = and i32 %51, %49 %53 = icmp slt i32 %52, 0 %54 = icmp eq i32 %50, 0 %55 = icmp slt i32 %50, 0 %56 = icmp ne i1 %55, %53 %57 = or i1 %54, %56 %58 = zext i1 %57 to i64 %59 = call i64 @FUNC(i64 %58) %60 = load i32, i32* %.pre19, align 8 %61 = add i32 %60, -4 %62 = sub i32 3, %60 %63 = and i32 %62, %60 %64 = icmp slt i32 %63, 0 %65 = icmp eq i32 %61, 0 %66 = icmp slt i32 %61, 0 %67 = icmp ne i1 %66, %64 %68 = or i1 %65, %67 %69 = zext i1 %68 to i64 %70 = call i64 @FUNC(i64 %69) %71 = load i64, i64* %13, align 8 %72 = icmp eq i64 %71, 0 br i1 %72, label LBL_8, label LBL_7 LBL_7: %73 = inttoptr i64 %71 to i8* %74 = load i8, i8* %73, align 1 %75 = icmp eq i8 %74, 0 store i64 1, i64* %storemerge9.reg2mem br i1 %75, label LBL_8, label LBL_9 LBL_8: store i64 0, i64* %storemerge9.reg2mem br label LBL_9 LBL_9: %storemerge9.reload = load i64, i64* %storemerge9.reg2mem %76 = call i64 @FUNC(i64 %storemerge9.reload) %77 = load i32, i32* %.pre19, align 8 %78 = icmp ne i32 %77, 4 %79 = icmp ne i32 %77, 2 %80 = icmp eq i1 %78, %79 %81 = add i64 %11, add (i64 ptrtoint ([13 x i8]** @gv_0 to i64), i64 20) %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = urem i32 %83, 2 %85 = icmp eq i32 %84, 0 %86 = icmp eq i1 %85, false %87 = icmp ne i1 %80, %86 %88 = zext i1 %87 to i64 %89 = call i64 @FUNC(i64 %88) %90 = load i64, i64* %13, align 8 %91 = call i64 @FUNC(i64 %90) %92 = and i64 %91, 4294967295 %93 = icmp eq i64 %indvars.iv16.reload, %92 %94 = zext i1 %93 to i64 %95 = call i64 @FUNC(i64 %94) store i64 0, i64* %indvars.iv.reg2mem store i16 %sv_0.314.reload, i16* %sv_0.112.reg2mem br label LBL_10 LBL_10: %sv_0.112.reload = load i16, i16* %sv_0.112.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %96 = mul nuw nsw i64 %indvars.iv.reload, 20 %97 = add i64 %96, %47 %98 = load i32, i32* %.pre19, align 8 %99 = zext i32 %98 to i64 %100 = icmp ult i64 %indvars.iv.reload, %99 br i1 %100, label LBL_18, label LBL_11 LBL_11: %101 = add i64 %97, 8 %102 = inttoptr i64 %101 to i32* %103 = load i32, i32* %102, align 4 %104 = icmp eq i32 %103, 0 %105 = icmp eq i1 %104, false br i1 %105, label LBL_16, label LBL_12 LBL_12: %106 = add i64 %97, 12 %107 = inttoptr i64 %106 to i32* %108 = load i32, i32* %107, align 4 %109 = icmp eq i32 %108, 0 %110 = icmp eq i1 %109, false br i1 %110, label LBL_16, label LBL_13 LBL_13: %111 = add i64 %97, 16 %112 = inttoptr i64 %111 to i32* %113 = load i32, i32* %112, align 4 %114 = icmp eq i32 %113, 0 %115 = icmp eq i1 %114, false br i1 %115, label LBL_16, label LBL_14 LBL_14: %116 = add i64 %97, 20 %117 = inttoptr i64 %116 to i32* %118 = load i32, i32* %117, align 4 %119 = icmp eq i32 %118, 0 %120 = icmp eq i1 %119, false br i1 %120, label LBL_16, label LBL_15 LBL_15: %121 = add i64 %97, 24 %122 = inttoptr i64 %121 to i32* %123 = load i32, i32* %122, align 4 %124 = icmp eq i32 %123, 0 %125 = icmp eq i1 %124, false store i64 1, i64* %storemerge5.reg2mem br i1 %125, label LBL_16, label LBL_17 LBL_16: store i64 0, i64* %storemerge5.reg2mem br label LBL_17 LBL_17: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %126 = call i64 @FUNC(i64 %storemerge5.reload) store i16 %sv_0.112.reload, i16* %sv_0.0.reg2mem br label LBL_23 LBL_18: %127 = load i32, i32* %82, align 4 %128 = and i32 %127, 2 %129 = icmp eq i32 %128, 0 br i1 %129, label LBL_20, label LBL_19 LBL_19: %130 = add i64 %97, 12 %131 = inttoptr i64 %130 to i32* %132 = load i32, i32* %131, align 4 %133 = add i64 %97, 24 %134 = inttoptr i64 %133 to i32* %135 = load i32, i32* %134, align 4 %136 = sub i32 %132, %135 %137 = xor i32 %135, %132 %138 = xor i32 %136, %132 %139 = and i32 %138, %137 %140 = icmp slt i32 %139, 0 %141 = icmp slt i32 %136, 0 %142 = icmp eq i1 %141, %140 %143 = zext i1 %142 to i64 %144 = call i64 @FUNC(i64 %143) br label LBL_21 LBL_20: %145 = add i64 %97, 24 %146 = inttoptr i64 %145 to i32* %147 = load i32, i32* %146, align 4 %148 = add i64 %97, 12 %149 = inttoptr i64 %148 to i32* %150 = load i32, i32* %149, align 4 %151 = mul i32 %150, 8 %152 = add i32 %151, 8 %153 = sub i32 %147, %152 %154 = xor i32 %152, %147 %155 = xor i32 %153, %147 %156 = and i32 %155, %154 %157 = icmp slt i32 %156, 0 %158 = icmp slt i32 %153, 0 %159 = icmp ne i1 %158, %157 %160 = zext i1 %159 to i64 %161 = call i64 @FUNC(i64 %160) br label LBL_21 LBL_21: store i64 0, i64* %3, align 8 store i64 2, i64* %5, align 8 store i64 %indvars.iv.reload, i64* %7, align 8 %162 = call i64 @FUNC(i64* nonnull %8, i64* nonnull %sv_4, i32* nonnull %sv_2, i64 %12, i64 0, i64 0) %163 = load i64, i64* %13, align 8 %164 = inttoptr i64 %163 to i8* %165 = call i32 @strncmp(i8* %164, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i32 6) %166 = icmp eq i32 %165, 0 store i16 %sv_0.112.reload, i16* %sv_0.0.reg2mem br i1 %166, label LBL_23, label LBL_22 LBL_22: %167 = load i16, i16* %sv_1, align 2 %168 = or i16 %167, %sv_0.112.reload %169 = icmp eq i16 %168, 0 %storemerge7 = zext i1 %169 to i64 %170 = call i64 @FUNC(i64 %storemerge7) %171 = add i64 %97, 24 %172 = inttoptr i64 %171 to i32* %173 = load i32, i32* %172, align 4 %174 = add i32 %173, 1 %175 = urem i32 %174, 32 %176 = shl i32 1, %175 %177 = trunc i32 %176 to i16 %178 = add i16 %177, -1 store i16 %178, i16* %sv_1, align 2 store i64 2, i64* %10, align 8 store i64 %indvars.iv.reload, i64* %3, align 8 %179 = call i64 @FUNC(i64* nonnull %8, i64* nonnull %sv_4, i32* nonnull %sv_2, i64 %12, i64 0, i64 0) store i16 %178, i16* %sv_0.0.reg2mem br label LBL_23 LBL_23: %sv_0.0.reload = load i16, i16* %sv_0.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i16 %sv_0.0.reload, i16* %sv_0.112.reg2mem store i16 %sv_0.0.reload, i16* %sv_0.2.reg2mem br i1 %exitcond, label LBL_24, label LBL_10 LBL_24: %sv_0.2.reload = load i16, i16* %sv_0.2.reg2mem %indvars.iv.next17 = add nuw nsw i64 %indvars.iv16.reload, 1 %exitcond18 = icmp eq i64 %indvars.iv.next17, 2 store i64 %indvars.iv.next17, i64* %indvars.iv16.reg2mem store i16 %sv_0.2.reload, i16* %sv_0.314.reg2mem br i1 %exitcond18, label LBL_25, label LBL_1 LBL_25: ret i64 2 uselistorder i32 %153, { 1, 0 } uselistorder i32 %136, { 1, 0 } uselistorder i64 %97, { 2, 0, 1, 3, 4, 5, 6, 7, 8, 9 } uselistorder i16 %sv_0.112.reload, { 2, 1, 0 } uselistorder i32 %61, { 1, 0 } uselistorder i32 %50, { 1, 0 } uselistorder i32 %37, { 1, 0 } uselistorder i64 %11, { 1, 2, 3, 4, 5, 6, 0, 7 } uselistorder i16 %sv_0.314.reload, { 1, 0 } uselistorder i64 %0, { 0, 3, 2, 1 } uselistorder i64* %sv_3, { 1, 0 } uselistorder i16* %sv_1, { 1, 0, 2 } uselistorder i64* %indvars.iv16.reg2mem, { 1, 0, 2 } uselistorder i16* %sv_0.314.reg2mem, { 1, 0 } uselistorder i64* %storemerge9.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i16* %sv_0.112.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 } uselistorder i16* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32 8, { 1, 0 } uselistorder i64 24, { 1, 0, 2, 3 } uselistorder i64 1, { 2, 3, 0, 1 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i64)* @av_assert0, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 2, { 4, 0, 3, 1, 2 } uselistorder i64 20, { 0, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder i32 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, 0, 26, 27 } uselistorder i32 1, { 13, 12, 19, 18, 17, 16, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 14, 10, 15, 11 } uselistorder label LBL_23, { 1, 0, 2 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 2, 3, 4, 0 } }
1
CompRealVul
ProcXFixesSetCursorName_4104
ProcXFixesSetCursorName
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64* @malloc(i32 8) %1 = call i64* @malloc(i32 4) %2 = bitcast i64* %0 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp slt i32 %3, 1 %5 = icmp eq i1 %4, false store i64 4294967294, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = bitcast i64* %1 to i32* store i32 1, i32* %6, 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 i64* (i32)* @malloc, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
flush_18851
flush
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 1, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %0, 12 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %0, 20 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %0, 24 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6 } }
1
CompRealVul
mark_tree_uninteresting_4664
mark_tree_uninteresting
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 store i64 %arg1, i64* %sv_2, align 8 %0 = icmp eq i64 %arg1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_11, label LBL_1 LBL_1: %1 = add i64 %arg1, 20 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = urem i32 %3, 2 %5 = zext i32 %4 to i64 %6 = icmp eq i32 %4, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_11, label LBL_2 LBL_2: %8 = or i32 %3, 1 store i32 %8, i32* %2, align 4 %9 = load i64, i64* %sv_2, align 8 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_11, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %arg1) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %9) %18 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %17) unreachable LBL_5: %19 = add i64 %arg1, 32 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %arg1, 24 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64* nonnull %sv_2, i64 %24, i64 %21) %26 = call i64 @FUNC(i64* nonnull %sv_2, i32* nonnull %sv_1) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_6, label LBL_10 LBL_6: %30 = load i32, i32* %sv_1, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31) %33 = trunc i64 %32 to i32 switch i32 %33, label LBL_8 [ i32 2, label LBL_7 i32 3, label LBL_9 ] LBL_7: %34 = call i64 @FUNC(i64* nonnull %sv_0) %35 = call i64 @FUNC(i64 %34) br label LBL_8 LBL_8: %36 = call i64 @FUNC(i64* nonnull %sv_2, i32* nonnull %sv_1) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_6, label LBL_10 LBL_9: %40 = call i64 @FUNC(i64* nonnull %sv_0) %41 = call i64 @FUNC(i64 %40) br label LBL_8 LBL_10: %42 = load i64, i64* %23, align 8 %43 = inttoptr i64 %42 to i64* call void @free(i64* %43) store i64 0, i64* %23, align 8 store i64 %arg1, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %23, { 1, 0, 2 } uselistorder i32 %4, { 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %sv_2, { 1, 0, 2, 3, 4 } uselistorder i32* %sv_1, { 1, 2, 0 } uselistorder i64 (i64*, i32*)* @tree_entry, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i32 0, { 1, 0, 2, 3, 4 } uselistorder i32 2, { 1, 0 } uselistorder i64 %arg1, { 0, 2, 1, 3, 4, 6, 5 } uselistorder label LBL_11, { 3, 0, 1, 2 } uselistorder label LBL_8, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
0
CompRealVul
css_add_virtual_chpid_1118
css_add_virtual_chpid
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = urem i64 %arg1, 256 %1 = trunc i64 %arg3 to i8 %2 = urem i64 %arg2, 256 %3 = call i64 @FUNC(i64 %0, i64 %2, i8 %1) %4 = mul i64 %arg1, 8 %5 = and i64 %4, 2040 %6 = add i64 %5, ptrtoint (i64* @gv_0 to i64) %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 4294967274, i64* %rax.0.reg2mem br i1 %10, label LBL_1, label LBL_3 LBL_1: %11 = mul nuw nsw i64 %2, 12 %12 = add i64 %8, %11 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 store i64 4294967279, i64* %rax.0.reg2mem br i1 %15, label LBL_2, label LBL_3 LBL_2: store i32 1, i32* %13, align 4 %16 = add i64 %12, 4 %17 = inttoptr i64 %16 to i8* store i8 %1, i8* %17, align 1 %18 = add i64 %12, 8 %19 = inttoptr i64 %18 to i32* store i32 1, i32* %19, align 4 %20 = call i64 @FUNC(i64 %0, i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
CompRealVul
io_req_free_batch_19294
io_req_free_batch
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i32* %.reg2mem9 = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %2) store i64 %8, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %9 = urem i64 %1, 2 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %2) br label LBL_4 LBL_4: %12 = ptrtoint i64* %arg1 to i64 %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %12, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %15, %18 br i1 %19, label LBL_4.LBL_9_crit_edge, label LBL_6 LBL_5: %.pre1 = add i64 %12, 24 %.pre2 = inttoptr i64 %.pre1 to i32* %.pre8 = load i32, i32* %.pre2, align 4 %phitmp = add i32 %.pre8, 1 store i32 %phitmp, i32* %.reg2mem9 store i32* %.pre2, i32** %.pre-phi3.reg2mem br label LBL_9 LBL_6: %20 = icmp eq i64 %18, 0 %.pre4 = add i64 %12, 24 %.pre6 = inttoptr i64 %.pre4 to i32* store i64 %15, i64* %.reg2mem br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = load i32, i32* %.pre6, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %18, i64 %22) %.pre = load i64, i64* %14, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_8 LBL_8: %.reload = load i64, i64* %.reg2mem store i64 %.reload, i64* %17, align 8 store i32 0, i32* %.pre6, align 4 store i32 1, i32* %.reg2mem9 store i32* %.pre6, i32** %.pre-phi3.reg2mem br label LBL_9 LBL_9: %.pre-phi3.reload = load i32*, i32** %.pre-phi3.reg2mem %.reload10 = load i32, i32* %.reg2mem9 store i32 %.reload10, i32* %.pre-phi3.reload, align 4 %24 = call i64 @FUNC(i64 %2) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 store i64 %2, i64* %rdi.0.reg2mem br i1 %26, label LBL_11, label LBL_10 LBL_10: %27 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %28 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %27) store i64 ptrtoint ([27 x i8]* @gv_1 to i64), i64* %rdi.0.reg2mem br label LBL_11 LBL_11: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %29 = add i64 %12, 8 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = add i32 %31, 1 store i32 %32, i32* %30, align 4 %33 = sext i32 %31 to i64 %34 = mul i64 %33, 8 %35 = add i64 %34, %rdi.0.reload %36 = inttoptr i64 %35 to i64* store i64 %2, i64* %36, align 8 %37 = load i32, i32* %30, align 4 %38 = icmp eq i32 %37, 1 %39 = icmp eq i1 %38, false store i64 0, i64* %rax.0.reg2mem br i1 %39, label LBL_13, label LBL_12 LBL_12: %40 = add i64 %2, 16 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %42, i64 %12) store i64 %43, 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 %12, { 2, 3, 0, 1, 4 } uselistorder i64 %2, { 3, 4, 0, 5, 6, 2, 1, 7 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
CompRealVul
adx_decode_stereo_14466
adx_decode_stereo
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %3 = ptrtoint i64* %sv_2 to i64 %4 = call i64 @FUNC(i64* nonnull %sv_1, i64 %1, i64 %0) %5 = add i64 %1, 18 %6 = call i64 @FUNC(i64* nonnull %sv_0, i64 %5, i64 %0) %7 = add i64 %3, -144 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %8 = mul i64 %indvars.iv.reload, 2 %9 = mul i64 %indvars.iv.reload, 4 %10 = add i64 %9, %2 %11 = add i64 %8, %7 %12 = inttoptr i64 %11 to i16* %13 = load i16, i16* %12, align 2 %14 = inttoptr i64 %10 to i16* store i16 %13, i16* %14, align 2 %15 = or i64 %9, 2 %16 = add i64 %15, %2 %17 = add i64 %11, 64 %18 = inttoptr i64 %17 to i16* %19 = load i16, i16* %18, align 2 %20 = inttoptr i64 %16 to i16* store i16 %19, i16* %20, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %21 = zext i16 %19 to i64 ret i64 %21 uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64*, i64, i64)* @adx_decode, { 1, 0 } }
1
CompRealVul
qemu_find_file_14442
qemu_find_file
define i64 @FUNC(i64 %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i8* %0 = call i32 @access(i8* %arg2, i32 4) %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i8* %arg2 to i64 %4 = call i64 @FUNC(i64 %3) store i64 %4, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %5 = trunc i64 %arg1 to i32 store i8* bitcast (i8** @gv_0 to i8*), i8** %storemerge.reg2mem switch i32 %5, label LBL_3 [ i32 0, label LBL_5 i32 1, label LBL_4 ] LBL_3: call void @abort() unreachable LBL_4: store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i8** %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i8*, i8** %storemerge.reg2mem %6 = load [14 x i8]*, [14 x i8]** @gv_2, align 8 %7 = getelementptr inbounds [14 x i8], [14 x i8]* %6, i64 0, i64 0 %8 = call i32 @strlen(i8* %7) %9 = call i32 @strlen(i8* %arg2) %10 = call i32 @strlen(i8* nonnull %storemerge.reload) %11 = add i32 %8, 2 %12 = add i32 %11, %9 %13 = add i32 %12, %10 %14 = sext i32 %13 to i64 %15 = call i64 @FUNC(i64 %14) %16 = load [14 x i8]*, [14 x i8]** @gv_2, align 8 %17 = inttoptr i64 %15 to i8* %18 = getelementptr inbounds [14 x i8], [14 x i8]* %16, i64 0, i64 0 %19 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %17, i32 %13, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i8* %18, i8* nonnull %storemerge.reload, i8* %arg2) %20 = call i32 @access(i8* %17, i32 4) %21 = icmp eq i32 %20, 0 store i64 %15, i64* %rax.0.reg2mem br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %15) 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 %15, { 1, 0, 2 } uselistorder i8* %storemerge.reload, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 (i8*)* @strlen, { 1, 0, 3, 2 } uselistorder i32 0, { 2, 0, 3, 1 } uselistorder i32 (i8*, i32)* @access, { 1, 0 } uselistorder i32 1, { 2, 1, 0, 3 } uselistorder i8* %arg2, { 1, 2, 0, 3 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
1
CompRealVul
serial_xmit_14153
serial_xmit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem4 = alloca i8 %.reg2mem = alloca i8 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = bitcast i64* %rdi to i8* %4 = add i64 %2, 3 %5 = inttoptr i64 %4 to i8* %6 = add i64 %2, 6 %7 = inttoptr i64 %6 to i8* %8 = add i64 %2, 7 %9 = add i64 %2, 1 %10 = inttoptr i64 %9 to i8* %11 = inttoptr i64 %8 to i8* %12 = bitcast i64* %arg1 to i8* %13 = add i64 %2, 2 %14 = inttoptr i64 %13 to i8* %15 = add i64 %2, 4 %16 = inttoptr i64 %15 to i8* %17 = add i64 %2, 5 %18 = inttoptr i64 %17 to i8* %19 = add i64 %2, 8 %20 = inttoptr i64 %19 to i64* %21 = trunc i64 %1 to i8 store i8 %21, i8* %.reg2mem br label LBL_1 LBL_1: %.reload = load i8, i8* %.reg2mem %22 = and i8 %.reload, 64 %23 = icmp eq i8 %22, 0 br i1 %23, label LBL_3, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %24 = load i8, i8* %5, align 1 %25 = icmp eq i8 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_15, label LBL_4 LBL_4: %27 = and i8 %.reload, 32 %28 = icmp eq i8 %27, 0 br i1 %28, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_6 LBL_6: %29 = load i8, i8* %7, align 1 %30 = urem i8 %29, 2 %31 = icmp eq i8 %30, 0 br i1 %31, label LBL_11, label LBL_7 LBL_7: %32 = call i64 @FUNC(i64 %8) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_9, label LBL_8 LBL_8: call void @__assert_fail(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 45, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_9 LBL_9: %35 = call i64 @FUNC(i64 %8) %36 = trunc i64 %35 to i8 store i8 %36, i8* %10, align 1 %37 = load i8, i8* %11, align 1 %38 = icmp eq i8 %37, 0 %39 = icmp eq i1 %38, false %.pre = load i8, i8* %3, align 8 store i8 %.pre, i8* %.reg2mem4 br i1 %39, label LBL_12, label LBL_10 LBL_10: %40 = or i8 %.pre, 32 store i8 %40, i8* %12, align 1 store i8 %.pre, i8* %.reg2mem4 br label LBL_12 LBL_11: %41 = load i8, i8* %14, align 1 store i8 %41, i8* %10, align 1 %42 = load i8, i8* %3, align 8 %43 = or i8 %42, 32 store i8 %43, i8* %12, align 1 store i8 %42, i8* %.reg2mem4 br label LBL_12 LBL_12: %.reload5 = load i8, i8* %.reg2mem4 %44 = and i8 %.reload5, 32 %45 = icmp eq i8 %44, 0 br i1 %45, label LBL_15, label LBL_13 LBL_13: %46 = load i8, i8* %16, align 1 %47 = icmp eq i8 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_15, label LBL_14 LBL_14: store i8 1, i8* %16, align 1 %49 = call i64 @FUNC(i64 %2) br label LBL_15 LBL_15: %50 = load i8, i8* %18, align 1 %51 = and i8 %50, 16 %52 = icmp eq i8 %51, 0 br i1 %52, label LBL_17, label LBL_16 LBL_16: %53 = call i64 @FUNC(i64 %2, i64 %9, i64 1) br label LBL_21 LBL_17: %54 = load i64, i64* %20, align 8 %55 = call i64 @FUNC(i64 %54, i64 %9, i64 1) %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 1 br i1 %57, label LBL_21, label LBL_18 LBL_18: %58 = load i8, i8* %5, align 1 %59 = icmp ult i8 %58, 5 br i1 %59, label LBL_19, label LBL_21 LBL_19: %60 = load i64, i64* %20, align 8 %61 = call i64 @FUNC(i64 %60, i64 3, i64 4198815, i64 %2) %62 = trunc i64 %61 to i32 %63 = icmp slt i32 %62, 1 br i1 %63, label LBL_21, label LBL_20 LBL_20: %64 = load i8, i8* %5, align 1 %65 = add i8 %64, 1 store i8 %65, i8* %5, align 1 br label LBL_23 LBL_21: store i8 0, i8* %5, align 1 %66 = load i8, i8* %3, align 8 %67 = and i8 %66, 32 %68 = icmp eq i8 %67, 0 store i8 %66, i8* %.reg2mem br i1 %68, label LBL_1, label LBL_22 LBL_22: %69 = call i64 @FUNC(i64 0) %70 = add i64 %2, 16 %71 = inttoptr i64 %70 to i64* store i64 %69, i64* %71, align 8 %72 = load i8, i8* %3, align 8 %73 = or i8 %72, 64 store i8 %73, i8* %12, align 1 br label LBL_23 LBL_23: ret i64 %2 uselistorder i8 %.pre, { 1, 2, 0 } uselistorder i64 %8, { 1, 2, 0 } uselistorder i8* %5, { 2, 0, 1, 3, 4 } uselistorder i8* %3, { 0, 3, 2, 1 } uselistorder i64 %2, { 0, 8, 7, 10, 2, 11, 9, 3, 6, 1, 5, 4, 12 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem4, { 0, 3, 2, 1 } uselistorder i8 32, { 1, 2, 0, 3, 4 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 } uselistorder i8 0, { 0, 6, 1, 7, 2, 8, 3, 4, 9, 5 } uselistorder i64 1, { 2, 3, 4, 0, 1 } uselistorder label LBL_21, { 1, 0, 2, 3 } uselistorder label LBL_12, { 1, 2, 0 } }
1
CompRealVul
decode_attr_link_support_10786
decode_attr_link_support
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = bitcast i64* %arg3 to i32* store i32 0, i32* %6, align 4 %7 = trunc i64 %3 to i32 %8 = urem i32 %7, 2 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: store i32 1, i32* %6, align 4 %12 = and i32 %7, -2 store i32 %12, i32* %arg2, align 4 br label LBL_2 LBL_2: %13 = trunc i64 %4 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false %. = select i1 %15, i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 ptrtoint ([6 x i8]* @gv_1 to i64) %16 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i64 %., i64 %5, i64 %2, i64 %1) ret i64 0 uselistorder i32 %7, { 1, 0 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i1 false, { 1, 0, 2 } }
0
CompRealVul
alloc_picture_9251
alloc_picture
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = add i64 %3, 4 %6 = and i64 %arg3, 4294967295 %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %7, i64 %2, i64 %5, i64 %4, i64 %6, i64 0) ret i64 %8 }
0
CompRealVul
bdrv_discard_2317
bdrv_discard
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 %0, i64* %sv_0, align 8 %1 = call i64 @FUNC() %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 0 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 4198764, i64* nonnull %sv_0) %7 = call i64 @FUNC(i64 %6) br label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %5, i64 1) br label LBL_3 }
0
CompRealVul
crm_client_new_11371
crm_client_new
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i32 %rdx.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 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64* %arg1, null %7 = icmp eq i1 %6, false store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_9 LBL_1: %8 = sext i32 %arg3 to i64 %9 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 %8, i64* %rdx.0.reg2mem br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = call i32 @getuid() store i32 %12, i32* @gv_1, align 4 %13 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 0, i64* nonnull @gv_0) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false %17 = load i8, i8* bitcast (i32* @gv_3 to i8*), align 4 %18 = icmp eq i8 %17, 1 %or.cond = or i1 %18, %16 store i64 ptrtoint (i64* @gv_0 to i64), i64* %rdx.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %19 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) store i8 1, i8* bitcast (i32* @gv_3 to i8*), align 4 store i64 ptrtoint (i64* @gv_0 to i64), i64* %rdx.0.reg2mem br label LBL_4 LBL_4: %sext = mul i64 %arg2, 4294967296 %20 = ashr exact i64 %sext, 32 %21 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %22 = icmp eq i32 %21, 0 %23 = icmp eq i32 %arg3, 0 %or.cond5 = or i1 %23, %22 %.pre7 = trunc i64 %20 to i32 br i1 %or.cond5, label LBL_8, label LBL_5 LBL_5: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %24 = icmp ne i32 %.pre7, 0 %.pre = load i32, i32* @gv_1, align 4 %25 = icmp eq i32 %.pre, 0 %26 = icmp eq i1 %25, false %or.cond9 = icmp eq i1 %24, %26 store i32 %21, i32* %.reg2mem store i32 -1, i32* %sv_0.0.reg2mem store i64 %rdx.0.reload, i64* %rdx.1.reg2mem br i1 %or.cond9, label LBL_7, label LBL_6 LBL_6: %27 = and i64 %20, 4294967295 %28 = icmp ugt i32 %.pre, %.pre7 %29 = icmp eq i1 %28, false %30 = select i1 %29, i32 %.pre7, i32 %.pre %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_5, i64 0, i64 0), i64 %31, i32 %.pre7, i64 %3, i64 %2, i64 %1) %.pre6 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 %.pre6, i32* %.reg2mem store i32 %30, i32* %sv_0.0.reg2mem store i64 %27, i64* %rdx.1.reg2mem br label LBL_7 LBL_7: %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload = load i32, i32* %.reg2mem %33 = zext i32 %.reload to i64 %34 = trunc i64 %rdx.1.reload to i32 %35 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0), i64 %33, i32 %34, i64 %3, i64 %2, i64 %1) %36 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %37 = call i64 @FUNC(i64 %4, i32 %sv_0.0.reload, i32 %36, i64 432) br label LBL_8 LBL_8: %38 = call i64 @FUNC() %39 = call i64* @calloc(i32 1, i32 32) %40 = ptrtoint i64* %39 to i64 store i64 %4, i64* %39, align 8 %41 = add i64 %40, 8 %42 = inttoptr i64 %41 to i32* store i32 1, i32* %42, align 4 %43 = call i64 @FUNC(i64 %4) %44 = trunc i64 %43 to i32 %45 = add i64 %40, 12 %46 = inttoptr i64 %45 to i32* store i32 %44, i32* %46, align 4 %47 = call i64 @FUNC() %48 = add i64 %40, 16 %49 = inttoptr i64 %48 to i64* store i64 %47, i64* %49, align 8 %50 = load i32, i32* %46, align 4 %51 = zext i32 %arg3 to i64 %52 = zext i32 %50 to i64 %53 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_7, i64 0, i64 0), i64 %4, i32 %.pre7, i64 %51, i64 %52, i64 %47) %54 = and i64 %20, 4294967295 %55 = call i64 @FUNC(i64 %54) %56 = add i64 %40, 24 %57 = inttoptr i64 %56 to i64* store i64 %55, i64* %57, align 8 %58 = load i64, i64* @gv_8, align 8 %59 = call i64 @FUNC(i64 %58, i64 %4, i64 %40) store i64 %40, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %.pre7, { 0, 2, 3, 4, 1 } uselistorder i64 %20, { 2, 1, 0 } uselistorder i64 %4, { 1, 2, 3, 4, 0, 5 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @crm_trace, { 1, 0 } uselistorder i8 1, { 1, 0 } uselistorder i8* bitcast (i32* @gv_3 to i8*), { 1, 0 } uselistorder i32 0, { 0, 4, 1, 5, 6, 7, 2, 3 } uselistorder i64* @gv_0, { 1, 0, 2 } uselistorder i32* bitcast (i64* @gv_0 to i32*), { 1, 0, 2, 3 } uselistorder i64 0, { 2, 3, 4, 5, 6, 7, 8, 9, 16, 10, 11, 0, 12, 13, 14, 15, 1, 17, 18, 19 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
CompRealVul
ssl3_send_cert_status_10118
ssl3_send_cert_status
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = add i64 %2, 32 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %8, 8 %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12, i64 %9) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %16, label LBL_2, label LBL_4 LBL_2: %17 = load i64, i64* %11, align 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %19, 1 %21 = inttoptr i64 %19 to i8* store i8 22, i8* %21, align 1 %22 = load i64, i64* %7, align 8 %23 = add i64 %22, 4 %24 = call i64 @FUNC(i64 %23, i64 %20) %25 = add i64 %19, 2 %26 = add i64 %2, 24 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = inttoptr i64 %20 to i8* store i8 %28, i8* %29, align 1 %30 = load i64, i64* %7, align 8 %31 = call i64 @FUNC(i64 %30, i64 %25) %32 = load i64, i64* %7, align 8 %33 = add i64 %2, 40 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = inttoptr i64 %25 to i64* %37 = inttoptr i64 %35 to i64* %38 = trunc i64 %32 to i32 %39 = call i64* @memcpy(i64* %36, i64* %37, i32 %38) %40 = load i64, i64* %7, align 8 %41 = trunc i64 %40 to i32 %42 = add i32 %41, 8 %43 = add i64 %2, 4 %44 = inttoptr i64 %43 to i32* store i32 %42, i32* %44, align 4 %45 = bitcast i64* %arg1 to i32* store i32 1, i32* %45, align 4 %46 = add i64 %2, 8 %47 = inttoptr i64 %46 to i32* store i32 0, i32* %47, align 4 br label LBL_3 LBL_3: %48 = call i64 @FUNC(i64 %2, i64 22) store i64 %48, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %19, { 0, 2, 1 } uselistorder i64* %7, { 0, 2, 1, 3, 4 } uselistorder i64 %2, { 4, 0, 1, 2, 3, 6, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @l2n3, { 1, 0 } uselistorder i64 1, { 3, 2, 4, 0, 1 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
nprobe_14068
nprobe
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %2 = icmp ne i64* %arg2, null %3 = icmp eq i64* %arg3, null %4 = icmp eq i1 %3, false %or.cond = icmp eq i1 %2, %4 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_5 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = trunc i64 %1 to i32 %8 = add i64 %6, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = add i64 %11, %5 %13 = inttoptr i64 %12 to i64* %14 = call i32 @memcmp(i64* %13, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4) %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false %17 = add i32 %10, 32 %spec.select = select i1 %16, i32 %10, i32 %17 %18 = zext i32 %spec.select to i64 %19 = add i64 %18, %5 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, %7 br i1 %22, label LBL_3, label LBL_2 LBL_2: %23 = call i32 @puts(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0)) br label LBL_3 LBL_3: %24 = ptrtoint i64* %arg3 to i64 %25 = add i32 %spec.select, 32 %26 = zext i32 %25 to i64 %27 = add i64 %26, %5 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i32 %spec.select, 36 %31 = zext i32 %30 to i64 %32 = add i64 %31, %5 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = udiv i32 %34, 16 store i32 %35, i32* %sv_0, align 4 %36 = call i64 @FUNC(i32* nonnull %sv_0, i64 %24, i64 192, i64 1) %37 = load i32, i32* %sv_0, align 4 %38 = add i32 %37, -1 store i32 %38, i32* %sv_0, align 4 %39 = icmp eq i32 %37, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %39, label LBL_5, label LBL_4 LBL_4: %40 = add i32 %spec.select, 44 %41 = add i32 %40, %29 %42 = zext i32 %41 to i64 %43 = add i64 %42, %5 %44 = add i64 %6, 8 %45 = call i64 @FUNC(i32* nonnull %sv_0, i64 %44, i64 %43, i64 2, i64 0, i64 1) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %spec.select, { 3, 1, 2, 0 } uselistorder i32* %sv_0, { 0, 2, 3, 1, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i1 false, { 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
1
CompRealVul
FindServiceEventURLPath_11199
FindServiceEventURLPath
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge3.in4.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = icmp eq i64* %arg1, null store i64 0, i64* %storemerge.reg2mem br i1 %0, label LBL_6, label LBL_1 LBL_1: %1 = call i32 @strlen(i8* %arg2) %2 = sext i32 %1 to i64 %3 = ptrtoint i8* %arg2 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2, i64* nonnull %sv_1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i8* %arg2, null %8 = icmp eq i1 %7, false %or.cond = icmp eq i1 %8, %6 store i64 %3, i64* %storemerge3.in4.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_2, label LBL_6 LBL_2: %storemerge3.in4.reload = load i64, i64* %storemerge3.in4.reg2mem %9 = inttoptr i64 %storemerge3.in4.reload to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_5, label LBL_3 LBL_3: %12 = inttoptr i64 %10 to i8* %13 = call i32 @strlen(i8* %12) %14 = sext i32 %13 to i64 %15 = load i64, i64* %9, align 8 %16 = call i64 @FUNC(i64 %15, i64 %14, i64* nonnull %sv_0) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_1) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %storemerge3.in4.reload, i64* %storemerge.reg2mem br i1 %23, label LBL_5, label LBL_6 LBL_5: %24 = add i64 %storemerge3.in4.reload, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64 %26, i64* %storemerge3.in4.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %28, label LBL_2, label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %9, { 1, 0 } uselistorder i64 %storemerge3.in4.reload, { 2, 0, 1 } uselistorder i64* %storemerge3.in4.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder i64 (i64, i64, i64*)* @parse_uri, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i8* %arg2, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
set_block_thresholds_18719
set_block_thresholds
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.2.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %indvars.iv12.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv15.reg2mem = alloca i64 %indvars.iv18.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = bitcast i64* %rdi to i32* %5 = add i64 %3, 8 %6 = add i64 %3, 4 %7 = inttoptr i64 %6 to i32* %8 = add i64 %2, 8 %9 = add i64 %2, 12 %10 = trunc i64 %1 to i32 store i32 %10, i32* %.reg2mem store i64 0, i64* %indvars.iv18.reg2mem br label LBL_1 LBL_1: %indvars.iv18.reload = load i64, i64* %indvars.iv18.reg2mem %.reload = load i32, i32* %.reg2mem %11 = call i64 @FUNC(i64 %5, i64 %indvars.iv18.reload, i32 %.reload) %12 = trunc i64 %11 to i32 %13 = load i32, i32* %7, align 4 %14 = add i32 %13, %12 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15, i64 0, i64 255) %17 = and i64 %16, 4294967295 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = mul nuw nsw i64 %indvars.iv18.reload, 12 %21 = add nuw nsw i64 %20, 4 store i64 0, i64* %indvars.iv15.reg2mem br label LBL_2 LBL_2: %indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem %22 = mul i64 %indvars.iv15.reload, 4 %23 = add i64 %22, ptrtoint (i32** @gv_0 to i64) %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = mul i32 %25, %19 %27 = udiv i32 2147483647, %26 %28 = icmp ult i64 %indvars.iv15.reload, 2 %29 = mul nuw nsw i64 %indvars.iv15.reload, 3 %30 = add nuw nsw i64 %21, %29 store i64 0, i64* %indvars.iv.reg2mem store i64 0, i64* %indvars.iv12.reg2mem br i1 %28, label LBL_6, label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %31 = mul i64 %indvars.iv.reload, 4 %32 = add i64 %31, %2 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp ugt i32 %27, %34 store i64 2147483647, i64* %storemerge3.reg2mem br i1 %35, label LBL_4, label LBL_5 LBL_4: %36 = mul i32 %34, %26 %37 = sdiv i32 %36, 8 %38 = zext i32 %37 to i64 store i64 %38, i64* %storemerge3.reg2mem br label LBL_5 LBL_5: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem store i64 %storemerge3.reload, i64* %rdi, align 8 %39 = add nuw nsw i64 %indvars.iv.reload, %30 %40 = trunc i64 %storemerge3.reload to i32 %41 = mul i64 %39, 4 %42 = add i64 %41, %8 %43 = inttoptr i64 %42 to i32* store i32 %40, i32* %43, align 4 %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 store i64 %39, i64* %rax.2.reg2mem br i1 %exitcond, label LBL_9, label LBL_3 LBL_6: %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %44 = mul i64 %indvars.iv12.reload, 4 %45 = add i64 %9, %44 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = icmp ugt i32 %27, %47 store i64 2147483647, i64* %storemerge5.reg2mem br i1 %48, label LBL_7, label LBL_8 LBL_7: %49 = mul i32 %47, %26 %50 = sdiv i32 %49, 8 %51 = zext i32 %50 to i64 store i64 %51, i64* %storemerge5.reg2mem br label LBL_8 LBL_8: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem store i64 %storemerge5.reload, i64* %rdi, align 8 %52 = add nuw nsw i64 %indvars.iv12.reload, %30 %53 = trunc i64 %storemerge5.reload to i32 %54 = mul i64 %52, 4 %55 = add i64 %54, %8 %56 = inttoptr i64 %55 to i32* store i32 %53, i32* %56, align 4 %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1 %exitcond14 = icmp eq i64 %indvars.iv.next13, 3 store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem store i64 %52, i64* %rax.2.reg2mem br i1 %exitcond14, label LBL_9, label LBL_6 LBL_9: %indvars.iv.next16 = add nuw nsw i64 %indvars.iv15.reload, 1 %exitcond17 = icmp eq i64 %indvars.iv.next16, 4 store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem br i1 %exitcond17, label LBL_10, label LBL_2 LBL_10: %indvars.iv.next19 = add nuw nsw i64 %indvars.iv18.reload, 1 %exitcond20 = icmp eq i64 %indvars.iv.next19, 8 br i1 %exitcond20, label LBL_12, label LBL_10.LBL_1_crit_edge LBL_11: %.pre = load i32, i32* %4, align 8 store i32 %.pre, i32* %.reg2mem store i64 %indvars.iv.next19, i64* %indvars.iv18.reg2mem br label LBL_1 LBL_12: %rax.2.reload = load i64, i64* %rax.2.reg2mem ret i64 %rax.2.reload uselistorder i64 %storemerge5.reload, { 1, 0 } uselistorder i64 %storemerge3.reload, { 1, 0 } uselistorder i64 %indvars.iv15.reload, { 0, 2, 1, 3 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv18.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv15.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv12.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.2.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i64 4, { 5, 0, 1, 2, 3, 4, 6, 7 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
ext4_ext_truncate_4915
ext4_ext_truncate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 %0) %6 = and i64 %5, 4294967295 %7 = call i64 @FUNC(i64 %0, i64 %6) %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 %8, i64* %rax.0.reg2mem br i1 %11, label LBL_10, label LBL_1 LBL_1: %12 = inttoptr i64 %3 to i32* %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = load i32, i32* %12, align 4 %17 = add i32 %16, -1 %18 = and i32 %17, %15 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = call i64 @FUNC(i64 %7, i64 %0, i32 %15) br label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %7, i64 %0) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_7, label LBL_4 LBL_4: %25 = call i64 @FUNC(i64 %0) %26 = call i64 @FUNC(i64 %0) %27 = call i64 @FUNC(i64 %0) %28 = load i32, i32* %14, align 4 %29 = add i64 %0, 4 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = call i64 @FUNC(i64 %7, i64 %0) %32 = load i32, i32* %14, align 4 %33 = load i32, i32* %12, align 4 %34 = add i32 %32, -1 %35 = add i32 %34, %33 %36 = call i32 @llvm.ctlz.i32(i32 %33, i1 true), !range !48 %37 = icmp eq i32 %33, 0 %.op = xor i32 %36, 31 %38 = icmp eq i32 %.op, 0 %39 = or i1 %37, %38 %40 = select i1 %39, i32 0, i32 %.op %spec.select = ashr i32 %35, %40 %storemerge = zext i32 %spec.select to i64 %41 = call i64 @FUNC(i64 %0, i64 %storemerge, i64 1023) %42 = call i64 @FUNC(i64 %0) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 br i1 %44, label LBL_6, label LBL_5 LBL_5: %45 = call i64 @FUNC(i64 %7) br label LBL_6 LBL_6: %46 = call i64 @FUNC(i64 %0) br label LBL_7 LBL_7: %47 = add i64 %0, 20 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label LBL_9, label LBL_8 LBL_8: %51 = call i64 @FUNC(i64 %7, i64 %0) br label LBL_9 LBL_9: %52 = call i64 @FUNC(i64 %0) %53 = trunc i64 %52 to i32 %54 = add i64 %0, 28 %55 = inttoptr i64 %54 to i32* store i32 %53, i32* %55, align 4 %56 = add i64 %0, 24 %57 = inttoptr i64 %56 to i32* store i32 %53, i32* %57, align 4 %58 = call i64 @FUNC(i64 %7, i64 %0) %59 = call i64 @FUNC(i64 %7) store i64 %59, 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 %33, { 1, 2, 0 } uselistorder i32 %15, { 1, 0 } uselistorder i64 %7, { 5, 4, 3, 1, 2, 6, 0, 7 } uselistorder i64 %0, { 9, 10, 11, 12, 14, 13, 1, 2, 3, 4, 5, 6, 7, 8, 15, 0, 16, 17, 18, 19, 20 } uselistorder i64 (i64, i64)* @ext4_mark_inode_dirty, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1, 4, 5, 6, 7 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
CompRealVul
scsi_get_buf_16073
scsi_get_buf
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %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 ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = inttoptr i64 %2 to i64* %7 = load i64, i64* %6, align 8 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 } }
1
CompRealVul
mcf_fec_do_tx_11384
mcf_fec_do_tx
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %sv_0.0.be.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = load i64, i64* %0 %7 = load i64, i64* %0 %8 = ptrtoint i64* %arg1 to i64 %9 = load i32, i32* %1 %10 = load i32, i32* %1 %sv_4 = alloca i32, align 4 %sv_5 = alloca i64, align 8 %11 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %6, i64 %7, i64 %3, i64 %2) %12 = ptrtoint i64* %sv_5 to i64 %13 = trunc i64 %4 to i32 %14 = bitcast i32* %sv_4 to i64* %15 = zext i32 %9 to i64 %16 = zext i32 %10 to i64 %17 = add i64 %8, 4 %18 = inttoptr i64 %17 to i32* %19 = add i64 %8, 16 %20 = inttoptr i64 %19 to i64* %21 = add i64 %8, 8 %22 = inttoptr i64 %21 to i32* store i32 %13, i32* %sv_0.0.reg2mem store i32 0, i32* %sv_2.0.reg2mem store i64 %12, i64* %sv_1.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %23 = zext i32 %sv_0.0.reload to i64 %24 = call i64 @FUNC(i64* nonnull %14, i64 %23) %25 = load i32, i32* %sv_4, align 4 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %23, i64 %26, i64 %15, i64 %16, i64 %2) %28 = load i32, i32* %sv_4, align 4 %29 = urem i32 %28, 2 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_11, label LBL_2 LBL_2: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %31 = add i32 %sv_2.0.reload, %9 %32 = icmp slt i32 %31, 1519 store i32 %31, i32* %.pre-phi.reg2mem br i1 %32, label LBL_4, label LBL_3 LBL_3: %33 = sub i32 1518, %sv_2.0.reload %34 = load i32, i32* %18, align 4 %35 = or i32 %34, 8 store i32 %35, i32* %18, align 4 store i32 1518, i32* %.pre-phi.reg2mem store i32 %33, i32* %sv_3.0.reg2mem br label LBL_4 LBL_4: %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %36 = call i64 @FUNC(i64 %16, i64 %sv_1.0.reload, i32 %sv_3.0.reload) %37 = load i32, i32* %sv_4, align 4 %38 = and i32 %37, 2 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_4.LBL_7_crit_edge, label LBL_6 LBL_5: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %40 = sext i32 %sv_3.0.reload to i64 %41 = add i64 %sv_1.0.reload, %40 %.pre = load i32, i32* %18, align 4 store i32 %.pre, i32* %.reg2mem store i32 %.pre-phi.reload, i32* %sv_2.1.reg2mem store i64 %41, i64* %sv_1.1.reg2mem br label LBL_7 LBL_6: %42 = zext i32 %sv_3.0.reload to i64 %43 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %sv_1.0.reload, i64 %42, i64 %sv_1.0.reload, i64 %16, i64 %2) %44 = load i64, i64* %20, align 8 %45 = call i64 @FUNC(i64 %44) %46 = call i64 @FUNC(i64 %45, i64* nonnull %sv_5, i32 %sv_3.0.reload) %47 = load i32, i32* %18, align 4 %48 = or i32 %47, 16 store i32 %48, i32* %18, align 4 store i32 %48, i32* %.reg2mem store i32 0, i32* %sv_2.1.reg2mem store i64 %12, i64* %sv_1.1.reg2mem br label LBL_7 LBL_7: %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %.reload = load i32, i32* %.reg2mem %49 = or i32 %.reload, 32 store i32 %49, i32* %18, align 4 %50 = load i32, i32* %sv_4, align 4 %51 = and i32 %50, -2 store i32 %51, i32* %sv_4, align 4 %52 = call i64 @FUNC(i64* nonnull %14, i64 %23) %53 = load i32, i32* %sv_4, align 4 %54 = and i32 %53, 4 %55 = icmp eq i32 %54, 0 br i1 %55, label LBL_10, label LBL_8 LBL_8: %56 = load i32, i32* %22, align 4 store i32 %56, i32* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_9: %sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem store i32 %sv_0.0.be.reload, i32* %sv_0.0.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.0.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem br label LBL_1 LBL_10: %57 = add i32 %sv_0.0.reload, 8 store i32 %57, i32* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_11: %58 = bitcast i64* %arg1 to i32* store i32 %sv_0.0.reload, i32* %58, align 4 ret i64 %8 uselistorder i32 %sv_3.0.reload, { 3, 1, 2, 0 } uselistorder i64 %sv_1.0.reload, { 2, 1, 3, 0 } uselistorder i32 %sv_0.0.reload, { 2, 1, 0 } uselistorder i32* %18, { 1, 3, 2, 0, 4, 5 } uselistorder i64 %16, { 1, 0, 2 } uselistorder i32* %sv_4, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i32 %9, { 1, 0 } uselistorder i64 %8, { 3, 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.be.reg2mem, { 2, 0, 1 } uselistorder i32* %1, { 1, 0 } uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 } uselistorder i32 8, { 1, 2, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32 0, { 2, 0, 3, 4, 1 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DPRINTF, { 2, 1, 0 } uselistorder label LBL_1.backedge, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
CompRealVul
afs_charge_preallocation_17618
afs_charge_preallocation
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 store i64 %0, i64* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i64, i64* %storemerge.reg2mem %1 = icmp eq i64 %storemerge.reload, 0 %2 = icmp eq i1 %1, false store i64 %storemerge.reload, i64* %sv_0.0.reg2mem br i1 %2, label LBL_4, label LBL_2 LBL_2: %3 = call i64 @FUNC(i64 24, i64 0) %4 = icmp eq i64 %3, 0 store i64 0, i64* %sv_0.1.reg2mem br i1 %4, label LBL_5, label LBL_3 LBL_3: %5 = inttoptr i64 %3 to i64* store i64 ptrtoint (i64* @gv_1 to i64), i64* %5, align 8 %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i8* store i8 1, i8* %7, align 1 %8 = add i64 %3, 12 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %3, 16 %11 = call i64 @FUNC(i64 %10) store i64 %3, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %12 = load i64, i64* @gv_2, align 8 %13 = load i64, i64* @gv_3, align 8 %14 = load i64, i64* @gv_4, align 8 %15 = call i64 @FUNC(i64 %14, i64 %13, i64 %12, i64 %sv_0.0.reload, i64 0) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 store i64 0, i64* %storemerge.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %17, label LBL_5, label LBL_1 LBL_5: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem store i64 %sv_0.1.reload, i64* @gv_0, align 8 ret i64 %sv_0.1.reload uselistorder i64 %sv_0.1.reload, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 1, 0 } }
1
CompRealVul
mrb_irep_free_4793
mrb_irep_free
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem10 = alloca i64 %.reg2mem8 = alloca i64 %storemerge1.reg2mem = alloca i64 %.reg2mem6 = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %arg2, 48 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %arg1, i64 %7) br label LBL_2 LBL_2: %9 = add i64 %arg2, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = add i64 %arg2, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 store i64 %15, i64* %.reg2mem store i64 %11, i64* %.reg2mem6 store i64 0, i64* %storemerge1.reg2mem store i64 %15, i64* %.lcssa.reg2mem br i1 %12, label LBL_6, label LBL_3 LBL_3: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %.reload7 = load i64, i64* %.reg2mem6 %.reload = load i64, i64* %.reg2mem %16 = mul i64 %storemerge1.reload, 16 %17 = add i64 %16, %.reload %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 2 %21 = icmp eq i1 %20, false store i64 %.reload, i64* %.reg2mem8 store i64 %.reload7, i64* %.reg2mem10 br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = add i64 %17, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %arg1, i64 %24) %.pre = load i64, i64* %10, align 8 %.pre3 = load i64, i64* %14, align 8 store i64 %.pre3, i64* %.reg2mem8 store i64 %.pre, i64* %.reg2mem10 br label LBL_5 LBL_5: %.reload11 = load i64, i64* %.reg2mem10 %.reload9 = load i64, i64* %.reg2mem8 %26 = add nuw i64 %storemerge1.reload, 1 %27 = icmp ult i64 %26, %.reload11 store i64 %.reload9, i64* %.reg2mem store i64 %.reload11, i64* %.reg2mem6 store i64 %26, i64* %storemerge1.reg2mem store i64 %.reload9, i64* %.lcssa.reg2mem br i1 %27, label LBL_3, label LBL_6 LBL_6: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %28 = call i64 @FUNC(i64 %arg1, i64 %.lcssa.reload) %29 = add i64 %arg2, 24 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %arg1, i64 %31) %33 = add i64 %arg2, 32 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = call i64 @FUNC(i64 %arg1, i64 %35) %37 = add i64 %arg2, 40 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = call i64 @FUNC(i64 %arg1, i64 %39) %41 = add i64 %arg2, 56 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %arg1, i64 %43) %45 = add i64 %arg2, 64 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 %arg1, i64 %47) %49 = call i64 @FUNC(i64 %arg1, i64 %arg2) ret i64 %49 uselistorder i64 %.reload11, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem6, { 2, 0, 1 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem8, { 0, 2, 1 } uselistorder i64* %.reg2mem10, { 0, 2, 1 } uselistorder i64 (i64, i64)* @mrb_free, { 6, 5, 4, 3, 2, 1, 7, 0 } uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 0, 2, 1, 4, 3, 6, 7, 5, 8 } uselistorder i64 %arg1, { 1, 3, 2, 5, 4, 7, 6, 8, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
jas_iccgetuint64_11214
jas_iccgetuint64
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i64 8, i64* nonnull %sv_0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = load i64, i64* %sv_0, align 8 store i64 %4, i64* %arg2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
result_to_network_945
result_to_network
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 = call i32 @htonl(i32 %3) %5 = bitcast i64* %arg1 to i32* store i32 %4, i32* %5, align 4 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) store i64 %9, i64* %7, align 8 ret i64 %9 uselistorder i64 %9, { 1, 0 } uselistorder i32 (i32)* @htonl, { 2, 0, 1 } }
0
CompRealVul
slavio_check_interrupts_14973
slavio_check_interrupts
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv22.reg2mem = alloca i64 %.reg2mem31 = alloca i32 %.reg2mem29 = alloca i32 %indvars.iv19.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.112.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %indvars.iv24.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = bitcast i64* %rdi to i32* %4 = trunc i64 %1 to i32 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = sub i32 0, %7 %9 = sub i32 %8, 1 %10 = and i32 %9, %4 %11 = zext i32 %7 to i64 %12 = zext i32 %10 to i64 %13 = call i64 @FUNC(i64 %12, i64 %11) %14 = icmp eq i32 %10, 0 %15 = add i64 %2, 8 %16 = inttoptr i64 %15 to i32* %17 = trunc i64 %arg2 to i32 %18 = icmp eq i32 %17, 0 %19 = add i64 %2, 48 store i64 0, i64* %indvars.iv24.reg2mem br label LBL_1 LBL_1: %indvars.iv24.reload = load i64, i64* %indvars.iv24.reg2mem store i32 0, i32* %sv_0.2.reg2mem br i1 %14, label LBL_8, label LBL_2 LBL_2: %20 = load i32, i32* %6, align 4 %21 = urem i32 %20, 2 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i32 0, i32* %sv_0.2.reg2mem br i1 %23, label LBL_8, label LBL_3 LBL_3: %24 = load i32, i32* %16, align 4 %25 = zext i32 %24 to i64 %26 = icmp eq i64 %indvars.iv24.reload, %25 %27 = icmp eq i1 %26, false store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.112.reg2mem store i32 0, i32* %sv_0.2.reg2mem br i1 %27, label LBL_8, label LBL_4 LBL_4: %sv_0.112.reload = load i32, i32* %sv_0.112.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %28 = trunc i64 %indvars.iv.reload to i32 %29 = shl i32 1, %28 %30 = and i32 %29, %10 %31 = icmp eq i32 %30, 0 store i32 %sv_0.112.reload, i32* %sv_0.0.reg2mem br i1 %31, label LBL_7, label LBL_5 LBL_5: %32 = mul i64 %indvars.iv.reload, 4 %33 = add i64 %32, ptrtoint (i32** @gv_0 to i64) %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp eq i32 %35, 0 store i32 %sv_0.112.reload, i32* %sv_0.0.reg2mem br i1 %36, label LBL_7, label LBL_6 LBL_6: %37 = urem i32 %35, 32 %38 = shl i32 1, %37 %39 = or i32 %38, %sv_0.112.reload store i32 %39, i32* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.112.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %exitcond, label LBL_8, label LBL_4 LBL_8: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %40 = mul i64 %indvars.iv24.reload, 8 %41 = add i64 %40, %2 %42 = add i64 %41, 12 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = and i32 %44, -65530 store i32 %45, i32* %43, align 4 %46 = load i32, i32* %16, align 4 %47 = zext i32 %46 to i64 %48 = icmp eq i64 %indvars.iv24.reload, %47 %49 = icmp eq i1 %48, false store i32 %45, i32* %.reg2mem store i64 0, i64* %indvars.iv19.reg2mem store i32 %45, i32* %.reg2mem31 br i1 %49, label LBL_13, label LBL_9 LBL_9: %indvars.iv19.reload = load i64, i64* %indvars.iv19.reg2mem %.reload = load i32, i32* %.reg2mem %50 = load i32, i32* %3, align 8 %51 = trunc i64 %indvars.iv19.reload to i32 %52 = shl i32 1, %51 %53 = and i32 %52, %50 %54 = icmp eq i32 %53, 0 store i32 %.reload, i32* %.reg2mem29 br i1 %54, label LBL_12, label LBL_10 LBL_10: %55 = mul i64 %indvars.iv19.reload, 4 %56 = add i64 %55, ptrtoint (i32** @gv_0 to i64) %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = icmp eq i32 %58, 0 store i32 %.reload, i32* %.reg2mem29 br i1 %59, label LBL_12, label LBL_11 LBL_11: %60 = urem i32 %58, 32 %61 = shl i32 1, %60 %62 = or i32 %61, %.reload store i32 %62, i32* %43, align 4 store i32 %62, i32* %.reg2mem29 br label LBL_12 LBL_12: %.reload30 = load i32, i32* %.reg2mem29 %indvars.iv.next20 = add nuw nsw i64 %indvars.iv19.reload, 1 %exitcond21 = icmp eq i64 %indvars.iv.next20, 32 store i32 %.reload30, i32* %.reg2mem store i64 %indvars.iv.next20, i64* %indvars.iv19.reg2mem store i32 %.reload30, i32* %.reg2mem31 br i1 %exitcond21, label LBL_13, label LBL_9 LBL_13: %.reload32 = load i32, i32* %.reg2mem31 %63 = load i32, i32* %6, align 4 %64 = urem i32 %63, 2 %65 = icmp eq i32 %64, 0 %66 = icmp eq i1 %65, false %67 = and i32 %.reload32, 6 %68 = select i1 %66, i32 0, i32 %67 %69 = udiv i32 %.reload32, 65536 %sv_0.3 = or i32 %69, %sv_0.2.reload %70 = or i32 %sv_0.3, %68 %.pre = add i64 %41, 16 %.pre27 = inttoptr i64 %.pre to i32* br i1 %18, label LBL_21, label LBL_14 LBL_14: %71 = mul i64 %indvars.iv24.reload, 32 store i64 32, i64* %indvars.iv22.reg2mem br label LBL_15 LBL_15: %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem %72 = trunc i64 %indvars.iv22.reload to i32 %73 = urem i32 %72, 32 %74 = shl i32 1, %73 %75 = and i32 %74, %70 %76 = icmp eq i32 %75, 0 %77 = load i32, i32* %.pre27, align 4 %78 = and i32 %74, %77 %79 = icmp eq i32 %78, 0 br i1 %76, label LBL_18, label LBL_16 LBL_16: %80 = icmp eq i1 %79, false br i1 %80, label LBL_20, label LBL_17 LBL_17: %81 = add nuw nsw i64 %indvars.iv22.reload, %71 %82 = mul i64 %81, 8 %83 = add i64 %82, %19 %84 = inttoptr i64 %83 to i64* %85 = load i64, i64* %84, align 8 %86 = call i64 @FUNC(i64 %85) br label LBL_20 LBL_18: br i1 %79, label LBL_20, label LBL_19 LBL_19: %87 = add nuw nsw i64 %indvars.iv22.reload, %71 %88 = mul i64 %87, 8 %89 = add i64 %88, %19 %90 = inttoptr i64 %89 to i64* %91 = load i64, i64* %90, align 8 %92 = call i64 @FUNC(i64 %91) br label LBL_20 LBL_20: %indvars.iv.next23 = add nsw i64 %indvars.iv22.reload, -1 %93 = icmp eq i64 %indvars.iv.next23, 0 %94 = icmp eq i1 %93, false store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem br i1 %94, label LBL_15, label LBL_21 LBL_21: store i32 %70, i32* %.pre27, align 4 %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24.reload, 1 %exitcond26 = icmp eq i64 %indvars.iv.next25, 4 store i64 %indvars.iv.next25, i64* %indvars.iv24.reg2mem br i1 %exitcond26, label LBL_22, label LBL_1 LBL_22: ret i64 %2 uselistorder i64 %indvars.iv22.reload, { 0, 3, 2, 1 } uselistorder i64 %71, { 1, 0 } uselistorder i32 %70, { 1, 0 } uselistorder i32 %.reload32, { 1, 0 } uselistorder i32 %.reload, { 2, 1, 0 } uselistorder i64 %indvars.iv19.reload, { 0, 2, 1 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i32 %sv_0.112.reload, { 2, 0, 1 } uselistorder i64 %indvars.iv24.reload, { 0, 4, 2, 3, 1 } uselistorder i32 %7, { 1, 0 } uselistorder i32* %6, { 1, 0, 2 } uselistorder i64 %2, { 1, 0, 2, 3, 4 } uselistorder i64* %indvars.iv24.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.112.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv19.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem29, { 0, 3, 2, 1 } uselistorder i64* %indvars.iv22.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5 } uselistorder i32 0, { 7, 8, 5, 11, 10, 6, 12, 13, 0, 3, 1, 14, 2, 9, 15, 4 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
utf16le_to_utf8_12125
utf16le_to_utf8
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %sv_0.0.lcssa.in.reg2mem = alloca i64 %sv_1.29.ph35.reg2mem = alloca i64 %sv_2.019.reg2mem = alloca i32 %sv_0.0.in20.reg2mem = alloca i64 %sv_2.0.ph.ph.reg2mem = alloca i32 %sv_1.29.ph.ph.reg2mem = alloca i64 %sv_3.112.ph.ph.reg2mem = alloca i32 %sv_1.2.reg2mem = alloca i64 %sv_1.322.reg2mem = alloca i64 %sv_0.123.in.reg2mem = alloca i64 %sv_4.0.lcssa.reg2mem = alloca i32 %sv_4.0.be.reg2mem = alloca i32 %sv_1.1.be.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_1.125.reg2mem = alloca i64 %sv_4.026.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = icmp slt i64 %arg2, 0 %2 = trunc i64 %arg2 to i32 %3 = zext i1 %1 to i32 %4 = add i32 %3, %2 %5 = urem i32 %4, 2 %6 = sub nsw i32 %5, %3 %7 = icmp eq i32 %6, 1 %8 = icmp eq i1 %7, false %sext3 = add i64 %sext, -4294967296 %spec.select = select i1 %8, i64 %sext, i64 %sext3 %9 = udiv i64 %spec.select, 4294967296 %10 = trunc i64 %9 to i32 %11 = lshr i64 %spec.select, 63 %12 = trunc i64 %11 to i32 %13 = add i32 %12, %10 %14 = ashr i32 %13, 1 %15 = zext i32 %14 to i64 %16 = mul i64 %15, 2 %17 = add i64 %16, %0 %18 = icmp ugt i64 %17, %0 store i32 0, i32* %sv_4.026.reg2mem store i64 %0, i64* %sv_1.125.reg2mem br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = call i64 @FUNC(i64* nonnull @gv_0, i64 0) store i64 %19, i64* %.reg2mem br label LBL_25 LBL_2: %sv_1.125.reload = load i64, i64* %sv_1.125.reg2mem %sv_4.026.reload = load i32, i32* %sv_4.026.reg2mem %20 = add i64 %sv_1.125.reload, 2 %21 = inttoptr i64 %sv_1.125.reload to i16* %22 = load i16, i16* %21, align 2 %23 = and i16 %22, -1024 %24 = icmp eq i16 %23, -10240 %25 = icmp eq i1 %24, false store i64 %20, i64* %sv_1.0.reg2mem br i1 %25, label LBL_5, label LBL_3 LBL_3: %26 = icmp ult i64 %20, %17 %27 = icmp eq i1 %26, false store i32 %sv_4.026.reload, i32* %sv_4.0.lcssa.reg2mem br i1 %27, label LBL_12, label LBL_4 LBL_4: %28 = add i64 %sv_1.125.reload, 4 %29 = inttoptr i64 %20 to i16* %30 = load i16, i16* %29, align 2 %31 = and i16 %30, -1024 %32 = icmp eq i16 %31, -9216 %33 = icmp eq i1 %32, false store i64 %28, i64* %sv_1.0.reg2mem br i1 %33, label LBL_5, label LBL_11 LBL_5: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %34 = icmp ult i16 %22, 128 br i1 %34, label LBL_6, label LBL_8 LBL_6: %35 = add i32 %sv_4.026.reload, 1 store i64 %sv_1.0.reload, i64* %sv_1.1.be.reg2mem store i32 %35, i32* %sv_4.0.be.reg2mem br label LBL_7 LBL_7: %sv_4.0.be.reload = load i32, i32* %sv_4.0.be.reg2mem %sv_1.1.be.reload = load i64, i64* %sv_1.1.be.reg2mem %36 = icmp ult i64 %sv_1.1.be.reload, %17 store i32 %sv_4.0.be.reload, i32* %sv_4.026.reg2mem store i64 %sv_1.1.be.reload, i64* %sv_1.125.reg2mem store i32 %sv_4.0.be.reload, i32* %sv_4.0.lcssa.reg2mem br i1 %36, label LBL_2, label LBL_12 LBL_8: %37 = icmp ult i16 %22, 2048 br i1 %37, label LBL_9, label LBL_10 LBL_9: %38 = add i32 %sv_4.026.reload, 2 store i64 %sv_1.0.reload, i64* %sv_1.1.be.reg2mem store i32 %38, i32* %sv_4.0.be.reg2mem br label LBL_7 LBL_10: %39 = add i32 %sv_4.026.reload, 3 store i64 %sv_1.0.reload, i64* %sv_1.1.be.reg2mem store i32 %39, i32* %sv_4.0.be.reg2mem br label LBL_7 LBL_11: %40 = add i32 %sv_4.026.reload, 4 store i64 %28, i64* %sv_1.1.be.reg2mem store i32 %40, i32* %sv_4.0.be.reg2mem br label LBL_7 LBL_12: %sv_4.0.lcssa.reload = load i32, i32* %sv_4.0.lcssa.reg2mem %41 = zext i32 %sv_4.0.lcssa.reload to i64 %42 = call i64 @FUNC(i64* nonnull @gv_0, i64 %41) store i64 %42, i64* %sv_0.123.in.reg2mem store i64 %0, i64* %sv_1.322.reg2mem br label LBL_13 LBL_13: %sv_1.322.reload = load i64, i64* %sv_1.322.reg2mem %sv_0.123.in.reload = load i64, i64* %sv_0.123.in.reg2mem %sv_0.123 = inttoptr i64 %sv_0.123.in.reload to i8* %43 = add i64 %sv_1.322.reload, 2 %44 = inttoptr i64 %sv_1.322.reload to i16* %45 = load i16, i16* %44, align 2 %46 = zext i16 %45 to i32 %47 = and i32 %46, 64512 %48 = icmp eq i32 %47, 55296 %49 = icmp eq i1 %48, false store i64 %43, i64* %sv_1.2.reg2mem br i1 %49, label LBL_16, label LBL_14 LBL_14: %50 = icmp ult i64 %43, %17 %51 = icmp eq i1 %50, false store i64 %42, i64* %.reg2mem br i1 %51, label LBL_25, label LBL_15 LBL_15: %52 = add i64 %sv_1.322.reload, 4 %53 = inttoptr i64 %43 to i16* %54 = load i16, i16* %53, align 2 %55 = zext i16 %54 to i32 %56 = and i32 %55, 64512 %57 = icmp eq i32 %56, 56320 %58 = icmp eq i1 %57, false store i64 %52, i64* %sv_1.2.reg2mem br i1 %58, label LBL_16, label LBL_19 LBL_16: %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %59 = icmp ult i16 %45, 128 br i1 %59, label LBL_21, label LBL_17 LBL_17: %60 = icmp ult i16 %45, 2048 br i1 %60, label LBL_18, label LBL_20 LBL_18: %61 = udiv i16 %45, 64 %62 = trunc i16 %61 to i8 %63 = urem i8 %62, 32 %64 = or i8 %63, -64 store i8 %64, i8* %sv_0.123, align 1 store i32 %46, i32* %sv_3.112.ph.ph.reg2mem store i64 %sv_1.2.reload, i64* %sv_1.29.ph.ph.reg2mem store i32 0, i32* %sv_2.0.ph.ph.reg2mem br label LBL_22 LBL_19: %65 = mul i32 %46, 1024 %66 = and i32 %65, 1047552 %67 = urem i32 %55, 1024 %68 = or i32 %67, %66 %69 = add nuw nsw i32 %68, 65536 %70 = udiv i32 %69, 262144 %71 = trunc i32 %70 to i8 %72 = or i8 %71, -16 store i8 %72, i8* %sv_0.123, align 1 store i32 %69, i32* %sv_3.112.ph.ph.reg2mem store i64 %52, i64* %sv_1.29.ph.ph.reg2mem store i32 12, i32* %sv_2.0.ph.ph.reg2mem br label LBL_22 LBL_20: %73 = udiv i16 %45, 4096 %74 = trunc i16 %73 to i8 %75 = or i8 %74, -32 store i8 %75, i8* %sv_0.123, align 1 store i32 %46, i32* %sv_3.112.ph.ph.reg2mem store i64 %sv_1.2.reload, i64* %sv_1.29.ph.ph.reg2mem store i32 6, i32* %sv_2.0.ph.ph.reg2mem br label LBL_22 LBL_21: %76 = trunc i16 %45 to i8 store i8 %76, i8* %sv_0.123, align 1 %sv_0.0.in17 = add i64 %sv_0.123.in.reload, 1 store i64 %sv_1.2.reload, i64* %sv_1.29.ph35.reg2mem store i64 %sv_0.0.in17, i64* %sv_0.0.lcssa.in.reg2mem br label LBL_24 LBL_22: %sv_2.0.ph.ph.reload = load i32, i32* %sv_2.0.ph.ph.reg2mem %sv_1.29.ph.ph.reload = load i64, i64* %sv_1.29.ph.ph.reg2mem %sv_3.112.ph.ph.reload = load i32, i32* %sv_3.112.ph.ph.reg2mem %sv_0.0.in1732 = add i64 %sv_0.123.in.reload, 1 store i64 %sv_0.0.in1732, i64* %sv_0.0.in20.reg2mem store i32 %sv_2.0.ph.ph.reload, i32* %sv_2.019.reg2mem br label LBL_23 LBL_23: %sv_2.019.reload = load i32, i32* %sv_2.019.reg2mem %sv_0.0.in20.reload = load i64, i64* %sv_0.0.in20.reg2mem %sv_0.021 = inttoptr i64 %sv_0.0.in20.reload to i8* %77 = and i32 %sv_2.019.reload, 30 %78 = lshr i32 %sv_3.112.ph.ph.reload, %77 %79 = trunc i32 %78 to i8 %80 = urem i8 %79, 64 %81 = or i8 %80, -128 store i8 %81, i8* %sv_0.021, align 1 %82 = add i32 %sv_2.019.reload, -6 %sv_0.0.in = add i64 %sv_0.0.in20.reload, 1 %83 = icmp slt i32 %82, 0 %84 = icmp eq i1 %83, false store i64 %sv_0.0.in, i64* %sv_0.0.in20.reg2mem store i32 %82, i32* %sv_2.019.reg2mem store i64 %sv_1.29.ph.ph.reload, i64* %sv_1.29.ph35.reg2mem store i64 %sv_0.0.in, i64* %sv_0.0.lcssa.in.reg2mem br i1 %84, label LBL_23, label LBL_24 LBL_24: %sv_0.0.lcssa.in.reload = load i64, i64* %sv_0.0.lcssa.in.reg2mem %sv_1.29.ph35.reload = load i64, i64* %sv_1.29.ph35.reg2mem %85 = icmp ult i64 %sv_1.29.ph35.reload, %17 store i64 %sv_0.0.lcssa.in.reload, i64* %sv_0.123.in.reg2mem store i64 %sv_1.29.ph35.reload, i64* %sv_1.322.reg2mem store i64 %42, i64* %.reg2mem br i1 %85, label LBL_13, label LBL_25 LBL_25: %.reload = load i64, i64* %.reg2mem ret i64 %.reload uselistorder i64 %sv_1.29.ph35.reload, { 1, 0 } uselistorder i32 %46, { 0, 2, 1, 3 } uselistorder i16 %45, { 2, 0, 1, 3, 4, 5 } uselistorder i64 %43, { 2, 1, 0 } uselistorder i8* %sv_0.123, { 1, 3, 0, 2 } uselistorder i64 %sv_0.123.in.reload, { 1, 2, 0 } uselistorder i64 %sv_1.322.reload, { 0, 2, 1 } uselistorder i64 %sv_1.1.be.reload, { 1, 0 } uselistorder i16 %22, { 1, 2, 0 } uselistorder i64 %20, { 2, 1, 0 } uselistorder i32 %sv_4.026.reload, { 1, 4, 3, 2, 0 } uselistorder i64 %sv_1.125.reload, { 0, 2, 1 } uselistorder i64 %17, { 2, 1, 4, 3, 0 } uselistorder i64 %spec.select, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %0, { 0, 1, 3, 2 } uselistorder i32* %sv_4.026.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.125.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.1.be.reg2mem, { 1, 2, 3, 0, 4 } uselistorder i32* %sv_4.0.be.reg2mem, { 1, 2, 3, 0, 4 } uselistorder i64* %sv_0.123.in.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.322.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.112.ph.ph.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_1.29.ph.ph.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_2.0.ph.ph.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.0.in20.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.019.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 2, 0, 1 } uselistorder i32 1024, { 1, 0 } uselistorder i16 2048, { 1, 0 } uselistorder i16 128, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder i64 (i64*, i64)* @sdsnewlen, { 1, 0 } uselistorder i64* @gv_0, { 1, 0 } uselistorder i32 0, { 2, 0, 1 } uselistorder i64 2, { 1, 2, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i64 %arg2, { 2, 1, 0 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_22, { 1, 0, 2 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_7, { 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
krb5_db2_merge_nra_iterator_3753
krb5_db2_merge_nra_iterator
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 store i64 %4, i64* %arg1, align 8 %5 = call i64 @FUNC(i64 %1, i64 %0, i64 0, i64* nonnull %sv_1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: store i64 %1, i64* %arg1, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %8 = load i64, i64* %sv_1, align 8 %9 = bitcast i32* %sv_0 to i64* %10 = call i64 @FUNC(i64 %1, i64 %8, i64 %0, i64* nonnull %9) store i64 %1, i64* %arg1, align 8 %11 = load i32, i32* %sv_0, align 4 %12 = icmp eq i32 %11, 0 store i64 0, i64* %storemerge2.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %1, i64 %0, i64 0) %phitmp = and i64 %13, 4294967295 store i64 %phitmp, i64* %storemerge2.reg2mem br label LBL_4 LBL_4: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %14 = load i64, i64* %sv_1, align 8 %15 = call i64 @FUNC(i64 %1, i64 %14) store i64 %storemerge2.reload, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_1, { 1, 2, 0, 3 } uselistorder i64 %1, { 2, 1, 3, 4, 0, 5, 6 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
tsc210x_load_12624
tsc210x_load
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %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 %1) %4 = trunc i64 %3 to i16 %5 = bitcast i64* %arg2 to i16* store i16 %4, i16* %5, align 2 %6 = call i64 @FUNC(i64 %1) %7 = trunc i64 %6 to i16 %8 = add i64 %0, 2 %9 = inttoptr i64 %8 to i16* store i16 %7, i16* %9, align 2 %10 = call i64 @FUNC(i64 %1) %11 = trunc i64 %10 to i8 %12 = add i64 %0, 4 %13 = inttoptr i64 %12 to i8* store i8 %11, i8* %13, align 1 %14 = call i64 @FUNC(i64 %1) %15 = trunc i64 %14 to i8 %16 = add i64 %0, 5 %17 = inttoptr i64 %16 to i8* store i8 %15, i8* %17, align 1 %18 = call i64 @FUNC(i64 %1) %19 = trunc i64 %18 to i8 %20 = add i64 %0, 6 %21 = inttoptr i64 %20 to i8* store i8 %19, i8* %21, align 1 %22 = call i64 @FUNC(i64 %1) %23 = trunc i64 %22 to i8 %24 = add i64 %0, 7 %25 = inttoptr i64 %24 to i8* store i8 %23, i8* %25, align 1 %26 = call i64 @FUNC(i64 %1) %27 = trunc i64 %26 to i8 %28 = add i64 %0, 8 %29 = inttoptr i64 %28 to i8* store i8 %27, i8* %29, align 1 %30 = call i64 @FUNC(i64 %1) %31 = trunc i64 %30 to i8 %32 = add i64 %0, 9 %33 = inttoptr i64 %32 to i8* store i8 %31, i8* %33, align 1 %34 = add i64 %0, 10 %35 = call i64 @FUNC(i64 %1, i64 %34) %36 = add i64 %0, 16 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = call i64 @FUNC(i64 %1, i64 %38) %40 = call i64 @FUNC(i64 %1) %41 = trunc i64 %40 to i8 %42 = add i64 %0, 24 %43 = inttoptr i64 %42 to i8* store i8 %41, i8* %43, align 1 %44 = call i64 @FUNC(i64 %1) %45 = trunc i64 %44 to i8 %46 = add i64 %0, 25 %47 = inttoptr i64 %46 to i8* store i8 %45, i8* %47, align 1 %48 = call i64 @FUNC(i64 %1) %49 = trunc i64 %48 to i8 %50 = add i64 %0, 26 %51 = inttoptr i64 %50 to i8* store i8 %49, i8* %51, align 1 %52 = call i64 @FUNC(i64 %1) %53 = trunc i64 %52 to i8 %54 = add i64 %0, 27 %55 = inttoptr i64 %54 to i8* store i8 %53, i8* %55, align 1 %56 = call i64 @FUNC(i64 %1) %57 = trunc i64 %56 to i8 %58 = add i64 %0, 28 %59 = inttoptr i64 %58 to i8* store i8 %57, i8* %59, align 1 %60 = call i64 @FUNC(i64 %1) %61 = trunc i64 %60 to i8 %62 = add i64 %0, 29 %63 = inttoptr i64 %62 to i8* store i8 %61, i8* %63, align 1 %64 = call i64 @FUNC(i64 %1) %65 = trunc i64 %64 to i8 %66 = add i64 %0, 30 %67 = inttoptr i64 %66 to i8* store i8 %65, i8* %67, align 1 %68 = call i64 @FUNC(i64 %1) %69 = trunc i64 %68 to i8 %70 = add i64 %0, 31 %71 = inttoptr i64 %70 to i8* store i8 %69, i8* %71, align 1 %72 = call i64 @FUNC(i64 %1) %73 = trunc i64 %72 to i8 %74 = add i64 %0, 32 %75 = inttoptr i64 %74 to i8* store i8 %73, i8* %75, align 1 %76 = call i64 @FUNC(i64 %1) %77 = trunc i64 %76 to i8 %78 = add i64 %0, 33 %79 = inttoptr i64 %78 to i8* store i8 %77, i8* %79, align 1 %80 = call i64 @FUNC(i64 %1) %81 = trunc i64 %80 to i32 %82 = add i64 %0, 36 %83 = inttoptr i64 %82 to i32* store i32 %81, i32* %83, align 4 %84 = add i64 %0, 40 %85 = call i64 @FUNC(i64 %1, i64 %84) %86 = add i64 %0, 42 %87 = call i64 @FUNC(i64 %1, i64 %86) %88 = add i64 %0, 44 %89 = call i64 @FUNC(i64 %1, i64 %88) %90 = add i64 %0, 46 %91 = call i64 @FUNC(i64 %1, i64 %90) %92 = add i64 %0, 48 %93 = call i64 @FUNC(i64 %1, i64 %92) %94 = add i64 %0, 50 %95 = call i64 @FUNC(i64 %1, i64 %94) %96 = call i64 @FUNC(i64 %1) %97 = add i64 %96, %2 %98 = add i64 %0, 56 %99 = inttoptr i64 %98 to i64* store i64 %97, i64* %99, align 8 %100 = call i64 @FUNC(i64 %1) %101 = add i64 %100, %2 %102 = add i64 %0, 64 %103 = inttoptr i64 %102 to i64* store i64 %101, i64* %103, align 8 %104 = call i64 @FUNC(i64 %1) %105 = trunc i64 %104 to i8 %106 = add i64 %0, 72 %107 = inttoptr i64 %106 to i8* store i8 %105, i8* %107, align 1 %108 = add i64 %0, 74 %109 = call i64 @FUNC(i64 %1, i64 %108) %110 = add i64 %0, 76 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %111 = mul i64 %indvars.iv.reload, 2 %112 = add i64 %110, %111 %113 = call i64 @FUNC(i64 %1, i64 %112) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 20 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %114 = load i64, i64* %37, align 8 %115 = call i64 @FUNC(i64 %114) %116 = trunc i64 %115 to i32 %117 = add i64 %0, 116 %118 = inttoptr i64 %117 to i32* store i32 %116, i32* %118, align 4 %119 = load i8, i8* %33, align 1 %120 = icmp eq i8 %119, 0 %121 = add i64 %0, 120 %122 = inttoptr i64 %121 to i32* %123 = load i32, i32* %122, align 4 %124 = zext i1 %120 to i64 %125 = zext i32 %123 to i64 %126 = call i64 @FUNC(i64 %125, i64 %124) %127 = inttoptr i64 %34 to i16* %128 = load i16, i16* %127, align 2 %129 = icmp eq i16 %128, 0 %130 = add i64 %0, 124 %131 = inttoptr i64 %130 to i32* %132 = load i32, i32* %131, align 4 %133 = zext i1 %129 to i64 %134 = zext i32 %132 to i64 %135 = call i64 @FUNC(i64 %134, i64 %133) ret i64 0 uselistorder i64 %0, { 1, 2, 3, 0, 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 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @qemu_set_irq, { 1, 0 } uselistorder i64 (i64)* @qemu_get_sbe64, { 1, 0 } uselistorder i64 (i64, i64)* @qemu_get_be16s, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @qemu_get_byte, { 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @qemu_get_be16, { 1, 0 } }
1
CompRealVul
ff_vp3_idct_dc_add_c_16831
ff_vp3_idct_dc_add_c
define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.04.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %3 = trunc i64 %1 to i32 %4 = add i32 %3, 15 %5 = ashr i32 %4, 5 %narrow = add nsw i32 %5, 128 %6 = sext i32 %narrow to i64 %7 = add i64 %6, ptrtoint (i8** @gv_0 to i64) %8 = ashr exact i64 %sext, 32 store i32 0, i32* %storemerge5.reg2mem store i64 %2, i64* %sv_0.04.reg2mem br label LBL_1 LBL_1: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %9 = inttoptr i64 %sv_0.04.reload to i8* %10 = load i8, i8* %9, align 1 %11 = zext i8 %10 to i64 %12 = add i64 %7, %11 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 store i8 %14, i8* %9, align 1 %15 = add i64 %sv_0.04.reload, 1 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = zext i8 %17 to i64 %19 = add i64 %7, %18 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 store i8 %21, i8* %16, align 1 %22 = add i64 %sv_0.04.reload, 2 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = zext i8 %24 to i64 %26 = add i64 %7, %25 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 store i8 %28, i8* %23, align 1 %29 = add i64 %sv_0.04.reload, 3 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = zext i8 %31 to i64 %33 = add i64 %7, %32 %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 store i8 %35, i8* %30, align 1 %36 = add i64 %sv_0.04.reload, 4 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = zext i8 %38 to i64 %40 = add i64 %7, %39 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 store i8 %42, i8* %37, align 1 %43 = add i64 %sv_0.04.reload, 5 %44 = inttoptr i64 %43 to i8* %45 = load i8, i8* %44, align 1 %46 = zext i8 %45 to i64 %47 = add i64 %7, %46 %48 = inttoptr i64 %47 to i8* %49 = load i8, i8* %48, align 1 store i8 %49, i8* %44, align 1 %50 = add i64 %sv_0.04.reload, 6 %51 = inttoptr i64 %50 to i8* %52 = load i8, i8* %51, align 1 %53 = zext i8 %52 to i64 %54 = add i64 %7, %53 %55 = inttoptr i64 %54 to i8* %56 = load i8, i8* %55, align 1 store i8 %56, i8* %51, align 1 %57 = add i64 %sv_0.04.reload, 7 %58 = inttoptr i64 %57 to i8* %59 = load i8, i8* %58, align 1 %60 = zext i8 %59 to i64 %61 = add i64 %7, %60 %62 = inttoptr i64 %61 to i8* %63 = load i8, i8* %62, align 1 store i8 %63, i8* %58, align 1 %64 = add i64 %sv_0.04.reload, %8 %65 = add nuw nsw i32 %storemerge5.reload, 1 %exitcond = icmp eq i32 %65, 8 store i32 %65, i32* %storemerge5.reg2mem store i64 %64, i64* %sv_0.04.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: ret i64 %8 uselistorder i64 %sv_0.04.reload, { 8, 0, 1, 2, 3, 4, 5, 6, 7 } uselistorder i64 %8, { 1, 0 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 } }
1
CompRealVul
iwgif_read_image_6641
iwgif_read_image
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0, i64 %0, i64 9) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %3, label LBL_17, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i32 %6 = add i64 %0, 256 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 %8 = add i64 %0, 2 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = add i64 %0, 260 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = add i64 %0, 4 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = add i64 %0, 264 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = add i64 %0, 6 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 %21 = add i64 %0, 268 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = add i64 %0, 8 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = udiv i8 %25, 64 %27 = urem i8 %26, 2 %28 = zext i8 %27 to i32 %29 = add i64 %0, 272 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = load i8, i8* %24, align 1 %cond = icmp sgt i8 %31, -1 br i1 %cond, label LBL_3, label LBL_2 LBL_2: %32 = urem i8 %31, 8 %narrow = add nuw nsw i8 %32, 1 %33 = zext i8 %narrow to i32 %34 = shl i32 1, %33 %35 = add i64 %0, 304 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = call i64 @FUNC(i64 %0, i64 %35) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %39, label LBL_17, label LBL_3 LBL_3: %40 = add i64 %0, 276 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = icmp eq i32 %42, 0 br i1 %43, label LBL_5, label LBL_4 LBL_4: %44 = add i64 %0, 280 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = sext i32 %46 to i64 %48 = add i64 %0, 308 %49 = add i64 %48, %47 %50 = inttoptr i64 %49 to i8* store i8 0, i8* %50, align 1 br label LBL_5 LBL_5: %51 = call i64 @FUNC(i64 %0, i64 %0, i64 1) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %53, label LBL_17, label LBL_6 LBL_6: %54 = bitcast i64* %rdi to i8* %55 = load i8, i8* %54, align 8 %.off = add i8 %55, -2 %56 = icmp ult i8 %.off, 10 br i1 %56, label LBL_8, label LBL_7 LBL_7: %57 = add i64 %0, 568 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = call i64 @FUNC(i64 %59, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %sv_0.0.reg2mem br label LBL_17 LBL_8: %61 = call i64 @FUNC(i64 %0) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %63, label LBL_17, label LBL_9 LBL_9: %64 = load i32, i32* %17, align 4 %65 = load i32, i32* %22, align 4 %66 = sext i32 %64 to i64 %67 = sext i32 %65 to i64 %68 = mul nsw i64 %67, %66 %69 = add i64 %0, 288 %70 = inttoptr i64 %69 to i64* store i64 %68, i64* %70, align 8 %71 = call i64 @FUNC(i64 %0) %72 = trunc i64 %71 to i32 %73 = icmp eq i32 %72, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %73, label LBL_17, label LBL_10 LBL_10: %74 = zext i8 %55 to i64 %75 = bitcast i32* %sv_1 to i64* %76 = call i64 @FUNC(i64* nonnull %75, i64 %74) %77 = call i64 @FUNC(i64* nonnull %75) %78 = add i64 %0, 296 %79 = inttoptr i64 %78 to i64* br label LBL_11 LBL_11: %80 = call i64 @FUNC(i64 %0, i64 %0, i64 1) %81 = trunc i64 %80 to i32 %82 = icmp eq i32 %81, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %82, label LBL_17, label LBL_12 LBL_12: %83 = load i8, i8* %54, align 8 %84 = icmp eq i8 %83, 0 store i64 1, i64* %sv_0.0.reg2mem br i1 %84, label LBL_17, label LBL_13 LBL_13: %85 = zext i8 %83 to i64 %86 = call i64 @FUNC(i64 %0, i64 %0, i64 %85) %87 = trunc i64 %86 to i32 %88 = icmp eq i32 %87, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %88, label LBL_17, label LBL_14 LBL_14: %89 = call i64 @FUNC(i64 %0, i64* nonnull %75, i64 %0, i64 %85) %90 = trunc i64 %89 to i32 %91 = icmp eq i32 %90, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %91, label LBL_17, label LBL_15 LBL_15: %92 = load i32, i32* %sv_1, align 4 %93 = icmp eq i32 %92, 0 %94 = icmp eq i1 %93, false store i64 1, i64* %sv_0.0.reg2mem br i1 %94, label LBL_17, label LBL_16 LBL_16: %95 = load i64, i64* %79, align 8 %96 = load i64, i64* %70, align 8 %97 = icmp ult i64 %95, %96 %98 = icmp eq i1 %97, false store i64 1, i64* %sv_0.0.reg2mem br i1 %98, label LBL_17, label LBL_11 LBL_17: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i8 %83, { 1, 0 } uselistorder i64 %0, { 3, 4, 5, 6, 7, 8, 2, 9, 10, 11, 12, 13, 14, 16, 17, 15, 1, 0, 19, 18, 20, 21, 22, 23, 24, 25, 26, 27, 29, 28 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 5, 1, 6, 9, 10, 8, 11, 7, 12 } uselistorder i64 1, { 2, 1, 0, 8, 9, 3, 4, 5, 6, 10, 7 } uselistorder i64 256, { 2, 1, 0 } uselistorder i64 (i64)* @iw_get_ui16le, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @iwgif_read, { 3, 2, 1, 0 } uselistorder label LBL_17, { 2, 1, 3, 4, 0, 5, 6, 7, 11, 8, 9, 10 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
ppc_spapr_reset_14604
ppc_spapr_reset
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %0 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* %7 = trunc i64 %3 to i32 %8 = call i64* @memset(i64* %6, i32 0, i32 %7) %9 = call i64 @FUNC() %10 = load i64, i64* @gv_0, align 8 %11 = add i64 %10, 32 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %10, 24 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = add i64 %10, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %10, i64 %19, i64 %16, i64 %13) %21 = load i64, i64* @gv_0, align 8 %22 = add i64 %21, 16 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = load i64, i64* @gv_1, align 8 %26 = trunc i64 %24 to i32 %27 = add i64 %25, 12 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = load i64, i64* @gv_1, align 8 %30 = add i64 %29, 20 %31 = inttoptr i64 %30 to i32* store i32 0, i32* %31, align 4 %32 = load i64, i64* @gv_1, align 8 %33 = add i64 %32, 128 %34 = inttoptr i64 %33 to i32* store i32 0, i32* %34, align 4 %35 = load i64, i64* @gv_0, align 8 %36 = load i64, i64* @gv_1, align 8 %37 = add i64 %35, 40 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = add i64 %36, 136 %41 = inttoptr i64 %40 to i64* store i64 %39, i64* %41, align 8 ret i64 %36 uselistorder i64 %36, { 1, 0 } uselistorder i64 %10, { 1, 0, 2, 3 } uselistorder i32 0, { 1, 2, 0 } }
1
CompRealVul
nsim_destroy_7100
nsim_destroy
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64 %arg1) %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %arg1) %10 = call i64 @FUNC(i64 %arg1) %11 = call i64 @FUNC(i64 %arg1) br label LBL_2 LBL_2: %12 = call i64 @FUNC() %13 = load i32, i32* %3, align 4 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %arg1) br label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %arg1) ret i64 %19 uselistorder i64 (i64)* @nsim_dev_port_is_pf, { 1, 0 } uselistorder i64 %arg1, { 4, 3, 2, 1, 0, 5, 6 } }
0
CompRealVul
mxf_read_content_storage_16972
mxf_read_content_storage
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i32 %arg3, 6401 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_4, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = call i64 @FUNC(i64 %2) %4 = and i64 %3, 4294967295 store i64 %4, i64* %arg1, align 8 %5 = icmp ult i64* %arg2, inttoptr (i64 4294967295 to i64*) store i64 4294967295, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_4 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %2) %8 = add i64 %6, 8 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 %10 = icmp eq i64 %7, 0 %11 = icmp eq i1 %10, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_4 LBL_3: %12 = call i64 @FUNC(i64 %2, i64 4) %13 = load i64, i64* %9, align 8 %14 = call i64 @FUNC(i64 %2, i64 %13, i64 %2) 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 %2, { 1, 2, 0, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_4, { 1, 2, 3, 0 } }
1
CompRealVul
construct_key_and_link_11322
construct_key_and_link
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %r8.1.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 %arg5, i64* %sv_2, align 8 %0 = call i64 @FUNC(i64* nonnull @gv_0) %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %1) %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(i64 4294967284) store i64 %5, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64* nonnull %sv_2) %8 = load i64, i64* %sv_2, align 8 %9 = call i64 @FUNC(i64 %6, i64 %8, i64 %arg6, i64 %2, i64* nonnull %sv_1) %10 = trunc i64 %9 to i32 %11 = call i64 @FUNC(i64 %2) %12 = icmp eq i32 %10, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = load i64, i64* %sv_2, align 8 %15 = load i64, i64* %sv_1, align 8 %16 = call i64 @FUNC(i64 %15, i64 %arg2, i64 %arg3, i64 %arg4, i64 %14) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 %19 = icmp eq i1 %18, false store i64 %arg4, i64* %rcx.0.reg2mem store i64 %arg3, i64* %rdx.0.reg2mem store i64 %14, i64* %r8.0.reg2mem br i1 %19, label LBL_6, label LBL_4 LBL_4: %20 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0)) %21 = load i32, i32* bitcast (i64* @gv_2 to i32*), align 8 %22 = load i64, i64* %sv_1, align 8 %23 = call i64 @FUNC(i64 %22, i32 %21, i64 0, i64 0) %24 = load i64, i64* %sv_1, align 8 %25 = call i64 @FUNC(i64 %24) store i64 %16, i64* %sv_0.0.reg2mem store i64 0, i64* %rcx.1.reg2mem store i64 0, i64* %rdx.1.reg2mem store i64 %14, i64* %r8.1.reg2mem br label LBL_7 LBL_5: %26 = ptrtoint i64* %sv_1 to i64 %27 = icmp eq i32 %10, -115 %28 = icmp eq i1 %27, false store i64 %2, i64* %rcx.0.reg2mem store i64 %arg6, i64* %rdx.0.reg2mem store i64 %26, i64* %r8.0.reg2mem store i64 %9, i64* %sv_0.0.reg2mem store i64 %2, i64* %rcx.1.reg2mem store i64 %arg6, i64* %rdx.1.reg2mem store i64 %26, i64* %r8.1.reg2mem br i1 %28, label LBL_7, label LBL_6 LBL_6: %r8.0.reload = load i64, i64* %r8.0.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %29 = load i64, i64* %sv_2, align 8 %30 = call i64 @FUNC(i64 %29) %31 = load i64, i64* %sv_1, align 8 %32 = call i64 @FUNC(i64 %31) %33 = and i64 %32, 4294967295 %34 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i64 %33, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %arg6) %35 = load i64, i64* %sv_1, align 8 store i64 %35, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %r8.1.reload = load i64, i64* %r8.1.reg2mem %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %36 = load i64, i64* %sv_2, align 8 %37 = call i64 @FUNC(i64 %36) %38 = and i64 %sv_0.0.reload, 4294967295 %39 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 %38, i64 %rdx.1.reload, i64 %rcx.1.reload, i64 %r8.1.reload, i64 %arg6) %40 = call i64 @FUNC(i64 %38) store i64 %40, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %38, { 1, 0 } uselistorder i64* %sv_2, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %sv_1, { 1, 2, 6, 3, 4, 5, 0 } uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 } uselistorder i64* %r8.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.1.reg2mem, { 0, 2, 1 } uselistorder i64* %r8.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @kleave, { 1, 0 } uselistorder i64 (i64)* @key_put, { 2, 1, 0 } uselistorder i64 (i64)* @ERR_PTR, { 1, 0 } uselistorder i64 %arg6, { 3, 2, 0, 1, 4 } }
1
CompRealVul
mta_connector_free_4897
mta_connector_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = add i32 %2, -1 %4 = inttoptr i64 %arg1 to i32* store i32 %3, i32* %4, align 4 %5 = add i64 %arg1, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) %9 = inttoptr i64 %arg1 to i64* call void @free(i64* %9) %10 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 1) ret i64 %10 }
0
CompRealVul
print_unknown_data_9858
print_unknown_data
define i64 @FUNC(i64* %arg1, i32* %arg2, i8* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg4 to i32 %1 = icmp slt i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = bitcast i64* %arg1 to i8* %4 = call i32 (i8*, ...) @printf(i8* %3, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg4, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = ptrtoint i32* %arg2 to i64 %8 = sub i64 %5, %7 %9 = icmp slt i64 %8, %6 %sv_0.0 = select i1 %9, i64 %8, i64 %6 %10 = trunc i64 %sv_0.0 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = bitcast i64* %arg1 to i8* %14 = call i32 (i8*, ...) @printf(i8* %13, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %15 = ptrtoint i8* %arg3 to i64 %16 = call i64 @FUNC(i64 %5, i64 %15, i64 %7, i32 %10) store i64 1, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %10, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64* %arg1, { 0, 2, 1 } }
0
CompRealVul
av_bitstream_filter_init_15276
av_bitstream_filter_init
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge25.reg2mem = alloca i64 %storemerge24 = load i64, i64* @gv_0, align 8 %0 = icmp eq i64 %storemerge24, 0 %1 = icmp eq i1 %0, false store i64 %storemerge24, i64* %storemerge25.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_4 LBL_1: %storemerge25.reload = load i64, i64* %storemerge25.reg2mem %2 = inttoptr i64 %storemerge25.reload to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i8* %5 = call i32 @strcmp(i8* %arg1, i8* %4) %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 16) %9 = inttoptr i64 %8 to i64* store i64 %storemerge25.reload, i64* %9, align 8 %10 = add i64 %storemerge25.reload, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %8, 8 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 store i64 %8, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %16 = add i64 %storemerge25.reload, 16 %17 = inttoptr i64 %16 to i64* %storemerge2 = load i64, i64* %17, align 8 %18 = icmp eq i64 %storemerge2, 0 %19 = icmp eq i1 %18, false store i64 %storemerge2, i64* %storemerge25.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %19, label LBL_1, label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge25.reload, { 0, 3, 2, 1 } uselistorder i64* %storemerge25.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i64 (i64)* @av_mallocz, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder label LBL_4, { 0, 2, 1 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
qemu_put_byte_573
qemu_put_byte
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 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_5, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = sext i32 %9 to i64 %11 = trunc i64 %arg2 to i8 %12 = add i64 %6, 12 %13 = add i64 %12, %10 %14 = inttoptr i64 %13 to i8* store i8 %11, i8* %14, align 1 %15 = add i64 %6, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i32 %17, 1 store i32 %18, i32* %16, align 4 %19 = add i64 %6, 1040 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 br i1 %24, label LBL_3, label LBL_2 LBL_2: %25 = load i32, i32* %8, align 4 %26 = sext i32 %25 to i64 %27 = add i64 %12, %26 %28 = call i64 @FUNC(i64 %6, i64 %27, i64 1) br label LBL_3 LBL_3: %29 = load i32, i32* %8, align 4 %30 = add i32 %29, 1 store i32 %30, i32* %8, align 4 %31 = zext i32 %30 to i64 %32 = icmp eq i32 %30, 1024 %33 = icmp eq i1 %32, false store i64 %31, i64* %rax.0.reg2mem br i1 %33, label LBL_5, label LBL_4 LBL_4: %34 = call i64 @FUNC(i64 %6) store i64 %34, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %30, { 1, 0, 2 } uselistorder i32* %8, { 2, 1, 0, 3 } uselistorder i64 %6, { 0, 2, 1, 3, 5, 4 } uselistorder i64 %1, { 1, 0 } uselistorder label LBL_5, { 1, 2, 0 } }
0
CompRealVul
vfio_disable_msix_3598
vfio_disable_msix
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 16 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %1 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_6, label LBL_1 LBL_1: %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %10 = load i64, i64* %8, align 8 %11 = mul i64 %.reload, 4 %12 = add i64 %10, %11 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = zext i32 %storemerge1.reload to i64 %17 = call i64 @FUNC(i64 %3, i64 %16) br label LBL_4 LBL_4: %18 = add i32 %storemerge1.reload, 1 %19 = sext i32 %18 to i64 %20 = icmp sgt i64 %9, %19 store i64 %19, i64* %.reg2mem store i32 %18, i32* %storemerge1.reg2mem br i1 %20, label LBL_2, label LBL_5 LBL_5: %21 = call i64 @FUNC(i64 %2, i64 0) br label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %2) %23 = add i64 %2, 36 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i64 %2, 32 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i64 %2, 28 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = add i64 %2, 24 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i32 %34, i32 %31, i32 %28, i32 %25) %36 = sext i32 %35 to i64 ret i64 %36 uselistorder i64 %2, { 2, 1, 5, 4, 3, 0, 6, 7 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 2, 0, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
webSocketParseAuthenticateField_5249
webSocketParseAuthenticateField
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_23 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = add i64 %4, 768 %10 = inttoptr i64 %9 to i32* store i32 1, i32* %10, align 4 br label LBL_5 LBL_3: %11 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 1, i64* %rax.0.reg2mem br i1 %14, label LBL_23, label LBL_4 LBL_4: %15 = add i64 %4, 768 %16 = inttoptr i64 %15 to i32* store i32 2, i32* %16, align 4 br label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1) %18 = add i64 %4, 256 %19 = add i64 %4, 512 %20 = add i64 %4, 772 %21 = inttoptr i64 %20 to i32* store i64 %17, i64* %sv_0.0.ph.reg2mem br label LBL_21 LBL_6: %22 = call i64 @FUNC(i64 %sv_0.0.ph.reload, i64 61) %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_22, label LBL_7 LBL_7: %24 = inttoptr i64 %22 to i8* store i8 0, i8* %24, align 1 %25 = call i64 @FUNC(i64 %sv_0.0.ph.reload) %26 = add i64 %22, 1 %27 = call i64 @FUNC(i64 %26) %28 = call i64 @FUNC(i64 %27) %29 = icmp eq i64 %28, 0 br i1 %29, label LBL_10, label LBL_8 LBL_8: %30 = add i64 %27, -1 %31 = add i64 %30, %28 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = icmp eq i8 %33, 34 %35 = icmp eq i1 %34, false br i1 %35, label LBL_10, label LBL_9 LBL_9: store i8 0, i8* %32, align 1 br label LBL_10 LBL_10: %36 = inttoptr i64 %27 to i8* %37 = load i8, i8* %36, align 1 %38 = icmp eq i8 %37, 34 %39 = zext i1 %38 to i64 %spec.select = add i64 %27, %39 %40 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0)) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_12, label LBL_11 LBL_11: %44 = call i64 @FUNC(i64 %4, i64 %spec.select, i64 255) br label LBL_20 LBL_12: %45 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0)) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_14, label LBL_13 LBL_13: %49 = call i64 @FUNC(i64 %18, i64 %spec.select, i64 256) br label LBL_20 LBL_14: %50 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0)) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_16, label LBL_15 LBL_15: %54 = call i64 @FUNC(i64 %19, i64 %spec.select, i64 256) br label LBL_20 LBL_16: %55 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0)) %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 %58 = icmp eq i1 %57, false br i1 %58, label LBL_20, label LBL_17 LBL_17: %59 = call i64 @FUNC(i64 %spec.select, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0)) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %60, 0 %62 = icmp eq i1 %61, false br i1 %62, label LBL_19, label LBL_18 LBL_18: store i32 1, i32* %21, align 4 br label LBL_20 LBL_19: store i32 0, i32* %21, align 4 br label LBL_20 LBL_20: %63 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1) store i64 %63, i64* %sv_0.0.ph.reg2mem br label LBL_21 LBL_21: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %64 = icmp eq i64 %sv_0.0.ph.reload, 0 %65 = icmp eq i1 %64, false br label LBL_22 LBL_22: store i64 0, i64* %rax.0.reg2mem br i1 %65, label LBL_6, label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.ph.reload, { 1, 2, 0 } uselistorder i64 %spec.select, { 3, 2, 1, 0 } uselistorder i64 %27, { 0, 2, 1, 3 } uselistorder i32* %21, { 1, 0 } uselistorder i64 %4, { 1, 4, 3, 2, 5, 0 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @strSafeCopy, { 2, 1, 0 } uselistorder i64 -1, { 1, 0, 2, 3 } uselistorder i64 (i64)* @strTrimWhitespace, { 1, 0 } uselistorder i64 (i64, i8*)* @osStrcasecmp, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 2, 0, 1, 3, 4 } uselistorder i64 (i64, i8*, i64*)* @osStrtok_r, { 2, 1, 0 } }
0
CompRealVul
verify_header_crc_10592
verify_header_crc
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i16 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %arg5, 4294967295 %5 = call i64 @FUNC() %6 = and i64 %4, 4294967295 %7 = call i64 @FUNC(i64 %5, i64 %3, i64 1, i64 %6) %8 = call i64 @FUNC(i64 0, i64 %7, i64 %6) %9 = urem i64 %8, 256 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i16 %12 = urem i16 %11, 256 %13 = icmp eq i16 %12, %arg4 %14 = icmp eq i1 %13, false br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %6, i64 %arg5, i64 %1) store i64 1, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %16 = ptrtoint i64* %arg2 to i64 %17 = urem i64 %10, 256 %18 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %17, i64 %6, i64 %arg5, i64 %1) %19 = call i64 @FUNC(i64 %16, i64 %2, i64* nonnull @gv_2) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 2, 0, 1, 3, 4 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @proto_item_append_text, { 1, 0 } uselistorder i64 %arg5, { 2, 1, 0 } }
0
CompRealVul
stbi__shiftsigned_12745
stbi__shiftsigned
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = trunc i64 %arg2 to i32 %2 = icmp slt i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = sub i32 0, %1 %5 = urem i32 %4, 32 %6 = icmp eq i32 %5, 0 store i64 %0, i64* %sv_0.0.reg2mem br i1 %6, label LBL_3, label %7 LBL_2: %11 = urem i32 %1, 32 %12 = icmp eq i32 %11, 0 store i64 %0, i64* %sv_0.0.reg2mem br i1 %12, label LBL_3, label %13 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %17 = trunc i64 %sv_0.0.reload to i32 %18 = icmp ult i32 %17, 256 %storemerge9 = zext i1 %18 to i64 %19 = call i64 @FUNC(i64 %storemerge9) %20 = trunc i64 %arg3 to i32 %21 = icmp ult i32 %20, 9 store i64 0, i64* %storemerge.reg2mem br i1 %21, label LBL_4, label LBL_5 LBL_4: %sext5 = mul i64 %arg3, 4294967296 %22 = sub i32 8, %20 %23 = urem i32 %22, 32 %24 = icmp eq i32 %23, 0 %25 = ashr i32 %17, %23 %26 = zext i32 %25 to i64 %sv_0.1 = select i1 %24, i64 %sv_0.0.reload, i64 %26 %27 = ashr exact i64 %sext5, 30 %28 = add i64 %27, ptrtoint (i32** @gv_0 to i64) %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = trunc i64 %sv_0.1 to i32 %32 = mul i32 %30, %31 %33 = add i64 %27, ptrtoint (i32** @gv_1 to i64) %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = urem i32 %35, 32 %37 = ashr i32 %32, %36 %rdx.0 = zext i32 %37 to i64 store i64 %rdx.0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %23, { 1, 0 } uselistorder i32 %20, { 1, 0 } uselistorder i32 %17, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i32 %11, { 1, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i64 %0, { 3, 1, 2, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
1
CompRealVul
m_free_2352
m_free
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %4 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %2) %5 = icmp eq i64* %arg1, null store i64 %4, i64* %rax.0.reg2mem br i1 %5, label LBL_9, label LBL_1 LBL_1: %6 = trunc i64 %1 to i32 %7 = urem i32 %6, 2 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %2) br label LBL_3 LBL_3: %10 = and i32 %6, 2 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = inttoptr i64 %14 to i64* call void @free(i64* %15) br label LBL_5 LBL_5: %16 = and i32 %6, 4 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = add i64 %2, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i32 %22, -1 store i32 %23, i32* %21, align 4 call void @free(i64* nonnull %arg1) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_7: %24 = and i32 %6, 8 %25 = zext i32 %24 to i64 %26 = icmp eq i32 %24, 0 %27 = icmp eq i1 %26, false store i64 %25, i64* %rax.0.reg2mem br i1 %27, label LBL_9, label LBL_8 LBL_8: %28 = add i64 %2, 16 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = add i64 %30, 8 %32 = call i64 @FUNC(i64 %2, i64 %31) %33 = bitcast i64* %arg1 to i32* store i32 8, i32* %33, align 4 store i64 %2, 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 i32 %6, { 1, 2, 3, 0 } uselistorder i64 %2, { 0, 5, 4, 3, 2, 1, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i32 2, { 1, 0 } }
0
CompRealVul
save_decode_as_entries_17988
save_decode_as_entries
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %4 = call i64 @FUNC(i64* nonnull %sv_0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, -1 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i32* @__errno_location() %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = load i64, i64* %sv_0, align 8 %13 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %11, i64 %3, i64 %2, i64 %1) store i64 %13, i64* %arg1, align 8 %14 = load i64, i64* %sv_0, align 8 %15 = call i64 @FUNC(i64 %14) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %16 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 1) %17 = call i64 @FUNC(i64 %16, i64* nonnull @gv_2) %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = call i32* @__errno_location() %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_3, i64 0, i64 0), i64 %16, i64 %23, i64 %3, i64 %2, i64 %1) store i64 %24, i64* %arg1, align 8 %25 = call i64 @FUNC(i64 %16) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %26 = inttoptr i64 %17 to %_IO_FILE* %27 = call i32 @fwrite(i64* bitcast ([189 x i8]* @gv_4 to i64*), i32 1, i32 188, %_IO_FILE* %26) %28 = call i64 @FUNC(i64 4199067, i64 %17) %29 = call i32 @fclose(%_IO_FILE* %26) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder %_IO_FILE* %26, { 1, 0 } uselistorder i64* %sv_0, { 1, 2, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @g_strdup_printf, { 1, 0 } uselistorder i64 (i64)* @g_strerror, { 1, 0 } }
1
CompRealVul
clone_slice_189
clone_slice
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %3, 40 %6 = add i64 %4, 40 %7 = inttoptr i64 %6 to i64* %8 = inttoptr i64 %5 to i64* %9 = call i64* @memcpy(i64* %7, i64* %8, i32 40) store i64 %5, i64* %arg1, align 8 %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %4, 8 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = add i64 %3, 12 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %4, 12 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = add i64 %3, 16 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %4, 16 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = add i64 %3, 20 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %4, 20 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %30 = add i64 %4, 24 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_3, label LBL_1 LBL_1: %35 = load i32, i32* %19, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %4, i64 %36) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_3, label LBL_2 LBL_2: %40 = add i64 %4, 32 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %42, i64 0, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %2, i64 %1) %44 = and i64 %37, 4294967295 store i64 %44, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %45 = add i64 %3, 80 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = add i64 %4, 80 %49 = inttoptr i64 %48 to i32* store i32 %47, i32* %49, align 4 %50 = add i64 %3, 84 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = add i64 %4, 84 %54 = inttoptr i64 %53 to i32* store i32 %52, i32* %54, align 4 %55 = add i64 %3, 88 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = add i64 %4, 88 %59 = inttoptr i64 %58 to i32* store i32 %57, i32* %59, align 4 %60 = add i64 %3, 92 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = add i64 %4, 92 %64 = inttoptr i64 %63 to i32* store i32 %62, i32* %64, align 4 %65 = add i64 %3, 96 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = add i64 %4, 96 %69 = inttoptr i64 %68 to i32* store i32 %67, i32* %69, align 4 %70 = add i64 %3, 100 %71 = add i64 %4, 100 %72 = inttoptr i64 %71 to i64* %73 = inttoptr i64 %70 to i64* %74 = call i64* @memcpy(i64* %72, i64* %73, i32 40) %75 = add i64 %3, 140 %76 = add i64 %4, 140 %77 = inttoptr i64 %76 to i64* %78 = inttoptr i64 %75 to i64* %79 = call i64* @memcpy(i64* %77, i64* %78, i32 40) %80 = add i64 %3, 180 %81 = add i64 %4, 180 %82 = inttoptr i64 %81 to i64* %83 = inttoptr i64 %80 to i64* %84 = call i64* @memcpy(i64* %82, i64* %83, i32 40) %85 = add i64 %3, 220 %86 = add i64 %4, 220 %87 = inttoptr i64 %86 to i64* %88 = inttoptr i64 %85 to i64* %89 = call i64* @memcpy(i64* %87, i64* %88, i32 40) %90 = add i64 %3, 260 %91 = add i64 %4, 260 %92 = inttoptr i64 %91 to i64* %93 = inttoptr i64 %90 to i64* %94 = call i64* @memcpy(i64* %92, i64* %93, i32 40) %95 = add i64 %3, 300 %96 = add i64 %4, 300 %97 = inttoptr i64 %96 to i64* %98 = inttoptr i64 %95 to i64* %99 = call i64* @memcpy(i64* %97, i64* %98, i32 40) 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 %4, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 1, 13, 14, 15, 16, 17, 18 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 6, 5, 4, 3, 2, 1, 0 } }
0
CompRealVul
GetScriptForWebSettings_10128
GetScriptForWebSettings
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = icmp ult i32 %0, 3 br i1 %1, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %arg1, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 3 %5 = and i64 %2, 4294967295 %spec.select = select i1 %4, i64 5, i64 %5 ret i64 %spec.select LBL_2: ret i64 4 }
0
CompRealVul
mov_write_minf_tag_15498
mov_write_minf_tag
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 = call i64 @FUNC(i64 %1, i64 0) %4 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) br i1 icmp ne (i32 ptrtoint ([5 x i8]* @gv_0 to i32), i32 1), label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %1) br label LBL_13 LBL_2: br i1 icmp ne (i32 ptrtoint ([5 x i8]* @gv_0 to i32), i32 2), label LBL_4, label LBL_3 LBL_3: %6 = call i64 @FUNC(i64 %1) br label LBL_13 LBL_4: %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 br i1 icmp ne (i32 ptrtoint ([5 x i8]* @gv_0 to i32), i32 3), label LBL_9, label LBL_5 LBL_5: %10 = icmp eq i32 %9, 1952807028 br i1 %10, label LBL_7, label LBL_6 LBL_6: %11 = call i64 @FUNC(i64 %0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_8, label LBL_7 LBL_7: %14 = call i64 @FUNC(i64 %1, i64 %0) br label LBL_13 LBL_8: %15 = call i64 @FUNC(i64 %1) br label LBL_13 LBL_9: %16 = icmp eq i32 %9, 1920233504 %17 = icmp eq i1 %16, false br i1 %17, label LBL_11, label LBL_10 LBL_10: %18 = call i64 @FUNC(i64 %1) br label LBL_13 LBL_11: %19 = icmp eq i32 %9, 1953325924 %20 = icmp eq i1 %19, false br i1 %20, label LBL_13, label LBL_12 LBL_12: %21 = call i64 @FUNC(i64 %1, i64 %0) br label LBL_13 LBL_13: %22 = add i64 %0, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 1 %26 = icmp eq i1 %25, false br i1 %26, label LBL_15, label LBL_14 LBL_14: %27 = call i64 @FUNC(i64 %1, i64 0) br label LBL_15 LBL_15: %28 = call i64 @FUNC(i64 %1) %29 = call i64 @FUNC(i64 %1, i64 %0) %30 = call i64 @FUNC(i64 %1, i64 %2) ret i64 %30 uselistorder i32 %9, { 0, 2, 1 } uselistorder i64 %1, { 9, 8, 7, 6, 5, 4, 2, 3, 1, 0, 10, 11, 12 } uselistorder i64 %0, { 1, 2, 4, 0, 5, 3 } uselistorder i64 (i64, i64)* @mov_write_gmhd_tag, { 1, 0 } }
1
CompRealVul
handle_new_problem_13160
handle_new_problem
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %3 = call i64 @FUNC() %4 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_3) %5 = load i64, i64* %sv_3, align 8 %6 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_2) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_1, label LBL_2 LBL_1: %10 = load i64, i64* %sv_2, align 8 %11 = load i64, i64* %sv_1, align 8 %12 = call i64 @FUNC(i64 %3, i64 %11, i64 %10) %13 = load i64, i64* %sv_3, align 8 %14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_1, label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %18 = ashr exact i64 %sext, 32 %19 = ptrtoint i64* %sv_2 to i64 %20 = ptrtoint i64* %sv_1 to i64 %21 = trunc i64 %18 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false store i64 %19, i64* %rcx.0.reg2mem store i64 %20, i64* %rdx.0.reg2mem br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = and i64 %18, 4294967295 %28 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %27, i64 %20, i64 %19, i64 %2, i64 %1) %29 = bitcast i64* %sv_0 to i8* %30 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %29, i32 14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %27) %31 = ptrtoint i64* %sv_0 to i64 %32 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0) store i64 %27, i64* %rcx.0.reg2mem store i64 %31, i64* %rdx.0.reg2mem br label LBL_5 LBL_5: %33 = call i64 @FUNC(i64 %3) %34 = call i64 @FUNC(i64 %3) %35 = icmp eq i64 %34, 0 br i1 %35, label LBL_7, label LBL_6 LBL_6: %36 = call i64 @FUNC(i64 %34) br label LBL_9 LBL_7: %37 = icmp eq i64* %arg3, null br i1 %37, label LBL_9, label LBL_8 LBL_8: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %38 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0), i64 ptrtoint ([13 x i8]* @gv_2 to i64), i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1) store i64 %38, i64* %arg3, align 8 br label LBL_9 LBL_9: %39 = call i64 @FUNC(i64 %3) ret i64 %34 uselistorder i64 %20, { 1, 0 } uselistorder i64 %19, { 1, 0 } uselistorder i64 %3, { 1, 3, 2, 4, 0, 5 } uselistorder i64* %sv_3, { 2, 0, 1 } uselistorder i64* %sv_2, { 2, 1, 3, 0 } uselistorder i64* %sv_1, { 2, 1, 3, 0 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder [13 x i8]* @gv_2, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 (i64, i8*, i64*, i64*)* @g_variant_iter_loop, { 1, 0 } uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
read_header_275
read_header
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i32*, align 8 %.cast = ptrtoint i32* %arg2 to i64 %3 = bitcast i32** %sv_0 to i64* store i64 %.cast, i64* %3, align 8 %4 = trunc i64 %2 to i32 %5 = call i32 @ntohl(i32 %4) %6 = bitcast i64* %arg1 to i32* store i32 %5, i32* %6, align 4 %7 = trunc i64 %1 to i32 %8 = icmp eq i32 %7, 305419896 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0)) store i64 %9, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %10 = ptrtoint i64* %arg1 to i64 %11 = add i64 %.cast, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = call i32 @ntohl(i32 %13) %15 = add i64 %10, 4 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %.off = add i32 %14, -1 %17 = icmp ult i32 %.off, 10 br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0)) store i64 %18, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %19 = load i32*, i32** %sv_0, align 8 %20 = ptrtoint i32* %19 to i64 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = call i32 @ntohl(i32 %23) %25 = add i64 %10, 8 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32** %sv_0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i8*)* @index_error_invalid, { 1, 0 } uselistorder i32 (i32)* @ntohl, { 2, 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
1
CompRealVul
slab_rebalance_finish_5441
slab_rebalance_finish
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = call i32 @pthread_mutex_lock(i64* nonnull @gv_0) %1 = load i32, i32* @gv_1, align 4 %2 = sext i32 %1 to i64 %3 = mul i64 %2, 16 %4 = add i64 %3, ptrtoint (i32** @gv_2 to i64) %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* @gv_3, align 4 %7 = load i32, i32* %5, align 8 %8 = add i32 %7, -1 store i32 %8, i32* %5, align 8 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_1 LBL_1: %10 = add i64 %3, add (i64 ptrtoint (i32** @gv_2 to i64), i64 8) %11 = inttoptr i64 %10 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge3.reg2mem br label LBL_2 LBL_2: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem %12 = load i64, i64* %11, align 8 %13 = mul i64 %.reload, 8 %14 = add i64 %12, %13 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %14 to i64* store i64 %17, i64* %18, align 8 %19 = add i32 %storemerge3.reload, 1 %20 = load i32, i32* %5, align 8 %21 = zext i32 %20 to i64 %22 = sext i32 %19 to i64 %23 = icmp slt i64 %22, %21 store i64 %22, i64* %.reg2mem store i32 %19, i32* %storemerge3.reg2mem br i1 %23, label LBL_2, label LBL_3 LBL_3: %24 = sext i32 %6 to i64 %25 = mul i64 %24, 16 %26 = add i64 %25, ptrtoint (i32** @gv_2 to i64) %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* @gv_4, align 4 %29 = load i64, i64* @gv_5, align 8 %30 = inttoptr i64 %29 to i64* %31 = call i64* @memset(i64* %30, i32 0, i32 %28) %32 = add i64 %25, add (i64 ptrtoint (i32** @gv_2 to i64), i64 8) %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = load i32, i32* %27, align 8 %36 = add i32 %35, 1 store i32 %36, i32* %27, align 8 %37 = sext i32 %35 to i64 %38 = mul i64 %37, 8 %39 = add i64 %38, %34 %40 = load i64, i64* @gv_5, align 8 %41 = inttoptr i64 %39 to i64* store i64 %40, i64* %41, align 8 %42 = load i32, i32* @gv_3, align 4 %43 = icmp slt i32 %42, 11 br i1 %43, label LBL_5, label LBL_4 LBL_4: %44 = load i64, i64* @gv_5, align 8 %45 = zext i32 %42 to i64 %46 = call i64 @FUNC(i64 %44, i64 %45) br label LBL_5 LBL_5: store i32 0, i32* bitcast (i64* @gv_6 to i32*), align 8 store i32 0, i32* @gv_1, align 4 store i32 0, i32* @gv_3, align 4 store i64 0, i64* @gv_5, align 8 store i64 0, i64* @gv_7, align 8 store i64 0, i64* @gv_8, align 8 store i32 0, i32* bitcast (i64* @gv_9 to i32*), align 8 %47 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0) %48 = call i64 @FUNC() store i8 0, i8* bitcast (i64* @gv_10 to i8*), align 8 store i32 ptrtoint (i32* @gv_11 to i32), i32* bitcast (i64* @gv_12 to i32*), align 8 %49 = call i64 @FUNC() %50 = load i32, i32* @gv_13, align 4 %51 = zext i32 %50 to i64 %52 = icmp slt i32 %50, 2 store i64 %51, i64* %rax.0.reg2mem br i1 %52, label LBL_7, label LBL_6 LBL_6: %53 = load %_IO_FILE*, %_IO_FILE** @gv_14, align 8 %54 = call i32 @fwrite(i64* bitcast ([22 x i8]* @gv_15 to i64*), i32 1, i32 21, %_IO_FILE* %53) %55 = sext i32 %54 to i64 store i64 %55, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %27, { 1, 0 } uselistorder i64 %25, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i8 0, { 1, 0 } uselistorder i64 8, { 0, 2, 1, 3 } uselistorder i64 add (i64 ptrtoint (i32** @gv_2 to i64), i64 8), { 1, 0 } uselistorder i64 ptrtoint (i32** @gv_2 to i64), { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
futex_wake_14577
futex_wake
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 1 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i32 @pthread_cond_signal(i64* %arg1) store i32 %3, i32* %storemerge.in.reg2mem br label LBL_3 LBL_2: %4 = call i32 @pthread_cond_broadcast(i64* %arg1) store i32 %4, i32* %storemerge.in.reg2mem br label LBL_3 LBL_3: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = sext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } }
1
CompRealVul
encode_twos_comp_11212
encode_twos_comp
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp sgt i32 %0, 1 br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 12, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_3, i64 0, i64 0)) %3 = icmp slt i64 %arg1, 0 %4 = icmp eq i1 %3, false store i64 %arg1, i64* %storemerge3.reg2mem br i1 %4, label LBL_4, label LBL_3 LBL_3: %5 = urem i32 %0, 32 %6 = icmp eq i32 %5, 0 store i64 0, i64* %storemerge.reg2mem br i1 %6, label %9, label %7 LBL_4: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem ret i64 %storemerge3.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 3, 1, 0 } uselistorder i64 %arg1, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } uselistorder label %9, { 1, 0 } }
1