dataset
stringclasses
1 value
file
stringlengths
7
51
fun_name
stringlengths
2
45
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
CompRealVul
StringSize_12598
StringSize
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i8 %2 = icmp ne i8 %1, 0 %3 = icmp eq i8 %1, 3 %4 = icmp eq i1 %3, false %or.cond = icmp eq i1 %2, %4 store i64 0, i64* %storemerge2.reg2mem br i1 %or.cond, label LBL_3, label LBL_1 LBL_1: %5 = bitcast i64* %arg1 to i8* %6 = call i32 @strlen(i8* %5) %7 = sext i32 %6 to i64 %8 = add nsw i64 %7, 1 store i64 %8, i64* %storemerge.reg2mem br label LBL_6 LBL_2: %9 = add i64 %storemerge2.reload, 2 store i64 %9, i64* %storemerge2.reg2mem br label LBL_3 LBL_3: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %10 = add i64 %storemerge2.reload, %0 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_2, label LBL_4 LBL_4: %15 = or i64 %storemerge2.reload, 1 %16 = add i64 %15, %0 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_2, label LBL_5 LBL_5: %21 = add i64 %storemerge2.reload, 2 store i64 %21, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge2.reload, { 3, 1, 2, 0 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 2, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
auth_client_request_abort_19151
auth_client_request_abort
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4) %6 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 0) %7 = add i64 %0, 16 %8 = call i64 @FUNC(i64 %7) ret i64 %8 }
1
CompRealVul
rtrs_clt_dev_release_5806
rtrs_clt_dev_release
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = add i64 %arg1, 40 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %arg1) ret i64 %3 uselistorder i64 (i64)* @mutex_destroy, { 1, 0 } }
0
CompRealVul
git_index__create_mode_137
git_index__create_mode
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = and i64 %arg1, 61440 %1 = icmp eq i64 %0, 40960 %2 = icmp eq i1 %1, false store i64 40960, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %sext = mul i64 %arg1, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = and i64 %3, 61440 %5 = icmp ne i64 %4, 16384 %6 = icmp eq i64 %4, 57344 %7 = icmp eq i1 %6, false %or.cond = icmp eq i1 %5, %7 store i64 57344, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_3 LBL_2: %8 = urem i64 %3, 512 %9 = or i64 %8, 32768 store i64 %9, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
0
CompRealVul
sshcrypto_kex_put_7060
sshcrypto_kex_put
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem35 = alloca i64 %sv_0.55.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i64 %.reg2mem33 = alloca i64* %.reg2mem31 = alloca i64 %sv_0.4.lcssa.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %.reg2mem29 = alloca i64 %sv_0.47.reg2mem = alloca i64 %storemerge18.reg2mem = alloca i64 %.reg2mem27 = alloca i64 %.reg2mem25 = alloca i64* %.reg2mem23 = alloca i64 %sv_1.4.lcssa.reg2mem = alloca i32 %sv_1.49.reg2mem = alloca i32 %sv_0.210.reg2mem = alloca i64 %storemerge211.reg2mem = alloca i64 %.reg2mem21 = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_1.2.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %sv_1.213.reg2mem = alloca i32 %sv_0.114.reg2mem = alloca i64 %storemerge315.reg2mem = alloca i64 %.reg2mem19 = alloca i64 %.reg2mem = alloca i64 %0 = load [5 x i8]*, [5 x i8]** @gv_0, align 8 %1 = ptrtoint [5 x i8]* %0 to i64 %2 = icmp eq [5 x i8]* %0, null %3 = icmp eq i1 %2, false store i64 %1, i64* %.reg2mem store i64 0, i64* %.reg2mem19 store i64 0, i64* %storemerge315.reg2mem store i64 0, i64* %sv_0.114.reg2mem store i32 0, i32* %sv_1.213.reg2mem store i32 0, i32* %sv_1.2.lcssa.reg2mem store i64 0, i64* %sv_0.1.lcssa.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %sv_1.213.reload = load i32, i32* %sv_1.213.reg2mem %sv_0.114.reload = load i64, i64* %sv_0.114.reg2mem %storemerge315.reload = load i64, i64* %storemerge315.reg2mem %.reload20 = load i64, i64* %.reg2mem19 %4 = add i64 %.reload20, ptrtoint (i32** @gv_1 to i64) %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 8 %7 = icmp eq i32 %6, 0 store i32 %sv_1.213.reload, i32* %sv_1.1.reg2mem store i64 %sv_0.114.reload, i64* %sv_0.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %8 = add i64 %sv_0.114.reload, 1 %9 = icmp ne i64 %sv_0.114.reload, 0 %10 = zext i1 %9 to i32 %spec.select = add i32 %sv_1.213.reload, %10 %11 = call i64 @FUNC(i64 %.reload) %12 = trunc i64 %11 to i32 %13 = add i32 %spec.select, %12 store i32 %13, i32* %sv_1.1.reg2mem store i64 %8, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %14 = add i64 %storemerge315.reload, 1 %15 = mul i64 %14, 16 %16 = add i64 %15, ptrtoint ([5 x i8]** @gv_0 to i64) %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 %18, i64* %.reg2mem store i64 %15, i64* %.reg2mem19 store i64 %14, i64* %storemerge315.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.114.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.213.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.2.lcssa.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %20, label LBL_1, label LBL_4 LBL_4: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %sv_1.2.lcssa.reload = load i32, i32* %sv_1.2.lcssa.reg2mem %21 = load [11 x i8]*, [11 x i8]** @gv_2, align 8 %22 = ptrtoint [11 x i8]* %21 to i64 %23 = icmp eq [11 x i8]* %21, null %24 = icmp eq i1 %23, false store i64 %22, i64* %.reg2mem21 store i64 0, i64* %storemerge211.reg2mem store i64 %sv_0.1.lcssa.reload, i64* %sv_0.210.reg2mem store i32 %sv_1.2.lcssa.reload, i32* %sv_1.49.reg2mem store i32 %sv_1.2.lcssa.reload, i32* %sv_1.4.lcssa.reg2mem br i1 %24, label LBL_5, label LBL_6 LBL_5: %sv_1.49.reload = load i32, i32* %sv_1.49.reg2mem %sv_0.210.reload = load i64, i64* %sv_0.210.reg2mem %storemerge211.reload = load i64, i64* %storemerge211.reg2mem %.reload22 = load i64, i64* %.reg2mem21 %25 = add i64 %sv_0.210.reload, 1 %26 = icmp ne i64 %sv_0.210.reload, 0 %27 = zext i1 %26 to i32 %spec.select4 = add i32 %sv_1.49.reload, %27 %28 = call i64 @FUNC(i64 %.reload22) %29 = trunc i64 %28 to i32 %30 = add i32 %spec.select4, %29 %31 = add i64 %storemerge211.reload, 1 %32 = mul i64 %31, 16 %33 = add i64 %32, ptrtoint ([11 x i8]** @gv_2 to i64) %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = icmp eq i64 %35, 0 %37 = icmp eq i1 %36, false store i64 %35, i64* %.reg2mem21 store i64 %31, i64* %storemerge211.reg2mem store i64 %25, i64* %sv_0.210.reg2mem store i32 %30, i32* %sv_1.49.reg2mem store i32 %30, i32* %sv_1.4.lcssa.reg2mem br i1 %37, label LBL_5, label LBL_6 LBL_6: %38 = ptrtoint i64* %arg1 to i64 %sv_1.4.lcssa.reload = load i32, i32* %sv_1.4.lcssa.reg2mem %39 = zext i32 %sv_1.4.lcssa.reload to i64 %40 = call i64 @FUNC(i64 %38, i64 %39) %41 = add i64 %38, 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = load [5 x i8]*, [5 x i8]** @gv_0, align 8 %45 = ptrtoint [5 x i8]* %44 to i64 %46 = icmp eq [5 x i8]* %44, null %47 = icmp eq i1 %46, false store i64 %45, i64* %.reg2mem23 store i64* bitcast ([5 x i8]** @gv_0 to i64*), i64** %.reg2mem25 store i64 0, i64* %.reg2mem27 store i64 0, i64* %storemerge18.reg2mem store i64 0, i64* %sv_0.47.reg2mem store i64 0, i64* %sv_0.4.lcssa.reg2mem br i1 %47, label LBL_7, label LBL_12 LBL_7: %sv_0.47.reload = load i64, i64* %sv_0.47.reg2mem %storemerge18.reload = load i64, i64* %storemerge18.reg2mem %.reload28 = load i64, i64* %.reg2mem27 %48 = add i64 %.reload28, ptrtoint (i32** @gv_1 to i64) %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 8 %51 = icmp eq i32 %50, 0 store i64 %sv_0.47.reload, i64* %sv_0.3.reg2mem br i1 %51, label LBL_11, label LBL_8 LBL_8: %.reload24 = load i64, i64* %.reg2mem23 %52 = icmp eq i64 %sv_0.47.reload, 0 store i64 %.reload24, i64* %.reg2mem29 br i1 %52, label LBL_10, label LBL_9 LBL_9: %.reload26 = load i64*, i64** %.reg2mem25 %53 = call i64 @FUNC(i64 %38, i64* nonnull @gv_3) %.pre = load i64, i64* %.reload26, align 8 store i64 %.pre, i64* %.reg2mem29 br label LBL_10 LBL_10: %54 = add i64 %sv_0.47.reload, 1 %.reload30 = load i64, i64* %.reg2mem29 %55 = inttoptr i64 %.reload30 to i64* %56 = call i64 @FUNC(i64 %38, i64* %55) store i64 %54, i64* %sv_0.3.reg2mem br label LBL_11 LBL_11: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %57 = add i64 %storemerge18.reload, 1 %58 = mul i64 %57, 16 %59 = add i64 %58, ptrtoint ([5 x i8]** @gv_0 to i64) %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = icmp eq i64 %61, 0 %63 = icmp eq i1 %62, false store i64 %61, i64* %.reg2mem23 store i64* %60, i64** %.reg2mem25 store i64 %58, i64* %.reg2mem27 store i64 %57, i64* %storemerge18.reg2mem store i64 %sv_0.3.reload, i64* %sv_0.47.reg2mem store i64 %sv_0.3.reload, i64* %sv_0.4.lcssa.reg2mem br i1 %63, label LBL_7, label LBL_12 LBL_12: %sv_0.4.lcssa.reload = load i64, i64* %sv_0.4.lcssa.reg2mem %64 = load [11 x i8]*, [11 x i8]** @gv_2, align 8 %65 = ptrtoint [11 x i8]* %64 to i64 %66 = icmp eq [11 x i8]* %64, null %67 = icmp eq i1 %66, false store i64 %65, i64* %.reg2mem31 store i64* bitcast ([11 x i8]** @gv_2 to i64*), i64** %.reg2mem33 store i64 0, i64* %storemerge6.reg2mem store i64 %sv_0.4.lcssa.reload, i64* %sv_0.55.reg2mem br i1 %67, label LBL_13, label LBL_16 LBL_13: %sv_0.55.reload = load i64, i64* %sv_0.55.reg2mem %storemerge6.reload = load i64, i64* %storemerge6.reg2mem %.reload32 = load i64, i64* %.reg2mem31 %68 = icmp eq i64 %sv_0.55.reload, 0 store i64 %.reload32, i64* %.reg2mem35 br i1 %68, label LBL_15, label LBL_14 LBL_14: %.reload34 = load i64*, i64** %.reg2mem33 %69 = call i64 @FUNC(i64 %38, i64* nonnull @gv_3) %.pre18 = load i64, i64* %.reload34, align 8 store i64 %.pre18, i64* %.reg2mem35 br label LBL_15 LBL_15: %70 = add i64 %sv_0.55.reload, 1 %.reload36 = load i64, i64* %.reg2mem35 %71 = inttoptr i64 %.reload36 to i64* %72 = call i64 @FUNC(i64 %38, i64* %71) %73 = add i64 %storemerge6.reload, 1 %74 = mul i64 %73, 16 %75 = add i64 %74, ptrtoint ([11 x i8]** @gv_2 to i64) %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = icmp eq i64 %77, 0 %79 = icmp eq i1 %78, false store i64 %77, i64* %.reg2mem31 store i64* %76, i64** %.reg2mem33 store i64 %73, i64* %storemerge6.reg2mem store i64 %70, i64* %sv_0.55.reg2mem br i1 %79, label LBL_13, label LBL_16 LBL_16: %80 = load i64, i64* %42, align 8 %81 = add i64 %80, %38 %82 = inttoptr i64 %81 to i8* store i8 0, i8* %82, align 1 %83 = add i64 %43, %38 %84 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_4, i64 0, i64 0), i64 %83) ret i64 %84 uselistorder i64 %sv_0.55.reload, { 1, 0 } uselistorder i64 %sv_0.47.reload, { 2, 1, 0 } uselistorder i64 %38, { 0, 1, 3, 2, 5, 4, 7, 6 } uselistorder i64 %sv_0.114.reload, { 1, 2, 0 } uselistorder i32 %sv_1.213.reload, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem19, { 2, 0, 1 } uselistorder i64* %storemerge315.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.114.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.213.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem21, { 2, 0, 1 } uselistorder i64* %storemerge211.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.210.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.49.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem23, { 2, 0, 1 } uselistorder i64** %.reg2mem25, { 2, 0, 1 } uselistorder i64* %.reg2mem27, { 2, 0, 1 } uselistorder i64* %storemerge18.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.47.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem29, { 0, 2, 1 } uselistorder i64* %.reg2mem31, { 2, 0, 1 } uselistorder i64** %.reg2mem33, { 2, 0, 1 } uselistorder i64* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.55.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem35, { 0, 2, 1 } uselistorder i64 (i64, i64*)* @buf_puts, { 3, 2, 1, 0 } uselistorder i64* @gv_3, { 1, 0 } uselistorder [11 x i8]** @gv_2, { 2, 0, 3, 1 } uselistorder i64 (i64)* @str_len, { 1, 0 } uselistorder i64 1, { 1, 2, 3, 4, 5, 6, 7, 8, 0 } uselistorder i64 ptrtoint (i32** @gv_1 to i64), { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i1 false, { 4, 3, 5, 2, 6, 1, 7, 0 } uselistorder [5 x i8]** @gv_0, { 2, 0, 3, 1 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
t_gen_lsl_17255
t_gen_lsl
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 0) %1 = call i64 @FUNC(i64 0) %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64 31) %4 = call i64 @FUNC() %5 = call i64 @FUNC() %6 = call i64 @FUNC() %7 = call i64 @FUNC() %8 = call i64 @FUNC() %9 = call i64 @FUNC() ret i64 %9 uselistorder i64 ()* @tcg_temp_free, { 1, 0 } uselistorder i64 (i64)* @tcg_temp_new, { 1, 0 } }
1
CompRealVul
virtio_blk_pci_init_1195
virtio_blk_pci_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: ret i64 0 }
0
CompRealVul
__tg3_set_mac_addr_10028
__tg3_set_mac_addr
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv5.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = mul i64 %1, 256 %4 = and i64 %3, 65280 %5 = add i64 %2, 1 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = zext i8 %7 to i64 %9 = or i64 %4, %8 %10 = add i64 %2, 2 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = zext i8 %12 to i64 %14 = mul i64 %13, 16777216 %15 = add i64 %2, 3 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = zext i8 %17 to i64 %19 = mul i64 %18, 65536 %20 = or i64 %19, %14 %21 = add i64 %2, 4 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = zext i8 %23 to i64 %25 = mul i64 %24, 256 %26 = or i64 %20, %25 %27 = add i64 %2, 5 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = zext i8 %29 to i64 %31 = or i64 %26, %30 %32 = trunc i64 %arg2 to i32 %33 = icmp eq i32 %32, 0 store i64 0, i64* %indvars.iv5.reg2mem br label LBL_1 LBL_1: %indvars.iv5.reload = load i64, i64* %indvars.iv5.reg2mem %34 = icmp eq i64 %indvars.iv5.reload, 1 %35 = icmp eq i1 %34, false %brmerge = or i1 %33, %35 br i1 %brmerge, label LBL_2, label LBL_3 LBL_2: %36 = mul i64 %indvars.iv5.reload, 8 %37 = call i64 @FUNC(i64 %36, i64 %9) %38 = or i64 %36, 4 %39 = call i64 @FUNC(i64 %38, i64 %31) br label LBL_3 LBL_3: %indvars.iv.next6 = add nuw nsw i64 %indvars.iv5.reload, 1 %exitcond7 = icmp eq i64 %indvars.iv.next6, 4 store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem br i1 %exitcond7, label LBL_4, label LBL_1 LBL_4: %40 = call i64 @FUNC(i64 %2) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 5703 br i1 %42, label LBL_6, label LBL_5 LBL_5: %43 = call i64 @FUNC(i64 %2) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 5704 %46 = icmp eq i1 %45, false store i64 %2, i64* %.reg2mem br i1 %46, label LBL_8, label LBL_6 LBL_6: store i64 0, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %47 = mul i64 %indvars.iv.reload, 8 %48 = add nuw nsw i64 %47, 8 %49 = call i64 @FUNC(i64 %48, i64 %9) %50 = add nuw nsw i64 %47, 12 %51 = call i64 @FUNC(i64 %50, i64 %31) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 12 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 100, i64* %.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %.reload = load i64, i64* %.reg2mem %52 = add i64 %.reload, 1 %53 = inttoptr i64 %52 to i8* %54 = load i8, i8* %53, align 1 %55 = urem i64 %.reload, 256 %56 = zext i8 %54 to i64 %57 = add nuw nsw i64 %55, %56 %58 = add i64 %.reload, 2 %59 = inttoptr i64 %58 to i8* %60 = load i8, i8* %59, align 1 %61 = zext i8 %60 to i64 %62 = add nuw nsw i64 %57, %61 %63 = add i64 %.reload, 3 %64 = inttoptr i64 %63 to i8* %65 = load i8, i8* %64, align 1 %66 = zext i8 %65 to i64 %67 = add nuw nsw i64 %62, %66 %68 = add i64 %.reload, 4 %69 = inttoptr i64 %68 to i8* %70 = load i8, i8* %69, align 1 %71 = zext i8 %70 to i64 %72 = add nuw nsw i64 %67, %71 %73 = add i64 %.reload, 5 %74 = inttoptr i64 %73 to i8* %75 = load i8, i8* %74, align 1 %76 = zext i8 %75 to i64 %77 = add nuw nsw i64 %72, %76 %78 = urem i64 %77, 64 %79 = call i64 @FUNC(i64 16, i64 %78) ret i64 %79 uselistorder i64 %.reload, { 1, 0, 3, 2, 5, 4 } uselistorder i64 %47, { 1, 0 } uselistorder i64 %36, { 1, 0 } uselistorder i64 %indvars.iv5.reload, { 0, 2, 1 } uselistorder i64 %31, { 1, 0 } uselistorder i64 %9, { 1, 0 } uselistorder i64* %indvars.iv5.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @tg3_asic_rev, { 1, 0 } uselistorder i64 (i64, i64)* @tw32, { 2, 4, 3, 1, 0 } uselistorder i64 8, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 4, { 2, 0, 1, 3 } uselistorder i64 1, { 3, 2, 1, 0, 4 } uselistorder i64 256, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
ssh2_try_send_and_unthrottle_11446
ssh2_try_send_and_unthrottle
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 = urem i32 %2, 2 %4 = zext i32 %3 to i64 %5 = icmp eq i32 %3, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_6, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg2 to i64 %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_6, label LBL_2 LBL_2: %12 = add i64 %7, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 3 br i1 %15, label LBL_5, label LBL_3 LBL_3: %16 = zext i32 %14 to i64 %17 = icmp sgt i32 %14, 1 %18 = icmp eq i32 %14, 0 %or.cond2 = or i1 %17, %18 %19 = icmp eq i32 %14, 1 %20 = icmp eq i1 %19, false %or.cond4 = or i1 %or.cond2, %20 store i64 %16, i64* %rax.0.reg2mem br i1 %or.cond4, label LBL_6, label LBL_4 LBL_4: %21 = add i64 %7, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %23) store i64 %24, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %25 = add i64 %7, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) store i64 %28, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %14, { 1, 2, 0, 4, 3 } uselistorder i64 %7, { 1, 0, 2, 3 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 4, 5 } uselistorder label LBL_6, { 1, 2, 3, 4, 0 } }
1
CompRealVul
ff_id3v2_parse_7381
ff_id3v2_parse
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i8 %rdi.8.reg2mem = alloca i64 %sv_0.028.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i8* %rdi.6.reg2mem = alloca i64 %storemerge1764.lcssa.reg2mem = alloca i64* %rdi.5.ph34.lcssa.reg2mem = alloca i64 %rdi.5.ph34128.reg2mem = alloca i64 %.reg2mem194 = alloca i32 %sv_2.3.ph133.reg2mem = alloca i64 %rdi.5.ph134.reg2mem = alloca i64 %r8.2.ph135.reg2mem = alloca i64 %r9.2.ph137.reg2mem = alloca i64 %.reg2mem192 = alloca i32 %r9.1.reg2mem = alloca i64 %r8.1.reg2mem = alloca i64 %rdi.4.reg2mem = alloca i64 %sv_2.2.reg2mem = alloca i64 %sv_3.promoted6793.reg2mem = alloca i64* %rdi.3.reg2mem = alloca i64 %rdi.2.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i64 %.reg2mem190 = alloca i8 %storemerge16.reg2mem = alloca i64 %r9.0.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %.reg2mem188 = alloca i64* %storemerge.lcssa.reg2mem = alloca i64* %.reg2mem186 = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_4.058.reg2mem = alloca i32 %.reg2mem184 = alloca i64* %rdi.1.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %.reg2mem182 = alloca i64* %sv_5.0.reg2mem = alloca i32 %sv_6.0.reg2mem = alloca i32 %storemerge1763.in.in.reg2mem = alloca i64 %storemerge17.in.in.reg2mem = alloca i64 %.reg2mem180 = alloca i32 %storemerge19101.reg2mem = alloca i64 %storemerge18102.reg2mem = alloca i32 %.reg2mem = alloca i1 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg5 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = load i8, i8* %1 %sv_7 = alloca i64, align 8 %sv_8 = alloca i64*, align 8 %sv_3 = alloca i64*, align 8 %sv_9 = alloca i8, align 1 %sv_10 = alloca i32, align 4 %sv_11 = alloca i64, align 8 %sv_12 = alloca i64, align 8 store i64 %3, i64* %sv_12, align 8 %sext8 = mul i64 %arg3, 72057594037927936 %6 = ashr exact i64 %sext8, 56 %7 = call i64 @FUNC(i64 %4) %8 = add i64 %7, %arg2 %sext10 = mul i64 %8, 4294967296 %9 = ashr exact i64 %sext10, 32 store i64 0, i64* %sv_11, align 8 store i32 0, i32* %sv_10, align 4 %10 = urem i64 %arg3, 256 %11 = icmp eq i64 %10, 2 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = trunc i64 %10 to i32 %13 = icmp ugt i32 %12, 1 %14 = add nsw i32 %12, -3 %15 = icmp ult i32 %14, 2 %or.cond22 = icmp eq i1 %13, %15 store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8** %sv_1.0.ph.reg2mem br i1 %or.cond22, label LBL_3, label LBL_50 LBL_2: %16 = and i64 %arg4, 64 %17 = icmp eq i64 %16, 0 store i1 true, i1* %.reg2mem store i32 6, i32* %storemerge18102.reg2mem store i64 0, i64* %storemerge19101.reg2mem store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i8** %sv_1.0.ph.reg2mem br i1 %17, label LBL_5, label LBL_50 LBL_3: %.pre98 = and i64 %arg4, 64 %18 = icmp eq i64 %.pre98, 0 store i1 false, i1* %.reg2mem store i32 10, i32* %storemerge18102.reg2mem store i64 1, i64* %storemerge19101.reg2mem br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %4, i64 4) %20 = and i64 %19, 4294967295 %21 = call i64 @FUNC(i64 %4, i64 %20) store i1 false, i1* %.reg2mem store i32 10, i32* %storemerge18102.reg2mem store i64 1, i64* %storemerge19101.reg2mem br label LBL_5 LBL_5: %22 = ptrtoint i64* %sv_12 to i64 %storemerge19101.reload = load i64, i64* %storemerge19101.reg2mem %storemerge18102.reload = load i32, i32* %storemerge18102.reg2mem %.reload = load i1, i1* %.reg2mem %23 = bitcast i8* %sv_9 to i64* %24 = trunc i64 %6 to i8 %25 = icmp eq i8 %24, 3 %26 = icmp eq i1 %25, false %27 = ptrtoint i8* %sv_9 to i64 %28 = trunc i64 %arg4 to i8 %29 = icmp sgt i8 %28, -1 %30 = ptrtoint i64* %sv_11 to i64 %31 = add i64 %22, -8 %32 = inttoptr i64 %31 to i64* %33 = add i64 %22, -16 %34 = inttoptr i64 %33 to i64* %35 = bitcast i64** %sv_3 to i64* %36 = ptrtoint i64* %sv_7 to i64 %37 = trunc i64 %arg2 to i32 %38 = icmp sgt i32 %storemerge18102.reload, %37 store i32 %37, i32* %.reg2mem192 store i64 %3, i64* %r8.2.ph135.reg2mem store i64 %4, i64* %rdi.5.ph134.reg2mem store i64 0, i64* %sv_2.3.ph133.reg2mem store i64 %4, i64* %rdi.5.ph34.lcssa.reg2mem br i1 %38, label LBL_48, label LBL_6.lr.ph.lr.ph LBL_6: %.reload181 = load i32, i32* %.reg2mem180 br i1 %.reload, label LBL_11, label LBL_7 LBL_7: %39 = call i64 @FUNC(i64 %rdi.5.ph34128.reload, i64* nonnull %23, i64 4) br i1 %26, label LBL_9, label LBL_8 LBL_8: %40 = call i64 @FUNC(i64 %rdi.5.ph34128.reload) store i64 %40, i64* %storemerge17.in.in.reg2mem br label LBL_10 LBL_9: %41 = call i64 @FUNC(i64 %rdi.5.ph34128.reload, i64 4) store i64 %41, i64* %storemerge17.in.in.reg2mem br label LBL_10 LBL_10: %storemerge17.in.in.reload = load i64, i64* %storemerge17.in.in.reg2mem %42 = call i64 @FUNC(i64 %rdi.5.ph34128.reload) %43 = trunc i64 %42 to i32 %44 = and i32 %43, 128 store i64 %storemerge17.in.in.reload, i64* %storemerge1763.in.in.reg2mem store i32 %43, i32* %sv_6.0.reg2mem store i32 %44, i32* %sv_5.0.reg2mem br label LBL_12 LBL_11: %45 = call i64 @FUNC(i64 %rdi.5.ph34128.reload, i64* nonnull %23, i64 3) %46 = call i64 @FUNC(i64 %rdi.5.ph34128.reload) store i64 %46, i64* %storemerge1763.in.in.reg2mem store i32 0, i32* %sv_6.0.reg2mem store i32 0, i32* %sv_5.0.reg2mem br label LBL_12 LBL_12: %storemerge1763.in.in.reload = load i64, i64* %storemerge1763.in.in.reg2mem %storemerge1763.in = and i64 %storemerge1763.in.in.reload, 4294967295 %storemerge1763 = inttoptr i64 %storemerge1763.in to i64* %47 = trunc i64 %storemerge1763.in.in.reload to i32 %48 = icmp slt i32 %47, 0 br i1 %48, label LBL_14, label LBL_13 LBL_13: %49 = sub i32 %.reload181, %storemerge18102.reload %50 = zext i32 %49 to i64 %sext11 = mul i64 %storemerge1763.in.in.reload, 4294967296 %51 = ashr exact i64 %sext11, 32 %52 = icmp sgt i64 %51, %50 br i1 %52, label LBL_14, label LBL_15 LBL_14: store i64* %storemerge1763, i64** %sv_3, align 8 %53 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %23, i64 %r8.2.ph135.reload, i64 %r9.2.ph137.reload) store i64 %4, i64* %rdi.6.reg2mem br label LBL_49 LBL_15: %54 = sub i32 %49, %47 %55 = call i64 @FUNC(i64 %rdi.5.ph34128.reload) %56 = icmp eq i64 %storemerge1763.in, 0 %57 = icmp eq i1 %56, false br i1 %57, label LBL_18, label LBL_16 LBL_16: %58 = load i8, i8* %sv_9, align 1 %59 = icmp eq i8 %58, 0 br i1 %59, label LBL_47, label LBL_17 LBL_17: %60 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %23, i64 %r8.2.ph135.reload, i64 %r9.2.ph137.reload) %61 = icmp sgt i32 %storemerge18102.reload, %54 store i32 %54, i32* %.reg2mem194 store i64 %4, i64* %rdi.5.ph34128.reg2mem store i64 %4, i64* %rdi.5.ph34.lcssa.reg2mem store i64* %storemerge1763, i64** %storemerge1764.lcssa.reg2mem br i1 %61, label LBL_48, label LBL_6.lr.ph LBL_18: %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem %sv_6.0.reload = load i32, i32* %sv_6.0.reg2mem store i64* %storemerge1763, i64** %sv_3, align 8 %62 = and i32 %sv_6.0.reload, 64 %63 = icmp eq i32 %62, 0 store i64* %storemerge1763, i64** %.reg2mem182 br i1 %63, label LBL_20, label LBL_19 LBL_19: %64 = call i64 @FUNC(i64 %rdi.5.ph34128.reload) %65 = add i64 %storemerge1763.in.in.reload, 4294967292 %66 = and i64 %65, 4294967295 %67 = inttoptr i64 %66 to i64* store i64* %67, i64** %sv_3, align 8 store i64* %67, i64** %.reg2mem182 br label LBL_20 LBL_20: %.reload183 = load i64*, i64** %.reg2mem182 %68 = and i32 %sv_6.0.reload, 48 %69 = icmp eq i32 %68, 0 br i1 %69, label LBL_22, label LBL_21 LBL_21: %70 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %23, i64 %r8.2.ph135.reload, i64 %r9.2.ph137.reload) %71 = ptrtoint i64* %.reload183 to i64 %72 = and i64 %71, 4294967295 %73 = call i64 @FUNC(i64 %4, i64 %72) store i64* %.reload183, i64** %sv_3.promoted6793.reg2mem store i64 %sv_2.3.ph133.reload, i64* %sv_2.2.reg2mem store i64 %4, i64* %rdi.4.reg2mem store i64 %r8.2.ph135.reload, i64* %r8.1.reg2mem store i64 %r9.2.ph137.reload, i64* %r9.1.reg2mem br label LBL_44 LBL_22: %74 = load i8, i8* %sv_9, align 1 %75 = icmp eq i8 %74, 84 store i64 %sv_2.3.ph133.reload, i64* %sv_2.0.reg2mem store i64 %rdi.5.ph34128.reload, i64* %rdi.1.reg2mem br i1 %75, label LBL_26, label LBL_23 LBL_23: %76 = load i64, i64* %sv_12, align 8 %77 = icmp eq i64 %76, 0 store i8 %74, i8* %.reg2mem190 store i64 %sv_2.3.ph133.reload, i64* %sv_2.1.reg2mem store i64 %rdi.5.ph34128.reload, i64* %rdi.2.reg2mem br i1 %77, label LBL_40, label LBL_24 LBL_24: %78 = call i64 @FUNC(i64* nonnull %23, i64 %storemerge19101.reload) %79 = inttoptr i64 %78 to i64* %80 = load i64, i64* %79, align 8 %81 = icmp eq i64 %80, 0 store i64 %80, i64* %sv_2.0.reg2mem store i64 %27, i64* %rdi.1.reg2mem br i1 %81, label LBL_24.LBL_40_crit_edge, label LBL_26 LBL_25: %.pre = load i8, i8* %sv_9, align 1 store i8 %.pre, i8* %.reg2mem190 store i64 0, i64* %sv_2.1.reg2mem store i64 %27, i64* %rdi.2.reg2mem br label LBL_40 LBL_26: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %82 = icmp eq i32 %sv_5.0.reload, 0 %or.cond = icmp eq i1 %29, %82 store i64* %.reload183, i64** %.reg2mem188 store i64 %r8.2.ph135.reload, i64* %r8.0.reg2mem store i64 %r9.2.ph137.reload, i64* %r9.0.reg2mem store i64 %rdi.1.reload, i64* %storemerge16.reg2mem br i1 %or.cond, label LBL_37, label LBL_27 LBL_27: %83 = ptrtoint i64* %.reload183 to i64 %84 = trunc i64 %83 to i32 %85 = call i64 @FUNC(i64* nonnull %sv_11, i32* nonnull %sv_10, i32 %84) %86 = load i64, i64* %sv_11, align 8 %87 = icmp eq i64 %86, 0 %88 = icmp eq i1 %87, false br i1 %88, label LBL_28, label LBL_29 LBL_28: store i64* null, i64** %sv_8, align 8 %89 = icmp sgt i32 %84, 0 store i64* null, i64** %.reg2mem184 store i32 0, i32* %sv_4.058.reg2mem store i64 %86, i64* %.reg2mem186 store i64* null, i64** %storemerge.lcssa.reg2mem br i1 %89, label LBL_30, label LBL_36 LBL_29: %90 = call i64 @FUNC(i64 %4, i64 3, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0), i64* %.reload183, i64 %r8.2.ph135.reload, i64 %r9.2.ph137.reload) store i64* %.reload183, i64** %sv_3.promoted6793.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.2.reg2mem store i64 %4, i64* %rdi.4.reg2mem store i64 %r8.2.ph135.reload, i64* %r8.1.reg2mem store i64 %r9.2.ph137.reload, i64* %r9.1.reg2mem br label LBL_44 LBL_30: %sv_4.058.reload = load i32, i32* %sv_4.058.reg2mem %.reload185 = load i64*, i64** %.reg2mem184 %91 = call i64 @FUNC(i64 %30) %92 = load i64, i64* %sv_11, align 8 %93 = ptrtoint i64* %.reload185 to i64 %sext13 = mul i64 %93, 4294967296 %94 = ashr exact i64 %sext13, 32 %95 = add i64 %94, %92 %96 = trunc i64 %91 to i8 %97 = inttoptr i64 %95 to i8* store i8 %96, i8* %97, align 1 %98 = load i64*, i64** %sv_8, align 8 %99 = ptrtoint i64* %98 to i64 %100 = trunc i64 %99 to i32 %101 = icmp slt i32 %100, 1 store i64 %99, i64* %.pre-phi.reg2mem br i1 %101, label LBL_34, label LBL_31 LBL_31: %102 = load i64, i64* %sv_11, align 8 %sext14 = mul i64 %99, 4294967296 %103 = ashr exact i64 %sext14, 32 %104 = add i64 %102, %103 %105 = inttoptr i64 %104 to i8* %106 = load i8, i8* %105, align 1 %107 = icmp eq i8 %106, 0 %108 = icmp eq i1 %107, false store i64 %99, i64* %.pre-phi.reg2mem br i1 %108, label LBL_34, label LBL_32 LBL_32: %109 = add i64 %104, -1 %110 = inttoptr i64 %109 to i8* %111 = load i8, i8* %110, align 1 %112 = icmp eq i8 %111, -1 %113 = icmp eq i1 %112, false store i64 %99, i64* %.pre-phi.reg2mem br i1 %113, label LBL_34, label LBL_33 LBL_33: %114 = add i64 %99, 4294967295 %115 = and i64 %114, 4294967295 %116 = inttoptr i64 %115 to i64* store i64* %116, i64** %sv_8, align 8 store i64 %115, i64* %.pre-phi.reg2mem br label LBL_34 LBL_34: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %117 = add nuw nsw i32 %sv_4.058.reload, 1 %118 = add i64 %.pre-phi.reload, 1 %119 = and i64 %118, 4294967295 %120 = inttoptr i64 %119 to i64* store i64* %120, i64** %sv_8, align 8 %121 = load i64*, i64** %sv_3, align 8 %122 = ptrtoint i64* %121 to i64 %123 = trunc i64 %122 to i32 %124 = icmp slt i32 %117, %123 store i64* %120, i64** %.reg2mem184 store i32 %117, i32* %sv_4.058.reg2mem br i1 %124, label LBL_30, label LBL_35 LBL_35: %.pre96 = load i64, i64* %sv_11, align 8 store i64 %.pre96, i64* %.reg2mem186 store i64* %120, i64** %storemerge.lcssa.reg2mem br label LBL_36 LBL_36: %storemerge.lcssa.reload = load i64*, i64** %storemerge.lcssa.reg2mem %.reload187 = load i64, i64* %.reg2mem186 %125 = ptrtoint i64* %storemerge.lcssa.reload to i64 %126 = trunc i64 %125 to i32 store i64 0, i64* %32, align 8 store i64 0, i64* %34, align 8 %127 = call i64 @FUNC(i64* nonnull %sv_7, i64 %.reload187, i32 %126, i64 0, i64 0, i64 0) %128 = load i64*, i64** %sv_8, align 8 %129 = ptrtoint i64* %128 to i64 store i64 %129, i64* %35, align 8 store i64* %128, i64** %.reg2mem188 store i64 0, i64* %r8.0.reg2mem store i64 0, i64* %r9.0.reg2mem store i64 %36, i64* %storemerge16.reg2mem br label LBL_37 LBL_37: %.reload189 = load i64*, i64** %.reg2mem188 %130 = load i8, i8* %sv_9, align 1 %131 = icmp eq i8 %130, 84 %132 = icmp eq i1 %131, false br i1 %132, label LBL_39, label LBL_38 LBL_38: %storemerge16.reload = load i64, i64* %storemerge16.reg2mem %r9.0.reload = load i64, i64* %r9.0.reg2mem %r8.0.reload = load i64, i64* %r8.0.reg2mem %133 = ptrtoint i64* %.reload189 to i64 %134 = trunc i64 %133 to i32 %135 = call i64 @FUNC(i64 %4, i64 %storemerge16.reload, i32 %134, i64* nonnull %23) store i64* %.reload189, i64** %sv_3.promoted6793.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.2.reg2mem store i64 %4, i64* %rdi.4.reg2mem store i64 %r8.0.reload, i64* %r8.1.reg2mem store i64 %r9.0.reload, i64* %r9.1.reg2mem br label LBL_44 LBL_39: %136 = load i64, i64* %sv_12, align 8 store i64* %.reload189, i64** %sv_3.promoted6793.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.2.reg2mem store i64 %4, i64* %rdi.4.reg2mem store i64 %136, i64* %r8.1.reg2mem store i64 %sv_2.0.reload, i64* %r9.1.reg2mem br label LBL_44 LBL_40: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem %.reload191 = load i8, i8* %.reg2mem190 %137 = icmp eq i8 %.reload191, 0 %138 = icmp eq i1 %137, false store i64* %.reload183, i64** %sv_3.promoted6793.reg2mem store i64 %sv_2.1.reload, i64* %sv_2.2.reg2mem store i64 %rdi.2.reload, i64* %rdi.4.reg2mem store i64 %r8.2.ph135.reload, i64* %r8.1.reg2mem store i64 %r9.2.ph137.reload, i64* %r9.1.reg2mem br i1 %138, label LBL_44, label LBL_41 LBL_41: %139 = icmp eq i8 %5, 0 store i64 %rdi.2.reload, i64* %rdi.3.reg2mem br i1 %139, label LBL_43, label LBL_42 LBL_42: %140 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_6, i64 0, i64 0), i64* nonnull %23, i64 %r8.2.ph135.reload, i64 %r9.2.ph137.reload) store i64 %4, i64* %rdi.3.reg2mem br label LBL_43 LBL_43: %rdi.3.reload = load i64, i64* %rdi.3.reg2mem %141 = ptrtoint i64* %.reload183 to i64 %142 = and i64 %141, 4294967295 %143 = call i64 @FUNC(i64 %rdi.3.reload, i64 %142) store i64 %rdi.3.reload, i64* %rdi.6.reg2mem br label LBL_49 LBL_44: %144 = add i64 %55, %storemerge1763.in.in.reload %sext12.le = mul i64 %144, 4294967296 %145 = ashr exact i64 %sext12.le, 32 %r9.1.reload = load i64, i64* %r9.1.reg2mem %r8.1.reload = load i64, i64* %r8.1.reg2mem %rdi.4.reload = load i64, i64* %rdi.4.reg2mem %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem %sv_3.promoted6793.reload = load i64*, i64** %sv_3.promoted6793.reg2mem %146 = call i64 @FUNC(i64 %rdi.4.reload, i64 %145, i64 0) %147 = icmp sgt i32 %storemerge18102.reload, %54 store i32 %54, i32* %.reg2mem192 store i64 %r9.1.reload, i64* %r9.2.ph137.reg2mem store i64 %r8.1.reload, i64* %r8.2.ph135.reg2mem store i64 %rdi.4.reload, i64* %rdi.5.ph134.reg2mem store i64 %sv_2.2.reload, i64* %sv_2.3.ph133.reg2mem store i64 %rdi.4.reload, i64* %rdi.5.ph34.lcssa.reg2mem store i64* %sv_3.promoted6793.reload, i64** %storemerge1764.lcssa.reg2mem br i1 %147, label LBL_48, label LBL_6.lr.ph.lr.ph LBL_45: %sv_2.3.ph133.reload = load i64, i64* %sv_2.3.ph133.reg2mem %rdi.5.ph134.reload = load i64, i64* %rdi.5.ph134.reg2mem %r8.2.ph135.reload = load i64, i64* %r8.2.ph135.reg2mem %r9.2.ph137.reload = load i64, i64* %r9.2.ph137.reg2mem %.reload193 = load i32, i32* %.reg2mem192 store i32 %.reload193, i32* %.reg2mem194 store i64 %rdi.5.ph134.reload, i64* %rdi.5.ph34128.reg2mem br label LBL_6.lr.ph LBL_46: %rdi.5.ph34128.reload = load i64, i64* %rdi.5.ph34128.reg2mem %.reload195 = load i32, i32* %.reg2mem194 store i32 %.reload195, i32* %.reg2mem180 br label LBL_6 LBL_47: %148 = icmp sgt i32 %storemerge18102.reload, %54 store i32 %54, i32* %.reg2mem180 store i64 %rdi.5.ph34128.reload, i64* %rdi.5.ph34.lcssa.reg2mem store i64* %storemerge1763, i64** %storemerge1764.lcssa.reg2mem br i1 %148, label LBL_48, label LBL_6 LBL_48: %storemerge1764.lcssa.reload = load i64*, i64** %storemerge1764.lcssa.reg2mem %rdi.5.ph34.lcssa.reload = load i64, i64* %rdi.5.ph34.lcssa.reg2mem store i64* %storemerge1764.lcssa.reload, i64** %sv_3, align 8 store i64 %rdi.5.ph34.lcssa.reload, i64* %rdi.6.reg2mem br label LBL_49 LBL_49: %rdi.6.reload = load i64, i64* %rdi.6.reg2mem %149 = icmp eq i8 %24, 4 %150 = icmp eq i1 %149, false %151 = and i64 %arg4, 16 %152 = icmp eq i64 %151, 0 %or.cond26 = or i1 %152, %150 %153 = add nsw i64 %9, 10 %spec.select = select i1 %or.cond26, i64 %9, i64 %153 store i64 %spec.select, i64* %sv_0.028.reg2mem store i64 %rdi.6.reload, i64* %rdi.8.reg2mem br label LBL_51 LBL_50: %sv_1.0.ph.reload = load i8*, i8** %sv_1.0.ph.reg2mem %154 = ptrtoint i8* %sv_1.0.ph.reload to i64 %155 = urem i64 %6, 256 %156 = inttoptr i64 %155 to i64* %157 = call i64 @FUNC(i64 %4, i64 2, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_7, i64 0, i64 0), i64* %156, i64 %154, i64 %2) store i64 %9, i64* %sv_0.028.reg2mem store i64 %4, i64* %rdi.8.reg2mem br label LBL_51 LBL_51: %rdi.8.reload = load i64, i64* %rdi.8.reg2mem %sv_0.028.reload = load i64, i64* %sv_0.028.reg2mem %158 = call i64 @FUNC(i64 %rdi.8.reload, i64 %sv_0.028.reload, i64 0) %159 = load i64, i64* %sv_11, align 8 %160 = call i64 @FUNC(i64 %159) ret i64 %160 uselistorder i64 %rdi.5.ph34128.reload, { 0, 1, 4, 5, 6, 3, 2, 7, 8, 9, 10 } uselistorder i64 %r9.2.ph137.reload, { 4, 0, 1, 8, 5, 2, 6, 7, 3 } uselistorder i64 %r8.2.ph135.reload, { 4, 0, 1, 8, 5, 2, 6, 7, 3 } uselistorder i64 %sv_2.3.ph133.reload, { 2, 0, 1 } uselistorder i64 %rdi.2.reload, { 1, 0 } uselistorder i64* %.reload189, { 1, 0, 2 } uselistorder i64 %99, { 4, 2, 1, 3, 0, 5 } uselistorder i64 %sv_2.0.reload, { 0, 3, 2, 1 } uselistorder i64* %.reload183, { 7, 1, 2, 6, 5, 3, 0, 4 } uselistorder i32 %sv_6.0.reload, { 1, 0 } uselistorder i32 %54, { 2, 5, 1, 3, 0, 4 } uselistorder i64* %storemerge1763, { 0, 2, 4, 1, 3 } uselistorder i64 %storemerge1763.in, { 1, 0 } uselistorder i64 %storemerge1763.in.in.reload, { 3, 2, 4, 1, 0 } uselistorder i64* %23, { 4, 3, 1, 2, 5, 0, 7, 6 } uselistorder i32 %storemerge18102.reload, { 0, 3, 2, 1, 4 } uselistorder i32 %12, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64* %sv_12, { 0, 1, 3, 2 } uselistorder i64* %sv_11, { 2, 0, 3, 4, 5, 1, 6, 7 } uselistorder i8* %sv_9, { 4, 0, 3, 2, 1, 5 } uselistorder i64** %sv_3, { 2, 5, 4, 0, 1, 3 } uselistorder i64** %sv_8, { 0, 2, 4, 3, 1 } uselistorder i64 %4, { 0, 20, 10, 16, 9, 8, 18, 7, 17, 6, 15, 14, 2, 4, 13, 1, 19, 3, 5, 12, 11, 21 } uselistorder i1* %.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %storemerge18102.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge19101.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %.reg2mem180, { 1, 2, 0 } uselistorder i64* %storemerge17.in.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge1763.in.in.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_6.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_5.0.reg2mem, { 0, 2, 1 } uselistorder i64** %.reg2mem182, { 0, 2, 1 } uselistorder i64** %.reg2mem184, { 2, 0, 1 } uselistorder i32* %sv_4.058.reg2mem, { 2, 0, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %.reg2mem186, { 0, 2, 1 } uselistorder i64** %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64** %.reg2mem188, { 0, 2, 1 } uselistorder i64* %r8.0.reg2mem, { 0, 2, 1 } uselistorder i64* %r9.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge16.reg2mem, { 0, 2, 1 } uselistorder i64** %sv_3.promoted6793.reg2mem, { 0, 2, 5, 4, 3, 1 } uselistorder i64* %sv_2.2.reg2mem, { 0, 2, 5, 4, 3, 1 } uselistorder i64* %rdi.4.reg2mem, { 0, 2, 5, 4, 3, 1 } uselistorder i64* %r8.1.reg2mem, { 0, 2, 5, 4, 3, 1 } uselistorder i64* %r9.1.reg2mem, { 0, 2, 5, 4, 3, 1 } uselistorder i32* %.reg2mem192, { 0, 2, 1 } uselistorder i64* %r8.2.ph135.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.5.ph134.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.3.ph133.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem194, { 0, 2, 1 } uselistorder i64* %rdi.5.ph34128.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.5.ph34.lcssa.reg2mem, { 0, 1, 3, 2, 4 } uselistorder i64** %storemerge1764.lcssa.reg2mem, { 0, 1, 3, 2 } uselistorder i64 (i64, i64, i64)* @avio_seek, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64*, i64, i64)* @av_log, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @avio_rb32, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @avio_read, { 1, 0 } uselistorder i8 -1, { 1, 0 } uselistorder i64 (i64, i64)* @avio_skip, { 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 3, 4, 5, 6, 0, 7 } uselistorder i64 (i64, i64)* @get_size, { 1, 0 } uselistorder i64 1, { 2, 3, 0, 1 } uselistorder i1 false, { 9, 2, 3, 4, 5, 6, 7, 8, 0, 1 } uselistorder i64 2, { 1, 0 } uselistorder i32 0, { 0, 3, 4, 6, 7, 8, 1, 2, 5 } uselistorder i64 4294967296, { 2, 0, 1, 3, 4 } uselistorder i64 (i64)* @avio_tell, { 1, 0 } uselistorder i64 %arg4, { 1, 3, 0, 2 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_51, { 1, 0 } uselistorder label LBL_49, { 0, 2, 1 } uselistorder label LBL_48, { 0, 1, 3, 2 } uselistorder label LBL_6.lr.ph.lr.ph, { 1, 0 } uselistorder label LBL_37, { 1, 0 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } }
1
CompRealVul
serial_reset_14202
serial_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 0, i32* %1, align 4 %2 = 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 96, i32* %13, align 4 %14 = add i64 %0, 28 %15 = inttoptr i64 %14 to i32* store i32 7, i32* %15, align 4 %16 = add i64 %0, 32 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %0, 36 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 %20 = add i64 %0, 40 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = add i64 %0, 48 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24) ret i64 %25 uselistorder i64 %0, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
1
CompRealVul
CompareOcspReqResp_19244
CompareOcspReqResp
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i32 %rdi.1.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %rdi.27.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i64 %rsi.013.reg2mem = alloca i64 %rdi.014.reg2mem = alloca i64 %0 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0)) %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i32 @puts(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0)) store i32 -1, i32* %rax.0.shrunk.reg2mem br label LBL_21 LBL_2: %4 = icmp eq i64* %arg2, null br i1 %4, label LBL_3, label LBL_4 LBL_3: %5 = call i32 @puts(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) store i32 1, i32* %rax.0.shrunk.reg2mem br label LBL_21 LBL_4: %6 = ptrtoint i64* %arg2 to i64 %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 64 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 store i64 ptrtoint ([19 x i8]* @gv_0 to i64), i64* %rdi.014.reg2mem store i64 %6, i64* %rsi.013.reg2mem br i1 %11, label LBL_11, label LBL_5 LBL_5: %12 = add i64 %6, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 store i64 ptrtoint ([19 x i8]* @gv_0 to i64), i64* %rdi.014.reg2mem store i64 %6, i64* %rsi.013.reg2mem br i1 %15, label LBL_11, label LBL_6 LBL_6: %16 = add i64 %6, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 0 store i64 ptrtoint ([19 x i8]* @gv_0 to i64), i64* %rdi.014.reg2mem store i64 %6, i64* %rsi.013.reg2mem br i1 %19, label LBL_11, label LBL_7 LBL_7: %20 = sub i32 %10, %18 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_9, label LBL_8 LBL_8: %22 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0)) store i32 %20, i32* %rax.0.shrunk.reg2mem br label LBL_21 LBL_9: %23 = add i64 %7, 56 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = inttoptr i64 %25 to i64* %27 = inttoptr i64 %14 to i64* %28 = call i32 @memcmp(i64* %26, i64* %27, i32 %10) %29 = icmp eq i32 %28, 0 store i64 %25, i64* %rdi.014.reg2mem store i64 %14, i64* %rsi.013.reg2mem br i1 %29, label LBL_11, label LBL_10 LBL_10: %30 = call i32 @puts(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0)) store i32 %28, i32* %rax.0.shrunk.reg2mem br label LBL_21 LBL_11: %rsi.013.reload = load i64, i64* %rsi.013.reg2mem %rdi.014.reload = load i64, i64* %rdi.014.reg2mem %31 = add i64 %7, 8 %32 = inttoptr i64 %31 to i32* %33 = add i64 %7, 12 %34 = inttoptr i64 %33 to i64* %35 = add i64 %7, 32 %36 = inttoptr i64 %35 to i64* store i64 %rsi.013.reload, i64* %storemerge8.reg2mem store i64 %rdi.014.reload, i64* %rdi.27.reg2mem store i64 0, i64* %sv_0.06.reg2mem br label LBL_12 LBL_12: %rdi.27.reload = load i64, i64* %rdi.27.reg2mem %storemerge8.reload = load i64, i64* %storemerge8.reg2mem %37 = load i32, i32* %32, align 4 %38 = inttoptr i64 %storemerge8.reload to i64* %39 = load i64, i64* %38, align 8 %40 = add i64 %39, 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = sub i32 %37, %42 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false store i64 %rdi.27.reload, i64* %rdi.1.reg2mem br i1 %45, label LBL_18, label LBL_13 LBL_13: %46 = inttoptr i64 %39 to i64* %47 = load i64, i64* %46, align 8 %48 = inttoptr i64 %rdi.27.reload to i64* %49 = inttoptr i64 %47 to i64* %50 = call i32 @memcmp(i64* %48, i64* %49, i32 %37) %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false store i64 %rdi.27.reload, i64* %rdi.1.reg2mem br i1 %52, label LBL_18, label LBL_14 LBL_14: %53 = add i64 %storemerge8.reload, 16 %54 = inttoptr i64 %53 to i64* %55 = call i32 @memcmp(i64* %34, i64* %54, i32 20) %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false store i64 %33, i64* %rdi.1.reg2mem br i1 %57, label LBL_18, label LBL_15 LBL_15: %58 = add i64 %storemerge8.reload, 36 %59 = inttoptr i64 %58 to i64* %60 = call i32 @memcmp(i64* %36, i64* %59, i32 20) %61 = icmp eq i32 %60, 0 %62 = icmp eq i1 %61, false store i64 %35, i64* %rdi.1.reg2mem br i1 %62, label LBL_18, label LBL_16 LBL_16: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %63 = icmp eq i64 %sv_0.06.reload, 0 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %63, label LBL_21, label LBL_17 LBL_17: store i64 %storemerge8.reload, i64* %arg2, align 8 %64 = add i64 %storemerge8.reload, 8 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = add i64 %sv_0.06.reload, 8 %68 = inttoptr i64 %67 to i64* store i64 %66, i64* %68, align 8 store i64 %58, i64* %65, align 8 store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_21 LBL_18: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %69 = add i64 %storemerge8.reload, 8 %70 = inttoptr i64 %69 to i64* %71 = load i64, i64* %70, align 8 %72 = icmp eq i64 %71, 0 %73 = icmp eq i1 %72, false store i64 %71, i64* %storemerge8.reg2mem store i64 %rdi.1.reload, i64* %rdi.27.reg2mem store i64 %storemerge8.reload, i64* %sv_0.06.reg2mem br i1 %73, label LBL_12, label LBL_19 LBL_19: store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %44, label LBL_21, label LBL_20 LBL_20: %74 = call i32 @puts(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_5, i64 0, i64 0)) store i32 %43, i32* %rax.0.shrunk.reg2mem br label LBL_21 LBL_21: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i64 %sv_0.06.reload, { 1, 0 } uselistorder i64 %storemerge8.reload, { 0, 3, 6, 5, 1, 2, 4 } uselistorder i64 %rdi.27.reload, { 0, 2, 1 } uselistorder i64 %7, { 1, 2, 3, 0, 4 } uselistorder i64 %6, { 2, 4, 1, 3, 0 } uselistorder i64* %rdi.014.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %rsi.013.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %storemerge8.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.27.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 7, 3, 1, 2, 6, 5, 8, 4 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0, 3, 2 } uselistorder i64 ptrtoint ([19 x i8]* @gv_0 to i64), { 2, 1, 0 } uselistorder i32 0, { 2, 0, 1, 3, 4, 5, 6, 7, 8, 9, 10 } uselistorder i1 false, { 4, 0, 1, 2, 3, 5 } uselistorder i32 (i8*)* @puts, { 5, 4, 3, 2, 1, 0 } uselistorder [19 x i8]* @gv_0, { 1, 0 } uselistorder i64* %arg2, { 0, 2, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_21, { 3, 2, 0, 1, 4, 5, 6, 7 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 3, 2, 1, 0 } }
1
CompRealVul
cpu_write_xer_17212
cpu_write_xer
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = lshr i64 %arg2, 63 %2 = trunc i64 %1 to i32 %3 = bitcast i64* %arg1 to i32* store i32 %2, i32* %3, align 4 %4 = udiv i64 %arg2, 4611686018427387904 %5 = trunc i64 %4 to i32 %6 = urem i32 %5, 2 %7 = add i64 %0, 4 %8 = inttoptr i64 %7 to i32* store i32 %6, i32* %8, align 4 %9 = udiv i64 %arg2, 2305843009213693952 %10 = trunc i64 %9 to i32 %11 = urem i32 %10, 2 %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = and i64 %arg2, 4294967295 %15 = add i64 %0, 16 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64 %arg2, { 2, 0, 1, 3 } }
1
CompRealVul
celt_icwrsi_14875
celt_icwrsi
define i64 @FUNC(i64 %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_1.07.reg2mem = alloca i32 %sv_0.08.reg2mem = alloca i32 %storemerge9.reg2mem = alloca i32 %0 = trunc i64 %arg1 to i32 %storemerge6 = add i32 %0, -1 %1 = icmp slt i32 %storemerge6, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %sv_1.0.lcssa.reg2mem store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i32* %arg3 to i64 store i32 %storemerge6, i32* %storemerge9.reg2mem store i32 0, i32* %sv_0.08.reg2mem store i32 0, i32* %sv_1.07.reg2mem br label LBL_2 LBL_2: %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem %sv_0.08.reload = load i32, i32* %sv_0.08.reg2mem %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %4 = sext i32 %storemerge9.reload to i64 %5 = mul i64 %4, 4 %6 = add i64 %5, %3 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = add i32 %sv_0.08.reload, 1 %13 = add i32 %12, %11 %14 = sub i32 %0, %storemerge9.reload %15 = zext i32 %13 to i64 %16 = zext i32 %14 to i64 %17 = call i64 @FUNC(i64 %16, i64 %15) %18 = zext i32 %sv_0.08.reload to i64 %19 = call i64 @FUNC(i64 %16, i64 %18) %20 = trunc i64 %19 to i32 %21 = load i32, i32* %7, align 4 %22 = trunc i64 %17 to i32 %23 = ashr i32 %21, 31 %24 = and i32 %23, %22 %25 = add i32 %sv_1.07.reload, %20 %26 = add i32 %25, %24 %27 = zext i32 %21 to i64 %28 = call i64 @FUNC(i64 %27) %29 = trunc i64 %28 to i32 %30 = add i32 %sv_0.08.reload, %29 %storemerge = add i32 %storemerge9.reload, -1 %31 = icmp slt i32 %storemerge, 0 %32 = icmp eq i1 %31, false store i32 %storemerge, i32* %storemerge9.reg2mem store i32 %30, i32* %sv_0.08.reg2mem store i32 %26, i32* %sv_1.07.reg2mem br i1 %32, label LBL_2, label LBL_3 LBL_3: %phitmp = zext i32 %26 to i64 store i64 %phitmp, i64* %sv_1.0.lcssa.reg2mem store i32 %30, i32* %sv_0.0.lcssa.reg2mem br label LBL_4 LBL_4: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %33 = trunc i64 %arg2 to i32 %34 = icmp eq i32 %sv_0.0.lcssa.reload, %33 %35 = zext i1 %34 to i64 %36 = call i64 @FUNC(i64 %35) ret i64 %sv_1.0.lcssa.reload uselistorder i32 %26, { 1, 0 } uselistorder i32 %storemerge9.reload, { 2, 0, 1 } uselistorder i32 %sv_0.08.reload, { 2, 0, 1 } uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.08.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.07.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @CELT_PVQ_U, { 1, 0 } uselistorder i64 (i64)* @FFABS, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i32 0, { 4, 1, 2, 0, 3, 5, 6, 7 } uselistorder i32 -1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
mlx5e_reporter_tx_timeout_7109
mlx5e_reporter_tx_timeout
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32*, align 8 store i32* null, i32** %sv_2, align 8 %3 = add i64 %2, 32 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 store i32* %arg1, i32** %sv_2, align 8 %6 = ptrtoint i32** %sv_2 to i64 store i64 %6, i64* %sv_1, align 8 %7 = load i64, i64* @gv_0, align 8 %8 = add i64 %2, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = sub i64 %7, %12 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %2, 16 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %2, 12 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i64 %2, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %2, 4 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = trunc i64 %14 to i32 %28 = and i64 %1, 4294967295 %29 = bitcast i64* %sv_0 to i8* %30 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %29, i32 256, i8* getelementptr inbounds ([101 x i8], [101 x i8]* @gv_1, i64 0, i64 0), i64 %28, i32 %26, i32 %23, i32 %20, i32 %17, i32 %27) %31 = inttoptr i64 %5 to i32* %32 = load i32, i32* %31, align 4 %33 = call i64 @FUNC(i64 %5, i32 %32, i64* nonnull %sv_0, i64* nonnull %sv_1) ret i64 0 uselistorder i32** %sv_2, { 2, 1, 0 } }
0
CompRealVul
crypto_report_comp_11158
crypto_report_comp
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = bitcast i64* %sv_0 to i8* %2 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %1, i32 64, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %0, i64 1, i64 64, i64* nonnull %sv_0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %. = select i1 %6, i64 4294967206, i64 0 ret i64 %. }
1
CompRealVul
aio_fput_routine_10922
aio_fput_routine
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = call i64 @FUNC(i64* nonnull @gv_0) %1 = load i64, i64* @gv_1, align 8 %2 = icmp eq i64 %1, 4210736 %3 = icmp eq i1 %2, false %4 = icmp eq i1 %3, false %5 = icmp eq i1 %4, false store i64 %1, i64* %.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %.reload = load i64, i64* %.reg2mem %6 = add i64 %.reload, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %.reload) %10 = call i64 @FUNC(i64* nonnull @gv_0) %11 = add i64 %.reload, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %13) br label LBL_3 LBL_3: %16 = add i64 %8, 16 %17 = inttoptr i64 %16 to i64* %18 = call i64 @FUNC(i64* %17) %19 = call i64 @FUNC(i64 %8, i64 %.reload) %20 = call i64 @FUNC(i64* %17) %21 = call i64 @FUNC(i64 %8) %22 = call i64 @FUNC(i64* nonnull @gv_0) %23 = load i64, i64* @gv_1, align 8 %24 = icmp eq i64 %23, 4210736 %25 = icmp eq i1 %24, false %26 = icmp eq i1 %25, false %27 = icmp eq i1 %26, false store i64 %23, i64* %.reg2mem br i1 %27, label LBL_1, label LBL_4 LBL_4: %28 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %28 uselistorder i64 %8, { 0, 2, 1 } uselistorder i64 %.reload, { 0, 3, 2, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64 (i64*)* @spin_unlock_irq, { 0, 2, 1 } uselistorder i1 false, { 4, 3, 5, 0, 1, 2 } uselistorder i64 4210736, { 1, 0 } uselistorder i64 (i64*)* @spin_lock_irq, { 2, 1, 0 } uselistorder i64* @gv_0, { 2, 0, 1, 3 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
mszh_decomp_15062
mszh_decomp
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.1.ph.lcssa.reg2mem = alloca i64 %sv_1.0.ph17.reg2mem = alloca i64 %sv_2.0.in.ph18.reg2mem = alloca i64 %sv_0.1.ph19.reg2mem = alloca i64 %sv_3.0.ph20.reg2mem = alloca i32 %sv_4.0.ph21.reg2mem = alloca i8 %sv_0.015.reg2mem = alloca i64 %storemerge16.reg2mem = alloca i32 %sv_0.1.ph.be.reg2mem = alloca i64 %sv_2.0.in.ph.be.reg2mem = alloca i64 %sv_1.0.ph.be.reg2mem = alloca i64 %sv_1.010.lcssa.reg2mem = alloca i64 %sv_2.0.in11.lcssa.reg2mem = alloca i64 %sv_3.012.lcssa.reg2mem = alloca i32 %sv_4.013.lcssa.reg2mem = alloca i8 %0 = ptrtoint i64* %arg3 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp slt i32 %1, 0 %4 = icmp eq i1 %3, false %5 = icmp eq i1 %2, false %6 = icmp eq i1 %4, %5 store i64 %0, i64* %sv_0.1.ph.lcssa.reg2mem br i1 %6, label LBL_1, label LBL_11 LBL_1: %sext = mul i64 %arg2, 4294967296 %7 = ptrtoint i64* %arg1 to i64 store i8 0, i8* %sv_4.0.ph21.reg2mem store i32 0, i32* %sv_3.0.ph20.reg2mem store i64 %0, i64* %sv_0.1.ph19.reg2mem store i64 %sext, i64* %sv_2.0.in.ph18.reg2mem store i64 %7, i64* %sv_1.0.ph17.reg2mem br label LBL_10 LBL_2: %sext3 = add i64 %sv_2.0.in.ph18.reload, -4294967296 %8 = udiv i64 %sext3, 4294967296 %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp slt i32 %9, 0 %12 = icmp eq i1 %11, false %13 = icmp eq i1 %10, false %14 = icmp eq i1 %12, %13 store i64 %sv_0.1.ph19.reload, i64* %sv_0.1.ph.lcssa.reg2mem br i1 %14, label LBL_3, label LBL_11 LBL_3: %15 = add i64 %sv_1.0.ph17.reload, 1 %16 = inttoptr i64 %sv_1.0.ph17.reload to i8* %17 = load i8, i8* %16, align 1 %18 = sext i8 %17 to i32 store i8 8, i8* %sv_4.013.lcssa.reg2mem store i32 %18, i32* %sv_3.012.lcssa.reg2mem store i64 %sext3, i64* %sv_2.0.in11.lcssa.reg2mem store i64 %15, i64* %sv_1.010.lcssa.reg2mem br label LBL_4 LBL_4: %sv_1.010.lcssa.reload = load i64, i64* %sv_1.010.lcssa.reg2mem %sv_2.0.in11.lcssa.reload = load i64, i64* %sv_2.0.in11.lcssa.reg2mem %sv_3.012.lcssa.reload = load i32, i32* %sv_3.012.lcssa.reg2mem %sv_4.013.lcssa.reload = load i8, i8* %sv_4.013.lcssa.reg2mem %19 = urem i32 %sv_3.012.lcssa.reload, 256 %20 = add i8 %sv_4.013.lcssa.reload, -1 %21 = urem i8 %20, 32 %22 = zext i8 %21 to i32 %23 = shl i32 1, %22 %24 = and i32 %19, %23 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_7, label LBL_5 LBL_5: %27 = inttoptr i64 %sv_1.010.lcssa.reload to i32* %28 = load i32, i32* %27, align 4 %29 = inttoptr i64 %sv_0.1.ph19.reload to i32* store i32 %28, i32* %29, align 4 %sext4 = add i64 %sv_2.0.in11.lcssa.reload, -17179869184 %30 = add i64 %sv_0.1.ph19.reload, 4 %31 = add i64 %sv_1.010.lcssa.reload, 4 store i64 %31, i64* %sv_1.0.ph.be.reg2mem store i64 %sext4, i64* %sv_2.0.in.ph.be.reg2mem store i64 %30, i64* %sv_0.1.ph.be.reg2mem br label LBL_6 LBL_6: %sv_0.1.ph.be.reload = load i64, i64* %sv_0.1.ph.be.reg2mem %sv_2.0.in.ph.be.reload = load i64, i64* %sv_2.0.in.ph.be.reg2mem %sv_1.0.ph.be.reload = load i64, i64* %sv_1.0.ph.be.reg2mem %32 = udiv i64 %sv_2.0.in.ph.be.reload, 4294967296 %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 %35 = icmp slt i32 %33, 0 %36 = icmp eq i1 %35, false %37 = icmp eq i1 %34, false %38 = icmp eq i1 %36, %37 store i8 %20, i8* %sv_4.0.ph21.reg2mem store i32 %sv_3.012.lcssa.reload, i32* %sv_3.0.ph20.reg2mem store i64 %sv_0.1.ph.be.reload, i64* %sv_0.1.ph19.reg2mem store i64 %sv_2.0.in.ph.be.reload, i64* %sv_2.0.in.ph18.reg2mem store i64 %sv_1.0.ph.be.reload, i64* %sv_1.0.ph17.reg2mem store i64 %sv_0.1.ph.be.reload, i64* %sv_0.1.ph.lcssa.reg2mem br i1 %38, label LBL_10, label LBL_11 LBL_7: %39 = add i64 %sv_1.010.lcssa.reload, 1 %40 = inttoptr i64 %sv_1.010.lcssa.reload to i8* %41 = load i8, i8* %40, align 1 %42 = zext i8 %41 to i32 %43 = inttoptr i64 %39 to i8* %44 = load i8, i8* %43, align 1 %45 = zext i8 %44 to i32 %46 = mul i32 %45, 256 %47 = udiv i32 %45, 8 %.masked = and i32 %46, 1792 %48 = or i32 %.masked, %42 %49 = mul i32 %47, 4 %50 = add nuw nsw i32 %49, 4 %51 = zext i32 %48 to i64 store i32 %50, i32* %storemerge16.reg2mem store i64 %sv_0.1.ph19.reload, i64* %sv_0.015.reg2mem br label LBL_8 LBL_8: %sv_0.015.reload = load i64, i64* %sv_0.015.reg2mem %storemerge16.reload = load i32, i32* %storemerge16.reg2mem %52 = sub i64 %sv_0.015.reload, %51 %53 = inttoptr i64 %52 to i8* %54 = load i8, i8* %53, align 1 %55 = inttoptr i64 %sv_0.015.reload to i8* store i8 %54, i8* %55, align 1 %56 = add i64 %sv_0.015.reload, 1 %57 = add i32 %storemerge16.reload, -1 %58 = icmp eq i32 %57, 0 %59 = icmp eq i1 %58, false store i32 %57, i32* %storemerge16.reg2mem store i64 %56, i64* %sv_0.015.reg2mem br i1 %59, label LBL_8, label LBL_9 LBL_9: %60 = add i64 %sv_1.010.lcssa.reload, 2 %sext5 = add i64 %sv_2.0.in11.lcssa.reload, -8589934592 store i64 %60, i64* %sv_1.0.ph.be.reg2mem store i64 %sext5, i64* %sv_2.0.in.ph.be.reg2mem store i64 %56, i64* %sv_0.1.ph.be.reg2mem br label LBL_6 LBL_10: %sv_1.0.ph17.reload = load i64, i64* %sv_1.0.ph17.reg2mem %sv_2.0.in.ph18.reload = load i64, i64* %sv_2.0.in.ph18.reg2mem %sv_0.1.ph19.reload = load i64, i64* %sv_0.1.ph19.reg2mem %sv_3.0.ph20.reload = load i32, i32* %sv_3.0.ph20.reg2mem %sv_4.0.ph21.reload = load i8, i8* %sv_4.0.ph21.reg2mem %61 = icmp eq i8 %sv_4.0.ph21.reload, 0 %62 = icmp eq i1 %61, false store i8 %sv_4.0.ph21.reload, i8* %sv_4.013.lcssa.reg2mem store i32 %sv_3.0.ph20.reload, i32* %sv_3.012.lcssa.reg2mem store i64 %sv_2.0.in.ph18.reload, i64* %sv_2.0.in11.lcssa.reg2mem store i64 %sv_1.0.ph17.reload, i64* %sv_1.010.lcssa.reg2mem br i1 %62, label LBL_4, label LBL_2 LBL_11: %sv_0.1.ph.lcssa.reload = load i64, i64* %sv_0.1.ph.lcssa.reg2mem %63 = sub i64 %sv_0.1.ph.lcssa.reload, %0 ret i64 %63 uselistorder i8 %sv_4.0.ph21.reload, { 1, 0 } uselistorder i64 %sv_2.0.in.ph18.reload, { 1, 0 } uselistorder i64 %sv_1.0.ph17.reload, { 2, 1, 0 } uselistorder i64 %56, { 1, 0 } uselistorder i64 %sv_0.015.reload, { 0, 2, 1 } uselistorder i32 %45, { 1, 0 } uselistorder i64 %sv_1.010.lcssa.reload, { 3, 1, 2, 0, 4 } uselistorder i32 %9, { 1, 0 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i8* %sv_4.013.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.012.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.in11.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.010.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.ph.be.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.0.in.ph.be.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.ph.be.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge16.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.015.reg2mem, { 1, 0, 2 } uselistorder i32 4, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i64 4294967296, { 1, 2, 0 } uselistorder i1 false, { 0, 6, 3, 4, 7, 8, 5, 1, 2 } uselistorder i32 0, { 6, 3, 4, 5, 7, 8, 0, 1, 2 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
pci_data_write_700
pci_data_write
define i64 @FUNC(i32* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = zext i32 %arg2 to i64 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = urem i32 %arg2, 256 %4 = zext i32 %3 to i64 %5 = icmp eq i64 %2, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = inttoptr i64 %2 to i64* %7 = load i64, i64* %6, align 8 %8 = zext i32 %arg4 to i64 %9 = inttoptr i64 %7 to i8* %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i8* %9, i32 %3, i32 %arg3, i64 %8) %11 = zext i32 %arg3 to i64 %12 = call i64 @FUNC(i64 %2, i32 %3, i64 256, i64 %11, i64 %8) store i64 %12, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %3, { 1, 2, 0 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i32 %arg3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
shutdown_smi_10920
shutdown_smi
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 32 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = icmp eq i8 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0) store i8 0, i8* %2, align 1 br label LBL_2 LBL_2: %6 = icmp eq i64* %arg1, null br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %0, i64 0) br label LBL_4 LBL_4: %8 = add i64 %0, 33 %9 = inttoptr i64 %8 to i8* store i8 1, i8* %9, align 1 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_6, label LBL_5 LBL_5: store i64 0, i64* %11, align 8 br label LBL_6 LBL_6: %14 = call i64 @FUNC(i64 %0) %15 = call i64 @FUNC() %16 = add i64 %0, 72 %17 = inttoptr i64 %16 to i32* %18 = add i64 %0, 64 %19 = inttoptr i64 %18 to i64* br label LBL_8 LBL_7: %20 = call i64 @FUNC(i64 %0) %21 = call i64 @FUNC(i64 1) br label LBL_8 LBL_8: %22 = load i64, i64* %19, align 8 %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_7, label LBL_9 LBL_9: %25 = load i32, i32* %17, align 4 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_7, label LBL_10 LBL_10: %28 = add i64 %0, 48 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 br i1 %31, label LBL_12, label LBL_11 LBL_11: %32 = call i64 @FUNC(i64 %0) br label LBL_12 LBL_12: br label LBL_14 LBL_13: %33 = call i64 @FUNC(i64 %0) %34 = call i64 @FUNC(i64 1) br label LBL_14 LBL_14: %35 = load i64, i64* %19, align 8 %36 = icmp eq i64 %35, 0 %37 = icmp eq i1 %36, false br i1 %37, label LBL_13, label LBL_15 LBL_15: %38 = load i32, i32* %17, align 4 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_13, label LBL_16 LBL_16: %41 = add i64 %0, 16 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = icmp eq i64 %43, 0 br i1 %44, label LBL_18, label LBL_17 LBL_17: store i64 0, i64* %42, align 8 br label LBL_18 LBL_18: %45 = add i64 %0, 24 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = icmp eq i64 %47, 0 br i1 %48, label LBL_20, label LBL_19 LBL_19: store i64 0, i64* %46, align 8 br label LBL_20 LBL_20: %49 = add i64 %0, 40 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = call i64 @FUNC(i64 %51) store i64 0, i64* %50, align 8 %53 = add i64 %0, 56 %54 = inttoptr i64 %53 to i64* store i64 0, i64* %54, align 8 ret i64 %0 uselistorder i64 %0, { 1, 2, 3, 4, 6, 5, 11, 10, 7, 8, 9, 12, 13, 14, 15, 0, 16 } uselistorder i64 (i64)* @schedule_timeout_uninterruptible, { 1, 0 } uselistorder i64 (i64)* @poll, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 0 } }
0
CompRealVul
dwt_decode97_float_1967
dwt_decode97_float
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge221.reg2mem = alloca i32 %indvars.iv31.reg2mem = alloca i64 %sv_0.118.reg2mem = alloca i32 %sv_1.119.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.015.reg2mem = alloca i32 %sv_1.016.reg2mem = alloca i32 %storemerge411.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_2.18.reg2mem = alloca i32 %sv_3.19.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_2.06.reg2mem = alloca i32 %sv_3.07.reg2mem = alloca i32 %storemerge25.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = bitcast i64* %rdi to i32* %5 = trunc i64 %1 to i32 %6 = mul i64 %1, 4294967296 %sext = add i64 %6, -4294967296 %7 = ashr exact i64 %sext, 29 %8 = add i64 %3, 4 %9 = add i64 %7, %8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %3, 168 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %14, 20 %16 = and i64 %1, 4294967295 %17 = icmp eq i32 %5, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge25.reg2mem store i64 %16, i64* %.lcssa.reg2mem br i1 %17, label LBL_23, label LBL_1 LBL_1: %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %.reload = load i64, i64* %.reg2mem %18 = mul i64 %.reload, 8 %19 = add i64 %18, %8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i64 %18, %3 %23 = add i64 %22, 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i64 %22, 88 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp sgt i32 %25, 0 br i1 %29, label LBL_2, label LBL_13 LBL_2: %30 = add i64 %22, 84 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 4 %35 = add i64 %34, %15 %36 = icmp slt i32 %32, %21 %37 = sub i32 1, %32 %38 = icmp slt i32 %37, %21 %39 = add i32 %32, %21 %40 = zext i32 %32 to i64 %41 = icmp sgt i32 %21, 0 %wide.trip.count = zext i32 %21 to i64 store i32 0, i32* %storemerge411.reg2mem br label LBL_11 LBL_3: %sv_2.06.reload = load i32, i32* %sv_2.06.reg2mem %sv_3.07.reload = load i32, i32* %sv_3.07.reg2mem %42 = add i32 %sv_2.06.reload, %91 %43 = sext i32 %42 to i64 %44 = mul i64 %43, 4 %45 = add i64 %44, %2 %46 = sext i32 %sv_3.07.reload to i64 %47 = mul i64 %46, 4 %48 = add i64 %47, %35 %49 = inttoptr i64 %45 to i32* %50 = load i32, i32* %49, align 4 %51 = call i128 @FUNC(i32 %50) %52 = call i64 @__asm_movss.1(i128 %51) %53 = trunc i64 %52 to i32 %54 = inttoptr i64 %48 to i32* store i32 %53, i32* %54, align 4 %55 = add i32 %sv_3.07.reload, 2 %56 = add i32 %sv_2.06.reload, 1 %57 = icmp slt i32 %55, %21 store i32 %55, i32* %sv_3.07.reg2mem store i32 %56, i32* %sv_2.06.reg2mem store i32 %56, i32* %sv_2.0.lcssa.reg2mem br i1 %57, label LBL_3, label LBL_4 LBL_4: br i1 %38, label LBL_5, label LBL_7 LBL_5: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %58 = mul i32 %storemerge411.reload, %11 store i32 %37, i32* %sv_3.19.reg2mem store i32 %sv_2.0.lcssa.reload, i32* %sv_2.18.reg2mem br label LBL_6 LBL_6: %sv_2.18.reload = load i32, i32* %sv_2.18.reg2mem %sv_3.19.reload = load i32, i32* %sv_3.19.reg2mem %59 = add i32 %sv_2.18.reload, %58 %60 = sext i32 %59 to i64 %61 = mul i64 %60, 4 %62 = add i64 %61, %2 %63 = sext i32 %sv_3.19.reload to i64 %64 = mul i64 %63, 4 %65 = add i64 %64, %35 %66 = inttoptr i64 %62 to i32* %67 = load i32, i32* %66, align 4 %68 = call i128 @FUNC(i32 %67) %69 = call i64 @__asm_movss.1(i128 %68) %70 = trunc i64 %69 to i32 %71 = inttoptr i64 %65 to i32* store i32 %70, i32* %71, align 4 %72 = add i32 %sv_3.19.reload, 2 %73 = add i32 %sv_2.18.reload, 1 %74 = icmp slt i32 %72, %21 store i32 %72, i32* %sv_3.19.reg2mem store i32 %73, i32* %sv_2.18.reg2mem br i1 %74, label LBL_6, label LBL_7 LBL_7: %75 = call i64 @FUNC(i64 %15, i64 %40, i32 %39) br i1 %41, label LBL_8, label LBL_10 LBL_8: %76 = mul i32 %storemerge411.reload, %11 store i64 0, i64* %indvars.iv.reg2mem br label LBL_9 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %77 = mul i64 %indvars.iv.reload, 4 %78 = add i64 %77, %35 %79 = trunc i64 %indvars.iv.reload to i32 %80 = add i32 %76, %79 %81 = sext i32 %80 to i64 %82 = mul i64 %81, 4 %83 = add i64 %82, %2 %84 = inttoptr i64 %78 to i32* %85 = load i32, i32* %84, align 4 %86 = call i128 @FUNC(i32 %85) %87 = call i64 @__asm_movss.1(i128 %86) %88 = trunc i64 %87 to i32 %89 = inttoptr i64 %83 to i32* store i32 %88, i32* %89, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: %90 = add nuw nsw i32 %storemerge411.reload, 1 %exitcond30 = icmp eq i32 %90, %25 store i32 %90, i32* %storemerge411.reg2mem br i1 %exitcond30, label LBL_13, label LBL_11 LBL_11: %storemerge411.reload = load i32, i32* %storemerge411.reg2mem store i32 0, i32* %sv_2.0.lcssa.reg2mem br i1 %36, label LBL_3.lr.ph, label LBL_4 LBL_12: %91 = mul i32 %storemerge411.reload, %11 store i32 %32, i32* %sv_3.07.reg2mem store i32 0, i32* %sv_2.06.reg2mem br label LBL_3 LBL_13: %92 = icmp sgt i32 %21, 0 br i1 %92, label LBL_14, label LBL_22 LBL_14: %93 = sext i32 %28 to i64 %94 = mul i64 %93, 4 %95 = add i64 %94, %15 %96 = icmp slt i32 %28, %25 %97 = sub i32 1, %28 %98 = icmp slt i32 %97, %25 %99 = add i32 %28, %25 %100 = zext i32 %28 to i64 %wide.trip.count33 = zext i32 %25 to i64 store i32 0, i32* %storemerge221.reg2mem br label LBL_21 LBL_15: %sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem %sv_1.016.reload = load i32, i32* %sv_1.016.reg2mem %101 = mul i32 %sv_0.015.reload, %11 %102 = add i32 %101, %storemerge221.reload %103 = sext i32 %102 to i64 %104 = mul i64 %103, 4 %105 = add i64 %104, %2 %106 = sext i32 %sv_1.016.reload to i64 %107 = mul i64 %106, 4 %108 = add i64 %107, %95 %109 = inttoptr i64 %105 to i32* %110 = load i32, i32* %109, align 4 %111 = call i128 @FUNC(i32 %110) %112 = call i64 @__asm_movss.1(i128 %111) %113 = trunc i64 %112 to i32 %114 = inttoptr i64 %108 to i32* store i32 %113, i32* %114, align 4 %115 = add i32 %sv_1.016.reload, 2 %116 = add i32 %sv_0.015.reload, 1 %117 = icmp slt i32 %115, %25 store i32 %115, i32* %sv_1.016.reg2mem store i32 %116, i32* %sv_0.015.reg2mem store i32 %116, i32* %sv_0.0.lcssa.reg2mem br i1 %117, label LBL_15, label LBL_16 LBL_16: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem store i32 %97, i32* %sv_1.119.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.118.reg2mem br i1 %98, label LBL_17, label LBL_18 LBL_17: %sv_0.118.reload = load i32, i32* %sv_0.118.reg2mem %sv_1.119.reload = load i32, i32* %sv_1.119.reg2mem %118 = mul i32 %sv_0.118.reload, %11 %119 = add i32 %118, %storemerge221.reload %120 = sext i32 %119 to i64 %121 = mul i64 %120, 4 %122 = add i64 %121, %2 %123 = sext i32 %sv_1.119.reload to i64 %124 = mul i64 %123, 4 %125 = add i64 %124, %95 %126 = inttoptr i64 %122 to i32* %127 = load i32, i32* %126, align 4 %128 = call i128 @FUNC(i32 %127) %129 = call i64 @__asm_movss.1(i128 %128) %130 = trunc i64 %129 to i32 %131 = inttoptr i64 %125 to i32* store i32 %130, i32* %131, align 4 %132 = add i32 %sv_1.119.reload, 2 %133 = add i32 %sv_0.118.reload, 1 %134 = icmp slt i32 %132, %25 store i32 %132, i32* %sv_1.119.reg2mem store i32 %133, i32* %sv_0.118.reg2mem br i1 %134, label LBL_17, label LBL_18 LBL_18: %135 = call i64 @FUNC(i64 %15, i64 %100, i32 %99) store i64 0, i64* %indvars.iv31.reg2mem br i1 %29, label LBL_19, label LBL_20 LBL_19: %indvars.iv31.reload = load i64, i64* %indvars.iv31.reg2mem %136 = mul i64 %indvars.iv31.reload, 4 %137 = add i64 %136, %95 %138 = trunc i64 %indvars.iv31.reload to i32 %139 = mul i32 %11, %138 %140 = add i32 %139, %storemerge221.reload %141 = sext i32 %140 to i64 %142 = mul i64 %141, 4 %143 = add i64 %142, %2 %144 = inttoptr i64 %137 to i32* %145 = load i32, i32* %144, align 4 %146 = call i128 @FUNC(i32 %145) %147 = call i64 @__asm_movss.1(i128 %146) %148 = trunc i64 %147 to i32 %149 = inttoptr i64 %143 to i32* store i32 %148, i32* %149, align 4 %indvars.iv.next32 = add nuw nsw i64 %indvars.iv31.reload, 1 %exitcond34 = icmp eq i64 %indvars.iv.next32, %wide.trip.count33 store i64 %indvars.iv.next32, i64* %indvars.iv31.reg2mem br i1 %exitcond34, label LBL_20, label LBL_19 LBL_20: %150 = add nuw nsw i32 %storemerge221.reload, 1 %exitcond35 = icmp eq i32 %150, %21 store i32 %150, i32* %storemerge221.reg2mem br i1 %exitcond35, label LBL_22, label LBL_21 LBL_21: %storemerge221.reload = load i32, i32* %storemerge221.reg2mem store i32 %28, i32* %sv_1.016.reg2mem store i32 0, i32* %sv_0.015.reg2mem store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %96, label LBL_15, label LBL_16 LBL_22: %151 = add i32 %storemerge25.reload, 1 %152 = load i32, i32* %4, align 8 %153 = zext i32 %152 to i64 %154 = sext i32 %151 to i64 %155 = icmp slt i64 %154, %153 store i64 %154, i64* %.reg2mem store i32 %151, i32* %storemerge25.reg2mem store i64 %153, i64* %.lcssa.reg2mem br i1 %155, label LBL_1, label LBL_23 LBL_23: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32 %storemerge221.reload, { 1, 2, 3, 0 } uselistorder i32 %storemerge411.reload, { 1, 2, 3, 0 } uselistorder i32 %32, { 0, 3, 1, 4, 2, 5 } uselistorder i32 %28, { 0, 3, 1, 4, 2, 5 } uselistorder i32 %25, { 6, 7, 1, 0, 4, 5, 2, 3 } uselistorder i64 %22, { 1, 0, 2 } uselistorder i32 %21, { 1, 4, 7, 8, 2, 3, 0, 5, 6 } uselistorder i64 %18, { 1, 0 } uselistorder i64 %15, { 2, 0, 3, 1 } uselistorder i32 %11, { 0, 1, 2, 5, 3, 4 } uselistorder i64 %1, { 1, 2, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge25.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.07.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_2.06.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_2.0.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.19.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.18.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.016.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_0.015.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.119.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.118.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv31.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64, i32)* @sr_1d97_float, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 8, 5, 4, 3, 7, 9, 6, 10 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
ehci_trace_qh_14335
ehci_trace_qh
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %0, 32 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = and i64 %4, 256 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false %8 = trunc i64 %4 to i8 %9 = icmp sgt i8 %8, -1 %10 = icmp eq i1 %9, false %11 = and i64 %4, 64 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false %14 = and i64 %4, 32 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false %17 = zext i1 %16 to i64 %18 = call i64 @FUNC(i64 %4, i64 16) %19 = load i64, i64* %3, align 8 %20 = call i64 @FUNC(i64 %19, i64 8) %21 = load i64, i64* %3, align 8 %22 = call i64 @FUNC(i64 %21, i64 4) %23 = load i64, i64* %3, align 8 %24 = call i64 @FUNC(i64 %23, i64 2) %25 = load i64, i64* %3, align 8 %26 = call i64 @FUNC(i64 %25, i64 1) %27 = add i64 %0, 24 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %0, 16 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = add i64 %0, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = zext i1 %7 to i64 %37 = zext i1 %10 to i64 %38 = zext i1 %13 to i64 %39 = call i64 @FUNC(i64 %1, i64 %arg2, i64 %0, i64 %35, i64 %32, i64 %29, i64 %26, i64 %24, i64 %22, i64 %20, i64 %18, i64 %17, i64 %38, i64 %37, i64 %36) ret i64 %39 uselistorder i64 8, { 1, 0 } uselistorder i64 (i64, i64)* @get_field, { 4, 3, 2, 1, 0 } uselistorder i64 16, { 1, 0 } }
1
CompRealVul
pci_data_write_14391
pci_data_write
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = urem i64 %arg2, 256 %4 = icmp eq i64 %2, 0 store i64 %3, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = and i64 %arg4, 4294967295 %6 = inttoptr i64 %2 to i64* %7 = load i64, i64* %6, align 8 %8 = trunc i64 %arg3 to i32 %9 = trunc i64 %3 to i32 %10 = inttoptr i64 %7 to i8* %11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i8* %10, i32 %9, i32 %8, i64 %5) store i64 %2, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
qtest_init_14330
qtest_init
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 0) %1 = load i64, i64* @gv_1, align 8 %2 = load i64, i64* @gv_2, align 8 %3 = load i64, i64* @gv_3, align 8 %4 = call i64 @FUNC(i64 %0, i64 %3, i64 %2, i64 %1, i64 %0) %5 = call i64 @FUNC(i64 %0, i64 1) %6 = call i64 @FUNC(i64* nonnull @gv_4) store i64 %6, i64* @gv_5, align 8 %7 = icmp eq i64 %arg2, 0 br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = inttoptr i64 %arg2 to i8* %9 = call i32 @strcmp(i8* %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0)) %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = call %_IO_FILE* @fopen(i8* %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_7, i64 0, i64 0)) store %_IO_FILE* %11, %_IO_FILE** @gv_8, align 8 br label LBL_4 LBL_3: %12 = load %_IO_FILE*, %_IO_FILE** @gv_9, align 8 %13 = ptrtoint %_IO_FILE* %12 to i64 store i64 %13, i64* bitcast (%_IO_FILE** @gv_8 to i64*), align 8 br label LBL_4 LBL_4: store i64 %0, i64* @gv_10, align 8 ret i64 %0 uselistorder i64 %0, { 0, 1, 2, 4, 3 } uselistorder i32 0, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
1
CompRealVul
ff_mpeg_draw_horiz_band_14631
ff_mpeg_draw_horiz_band
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg3, 4294967295 %2 = add i64 %0, 24 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %0, 16 %6 = add i64 %0, 8 %7 = and i64 %arg2, 4294967295 %8 = call i64 @FUNC(i64 %5, i64 %6, i64 %5, i64 %7, i64 %1, i32 %4) ret i64 %8 uselistorder i64 %5, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } }
1
CompRealVul
tosa_init_16755
tosa_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to 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 = add i64 %0, 24 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC() %11 = call i64* @malloc(i32 0) %12 = ptrtoint i64* %11 to i64 %13 = load i64, i64* @gv_0, align 8 %14 = call i64 @FUNC(i64 %10, i64 %13) %15 = call i64 @FUNC(i64 %12, i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 4096, i64* nonnull @gv_2) %16 = call i64 @FUNC(i64 %12) %17 = call i64 @FUNC(i64 %12, i64 1) %18 = call i64 @FUNC(i64 %10, i64 0, i64 %12) %19 = inttoptr i64 %14 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 0) %22 = call i64 @FUNC(i64 %10, i64 268435456, i64 %21) %23 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 142606336, i64 0) %24 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 343932992, i64 0) %25 = call i64 @FUNC(i64 %14, i64 %23, i64 %24, i64 %22) %26 = call i64 @FUNC(i64 %14) %27 = call i64 @FUNC(i64 %14) store i64 %3, i64* @gv_4, align 8 store i64 %6, i64* @gv_5, align 8 store i64 %9, i64* @gv_6, align 8 store i32 520, i32* bitcast (i64* @gv_7 to i32*), align 8 %28 = add i64 %14, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %30, i64* nonnull @gv_0) %32 = call i64 @FUNC(i64 8192) ret i64 %32 uselistorder i64 %12, { 3, 2, 1, 0 } uselistorder i64 %10, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64)* @sysbus_create_simple, { 1, 0 } uselistorder i64* (i32)* @malloc, { 2, 1, 0, 4, 3 } }
1
CompRealVul
vdi_check_13939
vdi_check
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i32 %rdi.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.11.reg2mem = alloca i32 %sv_1.12.reg2mem = alloca i32 %rdi.13.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = zext i32 %4 to i64 %6 = mul i64 %5, 4 %7 = call i64 @FUNC(i64 %6) %8 = load i32, i32* %3, align 4 %9 = mul i32 %8, 4 %10 = inttoptr i64 %7 to i64* %11 = call i64* @memset(i64* %10, i32 255, i32 %9) %12 = load i32, i32* %3, align 4 %13 = icmp eq i32 %12, 0 store i64 0, i64* %indvars.iv.reg2mem store i64 %7, i64* %rdi.13.reg2mem store i32 0, i32* %sv_1.12.reg2mem store i32 0, i32* %sv_0.11.reg2mem store i32 0, i32* %sv_0.1.lcssa.reg2mem store i32 0, i32* %sv_1.1.lcssa.reg2mem br i1 %13, label LBL_8, label LBL_1 LBL_1: %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem %sv_1.12.reload = load i32, i32* %sv_1.12.reg2mem %rdi.13.reload = load i64, i64* %rdi.13.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %14 = mul i64 %indvars.iv.reload, 4 %15 = add i64 %14, %rdi.13.reload %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, -1 store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem store i32 %sv_1.12.reload, i32* %sv_1.0.reg2mem store i64 %18, i64* %rdi.0.reg2mem br i1 %21, label LBL_7, label LBL_2 LBL_2: %22 = load i32, i32* %3, align 4 %23 = icmp ugt i32 %22, %20 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_3 LBL_3: %25 = add i32 %sv_1.12.reload, 1 %26 = mul i64 %19, 4 %27 = and i64 %26, 17179869180 %28 = add i64 %27, %7 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, -1 %32 = icmp eq i1 %31, false br i1 %32, label LBL_5, label LBL_4 LBL_4: store i32 %20, i32* %29, align 4 store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem store i32 %25, i32* %sv_1.0.reg2mem store i64 %18, i64* %rdi.0.reg2mem br label LBL_7 LBL_5: %33 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %34 = ptrtoint %_IO_FILE* %33 to i64 %35 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %33, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i32 %30, i32 %20) store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem store i32 %25, i32* %sv_1.0.reg2mem store i64 %34, i64* %rdi.0.reg2mem br label LBL_7 LBL_6: %36 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %37 = ptrtoint %_IO_FILE* %36 to i64 %38 = trunc i64 %indvars.iv.reload to i32 %39 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %36, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0), i32 %38, i32 %20) %40 = add i32 %sv_0.11.reload, 1 store i32 %40, i32* %sv_0.0.reg2mem store i32 %sv_1.12.reload, i32* %sv_1.0.reg2mem store i64 %37, i64* %rdi.0.reg2mem br label LBL_7 LBL_7: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %41 = load i32, i32* %3, align 4 %42 = zext i32 %41 to i64 %43 = icmp ult i64 %indvars.iv.next, %42 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %rdi.0.reload, i64* %rdi.13.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.12.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.11.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem br i1 %43, label LBL_1, label LBL_8 LBL_8: %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %44 = add i64 %0, 12 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = icmp eq i32 %sv_1.1.lcssa.reload, %46 store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.reg2mem br i1 %47, label LBL_10, label LBL_9 LBL_9: %48 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %49 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %48, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_4, i64 0, i64 0), i32 %sv_1.1.lcssa.reload, i32 %46) %50 = add i32 %sv_0.1.lcssa.reload, 1 store i32 %50, i32* %sv_0.2.reg2mem br label LBL_10 LBL_10: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %51 = call i64 @FUNC(i64 %7) %52 = zext i32 %sv_0.2.reload to i64 ret i64 %52 uselistorder i32 %sv_0.1.lcssa.reload, { 1, 0 } uselistorder i32 %sv_1.1.lcssa.reload, { 1, 0 } uselistorder i32 %25, { 1, 0 } uselistorder i32 %20, { 3, 2, 1, 0, 4 } uselistorder i32 %sv_1.12.reload, { 0, 2, 1 } uselistorder i32 %sv_0.11.reload, { 3, 1, 0, 2 } uselistorder i64 %7, { 2, 1, 0, 3 } uselistorder i32* %3, { 2, 1, 0, 3, 4 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.13.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.12.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.11.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %rdi.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 0, 2, 1 } uselistorder %_IO_FILE** @gv_1, { 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
mpls_print_7473
mpls_print
define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %.pre-phi25.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.015.reg2mem = alloca i64 %sv_2.016.reg2mem = alloca i32 %sv_3.017.reg2mem = alloca i32* %1 = load i64, i64* %0 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = bitcast i32* %arg1 to i8* %4 = call i32 (i8*, ...) @printf(i8* %3) %5 = sext i32 %4 to i64 %6 = trunc i64 %2 to i32 %7 = icmp ult i32 %6, 4 store i64 %5, i64* %rax.1.reg2mem br i1 %7, label LBL_27, label LBL_1 LBL_1: %8 = trunc i64 %1 to i32 %9 = icmp eq i32 %8, 0 store i32* %arg2, i32** %sv_3.017.reg2mem store i32 0, i32* %sv_2.016.reg2mem store i64 %2, i64* %sv_1.015.reg2mem br label LBL_3 LBL_2: %10 = mul i32 %sv_2.016.reload, 65536 %sext5 = add i32 %10, 65536 %11 = ashr exact i32 %sext5, 16 %12 = inttoptr i64 %28 to i32* %13 = trunc i64 %30 to i32 %14 = icmp ult i32 %13, 4 store i32* %12, i32** %sv_3.017.reg2mem store i32 %11, i32* %sv_2.016.reg2mem store i64 %30, i64* %sv_1.015.reg2mem store i64 0, i64* %rax.1.reg2mem br i1 %14, label LBL_27, label LBL_3 LBL_3: %sv_1.015.reload = load i64, i64* %sv_1.015.reg2mem %sv_2.016.reload = load i32, i32* %sv_2.016.reg2mem %sv_3.017.reload = load i32*, i32** %sv_3.017.reg2mem %15 = load i32, i32* %sv_3.017.reload, align 4 %16 = icmp eq i32 %sv_2.016.reload, 0 %or.cond = or i1 %9, %16 %storemerge = select i1 %or.cond, i32 ptrtoint (i64* @gv_0 to i32), i32 ptrtoint (i32* @gv_1 to i32) %17 = call i32 (i8*, ...) @printf(i8* %3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i32 %storemerge) br i1 %9, label LBL_6, label LBL_4 LBL_4: %18 = icmp ult i32 %15, 61440 %.mask = and i32 %15, -4096 %19 = icmp eq i32 %.mask, 61440 %20 = or i1 %18, %19 br i1 %20, label LBL_5, label LBL_6 LBL_5: %21 = call i32 (i8*, ...) @printf(i8* %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0)) br label LBL_6 LBL_6: %22 = call i32 (i8*, ...) @printf(i8* %3, i32 ptrtoint (i32* @gv_4 to i32)) %23 = trunc i32 %15 to i8 %24 = icmp sgt i8 %23, -1 br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = call i32 (i8*, ...) @printf(i8* %3) br label LBL_8 LBL_8: %26 = call i32 (i8*, ...) @printf(i8* %3, i32 ptrtoint (i32* @gv_5 to i32)) %27 = ptrtoint i32* %sv_3.017.reload to i64 %28 = add i64 %27, 4 %29 = mul i64 %sv_1.015.reload, 4294967296 %sext6 = add i64 %29, -17179869184 %30 = ashr exact i64 %sext6, 32 br i1 %24, label LBL_2, label LBL_9 LBL_9: %31 = and i32 %15, -4096 %32 = icmp eq i32 %31, 12288 br i1 %32, label LBL_23, label LBL_10 LBL_10: %33 = udiv i32 %15, 4096 %34 = icmp ult i32 %15, 16384 br i1 %34, label LBL_11, label LBL_13 LBL_11: switch i32 %33, label LBL_13 [ i32 0, label LBL_23 i32 2, label LBL_12 ] LBL_12: %35 = call i32 (i8*, ...) @printf(i8* %3) %.pre24 = trunc i64 %30 to i32 store i32 %.pre24, i32* %.pre-phi25.reg2mem br label LBL_26 LBL_13: %36 = zext i32 %33 to i64 %37 = trunc i64 %30 to i32 %38 = icmp eq i32 %37, 0 store i64 %36, i64* %rax.1.reg2mem br i1 %38, label LBL_27, label LBL_14 LBL_14: %39 = inttoptr i64 %28 to i8* %40 = load i8, i8* %39, align 1 %41 = icmp ugt i8 %40, -125 br i1 %41, label LBL_21, label LBL_15 LBL_15: %42 = icmp ugt i8 %40, -128 br i1 %42, label LBL_16, label LBL_17 LBL_16: %43 = call i32 (i8*, ...) @printf(i8* %3) %44 = ptrtoint i32* %arg1 to i64 %45 = call i64 @FUNC(i64 %44, i64 %28, i32 %37, i32 %37) store i64 %45, i64* %rax.1.reg2mem br label LBL_27 LBL_17: %46 = icmp ugt i8 %40, 79 br i1 %46, label LBL_19, label LBL_18 LBL_18: %47 = icmp ugt i8 %40, 68 %spec.select = zext i1 %47 to i32 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_20 LBL_19: %48 = and i8 %40, -16 %49 = icmp eq i8 %48, 96 %spec.select7 = select i1 %49, i32 2, i32 0 store i32 %spec.select7, i32* %sv_0.0.reg2mem br label LBL_20 LBL_20: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %50 = icmp eq i32 %sv_0.0.reload, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_24, label LBL_21 LBL_21: %52 = ptrtoint i32* %arg1 to i64 %53 = add i64 %52, 4 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = zext i32 %55 to i64 %57 = icmp eq i32 %55, 0 %58 = icmp eq i1 %57, false store i64 %56, i64* %rax.1.reg2mem br i1 %58, label LBL_27, label LBL_22 LBL_22: %59 = call i32 @puts(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_6, i64 0, i64 0)) %60 = sext i32 %59 to i64 store i64 %60, i64* %rax.1.reg2mem br label LBL_27 LBL_23: %61 = call i32 (i8*, ...) @printf(i8* %3) %.pre = trunc i64 %30 to i32 store i32 %.pre, i32* %.pre-phi.reg2mem br label LBL_25 LBL_24: %62 = call i32 (i8*, ...) @printf(i8* %3) %63 = sext i32 %62 to i64 store i32 %37, i32* %.pre-phi.reg2mem store i32 %37, i32* %.pre-phi25.reg2mem store i64 %63, i64* %rax.1.reg2mem switch i32 %sv_0.0.reload, label LBL_27 [ i32 2, label LBL_26 i32 1, label LBL_25 ] LBL_25: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %64 = ptrtoint i32* %arg1 to i64 %65 = call i64 @FUNC(i64 %64, i64 %28, i32 %.pre-phi.reload) store i64 %65, i64* %rax.1.reg2mem br label LBL_27 LBL_26: %.pre-phi25.reload = load i32, i32* %.pre-phi25.reg2mem %66 = ptrtoint i32* %arg1 to i64 %67 = call i64 @FUNC(i64 %66, i64 %28, i32 %.pre-phi25.reload) store i64 %67, i64* %rax.1.reg2mem br label LBL_27 LBL_27: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %30, { 2, 1, 3, 4, 0 } uselistorder i64 %28, { 1, 0, 2, 3, 4 } uselistorder i32 %15, { 2, 1, 0, 5, 4, 3 } uselistorder i1 %9, { 1, 0 } uselistorder i8* %3, { 5, 2, 1, 0, 6, 4, 7, 3, 8, 9 } uselistorder i32** %sv_3.017.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.016.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.015.reg2mem, { 0, 2, 1 } uselistorder i32* %.pre-phi25.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.1.reg2mem, { 0, 7, 8, 3, 5, 6, 9, 4, 1, 2 } uselistorder i32 (i8*)* @puts, { 3, 0, 1, 2 } uselistorder i32 65536, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 7, 2, 1, 0, 3, 8, 5, 4, 9, 6 } uselistorder i32* %arg1, { 0, 1, 3, 2, 4 } uselistorder label LBL_27, { 6, 5, 2, 4, 3, 7, 8, 0, 1 } uselistorder label LBL_25, { 1, 0 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
GetPSDRowSize_11270
GetPSDRowSize
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 i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %0, 7 %7 = udiv i64 %6, 8 store i64 %7, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %8 = call i64 @FUNC(i64 %0) %9 = mul i64 %8, %0 store i64 %9, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
CompRealVul
sk_wait_data_10086
sk_wait_data
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0, i64 0) %6 = call i64 @FUNC(i64 1, i64 %4) %7 = add i64 %1, 16 %8 = call i64 @FUNC(i64 %7) %9 = urem i64 %8, 256 %10 = icmp eq i64 %9, 0 %11 = zext i1 %10 to i64 %12 = call i64 @FUNC(i64 %1, i64 %0, i64 %11) %13 = call i64 @FUNC(i64 1, i64 %1) %14 = load i64, i64* %3, align 8 %15 = call i64 @FUNC(i64 %14, i64* nonnull %sv_0) %16 = and i64 %12, 4294967295 ret i64 %16 uselistorder i64 1, { 1, 2, 0 } }
0
CompRealVul
get_sub_picture_15157
get_sub_picture
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg5 to i64 %1 = ptrtoint i64* %arg4 to i64 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = add i64 %1, 24 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = trunc i64 %arg3 to i32 %7 = mul i32 %5, %6 %8 = sext i32 %7 to i64 %9 = add i64 %2, %1 %10 = add i64 %9, %8 store i64 %10, i64* %arg5, align 8 %11 = load i32, i32* %4, align 4 %12 = add i64 %0, 24 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = bitcast i64* %rdi to i32* %15 = load i32, i32* %14, align 8 %16 = zext i32 %15 to i64 %17 = icmp eq i32 %15, 0 %18 = icmp eq i1 %17, false store i64 %16, i64* %rax.0.reg2mem br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = add i64 %1, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = trunc i64 %2 to i32 %23 = ashr i32 %22, 1 %24 = sext i32 %23 to i64 %25 = ashr i32 %6, 1 %26 = add i64 %1, 28 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = mul i32 %28, %25 %30 = sext i32 %29 to i64 %31 = add i64 %21, %24 %32 = add i64 %31, %30 %33 = add i64 %0, 8 %34 = inttoptr i64 %33 to i64* store i64 %32, i64* %34, align 8 %35 = load i32, i32* %27, align 4 %36 = add i64 %0, 28 %37 = inttoptr i64 %36 to i32* store i32 %35, i32* %37, align 4 %38 = add i64 %1, 16 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = add i64 %1, 32 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = mul i32 %43, %25 %45 = sext i32 %44 to i64 %46 = add i64 %40, %24 %47 = add i64 %46, %45 %48 = add i64 %0, 16 %49 = inttoptr i64 %48 to i64* store i64 %47, i64* %49, align 8 %50 = load i32, i32* %42, align 4 %51 = add i64 %0, 32 %52 = inttoptr i64 %51 to i32* store i32 %50, i32* %52, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %6, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 2, 1, 4, 3, 0, 5 } uselistorder i64 32, { 1, 2, 0 } }
1
CompRealVul
sh_intc_register_sources_5039
sh_intc_register_sources
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32* %sv_0.110.reg2mem = alloca i32* %indvars.iv.reg2mem = alloca i64 %indvars.iv14.reg2mem = alloca i64 %indvars.iv17.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %sext7 = mul i64 %arg5, 4294967296 %3 = ashr exact i64 %sext7, 32 %4 = trunc i64 %2 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_5, label LBL_1 LBL_1: %6 = ptrtoint i32* %arg2 to i64 %7 = trunc i64 %3 to i32 %wide.trip.count19 = and i64 %2, 4294967295 store i64 0, i64* %indvars.iv17.reg2mem br label LBL_2 LBL_2: %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem %8 = mul i64 %indvars.iv17.reload, 8 %9 = add i64 %8, %6 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = call i64 @FUNC(i64 %1, i32 %11, i64 %0, i32 %7) %13 = load i32, i32* %10, align 4 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %1, i64 %14) %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = inttoptr i64 %15 to i32* %18 = add i64 %9, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 store i32 %20, i32* %17, align 4 %21 = add i64 %15, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %15, 4 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 %28 = load i32, i32* %10, align 4 %29 = zext i32 %23 to i64 %30 = zext i32 %28 to i64 %31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64 %30, i32 %20, i64 %27, i64 %29) br label LBL_4 LBL_4: %indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 1 %exitcond20 = icmp eq i64 %indvars.iv.next18, %wide.trip.count19 store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem br i1 %exitcond20, label LBL_5, label LBL_2 LBL_5: %32 = icmp eq i64* %arg4, null store i64 %2, i64* %rax.0.in.reg2mem br i1 %32, label LBL_13, label LBL_6 LBL_6: %33 = trunc i64 %3 to i32 %34 = icmp eq i32 %33, 0 store i64 %3, i64* %rax.0.in.reg2mem br i1 %34, label LBL_13, label LBL_7 LBL_7: %wide.trip.count = and i64 %3, 4294967295 store i64 0, i64* %indvars.iv14.reg2mem br label LBL_8 LBL_8: %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem %35 = mul nuw nsw i64 %indvars.iv14.reload, 44 %36 = add i64 %35, %0 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 %1, i64 %39) %41 = inttoptr i64 %40 to i32* %42 = add i64 %36, 4 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = add i64 %40, 12 %46 = inttoptr i64 %45 to i32* store i32 %44, i32* %46, align 4 store i64 1, i64* %indvars.iv.reg2mem store i32* %41, i32** %sv_0.110.reg2mem br label LBL_9 LBL_9: %sv_0.110.reload = load i32*, i32** %sv_0.110.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %47 = mul i64 %indvars.iv.reload, 4 %48 = add i64 %47, %42 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = icmp eq i32 %50, 0 store i32* %sv_0.110.reload, i32** %sv_0.0.reg2mem br i1 %51, label LBL_11, label LBL_10 LBL_10: %52 = add i64 %47, %36 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = zext i32 %54 to i64 %56 = call i64 @FUNC(i64 %1, i64 %55) %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %49, align 4 %59 = add i64 %56, 12 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 store i32* %57, i32** %sv_0.0.reg2mem br label LBL_11 LBL_11: %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, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32* %sv_0.0.reload, i32** %sv_0.110.reg2mem br i1 %exitcond, label LBL_12, label LBL_9 LBL_12: %61 = ptrtoint i32* %sv_0.0.reload to i64 %62 = add i64 %61, 8 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = zext i32 %64 to i64 %66 = add i64 %61, 4 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = zext i32 %68 to i64 %70 = load i32, i32* %37, align 4 %71 = zext i32 %70 to i64 %72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %71, i64 %69, i64 %65) %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1 %exitcond16 = icmp eq i64 %indvars.iv.next15, %wide.trip.count store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem store i64 %3, i64* %rax.0.in.reg2mem br i1 %exitcond16, label LBL_13, label LBL_8 LBL_13: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = and i64 %rax.0.in.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %56, { 1, 0 } uselistorder i64 %47, { 1, 0 } uselistorder i64 %40, { 1, 0 } uselistorder i64 %36, { 0, 2, 1 } uselistorder i64 %3, { 0, 2, 1, 3, 4 } uselistorder i64 %1, { 0, 1, 3, 2 } uselistorder i64* %indvars.iv17.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv14.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_0.110.reg2mem, { 1, 0, 2 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i64 4, { 1, 0, 2, 3, 4 } uselistorder i64 (i64, i64)* @sh_intc_source, { 2, 1, 0 } uselistorder i64 8, { 1, 2, 0 } uselistorder i64 4294967295, { 2, 0, 1 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
CompRealVul
write_stacktrace_11380
write_stacktrace
define i64 @FUNC(i8* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.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 = bitcast i64* %sv_0 to i64** %5 = call i32 @backtrace(i64** nonnull %4, i32 100) %6 = icmp eq i8* %arg1, null br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = call i32 (i8*, i32, ...) @open(i8* nonnull %arg1, i32 1089) %8 = icmp eq i8* %arg2, null br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i32 (i32, i8*, ...) @dprintf(i32 %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* nonnull %arg2) br label LBL_3 LBL_3: call void @backtrace_symbols_fd(i64** nonnull %4, i32 %5, i32 %7) %10 = call i32 @write(i32 %7, i64* nonnull @gv_1, i32 1) %11 = call i32 @close(i32 %7) %12 = sext i32 %11 to i64 store i64 %12, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %13 = icmp eq i8* %arg2, null br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = ptrtoint i8* %arg2 to i64 %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %14, i64 %3, i64 %2, i64 %1) br label LBL_6 LBL_6: %16 = call i8** @backtrace_symbols(i64** nonnull %4, i32 %5) %17 = icmp eq i8** %16, null %18 = icmp eq i1 %17, false br i1 %18, label LBL_7, label LBL_8 LBL_7: %19 = ptrtoint i8** %16 to i64 %20 = add i32 %5, -2 %21 = zext i32 %20 to i64 %22 = icmp ugt i32 %20, 1 store i64 1, i64* %.reg2mem store i32 1, i32* %storemerge3.reg2mem br i1 %22, label LBL_9, label LBL_10 LBL_8: %23 = zext i32 %5 to i64 %24 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %23, i64 %3, i64 %2, i64 %1) store i64 %24, i64* %rax.0.reg2mem br label LBL_11 LBL_9: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem %25 = mul i64 %.reload, 8 %26 = add i64 %25, %19 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 %28, i64 %3, i64 %2, i64 %1) %30 = add i32 %storemerge3.reload, 1 %31 = sext i32 %30 to i64 %32 = icmp slt i64 %31, %21 store i64 %31, i64* %.reg2mem store i32 %30, i32* %storemerge3.reg2mem br i1 %32, label LBL_9, label LBL_10 LBL_10: %33 = bitcast i8** %16 to i64* call void @free(i64* %33) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8** %16, { 0, 2, 1 } uselistorder i32 %7, { 2, 1, 0, 3 } uselistorder i32 %5, { 2, 1, 3, 0 } uselistorder i64** %4, { 1, 0, 2 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @log_message, { 2, 1, 0 } uselistorder i64 1, { 1, 2, 0, 3 } uselistorder i32 1, { 11, 4, 7, 8, 9, 6, 5, 3, 2, 10, 1, 0 } uselistorder i8* %arg2, { 3, 2, 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
CompRealVul
dump_op_count_1226
dump_op_count
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = mul i64 %indvars.iv.reload, 8 %5 = add i64 %4, ptrtoint (i64* @gv_0 to i64) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %4, ptrtoint ([10 x i8*]* @gv_1 to i64) %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 %10, i64 %7, i64 %3, i64 %2, i64 %1) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: ret i64 %11 uselistorder i64 %4, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 1, { 3, 2, 4, 1, 0 } }
0
CompRealVul
set_reg_profile_6477
set_reg_profile
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 ptrtoint ([451 x i8]* @gv_0 to i64)) ret i64 %1 }
0
CompRealVul
hpet_device_class_init_1591
hpet_device_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198669, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %4, align 8 %5 = load i64, i64* @gv_1, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i8* store i8 1, i8* %9, align 1 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4 } }
0
CompRealVul
__fput_sync_12320
__fput_sync
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = load i32*, i32** @gv_0, align 8 %4 = call i64 @FUNC(i64 %arg1) %5 = load i32, i32* %3, align 4 %6 = urem i32 %5, 2 %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i64 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %arg1) store i64 %10, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
CompRealVul
iwgif_read_image_5497
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_20, 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 = load i32, i32* %17, align 4 %24 = icmp slt i32 %23, 1 br i1 %24, label LBL_3, label LBL_2 LBL_2: %25 = icmp eq i32 %20, 0 %26 = icmp slt i32 %20, 0 %27 = icmp eq i1 %26, false %28 = icmp eq i1 %25, false %29 = icmp eq i1 %27, %28 br i1 %29, label LBL_4, label LBL_3 LBL_3: %30 = add i64 %0, 568 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %sv_0.0.reg2mem br label LBL_20 LBL_4: %34 = add i64 %0, 8 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = udiv i8 %36, 64 %38 = urem i8 %37, 2 %39 = zext i8 %38 to i32 %40 = add i64 %0, 272 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = load i8, i8* %35, align 1 %cond = icmp sgt i8 %42, -1 br i1 %cond, label LBL_6, label LBL_5 LBL_5: %43 = urem i8 %42, 8 %narrow = add nuw nsw i8 %43, 1 %44 = zext i8 %narrow to i32 %45 = shl i32 1, %44 %46 = add i64 %0, 304 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = call i64 @FUNC(i64 %0, i64 %46) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %50, label LBL_20, label LBL_6 LBL_6: %51 = add i64 %0, 276 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_8, label LBL_7 LBL_7: %55 = add i64 %0, 280 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = sext i32 %57 to i64 %59 = add i64 %0, 308 %60 = add i64 %59, %58 %61 = inttoptr i64 %60 to i8* store i8 0, i8* %61, align 1 br label LBL_8 LBL_8: %62 = call i64 @FUNC(i64 %0, i64 %0, i64 1) %63 = trunc i64 %62 to i32 %64 = icmp eq i32 %63, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %64, label LBL_20, label LBL_9 LBL_9: %65 = bitcast i64* %rdi to i8* %66 = load i8, i8* %65, align 8 %.off = add i8 %66, -2 %67 = icmp ult i8 %.off, 10 br i1 %67, label LBL_11, label LBL_10 LBL_10: %68 = add i64 %0, 568 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = call i64 @FUNC(i64 %70, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %sv_0.0.reg2mem br label LBL_20 LBL_11: %72 = call i64 @FUNC(i64 %0) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %74, label LBL_20, label LBL_12 LBL_12: %75 = load i32, i32* %17, align 4 %76 = load i32, i32* %22, align 4 %77 = sext i32 %75 to i64 %78 = sext i32 %76 to i64 %79 = mul nsw i64 %78, %77 %80 = add i64 %0, 288 %81 = inttoptr i64 %80 to i64* store i64 %79, i64* %81, align 8 %82 = call i64 @FUNC(i64 %0) %83 = trunc i64 %82 to i32 %84 = icmp eq i32 %83, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %84, label LBL_20, label LBL_13 LBL_13: %85 = zext i8 %66 to i64 %86 = bitcast i32* %sv_1 to i64* %87 = call i64 @FUNC(i64* nonnull %86, i64 %85) %88 = call i64 @FUNC(i64* nonnull %86) %89 = add i64 %0, 296 %90 = inttoptr i64 %89 to i64* br label LBL_14 LBL_14: %91 = call i64 @FUNC(i64 %0, i64 %0, i64 1) %92 = trunc i64 %91 to i32 %93 = icmp eq i32 %92, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %93, label LBL_20, label LBL_15 LBL_15: %94 = load i8, i8* %65, align 8 %95 = icmp eq i8 %94, 0 store i64 1, i64* %sv_0.0.reg2mem br i1 %95, label LBL_20, label LBL_16 LBL_16: %96 = zext i8 %94 to i64 %97 = call i64 @FUNC(i64 %0, i64 %0, i64 %96) %98 = trunc i64 %97 to i32 %99 = icmp eq i32 %98, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %99, label LBL_20, label LBL_17 LBL_17: %100 = call i64 @FUNC(i64 %0, i64* nonnull %86, i64 %0, i64 %96) %101 = trunc i64 %100 to i32 %102 = icmp eq i32 %101, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %102, label LBL_20, label LBL_18 LBL_18: %103 = load i32, i32* %sv_1, align 4 %104 = icmp eq i32 %103, 0 %105 = icmp eq i1 %104, false store i64 1, i64* %sv_0.0.reg2mem br i1 %105, label LBL_20, label LBL_19 LBL_19: %106 = load i64, i64* %90, align 8 %107 = load i64, i64* %81, align 8 %108 = icmp ult i64 %106, %107 %109 = icmp eq i1 %108, false store i64 1, i64* %sv_0.0.reg2mem br i1 %109, label LBL_20, label LBL_14 LBL_20: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i8 %94, { 1, 0 } uselistorder i64 %0, { 3, 4, 5, 6, 7, 8, 2, 9, 10, 11, 12, 13, 14, 16, 17, 15, 1, 0, 20, 19, 18, 21, 22, 23, 24, 25, 26, 27, 28, 30, 29 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 5, 1, 6, 9, 10, 8, 11, 7, 12, 13 } uselistorder i64 1, { 2, 1, 0, 8, 9, 3, 4, 5, 6, 10, 7 } uselistorder i8 0, { 0, 2, 1 } uselistorder i64 (i64, i8*)* @iw_set_error, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } 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_20, { 2, 1, 3, 4, 0, 5, 6, 7, 11, 8, 9, 12, 10 } uselistorder label LBL_6, { 1, 0 } }
0
CompRealVul
nfs4_xdr_dec_lookup_root_9005
nfs4_xdr_dec_lookup_root
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = bitcast i32* %sv_0 to i64* %2 = call i64 @FUNC(i64* nonnull %1, i64 %0, i64 %arg2) %3 = call i64 @FUNC(i64* nonnull %1, i64* nonnull %1) %4 = trunc i64 %3 to i32 store i32 %4, i32* %sv_0, align 4 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %.reg2mem br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64* nonnull %1) %8 = trunc i64 %7 to i32 store i32 %8, i32* %sv_0, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %7, i64* %.reg2mem br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = ptrtoint i32* %sv_0 to i64 %12 = call i64 @FUNC(i64* nonnull %1, i64 %11) %13 = trunc i64 %12 to i32 store i32 %13, i32* %sv_0, align 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 %12, i64* %.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = ptrtoint i64* %arg3 to i64 %17 = add i64 %16, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %16, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64* nonnull %1, i64 %22, i64 %19) %24 = trunc i64 %23 to i32 store i32 %24, i32* %sv_0, align 4 store i64 %23, i64* %.reg2mem br label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %25 = and i64 %.reload, 4294967295 ret i64 %25 uselistorder i64 %16, { 1, 0 } uselistorder i64* %1, { 0, 1, 2, 4, 3, 5 } uselistorder i32* %sv_0, { 4, 3, 0, 2, 1, 5 } uselistorder i64* %.reg2mem, { 0, 1, 4, 3, 2 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
0
CompRealVul
put_busid_priv_5592
put_busid_priv
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i32* %arg1, null br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i32* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) store i64 %2, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
CompRealVul
process_options_6563
process_options
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 store i64 %0, i64* %sv_3, align 8 store i64 %arg2, i64* %sv_2, align 8 %1 = bitcast i64* %sv_3 to i32* %2 = call i64 @FUNC(i32* nonnull %1, i64* nonnull %sv_2, i64* nonnull @gv_0, i64 4198948) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 %2, i64* %sv_0.0.reg2mem br i1 %5, label LBL_8, label LBL_1 LBL_1: %6 = load i32, i32* @gv_1, align 4 %7 = icmp eq i32 %6, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %7, label LBL_2, label LBL_8 LBL_2: %8 = load i8*, i8** @gv_2, align 8 %9 = icmp eq i8* %8, null br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = ptrtoint i8* %8 to i64 %11 = call i64 @FUNC(i64 %10) %12 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 256) %13 = load i8*, i8** @gv_2, align 8 %14 = bitcast i64* %sv_1 to i8* %15 = call i8* @strncpy(i8* nonnull %14, i8* %13, i32 255) %16 = call i32 @strlen(i8* nonnull %14) %17 = sub i32 255, %16 %18 = call i8* @strncat(i8* nonnull %14, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i32 %17) %19 = load i8*, i8** @gv_2, align 8 %20 = ptrtoint i8* %19 to i64 %21 = call i64 @FUNC(i64 %20) %22 = call i64 @FUNC(i64* nonnull %sv_1, i64 0) %23 = inttoptr i64 %22 to i8* store i8* %23, i8** @gv_2, align 8 br label LBL_4 LBL_4: %24 = load i32, i32* @gv_4, align 4 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = call i64 @FUNC() %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %29, label LBL_6, label LBL_8 LBL_6: %30 = ptrtoint i64* %arg3 to i64 %31 = bitcast i64* %arg3 to i8* store i8 0, i8* %31, align 1 %32 = load i64, i64* %sv_2, align 8 %33 = load i64, i64* %sv_3, align 8 %34 = and i64 %33, 4294967295 %35 = call i64 @FUNC(i64 %34, i64 %32, i64 %30) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false %39 = load i32, i32* @gv_5, align 4 %40 = icmp eq i32 %39, 0 %or.cond = or i1 %40, %38 store i64 %35, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_8, label LBL_7 LBL_7: %41 = load i8*, i8** @gv_2, align 8 %42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0), i8* %41) %43 = load i8*, i8** @gv_7, align 8 %44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_8, i64 0, i64 0), i8* %43) %45 = load i8*, i8** @gv_9, align 8 %46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_10, i64 0, i64 0), i8* %45) %47 = load i8*, i8** @gv_11, align 8 %48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_12, i64 0, i64 0), i8* %47) store i64 %35, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %49 = and i64 %sv_0.0.reload, 4294967295 ret i64 %49 uselistorder i64* %sv_3, { 1, 2, 0 } uselistorder i64* %sv_2, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2, 5 } uselistorder i32 (i8*, ...)* @printf, { 2, 0, 1, 3 } uselistorder i8 0, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i8** @gv_2, { 4, 3, 2, 1, 0 } uselistorder label LBL_8, { 4, 2, 0, 1, 3 } }
0
CompRealVul
qemu_anon_ram_alloc_2485
qemu_anon_ram_alloc
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = add i32 %0, 64 %2 = call i64* @mmap(i64* null, i32 %1, i32 0, i32 34, i32 -1, i32 0) %3 = icmp eq i64* %2, inttoptr (i64 -1 to i64*) %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_10 LBL_1: %5 = icmp eq i64* %arg2, null br i1 %5, label LBL_3, label LBL_2 LBL_2: store i64 64, i64* %arg2, align 8 br label LBL_3 LBL_3: %6 = ptrtoint i64* %2 to i64 %7 = add i64 %6, 63 %8 = and i64 %7, 4294967232 %9 = sub i64 %8, %6 %sext = mul i64 %9, 4294967296 %10 = ashr exact i64 %sext, 32 %11 = add i64 %10, %6 %12 = inttoptr i64 %11 to i64* %13 = call i64* @mmap(i64* %12, i32 %0, i32 3, i32 50, i32 -1, i32 0) %14 = icmp eq i64* %13, inttoptr (i64 -1 to i64*) %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = call i32 @munmap(i64* %2, i32 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %17 = trunc i64 %9 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = call i32 @munmap(i64* %2, i32 %17) br label LBL_7 LBL_7: %20 = sub i32 %1, %17 %21 = call i32 @getpagesize() %22 = sext i32 %21 to i64 %23 = add i64 %22, %arg1 %24 = sext i32 %20 to i64 %25 = icmp ult i64 %23, %24 br i1 %25, label LBL_8, label LBL_9 LBL_8: %26 = call i32 @getpagesize() %27 = call i32 @getpagesize() %28 = sext i32 %27 to i64 %29 = add i64 %11, %arg1 %30 = add i64 %29, %28 %31 = inttoptr i64 %30 to i64* %32 = sub i32 %20, %0 %33 = sub i32 %32, %26 %34 = call i32 @munmap(i64* %31, i32 %33) br label LBL_9 LBL_9: %35 = call i64 @FUNC(i64 %arg1, i64 %11) store i64 %11, 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 %17, { 2, 1, 0 } uselistorder i64 %11, { 0, 2, 1, 3 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %6, { 0, 2, 1 } uselistorder i64* %2, { 0, 1, 3, 2 } uselistorder i32 %1, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 ()* @getpagesize, { 2, 0, 1 } uselistorder i64* (i64*, i32, i32, i32, i32, i32)* @mmap, { 1, 0 } uselistorder i64 %arg1, { 3, 0, 1, 2 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } }
0
CompRealVul
cdrom_is_random_writable_10157
cdrom_is_random_writable
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 i32, align 4 %1 = bitcast i64* %arg2 to i32* store i32 0, i32* %1, align 4 %2 = bitcast i32* %sv_0 to i64* %3 = call i64 @FUNC(i64 %0, i64* nonnull %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %3, 4294967295 store i64 %6, i64* %storemerge.reg2mem br label LBL_4 LBL_2: %7 = load i32, i32* %sv_0, align 4 %8 = urem i32 %7, 65536 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i16 %12 = icmp eq i16 %11, 1 %13 = icmp eq i1 %12, false store i64 0, i64* %storemerge.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: store i32 1, i32* %1, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_4, { 1, 0, 2 } }
0
CompRealVul
ensure_open_passwd_8022
ensure_open_passwd
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %0) ret i64 %4 }
0
CompRealVul
irda_recvmsg_dgram_11311
irda_recvmsg_dgram
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0)) %3 = urem i64 %arg5, 2 %4 = and i64 %arg5, 4294967294 %5 = bitcast i32* %sv_1 to i64* %6 = call i64 @FUNC(i64 %0, i64 %4, i64 %3, i64* nonnull %5) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = load i32, i32* %sv_1, align 4 %10 = zext i32 %9 to i64 store i64 %10, i64* %storemerge.reg2mem br label LBL_7 LBL_2: %11 = call i64 @FUNC(i64 %6) %12 = inttoptr i64 %6 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp ugt i64 %13, %arg4 store i64 %13, i64* %sv_0.0.reg2mem store i64 %3, i64* %rdx.0.reg2mem br i1 %14, label LBL_3, label LBL_4 LBL_3: %15 = ptrtoint i64* %arg3 to i64 %16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %arg4) %17 = add i64 %15, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = or i32 %19, 2 %21 = zext i32 %20 to i64 store i32 %20, i32* %18, align 4 store i64 %arg4, i64* %sv_0.0.reg2mem store i64 %21, i64* %rdx.0.reg2mem br label LBL_4 LBL_4: %22 = inttoptr i64 %1 to i32* %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %23 = call i64 @FUNC(i64 %6, i64 0, i64 %rdx.0.reload, i64 %sv_0.0.reload) %24 = call i64 @FUNC(i64 %0, i64 %6) %25 = load i32, i32* %22, align 4 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br i1 %27, label LBL_7, label LBL_5 LBL_5: %28 = call i64 @FUNC(i64 %0) %29 = mul i64 %28, 4 %30 = and i64 %29, 4294967292 %31 = add i64 %0, 4 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = zext i32 %33 to i64 %35 = icmp ugt i64 %30, %34 store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br i1 %35, label LBL_7, label LBL_6 LBL_6: %36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0)) store i32 1, i32* %22, align 4 %37 = add i64 %1, 4 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %40, i64 1) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.0.reload, { 2, 1, 0, 3 } uselistorder i64 %13, { 1, 0, 2 } uselistorder i64 %6, { 1, 0, 3, 2, 4 } uselistorder i64 %0, { 1, 0, 2, 3, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64 4, { 1, 2, 0 } uselistorder i64 %arg5, { 1, 0 } uselistorder i64 %arg4, { 0, 2, 1 } uselistorder label LBL_7, { 2, 1, 0, 3 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
may_create_35
may_create
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null store i64 4294967279, i64* %rax.0.reg2mem br i1 %0, label LBL_1, label LBL_3 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 4294967294, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_3 LBL_2: %5 = call i64 @FUNC(i64 %1, i64 3) store i64 %5, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
0
CompRealVul
ff_mpeg4_encode_picture_header_14810
ff_mpeg4_encode_picture_header
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 %4 = icmp eq i1 %3, false %.pre = ptrtoint i32* %arg1 to i64 %.pre5 = add i64 %.pre, 64 %.pre7 = inttoptr i64 %.pre5 to i64* br i1 %4, label LBL_8, label LBL_1 LBL_1: %5 = load i64, i64* %.pre7, align 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %7, 2 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_6, label LBL_2 LBL_2: %11 = add i64 %.pre, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp sgt i32 %13, 1 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %.pre) %.pr = load i32, i32* %12, align 4 %16 = icmp slt i32 %.pr, 2 br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = trunc i64 %arg2 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %.pre, i64 0, i64 0) br label LBL_6 LBL_6: %21 = add i64 %.pre, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = urem i32 %23, 2 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 %.pre) br label LBL_8 LBL_8: %28 = bitcast i64* %rdi to i32* %29 = add i64 %.pre, 12 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp ne i32 %31, 0 %33 = icmp ne i32 %2, 3 %not.or.cond = icmp eq i1 %33, %32 %storemerge = zext i1 %not.or.cond to i32 %34 = add i64 %.pre, 16 %35 = inttoptr i64 %34 to i32* store i32 %storemerge, i32* %35, align 4 %36 = add i64 %.pre, 72 %37 = call i64 @FUNC(i64 %36, i64 16, i64 0) %38 = call i64 @FUNC(i64 %36, i64 16, i64 438) %39 = load i32, i32* %28, align 8 %40 = add i32 %39, -1 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %36, i64 2, i64 %41) %43 = load i64, i64* %.pre7, align 8 %44 = add i64 %43, 4 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = add i64 %.pre, 20 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = zext i32 %46 to i64 %51 = zext i32 %49 to i64 %52 = call i64 @FUNC(i64 %51, i64 %50) %53 = trunc i64 %52 to i32 %54 = load i64, i64* %.pre7, align 8 %55 = add i64 %54, 4 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = load i32, i32* %48, align 4 %59 = zext i32 %57 to i64 %60 = zext i32 %58 to i64 %61 = call i64 @FUNC(i64 %60, i64 %59) %62 = add i64 %.pre, 24 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = sub i32 %53, %64 %66 = icmp sgt i32 %65, -1 %67 = zext i1 %66 to i64 %68 = call i64 @FUNC(i64 %67) %69 = icmp eq i32 %65, 0 %70 = icmp eq i1 %69, false store i32 %65, i32* %sv_0.04.reg2mem br i1 %70, label LBL_9, label LBL_10 LBL_9: %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %71 = add i32 %sv_0.04.reload, -1 %72 = call i64 @FUNC(i64 %36, i64 1, i64 1) %73 = icmp eq i32 %71, 0 %74 = icmp eq i1 %73, false store i32 %71, i32* %sv_0.04.reg2mem br i1 %74, label LBL_9, label LBL_10 LBL_10: %75 = call i64 @FUNC(i64 %36, i64 1, i64 0) %76 = call i64 @FUNC(i64 %36, i64 1, i64 1) %77 = add i64 %.pre, 28 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = and i64 %61, 4294967295 %81 = zext i32 %79 to i64 %82 = call i64 @FUNC(i64 %36, i64 %81, i64 %80) %83 = call i64 @FUNC(i64 %36, i64 1, i64 1) %84 = call i64 @FUNC(i64 %36, i64 1, i64 1) %85 = icmp eq i32 %39, 2 %86 = icmp eq i1 %85, false br i1 %86, label LBL_12, label LBL_11 LBL_11: %87 = add i64 %.pre, 32 %88 = inttoptr i64 %87 to i32* %89 = load i32, i32* %88, align 4 %90 = zext i32 %89 to i64 %91 = call i64 @FUNC(i64 %36, i64 1, i64 %90) br label LBL_12 LBL_12: %92 = call i64 @FUNC(i64 %36, i64 3, i64 0) %93 = add i64 %.pre, 48 %94 = inttoptr i64 %93 to i32* %95 = load i32, i32* %94, align 4 %96 = icmp eq i32 %95, 0 %97 = icmp eq i1 %96, false br i1 %97, label LBL_14, label LBL_13 LBL_13: %98 = add i64 %.pre, 56 %99 = inttoptr i64 %98 to i64* %100 = load i64, i64* %99, align 8 %101 = inttoptr i64 %100 to i64* %102 = load i64, i64* %101, align 8 %103 = inttoptr i64 %102 to i32* %104 = load i32, i32* %103, align 4 %105 = zext i32 %104 to i64 %106 = call i64 @FUNC(i64 %36, i64 1, i64 %105) %107 = add i64 %.pre, 76 %108 = inttoptr i64 %107 to i32* %109 = load i32, i32* %108, align 4 %110 = zext i32 %109 to i64 %111 = call i64 @FUNC(i64 %36, i64 1, i64 %110) br label LBL_14 LBL_14: %112 = add i64 %.pre, 36 %113 = inttoptr i64 %112 to i32* %114 = load i32, i32* %113, align 4 %115 = zext i32 %114 to i64 %116 = call i64 @FUNC(i64 %36, i64 5, i64 %115) %117 = icmp eq i32 %39, 1 store i64 1, i64* %rax.0.reg2mem br i1 %117, label LBL_17, label LBL_15 LBL_15: %118 = add i64 %.pre, 40 %119 = inttoptr i64 %118 to i32* %120 = load i32, i32* %119, align 4 %121 = zext i32 %120 to i64 %122 = call i64 @FUNC(i64 %36, i64 3, i64 %121) %123 = zext i32 %39 to i64 %124 = icmp eq i32 %39, 3 %125 = icmp eq i1 %124, false store i64 %123, i64* %rax.0.reg2mem br i1 %125, label LBL_17, label LBL_16 LBL_16: %126 = add i64 %.pre, 44 %127 = inttoptr i64 %126 to i32* %128 = load i32, i32* %127, align 4 %129 = zext i32 %128 to i64 %130 = call i64 @FUNC(i64 %36, i64 3, i64 %129) store i64 %130, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %65, { 0, 2, 1 } uselistorder i32 %39, { 1, 0, 2, 3, 4 } uselistorder i64 %36, { 4, 3, 5, 1, 2, 6, 0, 7, 8, 9, 10, 12, 11, 13, 14, 15 } uselistorder i64 %.pre, { 3, 2, 4, 1, 6, 5, 0, 7, 8, 9, 10, 11, 12, 15, 16, 17, 14, 13, 18 } uselistorder i32* %sv_0.04.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 1, { 0, 1, 2, 3, 5, 4, 7, 6, 9, 8, 10, 12, 11 } uselistorder i32 -1, { 1, 0, 2 } uselistorder i64 (i64, i64, i64)* @put_bits, { 15, 14, 13, 12, 11, 10, 8, 7, 6, 5, 4, 3, 9, 2, 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6, 7 } uselistorder i32 2, { 2, 0, 3, 1 } uselistorder i1 false, { 1, 2, 3, 4, 0, 5, 6, 7, 8, 9 } uselistorder label LBL_17, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 2, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
__end_that_request_first_4562
__end_that_request_first
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.210.reg2mem = alloca i32 %sv_1.111.reg2mem = alloca i32 %sv_2.112.reg2mem = alloca i32 %sv_3.013.reg2mem = alloca i32* %sv_4.114.reg2mem = alloca i64 %rdi.3.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %.reg2mem139 = alloca i32* %sv_4.026.reg2mem = alloca i64 %sv_0.139.reg2mem = alloca i32 %storemerge8.reg2mem = alloca i32 %rdi.1.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_5.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32 %rdi.0.reg2mem = alloca i64 %sv_0.143.reg2mem = alloca i32 %sv_1.044.reg2mem = alloca i32 %sv_2.045.reg2mem = alloca i32 %rcx.147.reg2mem = alloca i64 %rdi.248.reg2mem = alloca i64 %sv_4.049.reg2mem = alloca i64 %.reg2mem = alloca i32* %storemerge9.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 = add i64 %4, 32 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7, i64 %4) %9 = call i64 @FUNC(i64 %4) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = add i64 %4, 8 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %15 = ashr exact i64 %sext, 32 %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_8, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %4) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_8, label LBL_4 LBL_4: %21 = add i64 %4, 12 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = urem i32 %23, 2 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_8, label LBL_5 LBL_5: %27 = add i64 %4, 24 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %4, 16 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge9.reg2mem br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = inttoptr i64 %32 to i64* %35 = load i64, i64* %34, align 8 store i64 %35, i64* %storemerge9.reg2mem br label LBL_7 LBL_7: %storemerge9.reload = load i64, i64* %storemerge9.reg2mem %36 = call i64 @FUNC(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i64 %storemerge9.reload, i64 %29, i64 %3, i64 %2, i64 %1) br label LBL_8 LBL_8: %sext3 = mul i64 %arg3, 4294967296 %37 = ashr exact i64 %sext3, 32 %38 = and i64 %37, 4294967295 %39 = call i64 @FUNC(i64 %4, i64 %38) %40 = bitcast i64* %arg1 to i32* %41 = icmp eq i64* %arg1, null %42 = icmp eq i1 %41, false store i32 0, i32* %sv_0.139.reg2mem store i64 %37, i64* %sv_4.026.reg2mem store i32* %40, i32** %.reg2mem139 store i32 0, i32* %sv_1.1.reg2mem store i32 0, i32* %sv_2.1.reg2mem store i64 %4, i64* %rdi.3.reg2mem br i1 %42, label LBL_9, label LBL_21 LBL_9: %43 = and i64 %15, 4294967295 store i32* %40, i32** %.reg2mem store i64 %37, i64* %sv_4.049.reg2mem store i64 %4, i64* %rdi.248.reg2mem store i32 0, i32* %sv_2.045.reg2mem store i32 0, i32* %sv_1.044.reg2mem store i32 0, i32* %sv_0.143.reg2mem br label LBL_10 LBL_10: %sv_2.045.reload = load i32, i32* %sv_2.045.reg2mem %rdi.248.reload = load i64, i64* %rdi.248.reg2mem %sv_4.049.reload = load i64, i64* %sv_4.049.reg2mem %.reload = load i32*, i32** %.reg2mem %44 = load i32, i32* %.reload, align 4 %45 = zext i32 %44 to i64 %46 = icmp slt i64 %sv_4.049.reload, %45 br i1 %46, label LBL_12, label LBL_11 LBL_11: %47 = add i64 %rdi.248.reload, 16 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 store i64 %49, i64* %arg1, align 8 %50 = load i32, i32* %.reload, align 4 %51 = call i64 @FUNC(i64 %4, i64 %rdi.248.reload, i32 %50, i32 %16) %.pre = trunc i64 %sv_4.049.reload to i32 store i32 %.pre, i32* %.pre-phi.reg2mem store i32 0, i32* %sv_0.0.reg2mem store i32 %50, i32* %sv_5.0.reg2mem store i64 %43, i64* %rcx.0.reg2mem store i64 %4, i64* %rdi.1.reg2mem store i32 0, i32* %storemerge8.reg2mem br label LBL_19 LBL_12: %sv_0.143.reload = load i32, i32* %sv_0.143.reg2mem %sv_1.044.reload = load i32, i32* %sv_1.044.reg2mem %52 = add i64 %rdi.248.reload, 4 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = add i32 %54, %sv_0.143.reload %56 = add i64 %rdi.248.reload, 8 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = sub i32 %55, %58 %60 = xor i32 %55, %58 %61 = xor i32 %59, %55 %62 = and i32 %61, %60 %63 = icmp slt i32 %62, 0 %64 = icmp slt i32 %59, 0 %65 = icmp eq i1 %64, %63 %66 = icmp eq i1 %65, false br i1 %66, label LBL_14, label LBL_13 LBL_13: %67 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) %68 = load i32, i32* %57, align 4 %69 = zext i32 %68 to i64 %70 = zext i32 %55 to i64 %71 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_3, i64 0, i64 0), i64 ptrtoint ([25 x i8]* @gv_4 to i64), i64 %70, i64 %69, i64 %2, i64 %1) store i64 %sv_4.049.reload, i64* %sv_4.114.reg2mem store i32* %.reload, i32** %sv_3.013.reg2mem store i32 %sv_2.045.reload, i32* %sv_2.112.reg2mem store i32 %sv_1.044.reload, i32* %sv_1.111.reg2mem store i32 %sv_0.143.reload, i32* %sv_0.210.reg2mem br label LBL_22 LBL_14: %rcx.147.reload = load i64, i64* %rcx.147.reg2mem %72 = zext i32 %55 to i64 %73 = call i64 @FUNC(i64 %rdi.248.reload, i64 %72) %74 = add i64 %73, 32 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = load i32, i32* %.reload, align 4 %78 = zext i32 %77 to i64 %sext7 = mul i64 %76, 4294967296 %79 = ashr exact i64 %sext7, 32 %80 = icmp sgt i64 %79, %78 store i64 %rdi.248.reload, i64* %rdi.0.reg2mem br i1 %80, label LBL_15, label LBL_16 LBL_15: %81 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_5, i64 0, i64 0), i64 %72, i64 %72, i64 %rcx.147.reload, i64 %2, i64 %1) store i64 ptrtoint ([25 x i8]* @gv_5 to i64), i64* %rdi.0.reg2mem br label LBL_16 LBL_16: %82 = trunc i64 %76 to i32 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %83 = trunc i64 %sv_4.049.reload to i32 %84 = sub i32 %82, %83 %85 = xor i64 %76, %sv_4.049.reload %86 = trunc i64 %85 to i32 %87 = xor i32 %84, %82 %88 = and i32 %87, %86 %89 = icmp slt i32 %88, 0 %90 = icmp eq i32 %84, 0 %91 = icmp slt i32 %84, 0 %92 = icmp eq i1 %91, %89 %93 = icmp eq i1 %90, false %94 = icmp eq i1 %92, %93 %95 = icmp eq i1 %94, false br i1 %95, label LBL_18, label LBL_17 LBL_17: %96 = add i32 %sv_1.044.reload, %83 %97 = add i32 %sv_2.045.reload, %83 store i32 %sv_0.143.reload, i32* %sv_0.139.reg2mem store i64 %sv_4.049.reload, i64* %sv_4.026.reg2mem store i32* %.reload, i32** %.reg2mem139 store i32 %96, i32* %sv_1.1.reg2mem store i32 %97, i32* %sv_2.1.reg2mem store i64 %rdi.0.reload, i64* %rdi.3.reg2mem br label LBL_21 LBL_18: %98 = add i32 %sv_0.143.reload, 1 %99 = add i32 %sv_1.044.reload, %82 store i32 %83, i32* %.pre-phi.reg2mem store i32 %98, i32* %sv_0.0.reg2mem store i32 %82, i32* %sv_5.0.reg2mem store i64 %rcx.147.reload, i64* %rcx.0.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.reg2mem store i32 %99, i32* %storemerge8.reg2mem br label LBL_19 LBL_19: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %100 = icmp eq i64 %rdi.1.reload, 0 store i64 0, i64* %storemerge.reg2mem br i1 %100, label LBL_25, label LBL_20 LBL_20: %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %101 = add i32 %sv_5.0.reload, %sv_2.045.reload %102 = sub i32 %.pre-phi.reload, %sv_5.0.reload %103 = sext i32 %102 to i64 %104 = icmp slt i32 %102, 1 %105 = icmp eq i1 %104, false %106 = icmp eq i1 %105, false %107 = inttoptr i64 %rdi.1.reload to i32* store i32* %107, i32** %.reg2mem store i64 %103, i64* %sv_4.049.reg2mem store i64 %rdi.1.reload, i64* %rdi.248.reg2mem store i64 %rcx.0.reload, i64* %rcx.147.reg2mem store i32 %101, i32* %sv_2.045.reg2mem store i32 %storemerge8.reload, i32* %sv_1.044.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.143.reg2mem store i64 %103, i64* %sv_4.114.reg2mem store i32* %107, i32** %sv_3.013.reg2mem store i32 %101, i32* %sv_2.112.reg2mem store i32 %storemerge8.reload, i32* %sv_1.111.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.210.reg2mem br i1 %106, label LBL_22, label LBL_10 LBL_21: %rdi.3.reload = load i64, i64* %rdi.3.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %.reload140 = load i32*, i32** %.reg2mem139 %sv_4.026.reload = load i64, i64* %sv_4.026.reg2mem %sv_0.139.reload = load i32, i32* %sv_0.139.reg2mem %108 = icmp eq i64 %rdi.3.reload, 0 %109 = icmp eq i1 %108, false store i64 %sv_4.026.reload, i64* %sv_4.114.reg2mem store i32* %.reload140, i32** %sv_3.013.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.112.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.111.reg2mem store i32 %sv_0.139.reload, i32* %sv_0.210.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %109, label LBL_22, label LBL_25 LBL_22: %sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem %sv_2.112.reload = load i32, i32* %sv_2.112.reg2mem %110 = icmp eq i32 %sv_1.111.reload, 0 br i1 %110, label LBL_24, label LBL_23 LBL_23: %sv_0.210.reload = load i32, i32* %sv_0.210.reg2mem %sv_3.013.reload = load i32*, i32** %sv_3.013.reg2mem %sv_4.114.reload = load i64, i64* %sv_4.114.reg2mem %111 = ptrtoint i32* %sv_3.013.reload to i64 %112 = call i64 @FUNC(i64 %4, i64 %111, i32 %sv_1.111.reload, i32 %16) %113 = add i64 %111, 4 %114 = inttoptr i64 %113 to i32* %115 = load i32, i32* %114, align 4 %116 = add i32 %115, %sv_0.210.reload store i32 %116, i32* %114, align 4 %117 = call i64 @FUNC(i64 %111) %118 = add i64 %117, 24 %119 = inttoptr i64 %118 to i64* %120 = load i64, i64* %119, align 8 %121 = add i64 %120, %sv_4.114.reload store i64 %121, i64* %119, align 8 %122 = call i64 @FUNC(i64 %111) %123 = add i64 %122, 32 %124 = inttoptr i64 %123 to i64* %125 = load i64, i64* %124, align 8 %126 = sub i64 %125, %sv_4.114.reload store i64 %126, i64* %124, align 8 br label LBL_24 LBL_24: %127 = ashr i32 %sv_2.112.reload, 9 %128 = zext i32 %127 to i64 %129 = call i64 @FUNC(i64 %4, i64 %128) %130 = call i64 @FUNC(i64 %4) store i64 1, i64* %storemerge.reg2mem br label LBL_25 LBL_25: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %rdi.1.reload, { 2, 1, 0 } uselistorder i32 %84, { 1, 2, 0 } uselistorder i32 %83, { 0, 2, 1, 3 } uselistorder i64 %rdi.0.reload, { 1, 0 } uselistorder i64 %76, { 1, 2, 0 } uselistorder i32 %59, { 1, 0 } uselistorder i32 %55, { 2, 0, 1, 3, 4 } uselistorder i32 %sv_1.044.reload, { 1, 2, 0 } uselistorder i32 %sv_0.143.reload, { 2, 1, 0, 3 } uselistorder i32* %.reload, { 1, 3, 0, 2, 4 } uselistorder i64 %sv_4.049.reload, { 1, 5, 3, 0, 4, 2 } uselistorder i64 %rdi.248.reload, { 0, 1, 2, 5, 3, 4 } uselistorder i32 %sv_2.045.reload, { 1, 2, 0 } uselistorder i32* %40, { 1, 0 } uselistorder i64 %37, { 1, 0, 2 } uselistorder i64 %4, { 12, 11, 10, 9, 1, 8, 2, 0, 13, 5, 6, 4, 7, 3, 14, 15, 16 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %storemerge9.reg2mem, { 0, 2, 1 } uselistorder i32** %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_4.049.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.248.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.147.reg2mem, { 1, 0 } uselistorder i32* %sv_2.045.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.044.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.143.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_5.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge8.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.139.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_4.026.reg2mem, { 0, 2, 1 } uselistorder i32** %.reg2mem139, { 0, 2, 1 } uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.3.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_4.114.reg2mem, { 0, 3, 1, 2 } uselistorder i32** %sv_3.013.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_2.112.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_1.111.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_0.210.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @bio_iovec, { 1, 0 } uselistorder [25 x i8]* @gv_5, { 1, 0 } uselistorder i64 (i64, i64, i32, i32)* @req_bio_endio, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @printk, { 2, 1, 0 } uselistorder i1 false, { 4, 5, 3, 1, 6, 2, 0, 7, 8 } uselistorder i64 32, { 3, 0, 4, 1, 2, 5 } uselistorder i64* %arg1, { 2, 0, 1, 3 } uselistorder label LBL_25, { 2, 1, 0 } uselistorder label LBL_22, { 2, 0, 1 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
CompRealVul
init_fs_pin_6208
init_fs_pin
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %0, 12 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %0, 16 %6 = call i64 @FUNC(i64 %5) store i64 %arg2, i64* %arg1, align 8 ret i64 %0 uselistorder i64 (i64)* @INIT_HLIST_NODE, { 1, 0 } }
0
CompRealVul
helper_single_step_3233
helper_single_step
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) ret i64 %1 }
0
CompRealVul
qxl_send_events_15636
qxl_send_events
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.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 = and i64 %arg2, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = and i64 %3, 4294967295 %8 = call i64 @FUNC(i64 %7, i64 %5) %9 = add i64 %4, 28 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %14 = trunc i64 %6 to i32 %15 = add i64 %4, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = or i32 %19, %14 store i32 %20, i32* %18, align 4 %21 = and i32 %19, %14 %22 = zext i32 %21 to i64 %23 = icmp eq i32 %21, %14 store i64 %22, i64* %rax.1.reg2mem br i1 %23, label LBL_7, label LBL_3 LBL_3: %24 = add i64 %4, 24 %25 = call i64 @FUNC(i64 %24) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_5, label LBL_4 LBL_4: %28 = call i64 @FUNC(i64 %4) store i64 %28, i64* %rax.1.reg2mem br label LBL_7 LBL_5: %29 = add i64 %4, 20 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = call i32 @write(i32 %31, i64* %arg1, i32 1) %33 = icmp eq i32 %32, 1 store i64 1, i64* %rax.1.reg2mem br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0), i64 %2, i64 %1) store i64 %34, i64* %rax.1.reg2mem br label LBL_7 LBL_7: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %14, { 2, 0, 1 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 1, { 3, 0, 1, 2 } uselistorder label LBL_7, { 1, 2, 3, 0 } }
1
CompRealVul
trigger_callback_replace_regex_4271
trigger_callback_replace_regex
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %r9.1.reg2mem = alloca i64 %.reg2mem17 = alloca i32 %.pre12.reg2mem = alloca i32 %r9.0.reg2mem = alloca i64 %.pre.reg2mem = alloca i32 %storemerge214.reg2mem = alloca i64 %r9.23.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %.reg2mem15 = alloca i64 %.reg2mem = alloca i32 %.pre11.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 store i64 %2, i64* %sv_0, align 8 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_16, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = bitcast i64* %rdi to i32* %7 = ptrtoint i64* %sv_0 to i64 %8 = add i64 %5, 8 %9 = inttoptr i64 %8 to i64* %10 = add i64 %5, 16 %11 = inttoptr i64 %10 to i64* %12 = add i64 %7, -16 %13 = inttoptr i64 %12 to i64* store i32 %3, i32* %.pre11.reg2mem store i32 %3, i32* %.reg2mem store i64 0, i64* %.reg2mem15 store i32 0, i32* %storemerge5.reg2mem br label LBL_2 LBL_2: %r9.23.reload = load i64, i64* %r9.23.reg2mem %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.reload16 = load i64, i64* %.reg2mem15 %.reload = load i32, i32* %.reg2mem %.pre11.reload = load i32, i32* %.pre11.reg2mem %14 = load i64, i64* %9, align 8 %15 = mul nsw i64 %.reload16, 24 %16 = add i64 %14, %15 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 store i32 %.pre11.reload, i32* %.pre12.reg2mem store i32 %.reload, i32* %.reg2mem17 store i64 %r9.23.reload, i64* %r9.1.reg2mem br i1 %19, label LBL_15, label LBL_3 LBL_3: %20 = add i64 %16, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 store i64 %22, i64* %storemerge214.reg2mem br i1 %23, label LBL_4, label LBL_5 LBL_4: %24 = load i64, i64* %11, align 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27) %sext = mul i64 %28, 4294967296 %29 = ashr exact i64 %sext, 29 %30 = add i64 %29, ptrtoint ([3 x i8*]* @gv_0 to i64) %storemerge2.in.phi.trans.insert = inttoptr i64 %30 to i64* %storemerge2.pre = load i64, i64* %storemerge2.in.phi.trans.insert, align 8 %31 = icmp eq i64 %storemerge2.pre, 0 store i64 %storemerge2.pre, i64* %storemerge214.reg2mem br i1 %31, label LBL_6, label LBL_5 LBL_5: %storemerge214.reload = load i64, i64* %storemerge214.reg2mem %32 = inttoptr i64 %storemerge214.reload to i8* %33 = load i8, i8* %32, align 1 %34 = icmp eq i8 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_8, label LBL_6 LBL_6: %36 = load i64, i64* @gv_1, align 8 %37 = icmp eq i64 %36, 0 store i32 %.pre11.reload, i32* %.pre12.reg2mem store i32 %.reload, i32* %.reg2mem17 store i64 %r9.23.reload, i64* %r9.1.reg2mem br i1 %37, label LBL_15, label LBL_7 LBL_7: %38 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @globalFUNCvarFUNC40201d, i64 0, i64 0)) %39 = add i32 %storemerge5.reload, 1 %40 = load i64, i64* @gv_1, align 8 %41 = zext i32 %39 to i64 %42 = call i64 @FUNC(i64 %40, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i64 %41, i64 %38, i64 %r9.23.reload) store i32 %.pre11.reload, i32* %.pre12.reg2mem store i32 %.reload, i32* %.reg2mem17 store i64 %r9.23.reload, i64* %r9.1.reg2mem br label LBL_15 LBL_8: %43 = load i64, i64* %sv_0, align 8 %44 = call i64 @FUNC(i64 %43, i64 %storemerge214.reload) %45 = icmp eq i64 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_11, label LBL_9 LBL_9: %47 = load i64, i64* @gv_1, align 8 %48 = icmp eq i64 %47, 0 store i32 %.pre11.reload, i32* %.pre12.reg2mem store i32 %.reload, i32* %.reg2mem17 store i64 %r9.23.reload, i64* %r9.1.reg2mem br i1 %48, label LBL_15, label LBL_10 LBL_10: %49 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @globalFUNCvarFUNC402029, i64 0, i64 0)) %50 = add i32 %storemerge5.reload, 1 %51 = load i64, i64* @gv_1, align 8 %52 = zext i32 %50 to i64 %53 = call i64 @FUNC(i64 %51, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 %52, i64 %storemerge214.reload, i64 %49) store i32 %.pre11.reload, i32* %.pre12.reg2mem store i32 %.reload, i32* %.reg2mem17 store i64 %49, i64* %r9.1.reg2mem br label LBL_15 LBL_11: %54 = load i64, i64* %9, align 8 %55 = add i64 %54, %15 %56 = add i64 %55, 16 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = inttoptr i64 %55 to i64* %60 = load i64, i64* %59, align 8 %61 = call i64 @FUNC(i64 %44, i64 %60, i64 %58) %62 = icmp eq i64 %61, 0 store i32 %.pre11.reload, i32* %.pre12.reg2mem store i32 %.reload, i32* %.reg2mem17 store i64 %r9.23.reload, i64* %r9.1.reg2mem br i1 %62, label LBL_15, label LBL_12 LBL_12: %63 = load i64, i64* @gv_1, align 8 %64 = icmp eq i64 %63, 0 store i32 %.pre11.reload, i32* %.pre.reg2mem store i64 %r9.23.reload, i64* %r9.0.reg2mem br i1 %64, label LBL_14, label LBL_13 LBL_13: %65 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0)) %66 = add i32 %storemerge5.reload, 1 %67 = zext i32 %66 to i64 %68 = load i64, i64* @gv_1, align 8 store i64 %65, i64* %13, align 8 %69 = call i64 @FUNC(i64 %68, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_6, i64 0, i64 0), i64 %67, i64 %storemerge214.reload, i64 %61) %.pre.pre = load i32, i32* %6, align 8 store i32 %.pre.pre, i32* %.pre.reg2mem store i64 %61, i64* %r9.0.reg2mem br label LBL_14 LBL_14: %r9.0.reload = load i64, i64* %r9.0.reg2mem %.pre.reload = load i32, i32* %.pre.reg2mem %70 = load i64, i64* %sv_0, align 8 %71 = call i64 @FUNC(i64 %70, i64 %storemerge214.reload, i64 %61) %72 = inttoptr i64 %61 to i64* call void @free(i64* %72) store i32 %.pre.reload, i32* %.pre12.reg2mem store i32 %.pre.reload, i32* %.reg2mem17 store i64 %r9.0.reload, i64* %r9.1.reg2mem br label LBL_15 LBL_15: %r9.1.reload = load i64, i64* %r9.1.reg2mem %.reload18 = load i32, i32* %.reg2mem17 %.pre12.reload = load i32, i32* %.pre12.reg2mem %73 = add i32 %storemerge5.reload, 1 %74 = zext i32 %.reload18 to i64 %75 = sext i32 %73 to i64 %76 = icmp slt i64 %75, %74 store i32 %.pre12.reload, i32* %.pre11.reg2mem store i32 %.reload18, i32* %.reg2mem store i64 %75, i64* %.reg2mem15 store i32 %73, i32* %storemerge5.reg2mem store i64 %r9.1.reload, i64* %r9.23.reg2mem store i64 %74, i64* %rax.0.reg2mem br i1 %76, label LBL_2, label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload18, { 1, 0 } uselistorder i64 %61, { 3, 2, 0, 1, 4 } uselistorder i32 %.pre11.reload, { 6, 2, 0, 1, 3, 4, 5 } uselistorder i32 %.reload, { 2, 0, 1, 3, 4, 5 } uselistorder i32 %storemerge5.reload, { 3, 1, 0, 2 } uselistorder i64 %r9.23.reload, { 5, 1, 0, 2, 6, 3, 4 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %sv_0, { 0, 1, 3, 2 } uselistorder i32* %.pre11.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem15, { 1, 0, 2 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %r9.23.reg2mem, { 1, 0 } uselistorder i64* %storemerge214.reg2mem, { 0, 2, 1 } uselistorder i32* %.pre12.reg2mem, { 0, 3, 4, 1, 2, 5, 6, 7 } uselistorder i32* %.reg2mem17, { 0, 3, 4, 1, 2, 5, 6, 7 } uselistorder i64* %r9.1.reg2mem, { 0, 3, 4, 1, 2, 5, 6, 7 } uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @weechat_printf_tags, { 2, 1, 0 } uselistorder i64 (i8*)* @_, { 1, 0 } uselistorder i32 0, { 0, 7, 1, 2, 3, 4, 5, 6 } uselistorder label LBL_15, { 6, 0, 2, 1, 4, 3, 5 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
new_node_page_18095
new_node_page
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.0.in.reg2mem = alloca i64* %0 = call i64* @malloc(i32 8) %1 = icmp eq i64* %0, null %2 = icmp eq i1 %1, false store i64* %0, i64** %sv_0.0.in.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64* @malloc(i32 8) store i64* %3, i64** %sv_0.0.in.reg2mem br label LBL_2 LBL_2: %sv_0.0.in.reload = load i64*, i64** %sv_0.0.in.reg2mem %sv_0.0 = ptrtoint i64* %sv_0.0.in.reload to i64 ret i64 %sv_0.0 }
1
CompRealVul
ath9k_start_4306
ath9k_start
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %1) %10 = call i64 @FUNC(i64 %2, i64 %5) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, -1 %13 = icmp eq i1 %12, false br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 %2, i64 2, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %1) store i64 4294967274, i64* %sv_0.0.reg2mem br label LBL_5 LBL_2: %15 = add i64 %5, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false %. = select i1 %19, i32 2, i32 1 %sext = mul i64 %10, 4294967296 %20 = ashr exact i64 %sext, 30 %21 = add i64 %20, %2 %22 = inttoptr i64 %21 to i32* store i32 %., i32* %22, align 4 %23 = call i64 @FUNC(i64 %2, i64 %21) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_4, label LBL_3 LBL_3: %26 = call i64 @FUNC(i64 %2, i64 2, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %1) store i64 %23, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %27 = call i64 @FUNC(i64 %2) store i64 %27, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %28 = and i64 %sv_0.0.reload, 4294967295 ret i64 %28 uselistorder i64 %8, { 1, 0, 2 } uselistorder i64 %2, { 2, 3, 4, 0, 1, 5, 6, 7 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64, i8*, i8*, i64, i64)* @DPRINTF, { 2, 1, 0 } }
0
CompRealVul
ffv1_common_init_16827
ffv1_common_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %12, label LBL_2, label LBL_3 LBL_2: %13 = bitcast i64* %rdi to i32* %14 = inttoptr i64 %5 to i64* store i64 %2, i64* %14, align 8 %15 = add i64 %2, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %5, 8 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = call i64 @FUNC() %21 = add i64 %5, 16 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 %23 = call i64 @FUNC() %24 = add i64 %5, 24 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 %26 = add i64 %5, 48 %27 = call i64 @FUNC(i64 %26, i64 %2) %28 = load i32, i32* %13, align 8 %29 = add i64 %5, 32 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = load i32, i32* %9, align 4 %32 = add i64 %5, 36 %33 = inttoptr i64 %32 to i32* store i32 %31, i32* %33, align 4 %34 = add i64 %5, 40 %35 = inttoptr i64 %34 to i32* store i32 1, i32* %35, align 4 %36 = add i64 %5, 44 %37 = inttoptr i64 %36 to i32* store i32 1, i32* %37, align 4 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 %2, { 0, 1, 3, 2, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_3, { 2, 1, 0 } }
1
CompRealVul
simulate_sync_13577
simulate_sync
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = urem i64 %arg2, 65536 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = urem i64 %arg2, 256 %4 = icmp eq i64 %3, 170 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 1, i64 1, i64 %6, i64 0) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
0
CompRealVul
vmxnet3_dump_rx_descr_3320
vmxnet3_dump_rx_descr
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 28 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = add i64 %0, 20 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %0, 12 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = call i64 @FUNC(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @gv_0, i64 0, i64 0), i64 %4, i32 %16, i32 %13, i32 %10, i32 %7) ret i64 %17 }
0
CompRealVul
x86_cpu_apic_create_14413
x86_cpu_apic_create
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i8* %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC() %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %spec.select = select i1 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0) store i8* %spec.select, i8** %sv_0.0.reg2mem br label LBL_2 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %7 = ptrtoint i8* %sv_0.0.reload to i64 %8 = call i64 @FUNC(i64 %7) store i64 %8, i64* %arg1, align 8 %9 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %7, i64 4198797) %10 = add i64 %6, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i32 %12) store i64 %6, i64* %arg1, align 8 %14 = inttoptr i64 %10 to i64* store i64 4276094976, i64* %14, align 8 ret i64 %6 uselistorder i64 %7, { 1, 0 } uselistorder i64 %6, { 2, 4, 1, 3, 0 } }
1
CompRealVul
t_gen_mov_preg_TN_3039
t_gen_mov_preg_TN
define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %3 = icmp ult i32 %2, 16 br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_11 LBL_2: %switch = icmp ult i32 %2, 3 br i1 %switch, label LBL_12, label LBL_3 LBL_3: %4 = icmp eq i32 %2, 3 %5 = icmp eq i1 %4, false br i1 %5, label LBL_5, label LBL_4 LBL_4: %6 = ashr exact i64 %sext, 30 %7 = add i64 %6, ptrtoint (i32** @gv_3 to i64) %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %arg3 to i64 %11 = zext i32 %9 to i64 %12 = call i64 @FUNC(i64 %11, i64 %10, i64 3) store i64 %12, i64* %rax.1.reg2mem br label LBL_12 LBL_5: %13 = icmp eq i32 %2, 4 %14 = icmp eq i1 %13, false br i1 %14, label LBL_7, label LBL_6 LBL_6: %15 = load i32, i32* @gv_4, align 4 %16 = zext i32 %arg3 to i64 %17 = zext i32 %15 to i64 %18 = call i64 @FUNC(i64 %17, i64 %16) br label LBL_7 LBL_7: %19 = urem i64 %1, 2 %20 = icmp eq i64 %19, 0 %21 = icmp eq i32 %2, 5 %22 = icmp eq i1 %21, false %or.cond8 = or i1 %22, %20 br i1 %or.cond8, label LBL_9, label LBL_8 LBL_8: %23 = load i32, i32* @gv_4, align 4 %24 = zext i32 %arg3 to i64 %25 = zext i32 %23 to i64 %26 = call i64 @FUNC(i64 %25, i64 %24) br label LBL_11 LBL_9: %27 = icmp eq i32 %2, 6 %28 = icmp eq i1 %27, false br i1 %28, label LBL_11, label LBL_10 LBL_10: %29 = ptrtoint i32* %arg1 to i64 %30 = add i64 %29, 4 %31 = inttoptr i64 %30 to i32* store i32 1, i32* %31, align 4 br label LBL_11 LBL_11: %32 = ashr exact i64 %sext, 30 %33 = add i64 %32, ptrtoint (i32** @gv_3 to i64) %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = zext i32 %arg3 to i64 %37 = zext i32 %35 to i64 %38 = call i64 @FUNC(i64 %37, i64 %36) store i64 %38, i64* %rax.1.reg2mem br label LBL_12 LBL_12: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %sext, { 1, 0 } uselistorder i32 %2, { 4, 5, 2, 3, 1, 0 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 1 } uselistorder i32* @gv_4, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i32 3, { 1, 0 } uselistorder i32 %arg3, { 3, 2, 1, 0 } uselistorder label LBL_12, { 1, 2, 0 } uselistorder label LBL_11, { 1, 2, 3, 0 } }
0
CompRealVul
ok_csv_circular_buffer_writable_6344
ok_csv_circular_buffer_writable
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = sub i64 %0, %3 %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %7, %3 %9 = urem i64 %8, %0 %10 = sub i64 %0, %9 %11 = call i64 @FUNC(i64 %4, i64 %10) ret i64 %11 uselistorder i64 %0, { 3, 0, 1, 4, 2 } }
0
CompRealVul
v9fs_mknod_8262
v9fs_mknod
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg1 to i64 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %6 = load i32, i32* %1 %7 = load i32, i32* %1 %8 = load i32, i32* %1 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %sv_5 = alloca i8*, align 8 %9 = bitcast i8** %sv_5 to i64* %10 = call i64 @FUNC(i64* nonnull %9) %11 = bitcast i32* %sv_3 to i64* %12 = bitcast i32* %sv_4 to i64* %13 = call i64 @FUNC(i64 %3, i64 7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %11, i64* nonnull %9, i64* nonnull %12) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 store i64 %13, i64* %sv_0.1.reg2mem br i1 %15, label LBL_9, label LBL_1 LBL_1: %16 = load i32, i32* %sv_4, align 4 %17 = zext i32 %16 to i64 %18 = load i32, i32* %sv_3, align 4 %19 = zext i32 %18 to i64 %20 = add i64 %3, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %7 to i64 %24 = zext i32 %6 to i64 %25 = and i64 %2, 4294967295 %26 = call i64 @FUNC(i64 %25, i32 %22, i64 %19, i64 %17, i64 %24, i64 %23) %27 = load i8*, i8** %sv_5, align 8 %28 = ptrtoint i8* %27 to i64 %29 = call i64 @FUNC(i64 %28) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 store i64 4294967294, i64* %sv_0.1.reg2mem br i1 %31, label LBL_2, label LBL_9 LBL_2: %32 = load i8*, i8** %sv_5, align 8 %33 = call i32 @strcmp(i8* inttoptr (i64 4202519 to i8*), i8* %32) %34 = icmp eq i32 %33, 0 store i64 4294967279, i64* %sv_0.1.reg2mem br i1 %34, label LBL_9, label LBL_3 LBL_3: %35 = load i8*, i8** %sv_5, align 8 %36 = call i32 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8* %35) %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 4294967279, i64* %sv_0.1.reg2mem br i1 %38, label LBL_4, label LBL_9 LBL_4: %39 = load i32, i32* %sv_3, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %3, i64 %40) %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false store i64 4294967294, i64* %sv_0.1.reg2mem br i1 %43, label LBL_5, label LBL_9 LBL_5: %44 = inttoptr i64 %41 to i32* %45 = call i64 @gnu_dev_makedev(i32 %6, i32 %7) %46 = load i32, i32* %44, align 4 %47 = zext i32 %8 to i64 %48 = call i64 @FUNC(i64 %3, i64 %41, i64* nonnull %9, i32 %46, i64 %47, i64 %45) %49 = trunc i64 %48 to i32 %50 = icmp slt i32 %49, 0 store i64 %48, i64* %sv_0.0.reg2mem br i1 %50, label LBL_8, label LBL_6 LBL_6: %51 = bitcast i32* %sv_1 to i64* %52 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %51) %53 = call i64 @FUNC(i64 %3, i64 7, i64 4202524, i64* nonnull %51) %54 = trunc i64 %53 to i32 %55 = icmp slt i32 %54, 0 store i64 %53, i64* %sv_0.0.reg2mem br i1 %55, label LBL_8, label LBL_7 LBL_7: %56 = add i64 %53, 7 %57 = load i32, i32* %sv_1, align 4 %58 = zext i32 %57 to i64 %59 = load i32, i32* %21, align 4 %60 = zext i32 %5 to i64 %61 = call i64 @FUNC(i64 %25, i32 %59, i64 %58, i32 %4, i64 %60) store i64 %56, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %62 = call i64 @FUNC(i64 %3, i64 %41) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_9 LBL_9: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %63 = and i64 %sv_0.1.reload, 4294967295 %64 = call i64 @FUNC(i64 %3, i64 %63) %65 = call i64 @FUNC(i64* nonnull %9) ret i64 %65 uselistorder i64 %53, { 1, 0, 2 } uselistorder i64 %25, { 1, 0 } uselistorder i64* %9, { 1, 0, 2, 3 } uselistorder i8** %sv_5, { 2, 1, 0, 3 } uselistorder i32* %sv_3, { 1, 0, 2 } uselistorder i32 %7, { 1, 0 } uselistorder i32 %6, { 1, 0 } uselistorder i64 %3, { 5, 1, 0, 2, 3, 4, 6 } uselistorder i64* %sv_0.1.reg2mem, { 0, 5, 1, 3, 2, 4, 6 } uselistorder i32* %1, { 4, 3, 2, 1, 0 } uselistorder i64 4294967279, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_9, { 5, 0, 2, 1, 3, 4 } uselistorder label LBL_8, { 2, 0, 1 } }
0
CompRealVul
qvirtio_pci_queue_select_14648
qvirtio_pci_queue_select
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = urem i64 %arg2, 256 %1 = add i64 %arg1, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %arg1, i64 %3, i64 %0) ret i64 %4 }
1
CompRealVul
r_read_le16_6810
r_read_le16
define i64 @FUNC(i16* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i16* %arg1, null %3 = icmp eq i1 %2, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i16* %arg1 to i64 %5 = add i64 %4, 1 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = zext i8 %7 to i64 %9 = mul i64 %8, 256 %10 = urem i64 %1, 256 %11 = or i64 %9, %10 store i64 %11, 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 256, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
cpuidle_play_dead_4901
cpuidle_play_dead
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.14.reg2mem = alloca i32 %sv_0.15.reg2mem = alloca i32 %storemerge6.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC() %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 19, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_8 LBL_1: %5 = inttoptr i64 %2 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_6.thread, label LBL_2 LBL_2: %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = zext i32 %6 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge6.reg2mem store i32 -1, i32* %sv_0.15.reg2mem store i32 -1, i32* %sv_1.14.reg2mem br label LBL_3 LBL_3: %sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %.reload = load i64, i64* %.reg2mem %12 = mul i64 %.reload, 16 %13 = add i64 %12, %10 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = sext i32 %sv_0.15.reload to i64 %18 = icmp sgt i64 %17, %16 store i32 %sv_1.14.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem br i1 %18, label LBL_4, label LBL_5 LBL_4: %19 = add i64 %13, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = icmp eq i64 %21, 0 %spec.select = select i1 %22, i32 %sv_1.14.reload, i32 %storemerge6.reload %spec.select3 = select i1 %22, i32 %sv_0.15.reload, i32 %15 store i32 %spec.select, i32* %sv_1.0.reg2mem store i32 %spec.select3, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %23 = add i32 %storemerge6.reload, 1 %24 = sext i32 %23 to i64 %25 = icmp slt i64 %24, %11 store i64 %24, i64* %.reg2mem store i32 %23, i32* %storemerge6.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.14.reg2mem br i1 %25, label LBL_3, label LBL_6 LBL_6: %26 = icmp eq i32 %sv_1.0.reload, -1 store i64 %1, i64* %rax.0.reg2mem br i1 %26, label LBL_6.thread, label LBL_8 LBL_7: store i64 19, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge6.reload, { 1, 0 } uselistorder i32 %sv_0.15.reload, { 1, 0, 2 } uselistorder i32 %sv_1.14.reload, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.14.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32 -1, { 2, 0, 1 } uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_6.thread, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
do_probe_callback_13089
do_probe_callback
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_0, align 8 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %0) %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 %0) store i64 %4, i64* %storemerge1.reg2mem br label LBL_3 LBL_2: %5 = inttoptr i64 %arg1 to i64* store i64 %0, i64* %5, align 8 %6 = add i64 %arg1, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i64* nonnull %sv_0, i64 0, i64* nonnull @gv_1, i64 %arg1) store i64 %9, i64* %storemerge1.reg2mem br label LBL_3 LBL_3: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %storemerge = trunc i64 %storemerge1.reload to i32 %10 = icmp eq i32 %storemerge, 0 store i64 %storemerge1.reload, i64* %rax.0.reg2mem br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = and i64 %storemerge1.reload, 4294967295 %12 = call i64 @FUNC(i64 %arg1, i64 %11) %13 = call i64 @FUNC(i64 %arg1) store i64 %13, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge1.reload, { 2, 0, 1 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3, 4, 5 } }
1
CompRealVul
ipv6_defrag_11161
ipv6_defrag
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = icmp eq i64* %arg2, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_3 LBL_2: %6 = ptrtoint i64* %arg3 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %10, i64 %0) %12 = and i64 %11, 4294967295 %13 = call i64 @FUNC(i64 %12, i64 %0, i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, -1 %16 = icmp eq i1 %15, false %. = select i1 %16, i64 1, i64 2 store i64 %., i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } }
1
CompRealVul
_unpack_job_info_msg_4923
_unpack_job_info_msg
define i64 @FUNC(i64* %arg1, i64 %arg2, i16 %arg3) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false %2 = zext i1 %1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 24) store i64 %4, i64* %arg1, align 8 %5 = icmp eq i16 %arg3, 0 br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_0, i64 0, i64 0), i64 0) %7 = call i64 @FUNC(i64 ptrtoint ([57 x i8]* @gv_0 to i64)) store i64 0, i64* %arg1, align 8 store i64 4294967295, i64* %storemerge1.reg2mem br label LBL_3 LBL_2: %8 = call i64 @FUNC(i64 24, i64 %arg2) %9 = call i64 @FUNC(i64 40, i64 %arg2) %10 = call i64 @FUNC(i64 0) store i64 %10, i64* inttoptr (i64 48 to i64*), align 16 store i64 0, i64* %storemerge1.reg2mem br label LBL_3 LBL_3: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem ret i64 %storemerge1.reload uselistorder [57 x i8]* @gv_0, { 1, 0 } uselistorder i64 (i64)* @xmalloc, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } }
0
CompRealVul
sessionCookieDirective_11123
sessionCookieDirective
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i8* %arg3 to i64 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i8*, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %5 = call i64 @FUNC(i64 %4, i64 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_15 LBL_1: %9 = load i64, i64* %sv_2, align 8 %10 = call i64 @FUNC(i64 %9, i64 ptrtoint ([8 x i8]* @gv_1 to i64)) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %9, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_3: %14 = load i64, i64* %sv_2, align 8 %15 = call i64 @FUNC(i64 %14, i64 ptrtoint ([7 x i8]* @gv_2 to i64)) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %14, i64 1) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_5: %19 = load i64, i64* %sv_2, align 8 %20 = call i64 @FUNC(i64 %19, i64* nonnull %sv_1) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_6, label LBL_15 LBL_6: %23 = bitcast i8** %sv_0 to i64* store i64 %20, i64* %storemerge2.reg2mem br label LBL_7 LBL_7: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %24 = call i64 @FUNC(i64 %storemerge2.reload, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %23) %25 = load i8*, i8** %sv_0, align 8 %26 = ptrtoint i8* %25 to i64 %27 = call i64 @FUNC(i64 %26, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 0) %28 = inttoptr i64 %27 to i8* store i8* %28, i8** %sv_0, align 8 %29 = icmp eq i64 %27, 0 br i1 %29, label LBL_14, label LBL_8 LBL_8: %30 = load i8, i8* %28, align 1 %31 = icmp eq i8 %30, 0 br i1 %31, label LBL_14, label LBL_9 LBL_9: %32 = call i64 @FUNC(i64 %24, i64 ptrtoint ([8 x i8]* @gv_5 to i64)) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_11, label LBL_10 LBL_10: %35 = load i8*, i8** %sv_0, align 8 %36 = ptrtoint i8* %35 to i64 %37 = call i64 @FUNC(i64 %36, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_5, i64 0, i64 0)) %38 = and i64 %37, 4294967295 %39 = call i64 @FUNC(i64 %36, i64 %38) br label LBL_14 LBL_11: %40 = call i64 @FUNC(i64 %24, i64 ptrtoint ([5 x i8]* @gv_6 to i64)) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_13, label LBL_12 LBL_12: %43 = load i8*, i8** %sv_0, align 8 %44 = ptrtoint i8* %43 to i64 %45 = call i64 @FUNC(i64 %24, i64 %44) br label LBL_14 LBL_13: %46 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_7, i64 0, i64 0), i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_8, i64 0, i64 0), i64 %24, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_15 LBL_14: %47 = load i64, i64* %sv_1, align 8 %48 = call i64 @FUNC(i64 %47, i64* nonnull %sv_1) %49 = icmp eq i64 %48, 0 %50 = icmp eq i1 %49, false store i64 %48, i64* %storemerge2.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %50, label LBL_7, label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %36, { 1, 0 } uselistorder i64* %sv_2, { 1, 2, 3, 0 } uselistorder i64* %sv_1, { 0, 2, 1 } uselistorder i8** %sv_0, { 3, 2, 1, 0, 4 } uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 2, 5, 4, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64*)* @maGetNextArg, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64)* @httpSetAuthSession, { 1, 0 } uselistorder i64 (i64, i64)* @smatch, { 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_15, { 0, 3, 1, 4, 5, 2 } uselistorder label LBL_14, { 2, 3, 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
CompRealVul
ipv6_skip_exthdr_13095
ipv6_skip_exthdr
define i64 @FUNC(i64* %arg1, i32 %arg2, i8* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.in.lcssa.reg2mem = alloca i8 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_1.012.reg2mem = alloca i32 %sv_3.014.reg2mem = alloca i32 %sv_0.0.in15.reg2mem = alloca i8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %3 = trunc i64 %1 to i8 %4 = urem i64 %1, 256 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i8 %3, i8* %sv_0.0.in15.reg2mem store i32 %arg4, i32* %sv_3.014.reg2mem store i32 %arg2, i32* %sv_1.012.reg2mem store i32 %arg2, i32* %sv_1.0.lcssa.reg2mem store i8 %3, i8* %sv_0.0.in.lcssa.reg2mem br i1 %8, label LBL_1, label LBL_11 LBL_1: %sv_3.014.reload = load i32, i32* %sv_3.014.reg2mem %sv_0.0.in15.reload = load i8, i8* %sv_0.0.in15.reg2mem %9 = icmp sgt i32 %sv_3.014.reload, 1 %10 = icmp eq i8 %sv_0.0.in15.reload, 59 %11 = icmp eq i1 %10, false %or.cond = icmp eq i1 %9, %11 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_12 LBL_2: %sv_1.012.reload = load i32, i32* %sv_1.012.reg2mem %12 = call i64 @FUNC(i64 %2, i32 %sv_1.012.reload, i64 2, i64* nonnull %sv_5) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC() unreachable LBL_4: %16 = icmp eq i8 %sv_0.0.in15.reload, 44 %17 = icmp eq i1 %16, false br i1 %17, label LBL_7, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 %2, i32 %sv_1.012.reload, i64 2, i64* nonnull %sv_4) %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_6, label LBL_12 LBL_6: %21 = inttoptr i64 %18 to i16* %22 = load i16, i16* %21, align 2 %23 = call i16 @ntohs(i16 %22) %24 = icmp ult i16 %23, 8 %25 = icmp eq i1 %24, false store i32 8, i32* %sv_2.0.reg2mem store i32 %sv_1.012.reload, i32* %sv_1.0.lcssa.reg2mem store i8 %sv_0.0.in15.reload, i8* %sv_0.0.in.lcssa.reg2mem br i1 %25, label LBL_11, label LBL_10 LBL_7: %26 = icmp eq i8 %sv_0.0.in15.reload, 51 %27 = icmp eq i1 %26, false br i1 %27, label LBL_9, label LBL_8 LBL_8: %28 = add i64 %12, 1 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = zext i8 %30 to i32 %32 = mul i32 %31, 4 %33 = add nuw nsw i32 %32, 8 store i32 %33, i32* %sv_2.0.reg2mem br label LBL_10 LBL_9: %34 = call i64 @FUNC(i64 %12) %35 = trunc i64 %34 to i32 store i32 %35, i32* %sv_2.0.reg2mem br label LBL_10 LBL_10: %36 = inttoptr i64 %12 to i8* %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %37 = sub i32 %sv_3.014.reload, %sv_2.0.reload %38 = add i32 %sv_2.0.reload, %sv_1.012.reload %sv_0.0.in = load i8, i8* %36, align 1 %39 = zext i8 %sv_0.0.in to i64 %40 = call i64 @FUNC(i64 %39) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false store i8 %sv_0.0.in, i8* %sv_0.0.in15.reg2mem store i32 %37, i32* %sv_3.014.reg2mem store i32 %38, i32* %sv_1.012.reg2mem store i32 %38, i32* %sv_1.0.lcssa.reg2mem store i8 %sv_0.0.in, i8* %sv_0.0.in.lcssa.reg2mem br i1 %43, label LBL_1, label LBL_11 LBL_11: %sv_0.0.in.lcssa.reload = load i8, i8* %sv_0.0.in.lcssa.reg2mem %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem store i8 %sv_0.0.in.lcssa.reload, i8* %arg3, align 1 %44 = zext i32 %sv_1.0.lcssa.reload to i64 store i64 %44, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_2.0.reload, { 1, 0 } uselistorder i64 %12, { 2, 0, 1, 3 } uselistorder i32 %sv_1.012.reload, { 3, 0, 1, 2 } uselistorder i8 %sv_0.0.in15.reload, { 3, 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i8* %sv_0.0.in15.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.014.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.012.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i8* %sv_0.0.in.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 1, 2, 0 } uselistorder i32 8, { 1, 0 } uselistorder i64 (i64, i32, i64, i64*)* @skb_header_pointer, { 1, 0 } uselistorder i1 false, { 7, 2, 3, 4, 5, 6, 1, 0 } uselistorder i64 (i64)* @ipv6_ext_hdr, { 1, 0 } uselistorder label LBL_12, { 2, 0, 1 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
IGDstartelt_13768
IGDstartelt
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = icmp slt i32 %1, 256 %spec.select = select i1 %3, i64 %2, i64 255 %4 = trunc i64 %spec.select to i32 %5 = bitcast i8* %arg2 to i64* %6 = call i64* @memcpy(i64* %arg1, i64* %5, i32 %4) %7 = add i64 %spec.select, %0 %8 = inttoptr i64 %7 to i8* store i8 0, i8* %8, align 1 %9 = add i64 %0, 256 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i32 %11, 1 store i32 %12, i32* %10, align 4 %13 = icmp eq i32 %4, 7 %14 = icmp eq i1 %13, false store i64 %0, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_1 LBL_1: %15 = call i32 @memcmp(i64* %5, i64* bitcast ([8 x i8]* @gv_0 to i64*), i32 %4) %16 = sext i32 %15 to i64 %17 = icmp eq i32 %15, 0 %18 = icmp eq i1 %17, false store i64 %16, i64* %rax.0.reg2mem br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = add i64 %0, 260 %20 = inttoptr i64 %19 to i8* store i8 0, i8* %20, align 1 %21 = add i64 %0, 516 %22 = inttoptr i64 %21 to i8* store i8 0, i8* %22, align 1 %23 = add i64 %0, 772 %24 = inttoptr i64 %23 to i8* store i8 0, i8* %24, align 1 %25 = add i64 %0, 1028 %26 = inttoptr i64 %25 to i8* store i8 0, i8* %26, align 1 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 %4, { 1, 0, 2 } uselistorder i64 %0, { 0, 3, 4, 5, 6, 1, 7, 2 } }
0
CompRealVul
fuse_conn_init_12241
fuse_conn_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64* @memset(i64* %arg1, i32 0, i32 76) %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 4 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %0, 8 %6 = call i64 @FUNC(i64 %5, i64 1) %7 = add i64 %0, 12 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %0, 16 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %0, 20 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %0, 24 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %0, 28 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %0, 32 %18 = call i64 @FUNC(i64 %17) %19 = add i64 %0, 36 %20 = call i64 @FUNC(i64 %19, i64 0) %21 = add i64 %0, 40 %22 = inttoptr i64 %21 to i32* store i32 100, i32* %22, align 4 %23 = add i64 %0, 44 %24 = inttoptr i64 %23 to i32* store i32 50, i32* %24, align 4 %25 = add i64 %0, 48 %26 = inttoptr i64 %25 to i32* store i32 0, i32* %26, align 4 %27 = add i64 %0, 52 %28 = inttoptr i64 %27 to i32* store i32 0, i32* %28, align 4 %29 = add i64 %0, 56 %30 = inttoptr i64 %29 to i32* store i32 0, i32* %30, align 4 %31 = add i64 %0, 60 %32 = inttoptr i64 %31 to i32* store i32 0, i32* %32, align 4 %33 = add i64 %0, 64 %34 = inttoptr i64 %33 to i32* store i32 1, i32* %34, align 4 %35 = add i64 %0, 68 %36 = inttoptr i64 %35 to i32* store i32 1, i32* %36, align 4 %37 = add i64 %0, 72 %38 = call i64 @FUNC(i64 %37, i64 4) ret i64 %38 uselistorder i64 (i64)* @INIT_LIST_HEAD, { 1, 0 } uselistorder i64 (i64)* @init_waitqueue_head, { 1, 0 } uselistorder i64 (i64, i64)* @atomic_set, { 1, 0 } uselistorder i64 4, { 1, 2, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6, 7, 8, 9, 10 } }
1
CompRealVul
idct4col_put_14807
idct4col_put
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* %arg3 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 %5 = add i64 %2, 64 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %2, 128 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %2, 192 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i32 %10, %4 %15 = mul i32 %14, 16384 %16 = or i32 %15, 8192 %17 = sub i32 %4, %10 %18 = mul i32 %17, 16384 %19 = or i32 %18, 8192 %20 = add i32 %13, %7 %21 = sub i32 %7, %13 %22 = add i32 %16, %20 %23 = ashr i32 %22, 14 %24 = sext i32 %23 to i64 %25 = add i64 %24, ptrtoint (i8** @gv_0 to i64) %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = bitcast i64* %arg1 to i8* store i8 %27, i8* %28, align 1 %sext = mul i64 %arg2, 4294967296 %29 = ashr exact i64 %sext, 32 %30 = add i64 %29, %3 %31 = add i32 %19, %21 %32 = ashr i32 %31, 14 %33 = sext i32 %32 to i64 %34 = add i64 %33, ptrtoint (i8** @gv_0 to i64) %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = inttoptr i64 %30 to i8* store i8 %36, i8* %37, align 1 %38 = add i64 %30, %29 %39 = sub i32 %19, %21 %40 = ashr i32 %39, 14 %41 = sext i32 %40 to i64 %42 = add i64 %41, ptrtoint (i8** @gv_0 to i64) %43 = inttoptr i64 %42 to i8* %44 = load i8, i8* %43, align 1 %45 = inttoptr i64 %38 to i8* store i8 %44, i8* %45, align 1 %46 = add i64 %38, %29 %47 = sub i32 %16, %20 %48 = ashr i32 %47, 14 %49 = sext i32 %48 to i64 %50 = add i64 %49, ptrtoint (i8** @gv_0 to i64) %51 = inttoptr i64 %50 to i8* %52 = load i8, i8* %51, align 1 %53 = inttoptr i64 %46 to i8* store i8 %52, i8* %53, align 1 ret i64 %46 uselistorder i64 %46, { 1, 0 } uselistorder i32 %21, { 1, 0 } uselistorder i32 %20, { 1, 0 } uselistorder i32 %19, { 1, 0 } uselistorder i32 %16, { 1, 0 } uselistorder i32 %13, { 1, 0 } uselistorder i32 %10, { 1, 0 } uselistorder i32 %7, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %2, { 1, 0, 2 } }
1
CompRealVul
hci_conn_put_3925
hci_conn_put
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_7, label LBL_1 LBL_1: %4 = add i64 %0, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp ne i32 %6, 1 %8 = icmp eq i32 %6, 2 %9 = icmp eq i1 %8, false %or.cond = icmp eq i1 %7, %9 br i1 %or.cond, label LBL_5, label LBL_2 LBL_2: %10 = add i64 %0, 32 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 1 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = add i64 %0, 12 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %20) %22 = add i64 %0, 16 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 0 %26 = zext i1 %25 to i64 %spec.select = shl i64 %21, %26 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_6 LBL_4: %27 = call i64 @FUNC(i64 10) store i64 %27, i64* %sv_0.0.reg2mem br label LBL_6 LBL_5: %28 = call i64 @FUNC(i64 10) store i64 %28, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %29 = add i64 %0, 36 %30 = call i64 @FUNC(i64 %29) %31 = add i64 %0, 24 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36, i64 %29, i64 %sv_0.0.reload) store i64 %37, 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 %0, { 3, 2, 0, 1, 5, 4, 6, 7 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64)* @msecs_to_jiffies, { 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
0
CompRealVul
qvirtio_pci_config_readw_1201
qvirtio_pci_config_readw
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4, i64 %arg2) %6 = trunc i64 %5 to i32 %sext = mul i32 %6, 65536 %7 = ashr exact i32 %sext, 16 %8 = call i64 @FUNC(i64 %0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i32 %7, i32* %sv_0.0.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = urem i32 %7, 65536 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %sext2 = mul i32 %14, 65536 %15 = ashr exact i32 %sext2, 16 store i32 %15, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %16 = urem i32 %sv_0.0.reload, 65536 %17 = zext i32 %16 to i64 ret i64 %17 uselistorder i32 %7, { 1, 0 } }
0
CompRealVul
nid_cb_8519
nid_cb
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa4.reg2mem = alloca i32 %storemerge6.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %rdx = alloca i64, align 8 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 100 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_12 LBL_1: %5 = trunc i64 %arg2 to i32 %6 = icmp slt i32 %5, 20 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_12 LBL_2: %7 = ptrtoint i64* %sv_2 to i64 %sext = mul i64 %arg2, 4294967296 %8 = inttoptr i64 %arg1 to i64* %9 = call i64* @memcpy(i64* nonnull %sv_1, i64* %8, i32 %5) %10 = ashr exact i64 %sext, 32 %11 = add nsw i64 %10, -48 %12 = add i64 %11, %7 %13 = inttoptr i64 %12 to i8* store i8 0, i8* %13, align 1 %14 = call i64 @FUNC(i64* nonnull %sv_1) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, -1 %17 = icmp eq i1 %16, false store i32 %15, i32* %sv_0.0.reg2mem br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64* nonnull %sv_1) %19 = trunc i64 %18 to i32 store i32 %19, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %20 = icmp eq i32 %sv_0.0.reload, -1 %21 = icmp eq i1 %20, false store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = call i64 @FUNC(i64* nonnull %sv_1) %23 = trunc i64 %22 to i32 store i32 %23, i32* %sv_0.1.reg2mem br label LBL_6 LBL_6: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %24 = icmp eq i32 %sv_0.1.reload, -1 %25 = icmp eq i1 %24, false store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_7, label LBL_12 LBL_7: %26 = ptrtoint i64* %arg3 to i64 %27 = bitcast i64* %rdx to i32* %28 = load i32, i32* %27, align 8 %29 = sext i32 %28 to i64 %30 = icmp eq i32 %28, 0 %.pre = add i64 %26, 4 store i64 0, i64* %storemerge6.reg2mem store i32 1, i32* %.lcssa4.reg2mem br i1 %30, label LBL_11, label LBL_8 LBL_8: %storemerge6.reload = load i64, i64* %storemerge6.reg2mem %31 = mul i64 %storemerge6.reload, 4 %32 = add i64 %31, %.pre %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %sv_0.1.reload, %34 %36 = icmp eq i1 %35, false store i64 0, i64* %rax.0.reg2mem br i1 %36, label LBL_9, label LBL_12 LBL_9: %37 = add nuw i64 %storemerge6.reload, 1 %38 = icmp ult i64 %37, %29 store i64 %37, i64* %storemerge6.reg2mem br i1 %38, label LBL_8, label LBL_9.LBL_11_crit_edge LBL_10: %phitmp = add i32 %28, 1 store i32 %phitmp, i32* %.lcssa4.reg2mem br label LBL_11 LBL_11: %.lcssa4.reload = load i32, i32* %.lcssa4.reg2mem %39 = bitcast i64* %arg3 to i32* store i32 %.lcssa4.reload, i32* %39, align 4 %40 = mul i64 %29, 4 %41 = add i64 %40, %.pre %42 = inttoptr i64 %41 to i32* store i32 %sv_0.1.reload, i32* %42, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.1.reload, { 2, 1, 0 } uselistorder i64* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i32* %.lcssa4.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder label LBL_12, { 4, 0, 1, 2, 3 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
CompRealVul
brcmf_set_mpc_9539
brcmf_set_mpc
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_4, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = trunc i64 %6 to i32 %8 = ptrtoint i32* %arg1 to i64 %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 %7) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)) store i64 %12, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %13 = and i64 %6, 4294967295 %14 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 %13) store i64 %14, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 4294967295, { 1, 0, 2 } }
0
CompRealVul
dns_parse_callback_11360
dns_parse_callback
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdx = alloca i64, align 8 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = trunc i64 %arg2 to i32 %sext3 = mul i64 %arg4, 4294967296 %3 = ashr exact i64 %sext3, 32 %4 = icmp eq i32 %2, 28 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = icmp sgt i32 %2, 28 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_10, label LBL_2 LBL_2: store i64 0, i64* %rax.0.reg2mem switch i32 %2, label LBL_10 [ i32 1, label LBL_3 i32 5, label LBL_7 ] LBL_3: %6 = trunc i64 %3 to i32 %7 = icmp eq i32 %6, 4 store i64 4294967295, i64* %rax.0.reg2mem br i1 %7, label LBL_4, label LBL_10 LBL_4: %8 = add i64 %1, 240 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = sext i32 %10 to i64 %12 = mul nsw i64 %11, 24 %13 = add i64 %1, 4 %14 = add i64 %13, %12 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = load i32, i32* %9, align 4 %17 = add i32 %16, 1 store i32 %17, i32* %9, align 4 %18 = sext i32 %16 to i64 %19 = mul nsw i64 %18, 24 %20 = add i64 %1, 8 %21 = add i64 %20, %19 %22 = bitcast i64* %rdx to i32* %23 = load i32, i32* %22, align 8 %24 = inttoptr i64 %21 to i32* store i32 %23, i32* %24, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %25 = trunc i64 %3 to i32 %26 = icmp eq i32 %25, 16 store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_6, label LBL_10 LBL_6: %27 = add i64 %1, 240 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = sext i32 %29 to i64 %31 = mul nsw i64 %30, 24 %32 = add i64 %31, %1 %33 = inttoptr i64 %32 to i32* store i32 10, i32* %33, align 4 %34 = load i32, i32* %28, align 4 %35 = sext i32 %34 to i64 %36 = mul nsw i64 %35, 24 %37 = add i64 %1, 4 %38 = add i64 %37, %36 %39 = inttoptr i64 %38 to i32* store i32 0, i32* %39, align 4 %40 = load i32, i32* %28, align 4 %41 = add i32 %40, 1 store i32 %41, i32* %28, align 4 %42 = sext i32 %40 to i64 %43 = mul nsw i64 %42, 24 %44 = add i64 %43, %1 %45 = add i64 %44, 8 %46 = add i64 %0, 8 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = inttoptr i64 %45 to i64* store i64 %48, i64* %49, align 8 %50 = add i64 %44, 16 %51 = inttoptr i64 %50 to i64* store i64 %48, i64* %51, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %52 = ptrtoint i64* %arg5 to i64 %53 = add i64 %52, 512 %54 = call i64 @FUNC(i64 %52, i64 %53, i64 %0, i64* nonnull %sv_0, i64 256) %55 = trunc i64 %54 to i32 %56 = icmp slt i32 %55, 1 store i64 0, i64* %rax.0.reg2mem br i1 %56, label LBL_10, label LBL_8 LBL_8: %57 = call i64 @FUNC(i64* nonnull %sv_0) %58 = trunc i64 %57 to i32 %59 = icmp eq i32 %58, 0 store i64 0, i64* %rax.0.reg2mem br i1 %59, label LBL_10, label LBL_9 LBL_9: %60 = add i64 %1, 244 %61 = inttoptr i64 %60 to i8* %62 = bitcast i64* %sv_0 to i8* %63 = call i8* @strcpy(i8* %61, i8* nonnull %62) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %52, { 1, 0 } uselistorder i64 %48, { 1, 0 } uselistorder i32* %28, { 1, 0, 2, 3 } uselistorder i32* %9, { 1, 0, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i32 %2, { 1, 0, 2 } uselistorder i64 %1, { 5, 0, 2, 1, 7, 3, 4, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 6, 3, 8, 2, 9, 7, 1 } uselistorder i64 8, { 1, 2, 0 } uselistorder i32 28, { 1, 0 } uselistorder label LBL_10, { 3, 4, 5, 2, 7, 1, 8, 6, 0 } }
1
CompRealVul
skb_put_8175
skb_put
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = and i64 %arg2, 4294967295 %7 = add i64 %5, %6 store i64 %7, i64* %4, align 8 %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i32 %10, %1 store i32 %11, i32* %9, align 4 %12 = load i64, i64* %4, align 8 %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp ule i64 %12, %15 %17 = icmp ne i1 %16, true %18 = icmp eq i1 %17, false br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = ptrtoint i64* %arg3 to i64 %20 = call i64 @FUNC(i64 %0, i64 %6, i64 %19) unreachable LBL_2: ret i64 %2 uselistorder i64 %6, { 1, 0 } }
0
CompRealVul
ipvideo_decode_block_opcode_0x7_489
ipvideo_decode_block_opcode_0x7
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.17.reg2mem = alloca i32 %storemerge38.reg2mem = alloca i32 %sv_0.06.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge29.reg2mem = alloca i32 %storemerge110.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp sgt i32 %6, 3 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %4, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_11 LBL_2: %12 = ptrtoint i64* %sv_1 to i64 %13 = call i64 @FUNC(i64 %4) %14 = trunc i64 %13 to i8 %15 = call i64 @FUNC(i64 %4) %16 = trunc i64 %15 to i8 %17 = icmp ugt i8 %14, %16 br i1 %17, label LBL_7, label LBL_3 LBL_3: %18 = add i64 %4, 8 %19 = inttoptr i64 %18 to i64* %20 = add i64 %12, -14 %21 = add i64 %4, 16 %22 = inttoptr i64 %21 to i32* store i32 0, i32* %storemerge110.reg2mem br label LBL_4 LBL_4: %storemerge110.reload = load i32, i32* %storemerge110.reg2mem %23 = call i64 @FUNC(i64 %4) %24 = trunc i64 %23 to i32 %25 = urem i32 %24, 256 %26 = or i32 %25, 256 store i32 %26, i32* %storemerge29.reg2mem br label LBL_5 LBL_5: %storemerge29.reload = load i32, i32* %storemerge29.reg2mem %27 = urem i32 %storemerge29.reload, 2 %28 = load i64, i64* %19, align 8 %29 = add i64 %28, 1 store i64 %29, i64* %19, align 8 %30 = zext i32 %27 to i64 %31 = or i64 %20, %30 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = inttoptr i64 %28 to i8* store i8 %33, i8* %34, align 1 %35 = udiv i32 %storemerge29.reload, 2 %36 = and i32 %storemerge29.reload, -2 %37 = icmp eq i32 %36, 2 %38 = icmp eq i1 %37, false store i32 %35, i32* %storemerge29.reg2mem br i1 %38, label LBL_5, label LBL_6 LBL_6: %39 = load i64, i64* %19, align 8 %40 = load i32, i32* %22, align 4 %41 = sext i32 %40 to i64 %42 = add i64 %39, %41 store i64 %42, i64* %19, align 8 %43 = add nuw nsw i32 %storemerge110.reload, 1 %exitcond = icmp eq i32 %43, 8 store i32 %43, i32* %storemerge110.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_11, label LBL_4 LBL_7: %44 = call i64 @FUNC(i64 %4) %45 = trunc i64 %44 to i32 %46 = add i64 %4, 8 %47 = inttoptr i64 %46 to i64* %48 = add i64 %4, 20 %49 = inttoptr i64 %48 to i32* %50 = add i64 %12, -14 store i32 0, i32* %storemerge38.reg2mem store i32 %45, i32* %sv_0.17.reg2mem br label LBL_10 LBL_8: %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %51 = urem i32 %sv_0.06.reload, 2 %52 = load i64, i64* %47, align 8 %53 = or i64 %indvars.iv.reload, 1 %54 = load i32, i32* %49, align 4 %55 = trunc i64 %53 to i32 %56 = add i32 %54, %55 %57 = sext i32 %56 to i64 %58 = add i64 %52, %57 %59 = zext i32 %51 to i64 %60 = or i64 %50, %59 %61 = inttoptr i64 %60 to i8* %62 = load i8, i8* %61, align 1 %63 = inttoptr i64 %58 to i8* store i8 %62, i8* %63, align 1 %64 = load i64, i64* %47, align 8 %65 = load i32, i32* %49, align 4 %66 = trunc i64 %indvars.iv.reload to i32 %67 = add i32 %65, %66 %68 = sext i32 %67 to i64 %69 = add i64 %64, %68 %70 = inttoptr i64 %69 to i8* store i8 %62, i8* %70, align 1 %71 = load i64, i64* %47, align 8 %72 = add i64 %71, %53 %73 = inttoptr i64 %72 to i8* store i8 %62, i8* %73, align 1 %74 = load i64, i64* %47, align 8 %75 = add i64 %74, %indvars.iv.reload %76 = inttoptr i64 %75 to i8* store i8 %62, i8* %76, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 2 %77 = udiv i32 %sv_0.06.reload, 2 %78 = icmp ult i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %77, i32* %sv_0.06.reg2mem br i1 %78, label LBL_8, label LBL_9 LBL_9: %79 = load i64, i64* %47, align 8 %80 = load i32, i32* %49, align 4 %81 = mul i32 %80, 2 %82 = sext i32 %81 to i64 %83 = add i64 %79, %82 store i64 %83, i64* %47, align 8 %84 = add nuw nsw i32 %storemerge38.reload, 2 %85 = icmp ult i32 %84, 8 store i32 %84, i32* %storemerge38.reg2mem store i32 %77, i32* %sv_0.17.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %85, label LBL_10, label LBL_11 LBL_10: %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem %storemerge38.reload = load i32, i32* %storemerge38.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i32 %sv_0.17.reload, i32* %sv_0.06.reg2mem br label LBL_8 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %indvars.iv.reload, { 0, 3, 1, 2 } uselistorder i32 %sv_0.06.reload, { 1, 0 } uselistorder i64* %47, { 1, 0, 2, 3, 4, 5 } uselistorder i64 %28, { 1, 0 } uselistorder i32 %storemerge29.reload, { 2, 1, 0 } uselistorder i64* %19, { 2, 3, 1, 0 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %4, { 4, 3, 5, 2, 1, 0, 7, 6, 8, 9 } uselistorder i32* %storemerge110.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge29.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.06.reg2mem, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i32 2, { 6, 0, 2, 3, 1, 4, 5 } uselistorder i32 256, { 1, 0 } uselistorder i64 (i64)* @bytestream2_get_byte, { 2, 1, 0 } uselistorder label LBL_11, { 1, 0, 2 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
get_array_17944
get_array
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i8* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = load i64, i64* @gv_0, align 8 %3 = inttoptr i64 %2 to i64* %4 = call i32 @pthread_mutex_lock(i64* %3) %5 = load i64, i64* @gv_1, align 8 %6 = call i64 @FUNC(i64 %5, i64 %1) %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 0) br label LBL_2 LBL_2: %9 = load i64, i64* @gv_0, align 8 %10 = inttoptr i64 %9 to i64* %11 = call i32 @pthread_mutex_unlock(i64* %10) %12 = icmp eq i64 %1, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = inttoptr i64 %1 to i64* call void @free(i64* %13) br label LBL_4 LBL_4: ret i64 %6 uselistorder i64 %1, { 1, 0, 2 } }
1
CompRealVul
unix_close_14783
unix_close
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = load i64, i64* %0 %7 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %6, i64 %2, i64 %1) %8 = trunc i64 %3 to i32 %9 = icmp eq i32 %8, -1 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i32 @close(i32 %8) store i32 -1, i32* %arg1, align 4 br label LBL_2 LBL_2: ret i64 0 uselistorder i32 %8, { 1, 0 } uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 } uselistorder i32 -1, { 1, 0 } }
1
CompRealVul
is_zero_cluster_2443
is_zero_cluster
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %3 = trunc i64 %1 to i32 %4 = call i64 @FUNC(i64 %2, i64 0, i64 %arg2, i32 %3, i64* nonnull %sv_0, i64* nonnull %sv_1) %5 = icmp sgt i64 %4, -1 %6 = urem i64 %4, 2 %7 = icmp ne i64 %6, 0 %not.or.cond = icmp eq i1 %5, %7 %storemerge = zext i1 %not.or.cond to i64 ret i64 %storemerge }
0
CompRealVul
ff_release_unused_pictures_16358
ff_release_unused_pictures
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.reg2mem = alloca i32 %.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 br i1 %4, label LBL_9, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = trunc i64 %arg2 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false %11 = add i64 %5, 16 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_2 LBL_2: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %13 = load i64, i64* %7, align 8 %14 = mul nsw i64 %.reload, 24 %15 = add i64 %13, %14 %16 = add i64 %15, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_8, label LBL_3 LBL_3: %20 = inttoptr i64 %15 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_8, label LBL_4 LBL_4: %24 = add i64 %15, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, %5 %28 = icmp eq i1 %27, false br i1 %28, label LBL_8, label LBL_5 LBL_5: br i1 %10, label LBL_7, label LBL_6 LBL_6: %29 = load i64, i64* %12, align 8 %30 = icmp eq i64 %15, %29 br i1 %30, label LBL_8, label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 %5, i64 %15) br label LBL_8 LBL_8: %32 = add i32 %storemerge2.reload, 1 %33 = sext i32 %32 to i64 %34 = icmp sgt i64 %3, %33 store i64 %33, i64* %.reg2mem store i32 %32, i32* %storemerge2.reg2mem br i1 %34, label LBL_2, label LBL_9 LBL_9: ret i64 %3 uselistorder i64 %5, { 1, 0, 3, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64 16, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 0, { 3, 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
ide_init1_15946
ide_init1
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = ashr exact i64 %sext, 29 %4 = sub nsw i64 %3, %2 %5 = mul i64 %4, 8 %6 = add i64 %5, %0 %7 = add i64 %6, 24 %8 = inttoptr i64 %7 to i64* store i64 %0, i64* %8, align 8 %9 = add i64 %6, 20 %10 = inttoptr i64 %9 to i32* store i32 %1, i32* %10, align 4 %11 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %12 = add i32 %11, 1 store i32 %12, i32* bitcast (i64* @gv_0 to i32*), align 8 %13 = add i64 %6, 16 %14 = inttoptr i64 %13 to i32* store i32 %11, i32* %14, align 4 %15 = call i64 @FUNC(i64 2048, i64 8196) %16 = add i64 %6, 8 %17 = inttoptr i64 %16 to i64* store i64 %15, i64* %17, align 8 %18 = add i64 %6, 40 %19 = inttoptr i64 %18 to i64* store i64 8196, i64* %19, align 8 %20 = inttoptr i64 %6 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21, i64 512) %23 = add i64 %6, 48 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 %25 = load i64, i64* @gv_1, align 8 %26 = call i64 @FUNC(i64 %25, i64 4198819, i64 %6) %27 = add i64 %6, 32 %28 = inttoptr i64 %27 to i64* store i64 %26, i64* %28, align 8 ret i64 %26 uselistorder i64 %26, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64 8196, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 32, { 1, 0 } }
1
CompRealVul
in_asm_used_var_warning_killer_16553
in_asm_used_var_warning_killer
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %1 = load i32, i32* @gv_1, align 4 %2 = add i32 %1, %0 %3 = load i32, i32* @gv_2, align 4 %4 = add i32 %2, %3 %5 = load i32, i32* @gv_3, align 4 %6 = add i32 %4, %5 %7 = load i32, i32* @gv_4, align 4 %8 = add i32 %6, %7 %9 = load i32, i32* @gv_5, align 4 %10 = add i32 %8, %9 %11 = load i32, i32* @gv_6, align 4 %12 = add i32 %10, %11 %13 = load i32, i32* @gv_7, align 4 %14 = add i32 %12, %13 %15 = load i32, i32* @gv_8, align 4 %16 = add i32 %14, %15 %17 = load i32, i32* @gv_9, align 4 %18 = add i32 %16, %17 %19 = load i32, i32* @gv_10, align 4 %20 = add i32 %18, %19 %21 = load i32, i32* @gv_11, align 4 %22 = add i32 %20, %21 %23 = load i32, i32* @gv_12, align 4 %24 = add i32 %22, %23 %25 = load i32, i32* @gv_13, align 4 %26 = add i32 %24, %25 %27 = load i32, i32* @gv_14, align 4 %28 = add i32 %26, %27 %29 = load i32, i32* @gv_15, align 4 %30 = add i32 %28, %29 %31 = load i32, i32* @gv_16, align 4 %32 = add i32 %30, %31 %33 = load i32, i32* @gv_17, align 4 %34 = add i32 %32, %33 %35 = load i32, i32* @gv_18, align 4 %36 = add i32 %34, %35 %37 = load i32, i32* @gv_19, align 4 %38 = add i32 %36, %37 %39 = load i32, i32* @gv_20, align 4 %40 = add i32 %38, %39 %41 = load i32, i32* @gv_21, align 4 %42 = add i32 %40, %41 %43 = load i32, i32* @gv_22, align 4 %44 = add i32 %42, %43 %45 = load i32, i32* @gv_23, align 4 %46 = add i32 %44, %45 %47 = load i32, i32* @gv_24, align 4 %48 = add i32 %46, %47 %49 = load i32, i32* @gv_25, align 4 %50 = add i32 %48, %49 %51 = load i32, i32* @gv_26, align 4 %52 = add i32 %50, %51 %53 = load i32, i32* @gv_27, align 4 %54 = add i32 %52, %53 %55 = load i32, i32* @gv_28, align 4 %56 = add i32 %54, %55 %57 = load i32, i32* @gv_29, align 4 %58 = add i32 %56, %57 %59 = load i32, i32* @gv_30, align 4 %60 = add i32 %58, %59 %61 = load i32, i32* @gv_31, align 4 %62 = add i32 %60, %61 %63 = load i32, i32* @gv_32, align 4 %64 = add i32 %62, %63 %65 = load i32, i32* inttoptr (i64 4210852 to i32*), align 4 %66 = add i32 %64, %65 %67 = zext i32 %66 to i64 ret i64 %67 }
1
CompRealVul
tcf_action_init_1_17640
tcf_action_init_1
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64* %sv_1.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %3 = icmp eq i64* %arg4, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = call i64 @FUNC(i64* nonnull %sv_3, i64 10, i64 %5, i64 0) %7 = trunc i64 %6 to i32 %8 = and i64 %6, 4294967295 %9 = inttoptr i64 %8 to i64* %10 = icmp slt i32 %7, 0 store i64* %9, i64** %sv_0.2.reg2mem br i1 %10, label LBL_16, label LBL_2 LBL_2: %11 = load i64, i64* %sv_3, align 8 %12 = icmp eq i64 %11, 0 store i64* inttoptr (i32 -22 to i64*), i64** %sv_0.2.reg2mem br i1 %12, label LBL_16, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64* nonnull %sv_2, i64 %11, i64 16) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 16 store i64* inttoptr (i32 -22 to i64*), i64** %sv_0.2.reg2mem br i1 %15, label LBL_5, label LBL_16 LBL_4: %16 = ptrtoint i64* %arg4 to i64 %17 = call i64 @FUNC(i64* nonnull %sv_2, i64 %16, i64 16) %18 = trunc i64 %17 to i32 %19 = icmp sgt i32 %18, 15 store i64* inttoptr (i32 -22 to i64*), i64** %sv_0.2.reg2mem br i1 %19, label LBL_16, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64* nonnull %sv_2) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = call i64 @FUNC() %24 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2) %25 = call i64 @FUNC() %26 = call i64 @FUNC(i64* nonnull %sv_2) %27 = icmp eq i64 %26, 0 store i64* inttoptr (i32 -11 to i64*), i64** %sv_0.1.reg2mem store i64 %26, i64* %sv_1.0.reg2mem store i64* inttoptr (i32 -2 to i64*), i64** %sv_0.2.reg2mem br i1 %27, label LBL_16, label LBL_15 LBL_7: %28 = ptrtoint i64* %arg1 to i64 %storemerge4.in = and i64 %28, 4294967295 %storemerge4 = inttoptr i64 %storemerge4.in to i64* %29 = trunc i64 %28 to i32 %30 = icmp slt i32 %29, 0 store i64* %storemerge4, i64** %sv_0.1.reg2mem store i64 %20, i64* %sv_1.0.reg2mem br i1 %30, label LBL_15, label LBL_8 LBL_8: %31 = icmp eq i64 %1, 0 store i64* %storemerge4, i64** %sv_0.0.reg2mem br i1 %31, label LBL_13, label LBL_9 LBL_9: %sext = mul i64 %arg6, 4294967296 %32 = ashr exact i64 %sext, 32 %33 = call i64 @FUNC(i64 %1) %34 = trunc i64 %33 to i32 %35 = icmp slt i32 %34, 9 br i1 %35, label LBL_11, label LBL_10 LBL_10: %36 = and i64 %32, 4294967295 %37 = call i64 @FUNC(i64 %2, i64 %36) store i64* inttoptr (i32 -22 to i64*), i64** %sv_0.1.reg2mem store i64 %20, i64* %sv_1.0.reg2mem br label LBL_15 LBL_11: %38 = call i64 @FUNC(i64 %2, i64* nonnull %sv_3) %39 = trunc i64 %38 to i32 %40 = and i64 %38, 4294967295 %41 = inttoptr i64 %40 to i64* %42 = icmp slt i32 %39, 0 %43 = icmp eq i1 %42, false store i64* %41, i64** %sv_0.0.reg2mem br i1 %43, label LBL_13, label LBL_12 LBL_12: %44 = and i64 %32, 4294967295 %45 = call i64 @FUNC(i64 %2, i64 %44) store i64* %41, i64** %sv_0.1.reg2mem store i64 %20, i64* %sv_1.0.reg2mem br label LBL_15 LBL_13: %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem %46 = ptrtoint i64* %sv_0.0.reload to i64 %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 1 br i1 %48, label LBL_17, label LBL_14 LBL_14: %49 = add i64 %20, 8 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = call i64 @FUNC(i64 %51) br label LBL_17 LBL_15: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem %53 = add i64 %sv_1.0.reload, 8 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = call i64 @FUNC(i64 %55) store i64* %sv_0.1.reload, i64** %sv_0.2.reg2mem br label LBL_16 LBL_16: %sv_0.2.reload = load i64*, i64** %sv_0.2.reg2mem %57 = ptrtoint i64* %sv_0.2.reload to i64 %58 = and i64 %57, 4294967295 %59 = call i64 @FUNC(i64 %58) store i64 %59, i64* %storemerge.reg2mem br label LBL_17 LBL_17: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %32, { 1, 0 } uselistorder i64* %storemerge4, { 1, 0 } uselistorder i64 %20, { 3, 1, 0, 2, 4 } uselistorder i64* %sv_3, { 0, 2, 1 } uselistorder i64** %sv_0.1.reg2mem, { 0, 3, 2, 4, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 2, 4, 1 } uselistorder i64** %sv_0.2.reg2mem, { 0, 5, 1, 6, 2, 3, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @module_put, { 1, 0 } uselistorder i64 (i64, i64)* @tcf_hash_release, { 1, 0 } uselistorder i64 (i64*)* @tc_lookup_action_n, { 1, 0 } uselistorder i64* inttoptr (i32 -22 to i64*), { 3, 2, 0, 1 } uselistorder i64 4294967295, { 4, 1, 2, 3, 0, 5 } uselistorder i64* %arg4, { 1, 0 } uselistorder label LBL_17, { 2, 1, 0 } uselistorder label LBL_16, { 5, 0, 1, 4, 2, 3 } uselistorder label LBL_15, { 2, 3, 1, 0 } }
1
CompRealVul
qemu_set_log_14388
qemu_set_log
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 store i32 %0, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_7, label LBL_1 LBL_1: %2 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %3 = icmp eq %_IO_FILE* %2, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_7, label LBL_2 LBL_2: %5 = load i32, i32* @gv_2, align 4 %6 = icmp eq i32 %5, 0 %7 = load [12 x i8]*, [12 x i8]** @gv_3, align 8 %8 = getelementptr inbounds [12 x i8], [12 x i8]* %7, i64 0, i64 0 %9 = select i1 %6, i8* bitcast (i64* @gv_4 to i8*), i8* bitcast (i8** @gv_5 to i8*) %10 = call %_IO_FILE* @fopen(i8* %8, i8* %9) store %_IO_FILE* %10, %_IO_FILE** @gv_1, align 8 %11 = icmp eq %_IO_FILE* %10, null %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = load [12 x i8]*, [12 x i8]** @gv_3, align 8 %14 = getelementptr inbounds [12 x i8], [12 x i8]* %13, i64 0, i64 0 call void @perror(i8* %14) call void @_exit(i32 1) unreachable LBL_4: %15 = trunc i64 %arg2 to i8 %16 = icmp eq i8 %15, 0 br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = call i32 @setvbuf(%_IO_FILE* %10, i8* bitcast (i8** @gv_6 to i8*), i32 1, i32 4096) br label LBL_7 LBL_6: %18 = call i32 @setvbuf(%_IO_FILE* %10, i8* null, i32 1, i32 0) store i32 1, i32* @gv_2, align 4 br label LBL_7 LBL_7: %19 = load i32, i32* @gv_0, align 4 %20 = zext i32 %19 to i64 %21 = icmp eq i32 %19, 0 %22 = icmp eq i1 %21, false store i64 %20, i64* %rax.0.reg2mem br i1 %22, label LBL_10, label LBL_8 LBL_8: %23 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %24 = ptrtoint %_IO_FILE* %23 to i64 %25 = icmp eq %_IO_FILE* %23, null store i64 %24, i64* %rax.0.reg2mem br i1 %25, label LBL_10, label LBL_9 LBL_9: %26 = call i32 @fclose(%_IO_FILE* nonnull %23) %27 = sext i32 %26 to i64 store %_IO_FILE* null, %_IO_FILE** @gv_1, align 8 store i64 %27, 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 (%_IO_FILE*, i8*, i32, i32)* @setvbuf, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i32* @gv_2, { 1, 0 } uselistorder i32 0, { 3, 0, 4, 5, 1, 2 } uselistorder i32* @gv_0, { 1, 0 } }
1
CompRealVul
decode_channel_residues_16798
decode_channel_residues
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge21.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge19.reg2mem = alloca i32 %.pre-phi33.reg2mem = alloca i32* %.pre-phi35.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge20.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.ph.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %sext2 = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext2, 32 %2 = add i64 %0, 56 %3 = ashr exact i64 %sext, 30 %4 = add i64 %3, %0 %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %5 to i32 %7 = inttoptr i64 %4 to i32* store i32 %6, i32* %7, align 4 %8 = add i64 %3, %2 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_1 LBL_1: %12 = and i64 %1, 4294967295 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = add i64 %16, %3 %18 = and i64 %13, 4294967295 %19 = call i64 @FUNC(i64 %2, i64 %18) %20 = trunc i64 %19 to i32 %21 = inttoptr i64 %17 to i32* store i32 %20, i32* %21, align 4 %22 = load i64, i64* %15, align 8 %23 = add i64 %22, %3 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_3, label LBL_2 LBL_2: store i32 0, i32* %9, align 4 br label LBL_3 LBL_3: %27 = add i64 %0, 48 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp slt i32 %29, 0 %31 = zext i1 %30 to i32 %32 = add i32 %29, %31 %33 = ashr i32 %32, 1 %34 = add i64 %0, 16 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = add i64 %36, %3 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = sub i32 %33, %39 %41 = xor i32 %33, %39 %42 = xor i32 %40, %33 %43 = and i32 %42, %41 %44 = icmp slt i32 %43, 0 %45 = icmp slt i32 %40, 0 %46 = icmp eq i1 %45, %44 %47 = select i1 %46, i32 %33, i32 %39 store i32 %47, i32* %38, align 4 br label LBL_6 LBL_4: %48 = add i64 %0, 16 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = add i64 %50, %3 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_6, label LBL_5 LBL_5: store i32 1, i32* %9, align 4 br label LBL_6 LBL_6: %55 = add i64 %0, 40 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = icmp eq i32 %57, 0 store i32 0, i32* %sv_1.0.ph.reg2mem br i1 %58, label LBL_11, label LBL_7 LBL_7: %59 = add i64 %0, 32 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = zext i32 %61 to i64 %63 = call i64 @FUNC(i64 %2, i64 %62) %64 = add i64 %0, 36 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = add i64 %0, 24 %68 = inttoptr i64 %67 to i64* %69 = load i64, i64* %68, align 8 %70 = add i64 %69, %3 %71 = add i32 %66, 1 %72 = urem i32 %71, 32 %73 = icmp eq i32 %72, 0 %74 = trunc i64 %63 to i32 %75 = shl i32 %74, %72 %76 = zext i32 %75 to i64 %storemerge = select i1 %73, i64 %63, i64 %76 %77 = trunc i64 %storemerge to i32 %78 = inttoptr i64 %70 to i32* store i32 %77, i32* %78, align 4 %.pr = load i32, i32* %56, align 4 %phitmp = icmp eq i32 %.pr, 0 store i32 0, i32* %sv_1.0.ph.reg2mem br i1 %phitmp, label LBL_11, label LBL_8 LBL_8: %79 = add i64 %0, 44 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = icmp eq i32 %81, 0 %83 = load i32, i32* %60, align 4 br i1 %82, label LBL_10, label LBL_9 LBL_9: %84 = add i32 %83, 1 %85 = add i64 %0, 64 %86 = inttoptr i64 %85 to i64* %87 = load i64, i64* %86, align 8 %88 = ashr exact i64 %sext, 29 %89 = add i64 %87, %88 %90 = inttoptr i64 %89 to i64* %91 = load i64, i64* %90, align 8 %92 = zext i32 %84 to i64 %93 = call i64 @FUNC(i64 %2, i64 %92) %94 = trunc i64 %93 to i32 %95 = inttoptr i64 %91 to i32* store i32 %94, i32* %95, align 4 store i32 1, i32* %sv_1.0.ph.reg2mem br label LBL_11 LBL_10: %96 = add i64 %0, 64 %97 = inttoptr i64 %96 to i64* %98 = load i64, i64* %97, align 8 %99 = ashr exact i64 %sext, 29 %100 = add i64 %98, %99 %101 = inttoptr i64 %100 to i64* %102 = load i64, i64* %101, align 8 %103 = zext i32 %83 to i64 %104 = call i64 @FUNC(i64 %2, i64 %103) %105 = trunc i64 %104 to i32 %106 = inttoptr i64 %102 to i32* store i32 %105, i32* %106, align 4 store i32 1, i32* %sv_1.0.ph.reg2mem br label LBL_11 LBL_11: %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %107 = trunc i64 %1 to i32 %108 = icmp slt i32 %sv_1.0.ph.reload, %107 store i64 0, i64* %storemerge21.reg2mem br i1 %108, label LBL_12, label LBL_23 LBL_12: %109 = add i64 %0, 24 %110 = inttoptr i64 %109 to i64* %111 = add i64 %0, 36 %112 = inttoptr i64 %111 to i32* %113 = add i64 %0, 64 %114 = inttoptr i64 %113 to i64* %115 = ashr exact i64 %sext, 29 %116 = zext i32 %sv_1.0.ph.reload to i64 store i64 %116, i64* %indvars.iv.reg2mem br label LBL_14.preheader LBL_13: %117 = add i32 %sv_0.0.reload, 1 %118 = call i64 @FUNC(i64 %2) %119 = trunc i64 %118 to i32 %120 = icmp eq i32 %119, 0 %121 = icmp slt i32 %119, 0 %122 = icmp eq i1 %121, false %123 = icmp eq i1 %120, false %124 = icmp eq i1 %122, %123 store i32 %117, i32* %sv_0.0.reg2mem store i64 4294967295, i64* %storemerge21.reg2mem br i1 %124, label LBL_14, label LBL_23 LBL_14: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %125 = call i64 @FUNC(i64 %2) %126 = trunc i64 %125 to i32 %127 = icmp eq i32 %126, 0 %128 = icmp eq i1 %127, false br i1 %128, label LBL_13, label LBL_15 LBL_15: %129 = icmp slt i32 %sv_0.0.reload, 32 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %129, label LBL_17, label LBL_16 LBL_16: %130 = call i64 @FUNC(i64 %2, i64 5) %131 = add i64 %130, 1 %132 = and i64 %131, 4294967295 %133 = call i64 @FUNC(i64 %2, i64 %132) %134 = trunc i64 %133 to i32 %135 = add i32 %sv_0.0.reload, %134 store i32 %135, i32* %sv_0.1.reg2mem br label LBL_17 LBL_17: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %136 = load i64, i64* %110, align 8 %137 = add i64 %136, %3 %138 = inttoptr i64 %137 to i32* %139 = load i32, i32* %138, align 4 %140 = zext i32 %139 to i64 %141 = load i32, i32* %112, align 4 %142 = urem i32 %141, 32 %143 = shl i32 1, %142 %storemerge13 = zext i32 %143 to i64 %144 = add nuw nsw i64 %storemerge13, %140 %145 = and i64 %144, 4294967295 %146 = add i32 %141, 1 %147 = urem i32 %146, 32 %148 = icmp eq i32 %147, 0 %149 = trunc i64 %144 to i32 %150 = lshr i32 %149, %147 %151 = zext i32 %150 to i64 %rdx.0 = select i1 %148, i64 %145, i64 %151 %152 = trunc i64 %rdx.0 to i32 %153 = icmp ult i32 %152, 2 store i32 %139, i32* %.reg2mem store i32 %142, i32* %.pre-phi35.reg2mem store i32* %138, i32** %.pre-phi33.reg2mem store i32 %sv_0.1.reload, i32* %storemerge19.reg2mem br i1 %153, label LBL_21, label LBL_18 LBL_18: %154 = call i64 @FUNC(i64 %rdx.0) %155 = trunc i64 %154 to i32 %156 = icmp eq i32 %155, 0 store i64 0, i64* %storemerge20.reg2mem br i1 %156, label LBL_20, label LBL_19 LBL_19: %157 = and i64 %154, 4294967295 %158 = call i64 @FUNC(i64 %2, i64 %157) store i64 %158, i64* %storemerge20.reg2mem br label LBL_20 LBL_20: %storemerge20.reload = load i64, i64* %storemerge20.reg2mem %159 = trunc i64 %storemerge20.reload to i32 %160 = urem i32 %155, 32 %161 = shl i32 %sv_0.1.reload, %160 %162 = add i32 %161, %159 %.pre = load i64, i64* %110, align 8 %.pre30 = load i32, i32* %112, align 4 %.pre31 = add i64 %.pre, %3 %.pre32 = inttoptr i64 %.pre31 to i32* %.pre34 = urem i32 %.pre30, 32 %.pre39 = load i32, i32* %.pre32, align 4 store i32 %.pre39, i32* %.reg2mem store i32 %.pre34, i32* %.pre-phi35.reg2mem store i32* %.pre32, i32** %.pre-phi33.reg2mem store i32 %162, i32* %storemerge19.reg2mem br label LBL_21 LBL_21: %storemerge19.reload = load i32, i32* %storemerge19.reg2mem %.pre-phi33.reload = load i32*, i32** %.pre-phi33.reg2mem %.pre-phi35.reload = load i32, i32* %.pre-phi35.reg2mem %.reload = load i32, i32* %.reg2mem %163 = add i32 %.reload, %storemerge19.reload %164 = lshr i32 %.reload, %.pre-phi35.reload %165 = sub i32 %163, %164 store i32 %165, i32* %.pre-phi33.reload, align 4 %166 = urem i32 %storemerge19.reload, 2 %167 = icmp ne i32 %166, 0 %168 = ashr i32 %storemerge19.reload, 1 %169 = sext i1 %167 to i32 %storemerge25 = xor i32 %168, %169 %170 = load i64, i64* %114, align 8 %171 = add i64 %170, %115 %172 = inttoptr i64 %171 to i64* %173 = load i64, i64* %172, align 8 %174 = mul i64 %indvars.iv.reload, 4 %175 = add i64 %173, %174 %176 = inttoptr i64 %175 to i32* store i32 %storemerge25, i32* %176, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %177 = icmp slt i64 %indvars.iv.next, %1 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge21.reg2mem br i1 %177, label LBL_14.preheader, label LBL_23 LBL_22: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_14 LBL_23: %storemerge21.reload = load i64, i64* %storemerge21.reg2mem ret i64 %storemerge21.reload uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i32 %.reload, { 1, 0 } uselistorder i32 %storemerge19.reload, { 0, 2, 1 } uselistorder i64 %rdx.0, { 1, 0 } uselistorder i32 %147, { 1, 0 } uselistorder i32 %141, { 1, 0 } uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 3, 0, 2, 1 } uselistorder i32 %119, { 1, 0 } uselistorder i32 %sv_1.0.ph.reload, { 1, 0 } uselistorder i32 %83, { 1, 0 } uselistorder i32 %72, { 1, 0 } uselistorder i32 %40, { 1, 0 } uselistorder i32 %39, { 1, 0, 2 } uselistorder i32 %33, { 2, 0, 1, 3 } uselistorder i32* %9, { 1, 0, 2 } uselistorder i64 %2, { 7, 5, 6, 9, 8, 4, 3, 2, 1, 0, 10 } uselistorder i64 %1, { 0, 2, 1 } uselistorder i64 %sext, { 2, 3, 1, 0 } uselistorder i64 %0, { 6, 7, 8, 11, 10, 9, 5, 4, 13, 12, 14, 2, 1, 3, 0, 15 } uselistorder i32* %sv_1.0.ph.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge20.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 0, 2, 1 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 (i64, i64)* @get_sbits, { 1, 0 } uselistorder i64 29, { 1, 0, 2 } uselistorder i32 32, { 0, 1, 2, 3, 9, 4, 8, 5, 6, 7 } uselistorder i64 (i64, i64)* @get_bits, { 3, 2, 1, 0 } uselistorder i64 4294967295, { 3, 4, 5, 0, 6, 7, 1, 2, 8, 9, 10 } uselistorder i64 (i64)* @get_bits1, { 1, 0 } uselistorder i64 32, { 2, 1, 0 } uselistorder label LBL_14.preheader, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_11, { 1, 0, 2, 3 } }
1
CompRealVul
ff_set_systematic_pal2_3007
ff_set_systematic_pal2
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge4.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = and i64 %1, 4294967295 %trunc = trunc i64 %1 to i32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem store i64 %2, i64* @0, align 8 %3 = trunc i64 %indvars.iv.reload to i32 store i32 %3, i32* %sv_2.0.reg2mem store i32 %3, i32* %sv_1.0.reg2mem store i32 %3, i32* %sv_0.0.reg2mem store i64 4294967274, i64* %storemerge4.reg2mem switch i32 %trunc, label LBL_7 [ i32 0, label LBL_2 i32 1, label LBL_3 i32 2, label LBL_4 i32 3, label LBL_5 i32 4, label LBL_6 ] LBL_2: %4 = udiv i32 %3, 32 %5 = mul i32 %4, 36 %6 = udiv i32 %3, 4 %7 = urem i32 %6, 8 %8 = mul nuw nsw i32 %7, 36 %9 = urem i32 %3, 4 %narrow3 = mul nuw nsw i32 %9, 85 store i32 %5, i32* %sv_2.0.reg2mem store i32 %8, i32* %sv_1.0.reg2mem store i32 %narrow3, i32* %sv_0.0.reg2mem br label LBL_6 LBL_3: %10 = udiv i32 %3, 64 %11 = mul i32 %10, 85 %12 = udiv i32 %3, 8 %13 = urem i32 %12, 8 %14 = mul nuw nsw i32 %13, 36 %15 = urem i32 %3, 8 %16 = mul nuw nsw i32 %15, 36 store i32 %16, i32* %sv_2.0.reg2mem store i32 %14, i32* %sv_1.0.reg2mem store i32 %11, i32* %sv_0.0.reg2mem br label LBL_6 LBL_4: %17 = udiv i32 %3, 8 %18 = mul i32 %17, 255 %19 = udiv i32 %3, 2 %20 = urem i32 %19, 4 %narrow2 = mul nuw nsw i32 %20, 85 %21 = urem i32 %3, 2 %22 = mul nuw nsw i32 %21, 255 store i32 %18, i32* %sv_2.0.reg2mem store i32 %narrow2, i32* %sv_1.0.reg2mem store i32 %22, i32* %sv_0.0.reg2mem br label LBL_6 LBL_5: %23 = udiv i32 %3, 8 %24 = mul i32 %23, 255 %25 = udiv i32 %3, 2 %26 = urem i32 %25, 4 %narrow = mul nuw nsw i32 %26, 85 %27 = urem i32 %3, 2 %28 = mul nuw nsw i32 %27, 255 store i32 %28, i32* %sv_2.0.reg2mem store i32 %narrow, i32* %sv_1.0.reg2mem store i32 %24, i32* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %29 = mul i32 %sv_1.0.reload, 256 %30 = mul i32 %sv_2.0.reload, 65536 %31 = mul i64 %indvars.iv.reload, 4 %32 = add i64 %31, %0 %33 = add i32 %30, -16777216 %34 = add i32 %33, %sv_0.0.reload %35 = add i32 %34, %29 %36 = inttoptr i64 %32 to i32* store i32 %35, i32* %36, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %37 = icmp ult i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge4.reg2mem br i1 %37, label LBL_1, label LBL_7 LBL_7: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem ret i64 %storemerge4.reload uselistorder i32 %3, { 5, 3, 4, 8, 6, 7, 11, 9, 10, 14, 12, 13, 0, 1, 2 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32 255, { 2, 3, 0, 1 } uselistorder i32 85, { 3, 2, 1, 0 } uselistorder i32 8, { 0, 1, 3, 4, 2, 5 } uselistorder i32 36, { 2, 3, 0, 1 } uselistorder i32 4, { 0, 1, 3, 2, 4 } uselistorder i32 2, { 1, 0, 3, 2, 4 } uselistorder label LBL_6, { 1, 2, 3, 4, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
mem_read_13496
mem_read
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rdi.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 %2 = icmp slt i32 %1, 0 %3 = icmp eq i1 %2, false store i64 %0, i64* %rdi.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([9 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %4 = icmp eq i64* %arg2, null %5 = icmp eq i1 %4, false store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %5, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i32 22, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64* %rdi.1.reg2mem br label LBL_4 LBL_4: %sext = mul i64 %arg3, 4294967296 %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %0, 12 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = sub i32 %8, %11 %13 = sext i32 %12 to i64 %14 = ashr exact i64 %sext, 32 %15 = sub nsw i64 %14, %13 %16 = xor i64 %14, %13 %17 = xor i64 %15, %14 %18 = and i64 %17, %16 %19 = icmp slt i64 %18, 0 %20 = icmp eq i64 %15, 0 %21 = icmp slt i64 %15, 0 %22 = icmp ne i1 %21, %19 %23 = or i1 %20, %22 %24 = select i1 %23, i64 %14, i64 %13 %25 = trunc i64 %24 to i32 %26 = sext i32 %11 to i64 %27 = add i64 %rdi.1.reload, %26 %28 = inttoptr i64 %27 to i64* %29 = call i64* @memcpy(i64* %arg2, i64* %28, i32 %25) %30 = load i32, i32* %10, align 4 %31 = add i32 %30, %25 store i32 %31, i32* %10, align 4 %32 = and i64 %24, 4294967295 ret i64 %32 uselistorder i64 %15, { 1, 2, 0 } uselistorder i64 %14, { 2, 1, 0, 3 } uselistorder i64 %13, { 2, 0, 1 } uselistorder i64 %0, { 2, 1, 0 } uselistorder [4 x i8]* @gv_3, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder [9 x i8]* @gv_0, { 1, 0 } }
0
CompRealVul
clear_host_macros_r_18223
clear_host_macros_r
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %0, 32 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %0, 40 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 ret i64 0 uselistorder i64 (i64)* @my_free, { 3, 2, 1, 0 } }
1
CompRealVul
opstos_10849
opstos
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %rdx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg3 to i64 %1 = bitcast i64* %arg3 to i8* %2 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i32 0, i32* %sv_0.0.reg2mem store i64 %0, i64* %rdx.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = bitcast i64* %arg2 to i8* store i8 102, i8* %5, align 1 store i32 1, i32* %sv_0.0.reg2mem store i64 0, i64* %rdx.0.reg2mem br label LBL_2 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %7 = inttoptr i64 %rdx.0.reload to i8* %8 = call i32 @strcmp(i8* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)) %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = add nuw nsw i32 %sv_0.0.reload, 1 %12 = zext i32 %sv_0.0.reload to i64 %13 = add i64 %12, %6 %14 = inttoptr i64 %13 to i8* store i8 -86, i8* %14, align 1 store i32 %11, i32* %sv_0.1.reg2mem br label LBL_8 LBL_4: %15 = call i32 @strcmp(i8* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = add nuw nsw i32 %sv_0.0.reload, 1 %19 = zext i32 %sv_0.0.reload to i64 %20 = add i64 %19, %6 %21 = inttoptr i64 %20 to i8* store i8 -85, i8* %21, align 1 store i32 %18, i32* %sv_0.1.reg2mem br label LBL_8 LBL_6: %22 = call i32 @strcmp(i8* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0)) %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = add nuw nsw i32 %sv_0.0.reload, 1 %26 = zext i32 %sv_0.0.reload to i64 %27 = add i64 %26, %6 %28 = inttoptr i64 %27 to i8* store i8 -85, i8* %28, align 1 store i32 %25, i32* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %29 = zext i32 %sv_0.1.reload to i64 ret i64 %29 uselistorder i32 %sv_0.0.reload, { 6, 1, 0, 5, 2, 4, 3 } uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i32 0, { 1, 2, 3, 0, 4 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 3, 2, 0 } uselistorder i64* %arg2, { 1, 0 } }
0
CompRealVul
param_in_str_8293
param_in_str
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pn.in.reg2mem = alloca i32 %storemerge23.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = ptrtoint i32* %arg2 to i64 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_9 LBL_1: %5 = bitcast i32* %arg2 to i8* %6 = add i64 %0, 1 store i64 %0, i64* %storemerge23.reg2mem br label LBL_2 LBL_2: %storemerge23.reload = load i64, i64* %storemerge23.reg2mem %7 = call i64 @FUNC(i64 %storemerge23.reload, i64 %1) %8 = call i32 @strlen(i8* %5) %9 = sext i32 %8 to i64 %10 = add i64 %7, %9 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 61 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i32 @strlen(i8* %5) store i32 %14, i32* %.pn.in.reg2mem br label LBL_8 LBL_4: %15 = icmp ugt i64 %7, %6 br i1 %15, label LBL_5, label LBL_7 LBL_5: %16 = add i64 %7, -1 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 61 %20 = icmp eq i1 %19, false br i1 %20, label LBL_7, label LBL_6 LBL_6: %21 = call i32 @strlen(i8* %5) store i32 %21, i32* %.pn.in.reg2mem br label LBL_8 LBL_7: %22 = inttoptr i64 %7 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 0 %25 = icmp eq i1 %24, false %. = select i1 %25, i64 %7, i64 0 store i64 %., i64* %rax.0.reg2mem br label LBL_9 LBL_8: %.pn.in.reload = load i32, i32* %.pn.in.reg2mem %.pn = sext i32 %.pn.in.reload to i64 %storemerge = add i64 %7, %.pn %26 = call i64 @FUNC(i64 %storemerge, i64 %1) %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64 %storemerge, i64* %storemerge23.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_2, label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 2, 0, 1, 5, 4, 3 } uselistorder i8* %5, { 1, 0, 2 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64 %0, { 0, 2, 1 } uselistorder i64* %storemerge23.reg2mem, { 1, 0, 2 } uselistorder i32* %.pn.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i8 0, { 2, 1, 6, 3, 4, 5, 0 } uselistorder i32 (i8*)* @strlen, { 2, 1, 0 } uselistorder i64 1, { 0, 1, 3, 2 } uselistorder i1 false, { 4, 2, 3, 0, 8, 5, 7, 6, 1 } uselistorder i64 (i64, i64)* @stristr, { 1, 2, 0 } uselistorder label LBL_9, { 0, 2, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
build_l2tpv3_vector_14811
build_l2tpv3_vector
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.04.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %rdi = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %0 = ashr exact i64 %sext, 26 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %arg2 to i32 %3 = icmp sgt i32 %2, 0 br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = bitcast i64* %rdi to i32* store i32 0, i32* %storemerge5.reg2mem store i64 %1, i64* %sv_0.04.reg2mem br label LBL_2 LBL_2: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %5 = inttoptr i64 %sv_0.04.reload to i64* store i64 0, i64* %5, align 8 %6 = add i64 %sv_0.04.reload, 8 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = call i64 @FUNC(i64 32) %9 = add i64 %sv_0.04.reload, 16 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = load i32, i32* %4, align 8 %12 = sext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = inttoptr i64 %8 to i64* store i64 %13, i64* %14, align 8 %15 = load i32, i32* %4, align 8 %16 = sext i32 %15 to i64 %17 = add i64 %8, 8 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = add i64 %8, 16 %20 = call i64 @FUNC(i64 8, i64 1024) %21 = inttoptr i64 %19 to i64* store i64 %20, i64* %21, align 8 %22 = add i64 %8, 24 %23 = inttoptr i64 %22 to i64* store i64 1024, i64* %23, align 8 %24 = add i64 %sv_0.04.reload, 24 %25 = inttoptr i64 %24 to i64* store i64 2, i64* %25, align 8 %26 = add i64 %sv_0.04.reload, 32 %27 = inttoptr i64 %26 to i64* store i64 0, i64* %27, align 8 %28 = add i64 %sv_0.04.reload, 40 %29 = inttoptr i64 %28 to i64* store i64 0, i64* %29, align 8 %30 = add i64 %sv_0.04.reload, 48 %31 = inttoptr i64 %30 to i32* store i32 0, i32* %31, align 4 %32 = add i64 %sv_0.04.reload, 64 %33 = add nuw nsw i32 %storemerge5.reload, 1 %exitcond = icmp eq i32 %33, %2 store i32 %33, i32* %storemerge5.reg2mem store i64 %32, i64* %sv_0.04.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: ret i64 %1 uselistorder i64 %8, { 0, 4, 1, 2, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 } uselistorder i64 24, { 1, 0 } uselistorder i64 1024, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1, 4 } uselistorder i64 (i64)* @g_malloc, { 2, 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
1
CompRealVul
svhandler_flash_erase_sector_12525
svhandler_flash_erase_sector
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %1 = zext i32 %0 to i64 %2 = icmp ult i32 %0, 11 store i64 %1, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() %4 = call i64 @FUNC() %5 = call i64 @FUNC(i64 %1, i64 1) %6 = call i64 @FUNC() %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false %10 = zext i1 %9 to i32 store i32 %10, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_1 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8 %11 = call i64 @FUNC() %12 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %13 = and i32 %12, -7 %14 = or i32 %13, 4 %15 = zext i32 %14 to i64 store i32 %14, i32* @gv_3, align 4 store i64 %15, 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 %1, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
icp_accept_2532
icp_accept
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = 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 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = mul i32 %10, 16777216 %12 = bitcast i64* %arg1 to i32* store i32 %11, i32* %12, align 4 store i32 255, i32* %9, align 4 %13 = load i32, i32* %3, align 8 %14 = zext i32 %13 to i64 %15 = and i64 %1, 4294967295 %16 = call i64 @FUNC(i64 %15, i64 %14) ret i64 %15 uselistorder i64 %15, { 1, 0 } }
0
CompRealVul
gen_set_CF_bit31_2982
gen_set_CF_bit31
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = and i64 %arg1, 4294967295 %2 = and i64 %0, 4294967295 %3 = call i64 @FUNC(i64 %2, i64 %1, i64 31) %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %2) ret i64 %5 }
0
CompRealVul
vmsvga_fifo_read_raw_17242
vmsvga_fifo_read_raw
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 1024 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = and i32 %5, -4 %7 = zext i32 %6 to i64 %8 = add i64 %7, %0 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i32 %5, 4 store i32 %11, i32* %4, align 4 %12 = load i64, i64* %2, align 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %12, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp ult i32 %14, %17 br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = add i64 %12, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 store i32 %21, i32* %13, align 4 br label LBL_2 LBL_2: %22 = zext i32 %10 to i64 ret i64 %22 }
1
CompRealVul
update_min_vruntime_8965
update_min_vruntime
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %0, 24 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64* %arg1, null store i64 %0, i64* %sv_1.0.reg2mem store i64 %5, i64* %sv_0.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = inttoptr i64 %1 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 %. = select i1 %9, i64 0, i64 %0 %.1 = select i1 %9, i64 %5, i64 %1 store i64 %., i64* %sv_1.0.reg2mem store i64 %.1, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %10 = icmp eq i64 %2, 0 store i64 %5, i64* %.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %10, label LBL_5, label LBL_3 LBL_3: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %11 = add i64 %2, -16 %12 = icmp eq i64 %sv_1.0.reload, 0 %13 = icmp eq i1 %12, false %14 = inttoptr i64 %11 to i64* %15 = load i64, i64* %14, align 8 store i64 %5, i64* %.reg2mem store i64 %15, i64* %sv_0.1.reg2mem br i1 %13, label LBL_4, label LBL_5 LBL_4: %16 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %15) %.pre = load i64, i64* %4, align 8 store i64 %.pre, i64* %.reg2mem store i64 %16, i64* %sv_0.1.reg2mem br label LBL_5 LBL_5: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %.reload = load i64, i64* %.reg2mem %17 = call i64 @FUNC(i64 %.reload, i64 %sv_0.1.reload) store i64 %17, i64* %4, align 8 %18 = call i64 @FUNC() %19 = load i64, i64* %4, align 8 %20 = add i64 %0, 32 %21 = inttoptr i64 %20 to i64* store i64 %19, i64* %21, align 8 ret i64 %0 uselistorder i64 %15, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %5, { 0, 1, 3, 2 } uselistorder i64* %4, { 1, 2, 0, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 3, 2, 1, 0, 4, 5 } uselistorder i64* %.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_5, { 1, 0, 2 } }
0
CompRealVul
flic_decode_init_2143
flic_decode_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.pre-phi6.reg2mem = alloca i32* %sv_1.03.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i32* %arg1 to i64 %5 = trunc i64 %3 to i32 switch i32 %5, label LBL_1 [ i32 0, label LBL_2 i32 12, label LBL_2 i32 128, label LBL_2 i32 1024, label LBL_2 ] LBL_1: %6 = and i64 %3, 4294967295 %7 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_22 LBL_2: %8 = add i64 %4, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %10 to i64* store i64 %4, i64* %14, align 8 %15 = load i32, i32* %arg1, align 4 %16 = icmp eq i32 %15, 12 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = add i64 %10, 8 %19 = inttoptr i64 %18 to i32* store i32 4660, i32* %19, align 4 store i32* %19, i32** %.pre-phi6.reg2mem store i32 8, i32* %sv_0.0.reg2mem br label LBL_11 LBL_4: %20 = bitcast i64* %rdi to i32* %21 = load i32, i32* %20, align 8 %22 = icmp eq i32 %21, 1024 %23 = icmp eq i1 %22, false br i1 %23, label LBL_7, label LBL_5 LBL_5: %24 = load i64, i64* %12, align 8 %25 = add i64 %10, 12 store i64 0, i64* %indvars.iv.reg2mem store i64 %24, i64* %sv_1.03.reg2mem br label LBL_6 LBL_6: %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %26 = call i64 @FUNC(i64 %sv_1.03.reload) %27 = trunc i64 %26 to i32 %28 = mul i64 %indvars.iv.reload, 4 %29 = add i64 %25, %28 %30 = inttoptr i64 %29 to i32* store i32 %27, i32* %30, align 4 %31 = add i64 %sv_1.03.reload, 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %31, i64* %sv_1.03.reg2mem br i1 %exitcond, label LBL_10, label LBL_6 LBL_7: %32 = icmp eq i32 %21, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_9, label LBL_8 LBL_8: %34 = add i64 %10, 8 %35 = inttoptr i64 %34 to i32* store i32 22136, i32* %35, align 4 store i32* %35, i32** %.pre-phi6.reg2mem store i32 8, i32* %sv_0.0.reg2mem br label LBL_11 LBL_9: %36 = add i64 %13, 4 %37 = call i64 @FUNC(i64 %36) %38 = trunc i64 %37 to i32 %39 = urem i32 %38, 65536 %40 = add i64 %10, 8 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = add i64 %13, 12 %43 = call i64 @FUNC(i64 %42) %44 = trunc i64 %43 to i32 %45 = urem i32 %44, 65536 store i32* %41, i32** %.pre-phi6.reg2mem store i32 %45, i32* %sv_0.0.reg2mem br label LBL_11 LBL_10: %.pre = add i64 %10, 8 %.pre5 = inttoptr i64 %.pre to i32* store i32* %.pre5, i32** %.pre-phi6.reg2mem store i32 8, i32* %sv_0.0.reg2mem store i64 255, i64* %rcx.1.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.pre-phi6.reload = load i32*, i32** %.pre-phi6.reg2mem %46 = icmp eq i32 %sv_0.0.reload, 0 %47 = icmp eq i1 %46, false %spec.select = select i1 %47, i32 %sv_0.0.reload, i32 8 %48 = load i32, i32* %.pre-phi6.reload, align 4 %49 = icmp eq i32 %48, 39612 %50 = icmp eq i32 %spec.select, 16 %51 = icmp eq i1 %49, %50 %sv_0.2 = select i1 %51, i32 15, i32 %spec.select %52 = icmp eq i32 %sv_0.2, 24 br i1 %52, label LBL_19, label LBL_12 LBL_12: %53 = icmp ugt i32 %sv_0.2, 24 br i1 %53, label LBL_20, label LBL_13 LBL_13: %54 = icmp eq i32 %sv_0.2, 16 br i1 %54, label LBL_18, label LBL_14 LBL_14: %55 = icmp ugt i32 %sv_0.2, 16 br i1 %55, label LBL_20, label LBL_15 LBL_15: %trunc = trunc i32 %sv_0.2 to i16 switch i16 %trunc, label LBL_20 [ i16 8, label LBL_16 i16 15, label LBL_17 ] LBL_16: %56 = add i64 %4, 16 %57 = inttoptr i64 %56 to i32* store i32 0, i32* %57, align 4 br label LBL_21 LBL_17: %58 = add i64 %4, 16 %59 = inttoptr i64 %58 to i32* store i32 1, i32* %59, align 4 br label LBL_21 LBL_18: %60 = add i64 %4, 16 %61 = inttoptr i64 %60 to i32* store i32 2, i32* %61, align 4 br label LBL_21 LBL_19: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %62 = add i64 %4, 16 %63 = inttoptr i64 %62 to i32* store i32 3, i32* %63, align 4 %64 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.1.reload, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_22 LBL_20: %65 = zext i32 %sv_0.2 to i64 %66 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i64 %65, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_22 LBL_21: %67 = add i64 %10, 1040 %68 = call i64 @FUNC(i64 %67) %69 = inttoptr i64 %67 to i64* store i64 0, i64* %69, align 8 %70 = add i64 %10, 1048 %71 = inttoptr i64 %70 to i32* store i32 0, i32* %71, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.2, { 5, 0, 1, 3, 2, 4 } uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %10, { 2, 3, 0, 4, 5, 1, 6, 7 } uselistorder i64 %4, { 3, 4, 5, 2, 0, 1, 6, 8, 9, 7 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.03.reg2mem, { 1, 0, 2 } uselistorder i32** %.pre-phi6.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 16, { 0, 2, 1 } uselistorder i64 (i64)* @AV_RL16, { 1, 0 } uselistorder i64 256, { 2, 0, 1 } uselistorder i64 4, { 1, 2, 0 } uselistorder i32 8, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i32 1024, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0 } }
0