dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
pl110_class_init_870
pl110_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 store i64 4198662, i64* %arg1, align 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = sext i32 %5 to i64 %7 = call i64 @FUNC(i64 0, i64 %6) %8 = add i64 %3, 4 %9 = inttoptr i64 %8 to i8* store i8 1, i8* %9, align 1 %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %11, align 8 ret i64 %3 uselistorder i64 %3, { 1, 0, 2, 3 } }
0
BinRealVul
crypto_aead_report_12128
crypto_aead_report
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = bitcast i64* %sv_1 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 ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %3 = bitcast i64* %sv_0 to i8* %4 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %3, i32 64, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* inttoptr (i64 64 to i8*)) %5 = call i64 @FUNC(i64 %0, i64 1, i64 152, i64* nonnull %sv_1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false %storemerge = select i1 %8, i64 4294967206, i64 0 ret i64 %storemerge uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 } }
1
BinRealVul
musb_rx_req_16978
musb_rx_req
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = ashr exact i64 %sext, 28 %3 = add nsw i64 %2, %1 %4 = mul i64 %3, 4 %5 = add i64 %4, %0 %6 = add i64 %5, 12 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_7, label LBL_1 LBL_1: %11 = add i64 %5, 28 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label LBL_7, label LBL_2 LBL_2: %15 = add i64 %5, 36 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %5, 40 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i32 %20, %17 %22 = add i64 %5, 20 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp ult i32 %21, %24 br i1 %25, label LBL_3, label LBL_7 LBL_3: %26 = zext i32 %20 to i64 %27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i32 %17, i64 %26) %28 = load i32, i32* %16, align 4 %29 = load i32, i32* %19, align 4 %30 = add i32 %29, %28 store i32 %30, i32* %16, align 4 %31 = add i64 %5, 48 %32 = inttoptr i64 %31 to i32* store i32 0, i32* %32, align 4 %33 = add i64 %5, 56 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = add i64 %5, 8 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = load i32, i32* %16, align 4 %40 = sub i32 %38, %39 %41 = sub i32 %35, %40 %42 = xor i32 %40, %35 %43 = xor i32 %41, %35 %44 = and i32 %43, %42 %45 = icmp slt i32 %44, 0 %46 = icmp eq i32 %41, 0 %47 = icmp slt i32 %41, 0 %48 = icmp ne i1 %47, %45 %49 = or i1 %46, %48 %50 = select i1 %49, i32 %35, i32 %40 store i32 %50, i32* %19, align 4 %51 = add i64 %5, 64 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = and i32 %53, -2 store i32 %54, i32* %52, align 4 %55 = trunc i64 %1 to i32 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false br i1 %57, label LBL_4, label LBL_5 LBL_4: %58 = and i32 %53, -112 %59 = or i32 %58, 96 store i32 %59, i32* %52, align 4 br label LBL_6 LBL_5: %60 = add i64 %5, 60 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = and i32 %62, -2 store i32 %63, i32* %61, align 4 %64 = load i32, i32* %52, align 4 %65 = and i32 %64, -15 store i32 %65, i32* %52, align 4 %66 = load i32, i32* %61, align 4 %67 = and i32 %66, -31 store i32 %67, i32* %61, align 4 %68 = load i32, i32* %52, align 4 %69 = or i32 %68, 96 store i32 %69, i32* %52, align 4 %70 = load i32, i32* %61, align 4 %71 = or i32 %70, 32 store i32 %71, i32* %61, align 4 br label LBL_6 LBL_6: %72 = and i64 %1, 4294967295 %73 = call i64 @FUNC(i64 %0, i64 %72, i64 1) store i64 %73, i64* %storemerge.reg2mem br label LBL_8 LBL_7: %74 = add i64 %5, 56 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = and i32 %76, 960 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false %80 = urem i32 %76, 1024 %81 = zext i32 %80 to i64 %storemerge3 = select i1 %79, i64 64, i64 %81 %82 = trunc i64 %1 to i32 %83 = call i64 @FUNC(i64 %0, i64 %5, i32 %82, i64 1, i64 %storemerge3, i64 4198740) store i64 %83, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %61, { 1, 0, 3, 2, 4, 5 } uselistorder i32* %52, { 2, 1, 4, 3, 0, 5, 6 } uselistorder i32 %41, { 1, 2, 0 } uselistorder i32 %40, { 1, 0, 2 } uselistorder i32 %35, { 2, 0, 1, 3 } uselistorder i32 %20, { 1, 0 } uselistorder i32 %17, { 1, 0 } uselistorder i32* %16, { 0, 2, 1, 3 } uselistorder i64 %5, { 5, 6, 0, 1, 3, 2, 4, 7, 9, 8, 10, 11 } uselistorder i64 %1, { 2, 0, 1, 3 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 96, { 1, 0 } uselistorder i64 28, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
bq24190_remove_6892
bq24190_remove
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 %1, 24 %3 = call i64 @FUNC(i64 %2) %4 = inttoptr i64 %1 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = load i64, i64* %4, align 8 %11 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i32 %7) br label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %1) %13 = add i64 %1, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %15) br label LBL_4 LBL_4: %18 = add i64 %1, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20) br i1 %8, label LBL_6, label LBL_5 LBL_5: %22 = load i64, i64* %4, align 8 %23 = call i64 @FUNC(i64 %22) br label LBL_6 LBL_6: %24 = load i64, i64* %4, align 8 %25 = call i64 @FUNC(i64 %24) %26 = load i64, i64* %4, align 8 %27 = call i64 @FUNC(i64 %26) ret i64 %27 uselistorder i64* %4, { 3, 2, 1, 0, 4 } uselistorder i64 %1, { 0, 2, 1, 3, 4 } uselistorder i64 (i64)* @power_supply_unregister, { 1, 0 } }
0
BinRealVul
pci_pmac_init_16686
pci_pmac_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = add i64 %2, 16 %4 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 4198853, i64 4198860, i64 %arg1, i64 88, i64 4) %5 = inttoptr i64 %2 to i64* store i64 %4, i64* %5, align 8 %6 = call i64 @FUNC(i64 %4, i64 88, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0)) %7 = call i64 @FUNC(i64 %2, i64 0, i64 4068474880) %8 = call i64 @FUNC(i64 %2, i64 1, i64 4072669184) %9 = load i64, i64* %5, align 8 %10 = call i64 @FUNC(i64 %9, i64 104, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) %11 = load i64, i64* %5, align 8 ret i64 %11 uselistorder i64 (i64, i64, i64)* @sysbus_mmio_map, { 1, 0 } uselistorder i64 (i64, i64, i8*)* @pci_create_simple, { 1, 0 } }
1
BinRealVul
EC_GROUP_get_basis_type_10377
EC_GROUP_get_basis_type
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 1 store i32 0, i32* %sv_0.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %6 = sext i32 %sv_0.0.reload to i64 %7 = mul i64 %6, 4 %8 = add nsw i64 %7, %2 %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 %13 = add i32 %sv_0.0.reload, 1 store i32 %13, i32* %sv_0.0.reg2mem br i1 %12, label LBL_1, label LBL_2 LBL_2: %14 = icmp eq i32 %sv_0.0.reload, 4 %15 = icmp eq i1 %14, false store i64 2, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_4 LBL_3: %16 = icmp eq i32 %sv_0.0.reload, 2 %17 = icmp eq i1 %16, false %. = select i1 %17, i64 0, i64 3 store i64 %., 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 i32 %sv_0.0.reload, { 2, 3, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
apc_read_header_17114
apc_read_header
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1) %2 = call i64 @FUNC(i64 %arg1) %3 = call i64 @FUNC(i64 %arg1, i64 0) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_6 LBL_1: %6 = inttoptr i64 %3 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i32* store i32 1, i32* %8, align 4 %9 = load i64, i64* %6, align 8 %10 = add i64 %9, 4 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = call i64 @FUNC(i64 %arg1) %13 = load i64, i64* %6, align 8 %14 = call i64 @FUNC(i64 %arg1) %15 = trunc i64 %14 to i32 %16 = add i64 %13, 8 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = load i64, i64* %6, align 8 %19 = call i64 @FUNC(i64 %arg1, i64 %18, i64 %arg1, i64 8) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %22, label LBL_2, label LBL_6 LBL_2: %23 = call i64 @FUNC(i64 %arg1) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = load i64, i64* %6, align 8 %27 = add i64 %26, 12 %28 = inttoptr i64 %27 to i32* br i1 %25, label LBL_4, label LBL_3 LBL_3: store i32 2, i32* %28, align 4 %29 = load i64, i64* %6, align 8 %30 = add i64 %29, 16 %31 = inttoptr i64 %30 to i32* store i32 3, i32* %31, align 4 br label LBL_5 LBL_4: store i32 1, i32* %28, align 4 %32 = load i64, i64* %6, align 8 %33 = add i64 %32, 16 %34 = inttoptr i64 %33 to i32* store i32 4, i32* %34, align 4 br label LBL_5 LBL_5: %35 = load i64, i64* %6, align 8 %36 = add i64 %35, 20 %37 = inttoptr i64 %36 to i32* store i32 4, i32* %37, align 4 %38 = load i64, i64* %6, align 8 %39 = add i64 %38, 20 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = add i64 %38, 12 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = mul i32 %44, %41 %46 = add i64 %38, 8 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = mul i32 %45, %48 %50 = add i64 %38, 24 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = load i64, i64* %6, align 8 %53 = add i64 %52, 28 %54 = inttoptr i64 %53 to i32* store i32 1, i32* %54, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %38, { 1, 0, 2, 3 } uselistorder i32* %28, { 1, 0 } uselistorder i64* %6, { 1, 2, 3, 4, 0, 5, 6, 7, 8, 9 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 (i64)* @avio_rl32, { 5, 4, 3, 2, 1, 0 } uselistorder i32 1, { 2, 3, 4, 0, 1 } uselistorder i64 %arg1, { 0, 2, 1, 4, 3, 5, 6, 7, 8 } uselistorder label LBL_6, { 2, 0, 1 } }
1
BinRealVul
reset_fdc_info_10771
reset_fdc_info
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = load i32*, i32** @gv_0, align 8 %1 = ptrtoint i32* %0 to i64 %2 = add i64 %1, 4 %3 = inttoptr i64 %2 to i32* store i32 -1, i32* %3, align 4 %4 = load i32*, i32** @gv_0, align 8 store i32 -1, i32* %4, align 4 %5 = load i32*, i32** @gv_0, align 8 %6 = ptrtoint i32* %5 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i32* store i32 1, i32* %8, align 4 %9 = load i32*, i32** @gv_0, align 8 %10 = ptrtoint i32* %9 to i64 %11 = add i64 %10, 12 %12 = inttoptr i64 %11 to i32* store i32 1, i32* %12, align 4 %13 = load i32*, i32** @gv_0, align 8 %14 = ptrtoint i32* %13 to i64 %15 = add i64 %14, 16 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = trunc i64 %arg1 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %20 = call i64 @FUNC(i64 %indvars.iv.reload) %21 = load i32, i32* @gv_1, align 4 %22 = trunc i64 %20 to i32 %23 = icmp eq i32 %21, %22 %24 = icmp eq i1 %23, false store i64 %20, i64* %rax.0.reg2mem br i1 %24, label LBL_5, label LBL_2 LBL_2: %.pre = load i32*, i32** @gv_2, align 8 br i1 %19, label LBL_4, label LBL_3 LBL_3: %25 = load i32, i32* %.pre, align 4 %26 = icmp eq i32 %25, 1 store i64 1, i64* %rax.0.reg2mem br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = ptrtoint i32* %.pre to i64 store i32 2, i32* %.pre, align 4 store i64 %27, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_6, label LBL_1 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
wilc_wfi_cfg_parse_ch_attr_6237
wilc_wfi_cfg_parse_ch_attr
define i64 @FUNC(i64* %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %rax.3.reg2mem = alloca i64 %rax.2.reg2mem = alloca i64 %storemerge18.reg2mem = alloca i32 %.reg2mem50 = alloca i64 %sv_0.0.reg2mem = alloca i8 %sv_1.0.reg2mem = alloca i8 %sv_2.019.reg2mem = alloca i32 %sv_1.121.reg2mem = alloca i8 %sv_0.122.reg2mem = alloca i8 %.reg2mem = alloca i64 %0 = sext i8 %arg3 to i64 %1 = and i64 %0, 4294967295 %2 = icmp eq i8 %arg3, -1 store i64 %1, i64* %rax.3.reg2mem br i1 %2, label LBL_17, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = and i64 %arg2, 4294967295 %5 = icmp ult i64 %4, 4 store i64 0, i64* %.reg2mem store i8 0, i8* %sv_0.122.reg2mem store i8 0, i8* %sv_1.121.reg2mem store i32 0, i32* %sv_2.019.reg2mem store i64 %4, i64* %rax.3.reg2mem br i1 %5, label LBL_17, label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %6 = add i64 %.reload, %3 %7 = add i64 %6, 2 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = zext i16 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = urem i64 %11, 65536 %13 = add nuw nsw i64 %.reload, 4 %14 = add nuw nsw i64 %13, %12 %15 = icmp ugt i64 %14, %4 store i64 %4, i64* %rax.3.reg2mem br i1 %15, label LBL_17, label LBL_3 LBL_3: %sv_2.019.reload = load i32, i32* %sv_2.019.reg2mem %sv_0.122.reload = load i8, i8* %sv_0.122.reg2mem %16 = trunc i64 %11 to i32 %sext5 = mul i32 %16, 65536 %17 = ashr exact i32 %sext5, 16 %18 = inttoptr i64 %6 to i8* %19 = load i8, i8* %18, align 1 %20 = icmp eq i8 %19, 1 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = trunc i32 %sv_2.019.reload to i8 store i8 %22, i8* %sv_1.0.reg2mem store i8 %sv_0.122.reload, i8* %sv_0.0.reg2mem br label LBL_7 LBL_5: %sv_1.121.reload = load i8, i8* %sv_1.121.reg2mem %23 = icmp eq i8 %19, 2 %24 = icmp eq i1 %23, false store i8 %sv_1.121.reload, i8* %sv_1.0.reg2mem store i8 %sv_0.122.reload, i8* %sv_0.0.reg2mem br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = trunc i32 %17 to i16 %26 = icmp eq i16 %25, 2 %27 = icmp eq i1 %26, false %28 = trunc i32 %sv_2.019.reload to i8 %spec.select = select i1 %27, i8 %sv_0.122.reload, i8 %28 store i8 %sv_1.121.reload, i8* %sv_1.0.reg2mem store i8 %spec.select, i8* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem %29 = icmp ne i8 %sv_1.0.reload, 0 %30 = icmp eq i8 %sv_0.0.reload, 0 %31 = icmp eq i1 %30, false %or.cond = icmp eq i1 %29, %31 br i1 %or.cond, label LBL_10, label LBL_8 LBL_8: %32 = urem i32 %17, 65536 %33 = add i32 %sv_2.019.reload, 4 %34 = add i32 %33, %32 %35 = zext i32 %34 to i64 %36 = add nuw nsw i64 %35, 4 %37 = icmp ugt i64 %36, %4 store i64 %35, i64* %.reg2mem store i8 %sv_0.0.reload, i8* %sv_0.122.reg2mem store i8 %sv_1.0.reload, i8* %sv_1.121.reg2mem store i32 %34, i32* %sv_2.019.reg2mem br i1 %37, label LBL_9, label LBL_2 LBL_9: %38 = icmp eq i8 %sv_1.0.reload, 0 store i64 %4, i64* %rax.2.reg2mem br i1 %38, label LBL_15, label LBL_10 LBL_10: %39 = zext i8 %sv_1.0.reload to i64 %40 = add i64 %39, %3 %41 = add i64 %40, 2 %42 = inttoptr i64 %41 to i16* %43 = load i16, i16* %42, align 2 %44 = zext i16 %43 to i64 %45 = call i64 @FUNC(i64 %44) %46 = urem i64 %45, 65536 %47 = icmp eq i64 %46, 0 store i64 0, i64* %rax.2.reg2mem br i1 %47, label LBL_15, label LBL_11 LBL_11: %48 = add i64 %40, 4 store i64 0, i64* %.reg2mem50 store i32 0, i32* %storemerge18.reg2mem br label LBL_12 LBL_12: %.reload51 = load i64, i64* %.reg2mem50 %49 = add i64 %48, %.reload51 %50 = inttoptr i64 %49 to i8* %51 = load i8, i8* %50, align 1 %52 = icmp eq i8 %51, 1 %53 = icmp eq i1 %52, false %54 = add i64 %49, 1 %55 = inttoptr i64 %54 to i8* %56 = load i8, i8* %55, align 1 %57 = zext i8 %56 to i32 br i1 %53, label LBL_14, label LBL_13 LBL_13: %58 = add i64 %49, 2 %59 = zext i8 %arg3 to i32 %60 = inttoptr i64 %58 to i64* %61 = call i64* @memset(i64* %60, i32 %59, i32 %57) %62 = ptrtoint i64* %61 to i64 store i64 %62, i64* %rax.3.reg2mem br i1 %30, label LBL_17, label LBL_16 LBL_14: %storemerge18.reload = load i32, i32* %storemerge18.reg2mem %63 = add i32 %storemerge18.reload, %57 %64 = sext i32 %63 to i64 %65 = icmp sgt i64 %46, %64 store i64 %64, i64* %.reg2mem50 store i32 %63, i32* %storemerge18.reg2mem store i64 %46, i64* %rax.2.reg2mem br i1 %65, label LBL_12, label LBL_15 LBL_15: %rax.2.reload = load i64, i64* %rax.2.reg2mem store i64 %rax.2.reload, i64* %rax.3.reg2mem br i1 %30, label LBL_17, label LBL_16 LBL_16: %66 = zext i8 %sv_0.0.reload to i64 %67 = add i64 %66, %3 %68 = add i64 %67, 4 %69 = inttoptr i64 %68 to i8* store i8 1, i8* %69, align 1 %70 = add i64 %67, 5 %71 = inttoptr i64 %70 to i8* store i8 %arg3, i8* %71, align 1 store i64 %67, i64* %rax.3.reg2mem br label LBL_17 LBL_17: %rax.3.reload = load i64, i64* %rax.3.reg2mem ret i64 %rax.3.reload uselistorder i32 %57, { 1, 0 } uselistorder i8 %sv_1.0.reload, { 2, 1, 3, 0 } uselistorder i8 %sv_0.0.reload, { 1, 2, 0 } uselistorder i8 %sv_0.122.reload, { 2, 1, 0 } uselistorder i32 %sv_2.019.reload, { 2, 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i64 %4, { 2, 5, 0, 4, 1, 3 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i8* %sv_0.122.reg2mem, { 2, 0, 1 } uselistorder i8* %sv_1.121.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.019.reg2mem, { 2, 0, 1 } uselistorder i8* %sv_1.0.reg2mem, { 0, 1, 3, 2 } uselistorder i8* %sv_0.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %.reg2mem50, { 1, 0, 2 } uselistorder i32* %storemerge18.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.3.reg2mem, { 0, 4, 5, 2, 1, 3, 6 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder i8 1, { 2, 1, 0 } uselistorder i32 65536, { 1, 0 } uselistorder i64 (i64)* @le16_to_cpu, { 1, 0 } uselistorder i8 0, { 3, 2, 4, 0, 1 } uselistorder i64 4, { 3, 2, 4, 1, 0 } uselistorder i8 %arg3, { 1, 0, 2, 3 } uselistorder label LBL_17, { 4, 5, 1, 0, 2, 3 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
LineFeed_9842
LineFeed
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.reg2mem17 = alloca i32 %.reg2mem15 = alloca i32* %.pre-phi8.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load i32*, i32** @gv_0, align 8 store i32 0, i32* %2, align 4 br label LBL_2 LBL_2: %3 = load i32*, i32** @gv_0, align 8 %4 = ptrtoint i32* %3 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %4, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %7, %10 br i1 %11, label LBL_6, label LBL_3 LBL_3: %12 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4 %13 = add i32 %12, -1 %14 = icmp ult i32 %7, %13 store i32 %7, i32* %.reg2mem store i64 %4, i64* %.pre-phi8.reg2mem store i32* %3, i32** %.reg2mem15 br i1 %14, label LBL_4, label LBL_5 LBL_4: %15 = add i32 %7, 1 store i32 %15, i32* %6, align 4 %.pre = load i32*, i32** @gv_0, align 8 %.pre7 = ptrtoint i32* %.pre to i64 %.pre9 = add i64 %.pre7, 4 %.pre11 = inttoptr i64 %.pre9 to i32* %.pre13 = load i32, i32* %.pre11, align 4 store i32 %.pre13, i32* %.reg2mem store i64 %.pre7, i64* %.pre-phi8.reg2mem store i32* %.pre, i32** %.reg2mem15 br label LBL_5 LBL_5: %.reload16 = load i32*, i32** %.reg2mem15 %.pre-phi8.reload = load i64, i64* %.pre-phi8.reg2mem %.reload = load i32, i32* %.reg2mem %16 = load i32, i32* %.reload16, align 4 %17 = add i64 %.pre-phi8.reload, 24 %18 = zext i32 %16 to i64 %19 = call i64 @FUNC(i64 %17, i64 %18, i32 %.reload) store i64 %19, i64* %storemerge.reg2mem br label LBL_9 LBL_6: %20 = add i64 %4, 16 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp slt i32 %22, 2 store i32 %7, i32* %.reg2mem17 store i64 %4, i64* %.pre-phi.reg2mem br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = add i32 %22, -1 store i32 %24, i32* %21, align 4 %.pre1 = load i32*, i32** @gv_0, align 8 %.pre2 = ptrtoint i32* %.pre1 to i64 %.pre3 = add i64 %.pre2, 8 %.pre5 = inttoptr i64 %.pre3 to i32* %.pre14 = load i32, i32* %.pre5, align 4 store i32 %.pre14, i32* %.reg2mem17 store i64 %.pre2, i64* %.pre-phi.reg2mem br label LBL_8 LBL_8: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.reload18 = load i32, i32* %.reg2mem17 %25 = add i64 %.pre-phi.reload, 20 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %.pre-phi.reload, 12 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %27 to i64 %32 = call i64 @FUNC(i64 %.pre-phi.reload, i64 1, i32 %30, i32 %.reload18, i64 %31) %33 = load i32*, i32** @gv_0, align 8 %34 = ptrtoint i32* %33 to i64 %35 = add i64 %34, 20 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %34, 8 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = add i64 %34, 12 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = add i64 %34, 24 %45 = zext i32 %37 to i64 %46 = zext i32 %40 to i64 %47 = zext i32 %43 to i64 %48 = call i64 @FUNC(i64 %44, i64 1, i64 %47, i64 %46, i64 %45) %49 = load i32*, i32** @gv_0, align 8 %50 = ptrtoint i32* %49 to i64 %51 = add i64 %50, 4 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = load i32, i32* %49, align 4 %55 = add i64 %50, 24 %56 = zext i32 %54 to i64 %57 = call i64 @FUNC(i64 %55, i64 %56, i32 %53) store i64 %57, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %7, { 0, 2, 1, 3, 4 } uselistorder i64 %4, { 0, 2, 1, 3, 4 } uselistorder i32* %.reg2mem17, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i32)* @LGotoPos, { 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 4, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
md_submit_flush_data_8821
md_submit_flush_data
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %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 i64 @FUNC(i64 %0, i64 0) br label LBL_3 LBL_2: %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = and i32 %6, -2 store i32 %7, i32* %5, align 4 br label LBL_3 LBL_3: store i64 0, i64* %arg1, align 8 %8 = add i64 %0, 16 %9 = call i64 @FUNC(i64 %8) ret i64 %9 }
0
BinRealVul
tm2_read_deltas_14506
tm2_read_deltas
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv12.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 9) %4 = trunc i64 %3 to i32 %5 = call i64 @FUNC(i64 %2, i64 5) %6 = trunc i64 %5 to i32 %7 = add i32 %6, -31 %8 = sub i32 30, %6 %9 = and i32 %8, %6 %10 = icmp slt i32 %9, 0 %11 = icmp eq i32 %7, 0 %12 = icmp slt i32 %7, 0 %13 = icmp ne i1 %12, %10 %14 = or i1 %11, %13 %15 = zext i1 %14 to i64 %16 = call i64 @FUNC(i64 %15) %.off = add i32 %4, -1 %17 = icmp ugt i32 %.off, 15 br i1 %17, label LBL_3, label LBL_1 LBL_1: %18 = icmp eq i32 %6, 0 %19 = icmp slt i32 %6, 0 %20 = icmp eq i1 %19, false %21 = icmp eq i1 %18, false %22 = icmp eq i1 %20, %21 br i1 %22, label LBL_2, label LBL_3 LBL_2: %sext = mul i64 %arg2, 4294967296 %23 = and i64 %5, 4294967295 %24 = add i32 %6, 31 %25 = urem i32 %24, 32 %26 = icmp eq i32 %25, 0 %27 = urem i32 %6, 32 %28 = shl i32 1, %27 %29 = ashr exact i64 %sext, 28 %30 = add i64 %2, 16 %wide.trip.count = and i64 %3, 4294967295 store i64 0, i64* %indvars.iv12.reg2mem br label LBL_4 LBL_3: %31 = add i64 %2, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = and i64 %5, 4294967295 %35 = and i64 %3, 4294967295 %36 = call i64 @FUNC(i64 %33, i64 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 %35, i64 %34, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_10 LBL_4: %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %37 = call i64 @FUNC(i64 %2, i64 %23) %38 = trunc i64 %37 to i32 %39 = lshr i32 %38, %25 %40 = zext i32 %39 to i64 %storemerge3 = select i1 %26, i64 %37, i64 %40 %41 = urem i64 %storemerge3, 2 %42 = icmp eq i64 %41, 0 br i1 %42, label LBL_6, label LBL_5 LBL_5: %43 = sub i32 %38, %28 %44 = add nsw i64 %indvars.iv12.reload, %29 %45 = mul i64 %44, 4 %46 = add i64 %45, %30 %47 = inttoptr i64 %46 to i32* store i32 %43, i32* %47, align 4 br label LBL_7 LBL_6: %48 = add nsw i64 %indvars.iv12.reload, %29 %49 = mul i64 %48, 4 %50 = add i64 %49, %30 %51 = inttoptr i64 %50 to i32* store i32 %38, i32* %51, align 4 br label LBL_7 LBL_7: %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1 %exitcond14 = icmp eq i64 %indvars.iv.next13, %wide.trip.count store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem br i1 %exitcond14, label LBL_8, label LBL_4 LBL_8: %52 = trunc i64 %3 to i32 %53 = icmp slt i32 %52, 16 store i64 %wide.trip.count, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %53, label LBL_9, label LBL_10 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %54 = add nsw i64 %indvars.iv.reload, %29 %55 = mul i64 %54, 4 %56 = add i64 %55, %30 %57 = inttoptr i64 %56 to i32* store i32 0, i32* %57, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %38, { 2, 1, 0 } uselistorder i64 %indvars.iv12.reload, { 0, 2, 1 } uselistorder i32 %25, { 1, 0 } uselistorder i32 %7, { 1, 0 } uselistorder i32 %6, { 0, 2, 4, 3, 1, 5, 6 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %3, { 0, 2, 1, 3 } uselistorder i64 %2, { 1, 2, 0, 3, 4 } uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 4294967295, { 0, 3, 4, 1, 2, 5, 6 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 (i64, i64)* @get_bits, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
rv34_idct_add_c_2625
rv34_idct_add_c
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.02.reg2mem = alloca i32* %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %1 = ptrtoint i64* %sv_2 to i64 %2 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0) %3 = call i64* @memset(i64* %arg3, i32 0, i32 64) %4 = add i64 %1, -112 store i64 0, i64* %indvars.iv.reg2mem store i32* %arg1, i32** %sv_0.02.reg2mem br label LBL_1 LBL_1: %sv_0.02.reload = load i32*, i32** %sv_0.02.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %5 = mul i64 %indvars.iv.reload, 4 %6 = add i64 %5, %4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %6, 32 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i32 %11, %8 %13 = mul i32 %12, 13 %14 = add i32 %13, 512 %15 = sub i32 %8, %11 %16 = mul i32 %15, 13 %17 = add i32 %16, 512 %18 = add i64 %6, 16 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = mul i32 %20, 7 %22 = add i64 %6, 48 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = mul i32 %24, -17 %26 = add i32 %25, %21 %27 = mul i32 %20, 17 %28 = mul i32 %24, 7 %29 = add i32 %28, %27 %30 = bitcast i32* %sv_0.02.reload to i8* %31 = load i8, i8* %30, align 1 %32 = add i32 %29, %14 %33 = ashr i32 %32, 10 %34 = zext i8 %31 to i32 %35 = add nsw i32 %33, %34 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36) %38 = trunc i64 %37 to i8 store i8 %38, i8* %30, align 1 %39 = ptrtoint i32* %sv_0.02.reload to i64 %40 = add i64 %39, 1 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = add i32 %26, %17 %44 = ashr i32 %43, 10 %45 = zext i8 %42 to i32 %46 = add nsw i32 %44, %45 %47 = zext i32 %46 to i64 %48 = call i64 @FUNC(i64 %47) %49 = trunc i64 %48 to i8 store i8 %49, i8* %41, align 1 %50 = add i64 %39, 2 %51 = inttoptr i64 %50 to i8* %52 = load i8, i8* %51, align 1 %53 = sub i32 %17, %26 %54 = ashr i32 %53, 10 %55 = zext i8 %52 to i32 %56 = add nsw i32 %54, %55 %57 = zext i32 %56 to i64 %58 = call i64 @FUNC(i64 %57) %59 = trunc i64 %58 to i8 store i8 %59, i8* %51, align 1 %60 = add i64 %39, 3 %61 = inttoptr i64 %60 to i8* %62 = load i8, i8* %61, align 1 %63 = sub i32 %14, %29 %64 = ashr i32 %63, 10 %65 = zext i8 %62 to i32 %66 = add nsw i32 %64, %65 %67 = zext i32 %66 to i64 %68 = call i64 @FUNC(i64 %67) %69 = trunc i64 %68 to i8 store i8 %69, i8* %61, align 1 %70 = add i64 %39, %arg2 %71 = inttoptr i64 %70 to i32* %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32* %71, i32** %sv_0.02.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: ret i64 %arg2 uselistorder i32 %29, { 1, 0 } uselistorder i32 %26, { 1, 0 } uselistorder i32 %17, { 1, 0 } uselistorder i32 %14, { 1, 0 } uselistorder i32 %11, { 1, 0 } uselistorder i32 %8, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @av_clip_uint8, { 3, 2, 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
0
BinRealVul
ff_framequeue_skip_samples_14684
ff_framequeue_skip_samples
define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv13.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_0.0.off08.reg2mem = alloca i64 %sv_0.0.off0.reg2mem = alloca i32 %storemerge5.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %2, i64 0) %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = sext i32 %10 to i64 %12 = icmp ugt i64 %11, %arg2 %13 = zext i1 %12 to i64 %14 = call i64 @FUNC(i64 %13) %15 = load i64, i64* %7, align 8 %16 = add i64 %15, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %.pre = load i64, i64* %7, align 8 store i32 1, i32* %storemerge5.reg2mem br i1 %22, label LBL_2, label LBL_1 LBL_1: %23 = add i64 %.pre, 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 store i32 %25, i32* %storemerge5.reg2mem br label LBL_2 LBL_2: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %26 = add i64 %.pre, 4 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %29) %31 = icmp eq i1 %22, false br i1 %31, label LBL_2.LBL_5_crit_edge, label LBL_4 LBL_3: %sext = mul i64 %30, 4294967296 %32 = ashr exact i64 %sext, 32 %33 = mul i64 %32, %arg2 %extract.t = trunc i64 %33 to i32 store i32 %extract.t, i32* %sv_0.0.off0.reg2mem store i64 %33, i64* %sv_0.0.off08.reg2mem br label LBL_5 LBL_4: store i32 0, i32* %sv_0.0.off0.reg2mem store i64 0, i64* %sv_0.0.off08.reg2mem br label LBL_5 LBL_5: %sv_0.0.off08.reload = load i64, i64* %sv_0.0.off08.reg2mem %sv_0.0.off0.reload = load i32, i32* %sv_0.0.off0.reg2mem %34 = load i64, i64* %7, align 8 %35 = add i64 %34, 16 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %37, -1 store i64 %34, i64* %.reg2mem br i1 %38, label LBL_7, label LBL_6 LBL_6: %39 = add i64 %34, 12 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = zext i32 %41 to i64 %43 = call i64 @FUNC(i64 1, i64 %42) %44 = sext i32 %arg3 to i64 %45 = call i64 @FUNC(i64 %arg2, i64 %43, i64 %44) %46 = trunc i64 %45 to i32 %47 = load i64, i64* %7, align 8 %48 = add i64 %47, 16 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = add i32 %50, %46 store i32 %51, i32* %49, align 4 %.pre16 = load i64, i64* %7, align 8 store i64 %.pre16, i64* %.reg2mem br label LBL_7 LBL_7: %.reload = load i64, i64* %.reg2mem %52 = inttoptr i64 %.reload to i32* %53 = load i32, i32* %52, align 4 %54 = trunc i64 %arg2 to i32 %55 = sub i32 %53, %54 store i32 %55, i32* %52, align 4 %56 = load i64, i64* %7, align 8 %57 = add i64 %56, 20 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = sub i32 %59, %sv_0.0.off0.reload store i32 %60, i32* %58, align 4 %61 = icmp sgt i32 %storemerge5.reload, 0 br i1 %61, label LBL_8, label LBL_12 LBL_8: %wide.trip.count = zext i32 %storemerge5.reload to i64 store i64 0, i64* %indvars.iv13.reg2mem br label LBL_9 LBL_9: %indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem %62 = load i64, i64* %7, align 8 %63 = mul i64 %indvars.iv13.reload, 8 %64 = add nuw nsw i64 %63, 120 %65 = add i64 %64, %62 %66 = inttoptr i64 %65 to i64* %67 = load i64, i64* %66, align 8 %68 = add i64 %67, %sv_0.0.off08.reload store i64 %68, i64* %66, align 8 %indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next14, %wide.trip.count store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: %69 = sext i32 %storemerge5.reload to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_11 LBL_11: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %70 = load i64, i64* %7, align 8 %71 = mul i64 %indvars.iv.reload, 8 %72 = add i64 %70, %71 %73 = add i64 %72, 120 %74 = inttoptr i64 %73 to i64* %75 = load i64, i64* %74, align 8 %76 = add i64 %72, 56 %77 = inttoptr i64 %76 to i64* store i64 %75, i64* %77, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %78 = icmp slt i64 %indvars.iv.next, %69 %79 = icmp ult i64 %indvars.iv.next, 8 %or.cond = icmp eq i1 %78, %79 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %or.cond, label LBL_11, label LBL_12 LBL_12: %80 = add i64 %2, 8 %81 = inttoptr i64 %80 to i64* %82 = load i64, i64* %81, align 8 %83 = add i64 %82, %arg2 store i64 %83, i64* %81, align 8 %84 = call i64 @FUNC(i64 %2, i64 0) ret i64 %84 uselistorder i64 %indvars.iv.next, { 0, 2, 1 } uselistorder i64 %34, { 1, 0, 2 } uselistorder i32 %storemerge5.reload, { 1, 2, 0 } uselistorder i64* %7, { 4, 5, 6, 1, 3, 0, 2, 7, 8 } uselistorder i32* %storemerge5.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv13.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 120, { 1, 0 } uselistorder i64 8, { 3, 2, 0, 1, 4 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i64 (i64)* @av_assert1, { 1, 0 } uselistorder i64 %arg2, { 0, 3, 2, 1, 4 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
migrate_vma_setup_12051
migrate_vma_setup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = and i64 %5, -4096 store i64 %6, i64* %4, align 8 %7 = load i64, i64* %2, align 8 %8 = and i64 %7, -4096 store i64 %8, i64* %2, align 8 %9 = icmp eq i64* %arg1, null br i1 %9, label LBL_4, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_2 LBL_2: %14 = load i64, i64* %2, align 8 %15 = urem i64 %14, 2 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %0) ret i64 4294967274 LBL_4: ret i64 4294967274 uselistorder label LBL_4, { 2, 1, 0 } }
1
BinRealVul
bmdma_irq_15600
bmdma_irq
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %2, 4294967295 %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %7, i64 %6) store i64 %8, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %9 = trunc i64 %1 to i32 %10 = icmp eq i32* %arg1, null store i32 %9, i32* %.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = ptrtoint i32* %arg1 to i64 %12 = add i64 %11, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = or i32 %14, 1 store i32 %15, i32* %13, align 4 %.phi.trans.insert = bitcast i64* %rdi to i32* %.pre = load i32, i32* %.phi.trans.insert, align 8 store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %16 = and i64 %2, 4294967295 %17 = zext i32 %.reload to i64 %18 = call i64 @FUNC(i64 %17, i64 %16) store i64 %18, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @qemu_set_irq, { 1, 0 } uselistorder i64 4294967295, { 1, 0, 2, 3, 4 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
find_low_bit_6651
find_low_bit
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i32 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = trunc i64 %0 to i32 store i32 0, i32* %storemerge35.reg2mem br label LBL_1 LBL_1: %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %2 = urem i32 %storemerge35.reload, 32 %3 = icmp eq i32 %2, 0 %4 = lshr i32 %1, %2 %5 = zext i32 %4 to i64 %storemerge = select i1 %3, i64 %0, i64 %5 %6 = urem i64 %storemerge, 2 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = zext i32 %storemerge35.reload to i64 store i64 %8, i64* %storemerge2.reg2mem br label LBL_4 LBL_3: %9 = add nuw nsw i32 %storemerge35.reload, 1 %10 = icmp ult i32 %9, 32 store i32 %9, i32* %storemerge35.reg2mem store i64 0, i64* %storemerge2.reg2mem br i1 %10, label LBL_1, label LBL_4 LBL_4: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem ret i64 %storemerge2.reload uselistorder i32 %2, { 1, 0 } uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 } uselistorder i32 32, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
perf_event_exit_task_context_10280
perf_event_exit_task_context
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge34.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, %arg1 %2 = icmp eq i1 %1, false %3 = zext i1 %2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = and i64 %arg2, 4294967295 %6 = call i64 @FUNC(i64 %arg1, i64 %5) %7 = icmp eq i64 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_6, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %8 = call i64 @FUNC(i64 %6) %9 = add i64 %6, 4 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %6) %12 = call i64 @FUNC(i64 %11, i64 %6) %13 = ashr exact i64 %sext, 29 %14 = add i64 %11, %13 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %15, align 8 %16 = call i64 @FUNC(i64 %6) %17 = add i64 %6, 16 %18 = inttoptr i64 %17 to i64* store i64 1, i64* %18, align 8 %19 = load i64, i64* @gv_0, align 8 %20 = call i64 @FUNC(i64 %19) %21 = call i64 @FUNC(i64 %6) %22 = call i64 @FUNC(i64 %9) %23 = icmp eq i64 %21, 0 br i1 %23, label LBL_3, label LBL_2 LBL_2: %24 = call i64 @FUNC(i64 %21) br label LBL_3 LBL_3: %25 = call i64 @FUNC(i64 %arg1, i64 %6, i64 0) %26 = add i64 %6, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, %26 %30 = icmp eq i1 %29, false store i64 %28, i64* %storemerge34.reg2mem br i1 %30, label LBL_4, label LBL_5 LBL_4: %storemerge34.reload = load i64, i64* %storemerge34.reg2mem %storemerge.in = inttoptr i64 %storemerge34.reload to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %31 = call i64 @FUNC(i64 %storemerge34.reload, i64 %6, i64 %arg1) %32 = icmp eq i64 %storemerge, %26 %33 = icmp eq i1 %32, false store i64 %storemerge, i64* %storemerge34.reg2mem br i1 %33, label LBL_4, label LBL_5 LBL_5: %34 = call i64 @FUNC(i64 %6) %35 = call i64 @FUNC(i64 %6) store i64 %35, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %26, { 1, 0, 2 } uselistorder i64 %6, { 1, 2, 0, 4, 3, 5, 7, 6, 11, 10, 9, 8, 12 } uselistorder i64* %storemerge34.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @put_ctx, { 2, 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 1, { 4, 3, 2, 1, 0, 7, 8, 6, 5 } uselistorder i64 %arg1, { 0, 1, 3, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
identity_count_19129
identity_count
define i64 @FUNC(i32* %arg1, i8* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = call i32 @strlen(i8* %arg2) %4 = call i32 @strlen(i8* %arg3) %5 = add i32 %4, %3 %6 = mul i32 %5, 3 %7 = add i32 %2, 1 %8 = add i32 %7, %6 store i32 %8, i32* %arg1, align 4 ret i64 1 uselistorder i32 (i8*)* @strlen, { 1, 0 } }
1
BinRealVul
regfree_12683
regfree
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = inttoptr i64 %arg1 to i64* call void @free(i64* %1) call void @free(i64* %1) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder void (i64*)* @free, { 1, 0 } }
1
BinRealVul
sshkey_load_file_11797
sshkey_load_file
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %2 = load i64, i64* %0 %3 = load i32, i32* %1 %sv_2 = alloca i64, align 8 %4 = trunc i64 %arg1 to i32 %5 = bitcast i64* %sv_2 to %stat* %6 = call i32 @fstat(i32 %4, %stat* nonnull %5) %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_13 LBL_1: %9 = ptrtoint i64* %arg2 to i64 %10 = and i64 %arg1, 4294967295 %11 = and i32 %3, 61440 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false %14 = icmp slt i64 %2, 1025 %or.cond = or i1 %14, %13 store i64 4294967294, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_13 LBL_2: %15 = call i64 @FUNC(i64 4198496, i64 %10, i64* nonnull %sv_1, i64 1024) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i32* @__errno_location() %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 32 store i64 4294967295, i64* %sv_0.0.ph.reg2mem br i1 %20, label LBL_6, label LBL_9 LBL_4: %21 = call i64 @FUNC(i64 %9, i64* nonnull %sv_1, i64 %15) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_10, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %9) %26 = icmp ult i64 %25, 1025 store i64 4294967294, i64* %sv_0.0.ph.reg2mem br i1 %26, label LBL_2, label LBL_9 LBL_6: br i1 %13, label LBL_8, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 %9) %28 = icmp eq i64 %2, %27 store i64 4294967293, i64* %sv_0.0.ph.reg2mem br i1 %28, label LBL_8, label LBL_9 LBL_8: %29 = call i64 @FUNC(i64* nonnull %sv_1, i64 1024) store i64 0, i64* %sv_0.04.reg2mem br label LBL_12 LBL_9: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %30 = call i64 @FUNC(i64* nonnull %sv_1, i64 1024) store i64 %sv_0.0.ph.reload, i64* %sv_0.03.reg2mem br label LBL_11 LBL_10: %31 = call i64 @FUNC(i64* nonnull %sv_1, i64 1024) store i64 %21, i64* %sv_0.03.reg2mem br label LBL_11 LBL_11: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %32 = call i64 @FUNC(i64 %9) store i64 %sv_0.03.reload, i64* %sv_0.04.reg2mem br label LBL_12 LBL_12: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %33 = and i64 %sv_0.04.reload, 4294967295 store i64 %33, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %13, { 1, 0 } uselistorder i64 %9, { 2, 0, 1, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %sv_1, { 2, 1, 0, 3, 4 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_0.04.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64*, i64)* @explicit_bzero, { 2, 1, 0 } uselistorder i64 (i64)* @sshbuf_len, { 1, 0 } uselistorder i64 1024, { 2, 1, 0, 3 } uselistorder i64 4294967294, { 1, 0 } uselistorder i64 1025, { 1, 0 } uselistorder label LBL_13, { 2, 0, 1 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 2, 0, 1 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
syborg_virtio_readl_16287
syborg_virtio_readl
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i32 %1) %3 = icmp ult i64 %arg2, 256 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %arg2, -256 %5 = call i64 @FUNC(i64 %0, i64 %4) store i64 %5, i64* %rax.0.reg2mem br label LBL_14 LBL_2: %6 = udiv i64 %arg2, 4 store i64 %6, i64* @0, align 8 %7 = udiv i64 %arg2, 16 %8 = mul i64 %6, 4611686018427387904 %9 = or i64 %8, %7 store i32 1, i32* %sv_0.0.reg2mem switch i64 %9, label LBL_12 [ i64 0, label LBL_13 i64 1, label LBL_3 i64 2, label LBL_4 i64 3, label LBL_5 i64 4, label LBL_6 i64 5, label LBL_7 i64 6, label LBL_8 i64 7, label LBL_9 i64 8, label LBL_10 i64 9, label LBL_11 ] LBL_3: %10 = add i64 %0, 12 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 store i32 %12, i32* %sv_0.0.reg2mem br label LBL_13 LBL_4: %13 = trunc i64 %0 to i32 %14 = or i32 %13, 1 store i32 %14, i32* %sv_0.0.reg2mem br label LBL_13 LBL_5: %15 = add i64 %0, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 store i32 %17, i32* %sv_0.0.reg2mem br label LBL_13 LBL_6: %18 = add i64 %0, 24 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %0, i64 %21) %23 = trunc i64 %22 to i32 store i32 %23, i32* %sv_0.0.reg2mem br label LBL_13 LBL_7: %24 = add i64 %0, 24 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %0, i64 %27) %29 = trunc i64 %28 to i32 store i32 %29, i32* %sv_0.0.reg2mem br label LBL_13 LBL_8: %30 = add i64 %0, 24 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 store i32 %32, i32* %sv_0.0.reg2mem br label LBL_13 LBL_9: %33 = add i64 %0, 8 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 store i32 %35, i32* %sv_0.0.reg2mem br label LBL_13 LBL_10: %36 = add i64 %0, 8 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 store i32 %38, i32* %sv_0.0.reg2mem br label LBL_13 LBL_11: %39 = add i64 %0, 12 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 store i32 %41, i32* %sv_0.0.reg2mem br label LBL_13 LBL_12: %42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i32 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %43 = zext i32 %sv_0.0.reload to i64 store i64 %43, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 8, { 1, 2, 0 } uselistorder i64 4, { 2, 1, 0 } uselistorder label LBL_13, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 } }
1
BinRealVul
vmgenid_realize_17006
vmgenid_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 %11, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %12 = call i64 @FUNC() %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 %16, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %17 = call i64 @FUNC(i64 4198791, i64 %6) store i64 %17, 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 %4, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @error_setg, { 1, 0 } }
1
BinRealVul
modify_exif_tag_if_it_exists_7042
modify_exif_tag_if_it_exists
define i64 @FUNC(i64* %arg1, i32 %arg2, i16 %arg3, i16 %arg4) local_unnamed_addr { LBL_0: %rax.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 %0, i32 %arg2, i16 %arg3, i64* nonnull %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = load i32, i32* %sv_0, align 4 %6 = add i64 %2, 2 %7 = urem i32 %5, 256 %8 = zext i32 %7 to i64 %9 = and i64 %6, 4294967295 %10 = call i64 @FUNC(i64 %0, i32 %arg2, i64 %9, i64 %8) %11 = trunc i64 %10 to i16 %12 = load i32, i32* %sv_0, align 4 %13 = add i64 %2, 4 %14 = urem i32 %12, 256 %15 = zext i32 %14 to i64 %16 = and i64 %13, 4294967295 %17 = call i64 @FUNC(i64 %0, i32 %arg2, i64 %16, i64 %15) %18 = icmp eq i16 %11, 2 %19 = icmp eq i1 %18, false store i64 %17, i64* %rax.0.reg2mem br i1 %19, label LBL_4, label LBL_2 LBL_2: %20 = trunc i64 %17 to i32 %21 = icmp eq i32 %20, 1 %22 = icmp eq i1 %21, false store i64 %17, i64* %rax.0.reg2mem br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = load i32, i32* %sv_0, align 4 %24 = add i64 %2, 8 %25 = urem i32 %23, 256 %26 = zext i32 %25 to i64 %27 = zext i16 %arg4 to i64 %28 = and i64 %24, 4294967295 %29 = call i64 @FUNC(i64 %0, i32 %arg2, i64 %28, i64 %27, i64 %26) store i64 %29, 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 %17, { 0, 2, 1 } uselistorder i64 %2, { 1, 2, 3, 0, 4 } uselistorder i32* %sv_0, { 2, 1, 0, 3 } uselistorder label LBL_4, { 1, 2, 3, 0 } }
0
BinRealVul
tcp_chr_connect_2871
tcp_chr_connect
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 = call i64 @FUNC(i64 %0) %5 = add i64 %3, 12 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = inttoptr i64 %3 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %12, 24 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %12, 16 %17 = add i64 %12, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %7 to i64 %21 = zext i32 %10 to i64 %22 = zext i32 %15 to i64 %23 = zext i32 %19 to i64 %24 = call i64 @FUNC(i64 %12, i64 %23, i64 %16, i64 %22, i64 %21, i64 %20) store i64 %24, i64* %arg1, align 8 %25 = add i64 %3, 16 %26 = inttoptr i64 %25 to i32* store i32 1, i32* %26, align 4 %27 = add i64 %3, 24 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 br i1 %30, label LBL_2, label LBL_1 LBL_1: %31 = call i64 @FUNC(i64 %29, i64 4198817, i64 4198824, i64 %0) %32 = trunc i64 %31 to i32 %33 = add i64 %0, 16 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 br label LBL_2 LBL_2: %35 = call i64 @FUNC(i64 %0) ret i64 %35 uselistorder i64 %12, { 1, 0, 2, 3 } uselistorder i64 %0, { 2, 1, 0, 3, 4 } }
0
BinRealVul
mm_decode_intra_15906
mm_decode_intra
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rdi.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %rdi.1.ph.reg2mem = alloca i64 %sv_2.0.ph.reg2mem = alloca i32 %sv_1.0.ph.reg2mem = alloca i32 %rdi.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_4.0.in.reg2mem = alloca i8 %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg5 to i32 %3 = trunc i64 %arg2 to i32 %4 = icmp ne i32 %3, 0 %5 = zext i1 %4 to i32 %6 = add i64 %1, 8 %7 = inttoptr i64 %6 to i32* %8 = trunc i64 %arg3 to i32 %9 = icmp eq i32 %8, 0 %10 = add i64 %1, 16 %11 = inttoptr i64 %10 to i64* store i32 0, i32* %sv_1.0.ph.reg2mem store i32 0, i32* %sv_2.0.ph.reg2mem store i64 %1, i64* %rdi.1.ph.reg2mem br label LBL_9 LBL_1: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %12 = sext i32 %sv_1.0.reload to i64 %13 = add i64 %12, %0 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = icmp slt i8 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = add i32 %sv_1.0.reload, 1 store i8 %15, i8* %sv_4.0.in.reg2mem store i32 1, i32* %sv_3.0.reg2mem store i32 %18, i32* %storemerge.reg2mem br label LBL_4 LBL_3: %19 = urem i8 %15, -128 %narrow = add nuw i8 %19, 2 %20 = zext i8 %narrow to i32 %21 = add i64 %13, 1 %22 = add i32 %sv_1.0.reload, 2 %sv_4.0.in.in.phi.trans.insert = inttoptr i64 %21 to i8* %sv_4.0.in.pre = load i8, i8* %sv_4.0.in.in.phi.trans.insert, align 1 store i8 %sv_4.0.in.pre, i8* %sv_4.0.in.reg2mem store i32 %20, i32* %sv_3.0.reg2mem store i32 %22, i32* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i32, i32* %storemerge.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %sv_4.0.in.reload = load i8, i8* %sv_4.0.in.reg2mem %spec.select = shl nuw nsw i32 %sv_3.0.reload, %5 %23 = icmp eq i8 %sv_4.0.in.reload, 0 store i64 %rdi.1.reload, i64* %rdi.0.reg2mem br i1 %23, label LBL_7, label LBL_5 LBL_5: %sv_4.0 = zext i8 %sv_4.0.in.reload to i32 %24 = load i32, i32* %7, align 4 %25 = mul i32 %24, %sv_2.0.ph.reload %26 = sext i32 %25 to i64 %27 = sext i32 %sv_0.0.reload to i64 %28 = add i64 %rdi.1.reload, %27 %29 = add i64 %28, %26 %30 = inttoptr i64 %29 to i64* %31 = call i64* @memset(i64* %30, i32 %sv_4.0, i32 %spec.select) store i64 %29, i64* %rdi.0.reg2mem br i1 %9, label LBL_7, label LBL_6 LBL_6: %32 = load i32, i32* %7, align 4 %33 = mul i32 %32, %47 %34 = sext i32 %33 to i64 %35 = add i64 %29, %27 %36 = add i64 %35, %34 %37 = inttoptr i64 %36 to i64* %38 = call i64* @memset(i64* %37, i32 %sv_4.0, i32 %spec.select) store i64 %36, i64* %rdi.0.reg2mem br label LBL_7 LBL_7: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %39 = add i32 %spec.select, %sv_0.0.reload %40 = load i64, i64* %11, align 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = zext i32 %42 to i64 %44 = sext i32 %39 to i64 %45 = icmp slt i64 %44, %43 store i32 %storemerge.reload, i32* %sv_1.0.reg2mem store i32 %39, i32* %sv_0.0.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %45, label LBL_10, label LBL_8 LBL_8: %46 = add i32 %47, %8 store i32 %storemerge.reload, i32* %sv_1.0.ph.reg2mem store i32 %46, i32* %sv_2.0.ph.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.ph.reg2mem br label LBL_9 LBL_9: %rdi.1.ph.reload = load i64, i64* %rdi.1.ph.reg2mem %sv_2.0.ph.reload = load i32, i32* %sv_2.0.ph.reg2mem %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %47 = add i32 %sv_2.0.ph.reload, 1 store i32 %sv_1.0.ph.reload, i32* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem store i64 %rdi.1.ph.reload, i64* %rdi.1.reg2mem br label LBL_10 LBL_10: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %48 = icmp slt i32 %sv_1.0.reload, %2 br i1 %48, label LBL_1, label LBL_11 LBL_11: %49 = zext i32 %sv_1.0.reload to i64 ret i64 %49 uselistorder i32 %sv_1.0.reload, { 4, 0, 1, 3, 2 } uselistorder i32 %47, { 1, 0 } uselistorder i64 %rdi.0.reload, { 1, 0 } uselistorder i64 %29, { 1, 0, 2 } uselistorder i32 %sv_4.0, { 1, 0 } uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i8 %15, { 1, 0, 2 } uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %1, { 0, 2, 1 } uselistorder i8* %sv_4.0.in.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_3.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.ph.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.ph.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 1, 2, 0 } uselistorder i64* %rdi.1.reg2mem, { 1, 2, 0 } }
1
BinRealVul
avfilter_default_start_frame_1217
avfilter_default_start_frame
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 16 %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 = icmp eq i32 %5, 0 store i64 0, i64* %rax.1.reg2mem br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 store i64 0, i64* %rax.1.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = inttoptr i64 %11 to i32* %14 = add i64 %11, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = load i32, i32* %13, align 4 %18 = call i64 @FUNC(i64 %11, i64 1, i32 %17, i32 %16) %19 = add i64 %11, 8 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 %21 = inttoptr i64 %18 to i64* store i64 1, i64* %21, align 8 %22 = load i64, i64* %20, align 8 %23 = call i64 @FUNC(i64 %22, i64 4294967295) %24 = call i64 @FUNC(i64 %11, i64 %23) store i64 %24, i64* %rax.1.reg2mem br label LBL_3 LBL_3: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %11, { 0, 1, 2, 3, 5, 4 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1 } uselistorder label LBL_3, { 1, 2, 0 } }
0
BinRealVul
dump_2430
dump
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64 %arg2, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br i1 %1, label LBL_6, label LBL_1 LBL_1: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %2 = urem i32 %storemerge1.reload, 16 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_2 LBL_2: %5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i32 %storemerge1.reload) br label LBL_3 LBL_3: %6 = add i64 %.reload, %0 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = zext i8 %8 to i32 %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 %9) %11 = icmp eq i32 %2, 15 %12 = icmp eq i1 %11, false br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = call i32 @putchar(i32 10) br label LBL_5 LBL_5: %14 = add i32 %storemerge1.reload, 1 %15 = sext i32 %14 to i64 %16 = icmp ult i64 %15, %arg2 store i64 %15, i64* %.reg2mem store i32 %14, i32* %storemerge1.reg2mem br i1 %16, label LBL_1, label LBL_6 LBL_6: %17 = call i32 @putchar(i32 10) %18 = sext i32 %17 to i64 ret i64 %18 uselistorder i32 %2, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i32 10, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
do_io_accounting_5290
do_io_accounting
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 store i64 %0, i64* %sv_1, 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 = add i64 %0, 32 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %0, 40 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %0, 48 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %0, i64 0) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i64 4294967283, i64* %storemerge.reg2mem br i1 %22, label LBL_1, label LBL_7 LBL_1: %23 = trunc i64 %arg3 to i32 %24 = icmp eq i32 %23, 0 store i64 %0, i64* %.reg2mem br i1 %24, label LBL_6, label LBL_2 LBL_2: %25 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 store i64 %0, i64* %.reg2mem br i1 %27, label LBL_6, label LBL_3 LBL_3: %28 = add i64 %0, 56 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64* nonnull %sv_1, i64 %30) %32 = icmp eq i64* %arg1, null %33 = icmp eq i1 %32, false br i1 %33, label LBL_4, label LBL_5 LBL_4: %34 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0) br label LBL_5 LBL_5: %35 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0) %.pre = load i64, i64* %sv_1, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_6 LBL_6: %.reload = load i64, i64* %.reg2mem %36 = bitcast i64* %arg2 to i8* %37 = call i32 (i8*, i8*, ...) @sprintf(i8* %36, i8* getelementptr inbounds ([112 x i8], [112 x i8]* @gv_0, i64 0, i64 0), i64 %.reload, i64 %3, i64 %6, i64 %9, i64 %12, i64 %15, i64 %18) %38 = sext i32 %37 to i64 store i64 %38, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 3, 2, 4, 1, 5, 0, 6, 13, 12, 11, 10, 9, 7, 8 } uselistorder i64* %.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64*, i64)* @task_io_accounting_add, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
cypress_chars_in_buffer_10180
cypress_chars_in_buffer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = load i64, i64* %0 %5 = call i64 @FUNC(i64 %3) %6 = call i64 @FUNC(i64 %5, i64 %4) %7 = add i64 %5, 4 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %5, i64 %4) %10 = and i64 %8, 4294967295 %11 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %2, i64 %1) ret i64 %10 uselistorder i64 %4, { 1, 0 } uselistorder i64* %0, { 2, 1, 0 } }
0
BinRealVul
jbig2_image_set_pixel_10445
jbig2_image_set_pixel
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = icmp sgt i32 %2, -1 %4 = trunc i64 %1 to i32 %5 = icmp sgt i32 %4, %2 %or.cond8 = icmp eq i1 %3, %5 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond8, label LBL_1, label LBL_3 LBL_1: %6 = add i64 %arg1, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = trunc i64 %arg3 to i32 %10 = icmp sgt i32 %9, -1 %11 = icmp sgt i32 %8, %9 %or.cond = icmp eq i1 %10, %11 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_3 LBL_2: %12 = udiv i32 %2, 8 %13 = add i64 %arg1, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = mul i32 %15, %9 %17 = add i32 %16, %12 %18 = urem i32 %2, 8 %19 = xor i32 %18, 7 %20 = shl i32 1, %19 %21 = xor i32 %20, 255 %22 = add i64 %arg1, 16 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = sext i32 %17 to i64 %26 = add i64 %24, %25 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = zext i8 %28 to i32 %30 = and i32 %21, %29 %31 = icmp eq i32 %19, 0 %32 = trunc i64 %arg4 to i32 %33 = urem i32 %32, 256 %34 = shl i32 %33, %19 %35 = zext i32 %34 to i64 %rdx.0 = select i1 %31, i64 %arg4, i64 %35 %36 = trunc i64 %rdx.0 to i32 %37 = or i32 %30, %36 %38 = trunc i32 %37 to i8 store i8 %38, i8* %27, align 1 store i64 1, 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 %19, { 1, 0, 2 } uselistorder i32 %9, { 0, 2, 1 } uselistorder i32 %2, { 1, 0, 3, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 8, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 %arg4, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
0
BinRealVul
palette8torgb32_1038
palette8torgb32
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %0 = icmp sgt i64 %arg3, 0 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %0, label LBL_1, label LBL_3 LBL_1: %1 = ptrtoint i64* %arg4 to i64 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 store i64 0, i64* %storemerge3.reg2mem store i64 %2, i64* %sv_0.02.reg2mem br label LBL_2 LBL_2: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %4 = add i64 %storemerge3.reload, %3 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = zext i8 %6 to i64 %8 = mul i64 %7, 4 %9 = or i64 %8, 2 %10 = add i64 %9, %1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = inttoptr i64 %sv_0.02.reload to i8* store i8 %12, i8* %13, align 1 %14 = load i8, i8* %5, align 1 %15 = zext i8 %14 to i64 %16 = mul i64 %15, 4 %17 = or i64 %16, 1 %18 = add i64 %17, %1 %19 = add i64 %sv_0.02.reload, 1 %20 = inttoptr i64 %18 to i8* %21 = load i8, i8* %20, align 1 %22 = inttoptr i64 %19 to i8* store i8 %21, i8* %22, align 1 %23 = load i8, i8* %5, align 1 %24 = zext i8 %23 to i64 %25 = mul i64 %24, 4 %26 = add i64 %25, %1 %27 = add i64 %sv_0.02.reload, 2 %28 = inttoptr i64 %26 to i8* %29 = load i8, i8* %28, align 1 %30 = inttoptr i64 %27 to i8* store i8 %29, i8* %30, align 1 %31 = add i64 %sv_0.02.reload, 4 %32 = add nuw nsw i64 %storemerge3.reload, 1 %exitcond = icmp eq i64 %32, %arg3 store i64 %32, i64* %storemerge3.reg2mem store i64 %31, i64* %sv_0.02.reg2mem store i64 %arg3, i64* %storemerge.lcssa.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 } }
0
BinRealVul
coroutine_enter_func_15451
coroutine_enter_func
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) ret i64 0 }
1
BinRealVul
query_formats_15585
query_formats
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %0 = call i64 @FUNC(i64 %indvars.iv.reload) %1 = inttoptr i64 %0 to i32* %2 = load i32, i32* %1, align 4 %3 = urem i32 %2, 2 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false %6 = trunc i64 %indvars.iv.reload to i32 %7 = or i32 %6, 1 %8 = icmp eq i32 %7, 3 %9 = or i1 %8, %5 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64* nonnull %sv_0, i64 %indvars.iv.reload) br label LBL_3 LBL_3: %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 br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %11 = ptrtoint i64* %arg1 to i64 %12 = load i64, i64* %sv_0, align 8 %13 = call i64 @FUNC(i64 %11, i64 %12) ret i64 0 uselistorder i64 %indvars.iv.reload, { 0, 2, 1, 3 } uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
1
BinRealVul
ioreq_runio_qemu_aio_15228
ioreq_runio_qemu_aio
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.1.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, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, -1 br i1 %7, label LBL_12, label LBL_2 LBL_2: %8 = add i64 %0, 16 %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 = add i64 %0, 20 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %0) br label LBL_4 LBL_4: %17 = add i64 %0, 12 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = icmp sgt i32 %19, -1 %22 = add i32 %19, -1 %23 = icmp ult i32 %22, 2 %or.cond = icmp eq i1 %21, %23 br i1 %or.cond, label LBL_7, label LBL_12 LBL_6: %24 = load i32, i32* %9, align 4 %25 = add i32 %24, 1 store i32 %25, i32* %9, align 4 %26 = add i64 %0, 40 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = udiv i64 %28, 512 %30 = and i64 %29, 4294967295 %31 = add i64 %0, 32 %32 = add i64 %0, 28 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i32 %34, 511 %36 = icmp slt i32 %34, 0 %37 = select i1 %36, i32 %35, i32 %34 %38 = ashr i32 %37, 9 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 %30, i64 %39, i64 %31, i64 %30, i64 4198795, i64 %0) store i64 %30, i64* %rdi.1.reg2mem br label LBL_9 LBL_7: %41 = load i32, i32* %9, align 4 %42 = add i32 %41, 1 store i32 %42, i32* %9, align 4 %43 = load i32, i32* %2, align 4 %44 = icmp eq i32 %43, 0 store i64 %0, i64* %rdi.1.reg2mem br i1 %44, label LBL_9, label LBL_8 LBL_8: %45 = add i64 %0, 40 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = udiv i64 %47, 512 %49 = and i64 %48, 4294967295 %50 = add i64 %0, 32 %51 = add i64 %0, 28 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = add i32 %53, 511 %55 = icmp slt i32 %53, 0 %56 = select i1 %55, i32 %54, i32 %53 %57 = ashr i32 %56, 9 %58 = zext i32 %57 to i64 %59 = call i64 @FUNC(i64 %49, i64 %58, i64 %50, i64 %49, i64 4198795, i64 %0) store i64 %49, i64* %rdi.1.reg2mem br label LBL_9 LBL_9: %60 = add i64 %0, 24 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = icmp eq i32 %62, 0 br i1 %63, label LBL_11, label LBL_10 LBL_10: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %64 = call i64 @FUNC(i64 %rdi.1.reload) br label LBL_11 LBL_11: %65 = call i64 @FUNC(i64 %0, i64 0) store i64 0, i64* %storemerge.reg2mem br label LBL_13 LBL_12: %66 = add i64 %0, 48 %67 = inttoptr i64 %66 to i32* store i32 -1, i32* %67, align 4 store i64 4294967295, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %19, { 1, 0, 2 } uselistorder i32* %9, { 1, 0, 3, 2, 4, 5 } uselistorder i64 %0, { 6, 7, 8, 5, 4, 2, 3, 0, 12, 11, 10, 9, 13, 1, 14, 15, 16, 17 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 511, { 1, 0 } uselistorder i64 (i64)* @bdrv_flush, { 1, 0 } uselistorder i32 -1, { 3, 1, 0, 2 } uselistorder label LBL_9, { 1, 0, 2 } }
1
BinRealVul
xwrite_19265
xwrite
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = inttoptr i64 %arg1 to i64* %1 = trunc i64 %arg2 to i32 %2 = trunc i64 %arg3 to i32 %3 = inttoptr i64 %arg4 to %_IO_FILE* %4 = call i32 @fwrite(i64* %0, i32 %1, i32 %2, %_IO_FILE* %3) %5 = sext i32 %4 to i64 %6 = icmp eq i64 %5, %arg3 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i32* @__errno_location() %8 = load i32, i32* %7, align 4 %9 = call i8* @strerror(i32 %8) %10 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %11 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %10, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i8* %9) call void @exit(i32 1) unreachable LBL_2: ret i64 %arg3 }
1
BinRealVul
guess_disk_lchs_18664
guess_disk_lchs
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 512, i64 512) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_14 LBL_1: %3 = call i64 @FUNC(i64 512, i64 0, i64 %0, i64 1) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_3: %8 = add i64 %0, 510 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 85 %12 = icmp eq i1 %11, false br i1 %12, label LBL_6, label LBL_4 LBL_4: %13 = add i64 %0, 511 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = icmp eq i8 %15, -86 br i1 %16, label LBL_5, label LBL_6 LBL_5: %17 = ptrtoint i64* %arg1 to i64 %18 = add i64 %0, 446 %19 = add i64 %17, 8 %20 = inttoptr i64 %19 to i32* store i64 0, i64* %indvars.iv.reg2mem br label LBL_7 LBL_6: %21 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %22 = mul i64 %indvars.iv.reload, 8 %23 = add i64 %18, %22 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_12, label LBL_8 LBL_8: %30 = add i64 %23, 4 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = icmp eq i8 %32, 0 br i1 %33, label LBL_12, label LBL_9 LBL_9: %34 = add i64 %23, 5 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = urem i8 %36, 64 %38 = icmp eq i8 %37, 0 br i1 %38, label LBL_12, label LBL_10 LBL_10: %39 = zext i8 %32 to i32 %40 = add nuw nsw i32 %39, 1 %41 = zext i8 %37 to i32 %42 = load i32, i32* %20, align 4 %43 = mul nuw nsw i32 %40, %41 %44 = ashr i32 %42, 31 %45 = zext i32 %42 to i64 %46 = zext i32 %44 to i64 %47 = mul i64 %46, 4294967296 %48 = or i64 %47, %45 %49 = zext i32 %43 to i64 %50 = sdiv i64 %48, %49 %51 = trunc i64 %50 to i32 %.off = add i32 %51, -1 %52 = icmp ugt i32 %.off, 16382 br i1 %52, label LBL_12, label LBL_11 LBL_11: %53 = bitcast i64* %arg3 to i32* store i32 %40, i32* %53, align 4 %54 = bitcast i64* %arg4 to i32* store i32 %41, i32* %54, align 4 %55 = bitcast i64* %arg2 to i32* store i32 %51, i32* %55, align 4 %56 = zext i8 %37 to i64 %57 = zext i32 %40 to i64 %58 = and i64 %50, 4294967295 %59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %58, i64 %57, i64 %56) %60 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_12: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %61 = icmp ult i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %61, label LBL_7, label LBL_13 LBL_13: %62 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %37, { 2, 0, 1 } uselistorder i64 %0, { 1, 2, 3, 0, 6, 4, 5, 7, 8 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 5, 2, 1 } uselistorder i64 (i64)* @qemu_free, { 2, 3, 1, 0 } uselistorder i64 512, { 0, 2, 1 } uselistorder label LBL_14, { 2, 1, 3, 4, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
iwjson_ftoa_12065
iwjson_ftoa
define i64 @FUNC(i64* %arg1, i64* %arg2, x86_fp80 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i128 %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.02.reg2mem = alloca i32 %1 = load i128, i128* %0 %2 = bitcast i64* %arg1 to i8* %3 = trunc i128 %1 to i80 %4 = bitcast i80 %3 to x86_fp80 %5 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %2, i32 64, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), x86_fp80 %4) %6 = icmp eq i32 %5, 0 %7 = icmp slt i32 %5, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %6, false %10 = icmp eq i1 %8, %9 br i1 %10, label LBL_1, label LBL_3 LBL_1: %11 = icmp slt i32 %5, 1 store i32 %5, i32* %sv_0.1.reg2mem br i1 %11, label LBL_8, label LBL_2 LBL_2: %12 = ptrtoint i64* %arg1 to i64 %13 = add i64 %12, -1 store i32 %5, i32* %sv_0.02.reg2mem br label LBL_5 LBL_3: store i8 0, i8* %2, align 1 store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_4: store i8 0, i8* %18, align 1 %14 = add i32 %sv_0.02.reload, -1 %15 = icmp slt i32 %14, 1 store i32 %14, i32* %sv_0.02.reg2mem store i32 %14, i32* %sv_0.1.reg2mem br i1 %15, label LBL_8, label LBL_5 LBL_5: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %16 = sext i32 %sv_0.02.reload to i64 %17 = add i64 %13, %16 %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = icmp eq i8 %19, 48 br i1 %20, label LBL_4, label LBL_6 LBL_6: %21 = icmp eq i8 %19, 46 %22 = icmp eq i1 %21, false store i32 %sv_0.02.reload, i32* %sv_0.1.reg2mem br i1 %22, label LBL_8, label LBL_7 LBL_7: store i8 0, i8* %18, align 1 %23 = add i32 %sv_0.02.reload, -1 store i32 %23, i32* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %24 = sext i32 %sv_0.1.reload to i64 store i64 %24, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %25 = ptrtoint i64* %arg2 to i64 %storemerge.reload = load i64, i64* %storemerge.reg2mem store i64 %storemerge.reload, i64* %arg2, align 8 ret i64 %25 uselistorder i8* %18, { 0, 2, 1 } uselistorder i32 %sv_0.02.reload, { 3, 0, 2, 1 } uselistorder i32 %5, { 1, 0, 2, 4, 3 } uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i8 0, { 1, 0, 2 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_8, { 2, 3, 0, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
mkentry_18879
mkentry
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 12 %4 = inttoptr i64 %3 to i8* %5 = call i32 @strlen(i8* %4) %6 = load i32, i32* @gv_0, align 4 %7 = icmp slt i32 %6, 1 br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = load i32, i32* @gv_1, align 4 %9 = urem i32 %8, 2 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = add i64 %14, ptrtoint (i8** @gv_2 to i64) %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = zext i8 %17 to i64 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i8 store i8 %20, i8* %sv_0.0.reg2mem br label LBL_3 LBL_3: %21 = trunc i64 %1 to i32 %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %22 = icmp eq i32 %21, 0 store i32 0, i32* %storemerge2.reg2mem br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = add i64 %2, 6 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = zext i8 %25 to i32 %27 = add nuw nsw i32 %26, 11 %28 = and i32 %27, 508 store i32 %28, i32* %storemerge2.reg2mem br label LBL_5 LBL_5: %sext = mul i32 %5, 16777216 %29 = ashr exact i32 %sext, 24 %30 = urem i32 %29, 256 %31 = add nuw nsw i32 %30, 11 %32 = and i32 %31, 508 %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %33 = add i64 %2, 4 %34 = inttoptr i64 %33 to i16* %35 = load i16, i16* %34, align 2 %36 = zext i16 %35 to i64 %37 = call i64 @FUNC(i64 %36) %38 = trunc i64 %37 to i32 %39 = urem i32 %38, 65536 %40 = sub nsw i32 %39, %storemerge2.reload %41 = icmp ugt i32 %32, %40 store i64 0, i64* %storemerge.reg2mem br i1 %41, label LBL_7, label LBL_6 LBL_6: %42 = load i16, i16* %34, align 2 %43 = zext i16 %42 to i64 %44 = call i64 @FUNC(i64 %43) %45 = trunc i64 %44 to i32 %46 = sub i32 %45, %storemerge2.reload %47 = urem i32 %46, 65536 %48 = zext i32 %47 to i64 %49 = call i64 @FUNC(i64 %48) %50 = trunc i64 %49 to i16 %51 = zext i32 %storemerge2.reload to i64 %52 = call i64 @FUNC(i64 %51) %53 = trunc i64 %52 to i16 store i16 %53, i16* %34, align 2 %54 = add i64 %51, %2 %55 = add i64 %2, 8 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = zext i32 %57 to i64 %59 = call i64 @FUNC(i64 %58) %60 = trunc i64 %59 to i32 %61 = inttoptr i64 %54 to i32* store i32 %60, i32* %61, align 4 %62 = add i64 %54, 4 %63 = inttoptr i64 %62 to i16* store i16 %50, i16* %63, align 2 %64 = trunc i32 %29 to i8 %65 = add i64 %54, 6 %66 = inttoptr i64 %65 to i8* store i8 %64, i8* %66, align 1 %67 = add i64 %54, 7 %68 = inttoptr i64 %67 to i8* store i8 %sv_0.0.reload, i8* %68, align 1 %69 = load i8, i8* %66, align 1 %70 = add i64 %54, 8 %71 = inttoptr i64 %70 to i64* %72 = inttoptr i64 %3 to i64* %73 = zext i8 %69 to i32 %74 = call i64* @memcpy(i64* %71, i64* %72, i32 %73) store i64 3, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %storemerge2.reload, { 2, 1, 0 } uselistorder i32 %29, { 1, 0 } uselistorder i64 %2, { 3, 0, 4, 2, 1, 5 } uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @fs2h16, { 2, 1, 0 } uselistorder i32 508, { 1, 0 } uselistorder i32 11, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
nfs4_open_expired_9891
nfs4_open_expired
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp ult i64 %1, -1000 store i64 %1, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC(i64 %1, i64 %0) %4 = call i64 @FUNC(i64 %1) %5 = and i64 %3, 4294967295 store i64 %5, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
OCSP_parse_url_4057
OCSP_parse_url
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i32* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rsi.01013.reg2mem = alloca i64* %rdx.3815.reg2mem = alloca i64 %rsi.01012.reg2mem = alloca i64* %rdx.3814.reg2mem = alloca i64 %rdx.37.reg2mem = alloca i64 %rsi.09.reg2mem = alloca i64* %rdx.2.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %storemerge6.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = inttoptr i64 %arg1 to i8* %4 = call i8* @strdup(i8* %3) %5 = icmp eq i8* %4, null br i1 %5, label LBL_17, label LBL_1 LBL_1: store i64 0, i64* %arg2, align 8 store i64 0, i64* %arg3, align 8 store i64 0, i64* %arg4, align 8 %6 = call i8* @strchr(i8* nonnull %4, i32 58) %7 = icmp eq i8* %6, null store i64 %2, i64* %rdx.2.reg2mem br i1 %7, label LBL_14, label LBL_2 LBL_2: %8 = ptrtoint i8* %6 to i64 %9 = add i64 %8, 1 store i8 0, i8* %6, align 1 %10 = call i32 @strcmp(i8* nonnull %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i32 0, i32* %storemerge6.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_3: %13 = call i32 @strcmp(i8* nonnull %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)) %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i32 1, i32* %storemerge6.reg2mem store i64 %9, i64* %rdx.2.reg2mem br i1 %15, label LBL_14, label LBL_4 LBL_4: %16 = inttoptr i64 %9 to i8* %storemerge6.reload = load i32, i32* %storemerge6.reg2mem store i32 %storemerge6.reload, i32* %arg5, align 4 %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 47 %19 = icmp eq i1 %18, false store i64 %9, i64* %rdx.2.reg2mem br i1 %19, label LBL_14, label LBL_5 LBL_5: %20 = add i64 %8, 2 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = icmp eq i8 %22, 47 %24 = icmp eq i1 %23, false store i64 %9, i64* %rdx.2.reg2mem br i1 %24, label LBL_14, label LBL_6 LBL_6: %25 = add i64 %8, 3 %26 = inttoptr i64 %25 to i8* %27 = call i8* @strchr(i8* %26, i32 47) %28 = icmp eq i8* %27, null %29 = icmp eq i1 %28, false br i1 %29, label LBL_8, label LBL_7 LBL_7: %30 = call i8* @strdup(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %31 = ptrtoint i8* %30 to i64 store i64 %31, i64* %arg4, align 8 br label LBL_9 LBL_8: %32 = call i8* @strdup(i8* %27) %33 = ptrtoint i8* %32 to i64 store i64 %33, i64* %arg4, align 8 store i8 0, i8* %27, align 1 br label LBL_9 LBL_9: %34 = call i8* @strchr(i8* %26, i32 58) %35 = icmp eq i8* %34, null br i1 %35, label LBL_11, label LBL_10 LBL_10: store i8 0, i8* %34, align 1 %36 = ptrtoint i8* %34 to i64 %37 = add i64 %36, 1 %38 = inttoptr i64 %37 to i8* store i8* %38, i8** %sv_0.0.reg2mem br label LBL_12 LBL_11: %39 = trunc i64 %1 to i32 %40 = icmp eq i32 %39, 0 %. = select i1 %40, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0) store i8* %., i8** %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %41 = call i8* @strdup(i8* %sv_0.0.reload) %42 = ptrtoint i8* %41 to i64 store i64 %42, i64* %arg3, align 8 %43 = icmp eq i8* %41, null br i1 %43, label LBL_15, label LBL_13 LBL_13: %44 = call i8* @strdup(i8* %26) %45 = ptrtoint i8* %44 to i64 store i64 %45, i64* %arg2, align 8 %46 = bitcast i8* %4 to i64* call void @free(i64* %46) store i64 1, i64* %storemerge.reg2mem br label LBL_22 LBL_14: %rdx.2.reload = load i64, i64* %rdx.2.reg2mem %47 = call i64 @FUNC(i64 0, i64 1) store i64* inttoptr (i64 1 to i64*), i64** %rsi.09.reg2mem store i64 %rdx.2.reload, i64* %rdx.37.reg2mem br label LBL_16 LBL_15: %48 = call i64 @FUNC(i64 0, i64 2) store i64* inttoptr (i64 2 to i64*), i64** %rsi.09.reg2mem store i64 %42, i64* %rdx.37.reg2mem br label LBL_16 LBL_16: %rdx.37.reload = load i64, i64* %rdx.37.reg2mem %rsi.09.reload = load i64*, i64** %rsi.09.reg2mem %49 = bitcast i8* %4 to i64* call void @free(i64* %49) store i64 %rdx.37.reload, i64* %rdx.3814.reg2mem store i64* %rsi.09.reload, i64** %rsi.01012.reg2mem br label LBL_18 LBL_17: %50 = call i64 @FUNC(i64 0, i64 2) %51 = icmp eq i64* %arg4, null store i64 %2, i64* %rdx.3814.reg2mem store i64* inttoptr (i64 2 to i64*), i64** %rsi.01012.reg2mem store i64 %2, i64* %rdx.3815.reg2mem store i64* inttoptr (i64 2 to i64*), i64** %rsi.01013.reg2mem br i1 %51, label LBL_19, label LBL_18 LBL_18: %rsi.01012.reload = load i64*, i64** %rsi.01012.reg2mem %rdx.3814.reload = load i64, i64* %rdx.3814.reg2mem call void @free(i64* nonnull %arg4) store i64 %rdx.3814.reload, i64* %rdx.3815.reg2mem store i64* %rsi.01012.reload, i64** %rsi.01013.reg2mem br label LBL_19 LBL_19: %rsi.01013.reload = load i64*, i64** %rsi.01013.reg2mem %rdx.3815.reload = load i64, i64* %rdx.3815.reg2mem %52 = icmp eq i64 %rdx.3815.reload, 0 br i1 %52, label LBL_21, label LBL_20 LBL_20: %53 = inttoptr i64 %rdx.3815.reload to i64* call void @free(i64* %53) br label LBL_21 LBL_21: call void @free(i64* %rsi.01013.reload) store i64 0, i64* %storemerge.reg2mem br label LBL_22 LBL_22: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %34, { 1, 0, 2 } uselistorder i64 %9, { 0, 1, 3, 2 } uselistorder i8* %6, { 1, 0, 2 } uselistorder i8* %4, { 4, 0, 1, 2, 3, 5 } uselistorder i64* %rdx.3815.reg2mem, { 0, 2, 1 } uselistorder i64** %rsi.01013.reg2mem, { 0, 2, 1 } uselistorder i64 2, { 0, 1, 3, 2 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i64 1, { 1, 2, 0, 3, 4 } uselistorder i8* (i8*, i32)* @strchr, { 2, 1, 0 } uselistorder i8* (i8*)* @strdup, { 4, 3, 2, 1, 0 } uselistorder i64* %arg4, { 1, 2, 0, 3, 4 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 2, 3, 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
vnc_client_read_buf_15843
vnc_client_read_buf
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 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 %8, i64 %3, i64 %arg3, i64 0) %10 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %arg3, i64 %9, i64 %2, i64 %1) %11 = call i64 @FUNC() %12 = and i64 %11, 4294967295 %13 = call i64 @FUNC(i64 %4, i64 %9, i64 %12) ret i64 %13 uselistorder i64* %0, { 1, 0 } uselistorder i64 0, { 2, 3, 4, 0, 1, 5 } }
1
BinRealVul
virtqueue_get_head_15375
virtqueue_get_head
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = trunc i64 %1 to i32 %.lhs.trunc = trunc i64 %arg2 to i32 %4 = urem i32 %.lhs.trunc, %3 %.zext = zext i32 %4 to i64 %5 = call i64 @FUNC(i64 %2, i64 %.zext) %6 = trunc i64 %5 to i32 %7 = icmp ugt i32 %3, %6 %8 = and i64 %5, 4294967295 br i1 %7, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %8) call void @exit(i32 1) unreachable LBL_2: ret i64 %8 }
1
BinRealVul
acl_match_meth_10804
acl_match_meth
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 12 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %4, %7 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_7 LBL_1: %9 = icmp eq i32 %4, 2 store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_7 LBL_2: %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %1, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %12, %15 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_3, label LBL_7 LBL_3: %17 = add i64 %0, 12 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = urem i32 %19, 2 %21 = icmp eq i32 %20, 0 %22 = bitcast i64* %arg2 to i8* %23 = bitcast i64* %arg1 to i8* br i1 %21, label LBL_5, label LBL_4 LBL_4: %24 = call i32 @strncasecmp(i8* %22, i8* %23, i32 %12) %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false store i64 0, i64* %rax.0.reg2mem br i1 %26, label LBL_7, label LBL_6 LBL_5: %27 = call i32 @strncmp(i8* %22, i8* %23, i32 %12) %28 = icmp eq i32 %27, 0 store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_6, label LBL_7 LBL_6: store i64 1, 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 i8* %23, { 1, 0 } uselistorder i8* %22, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 3, 4, 5 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_7, { 5, 1, 0, 2, 3, 4 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
cil_reset_classperms_set_6315
cil_reset_classperms_set
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = inttoptr i64 %arg1 to i64* store i64 0, i64* %1, align 8 store i64 %arg1, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
vtd_init_7424
vtd_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = inttoptr i64 %arg1 to i64* %1 = call i64* @memset(i64* %0, i32 0, i32 128) %2 = add i64 %arg1, 128 %3 = inttoptr i64 %2 to i64* %4 = call i64* @memset(i64* %3, i32 0, i32 128) %5 = add i64 %arg1, 256 %6 = inttoptr i64 %5 to i64* %7 = call i64* @memset(i64* %6, i32 0, i32 128) %8 = add i64 %arg1, 384 %9 = inttoptr i64 %8 to i64* %10 = call i64* @memset(i64* %9, i32 0, i32 128) %11 = add i64 %arg1, 512 %12 = inttoptr i64 %11 to i64* store i64 4198804, i64* %12, align 8 %13 = add i64 %arg1, 520 %14 = inttoptr i64 %13 to i64* store i64 4198811, i64* %14, align 8 %15 = add i64 %arg1, 528 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %16, align 8 %17 = add i64 %arg1, 536 %18 = inttoptr i64 %17 to i8* store i8 0, i8* %18, align 1 %19 = add i64 %arg1, 537 %20 = inttoptr i64 %19 to i8* store i8 0, i8* %20, align 1 %21 = add i64 %arg1, 544 %22 = inttoptr i64 %21 to i64* store i64 0, i64* %22, align 8 %23 = add i64 %arg1, 552 %24 = inttoptr i64 %23 to i64* store i64 0, i64* %24, align 8 %25 = add i64 %arg1, 560 %26 = inttoptr i64 %25 to i64* store i64 0, i64* %26, align 8 %27 = add i64 %arg1, 568 %28 = inttoptr i64 %27 to i64* store i64 0, i64* %28, align 8 %29 = add i64 %arg1, 576 %30 = inttoptr i64 %29 to i8* store i8 0, i8* %30, align 1 %31 = add i64 %arg1, 580 %32 = inttoptr i64 %31 to i32* store i32 0, i32* %32, align 4 %33 = add i64 %arg1, 584 %34 = inttoptr i64 %33 to i64* store i64 0, i64* %34, align 8 %35 = add i64 %arg1, 592 %36 = inttoptr i64 %35 to i64* store i64 255, i64* %36, align 8 %37 = add i64 %arg1, 600 %38 = inttoptr i64 %37 to i64* store i64 3, i64* %38, align 8 %39 = bitcast i64* %rdi to i8* %40 = load i8, i8* %39, align 8 %41 = icmp eq i8 %40, 0 %spec.store.select = select i1 %41, i64 3, i64 15 store i64 %spec.store.select, i64* %38, align 8 %42 = call i64 @FUNC(i64 %arg1) %43 = call i64 @FUNC(i64 %arg1) %44 = call i64 @FUNC(i64 %arg1, i64 0, i64 16, i64 0, i64 0) %45 = load i64, i64* %36, align 8 %46 = call i64 @FUNC(i64 %arg1, i64 1, i64 %45, i64 0, i64 0) %47 = load i64, i64* %38, align 8 %48 = call i64 @FUNC(i64 %arg1, i64 2, i64 %47, i64 0, i64 0) %49 = call i64 @FUNC(i64 %arg1, i64 3, i64 0, i64 4286578688, i64 0) %50 = call i64 @FUNC(i64 %arg1, i64 3, i64 4286578688) %51 = call i64 @FUNC(i64 %arg1, i64 4, i64 0, i64 0, i64 0) %52 = call i64 @FUNC(i64 %arg1, i64 5, i64 0, i64 -4096, i64 0) %53 = call i64 @FUNC(i64 %arg1, i64 6, i64 0, i64 -2305842992033824769, i64 0) %54 = call i64 @FUNC(i64 %arg1, i64 6, i64 17179803648) %55 = call i64 @FUNC(i64 %arg1, i64 7, i64 0, i64 0, i64 17) %56 = call i64 @FUNC(i64 %arg1, i64 8, i64 2147483648, i64 2147483648, i64 0) %57 = call i64 @FUNC(i64 %arg1, i64 9, i64 0, i64 65535, i64 0) %58 = call i64 @FUNC(i64 %arg1, i64 10, i64 0, i64 4294967292, i64 0) %59 = call i64 @FUNC(i64 %arg1, i64 11, i64 0, i64 0, i64 0) %60 = call i64 @FUNC(i64 %arg1, i64 12, i64 0, i64 0, i64 0) %61 = call i64 @FUNC(i64 %arg1, i64 13, i64 0, i64 0, i64 0) %62 = call i64 @FUNC(i64 %arg1, i64 14, i64 0, i64 524272, i64 0) %63 = call i64 @FUNC(i64 %arg1, i64 15, i64 0, i64 -4089, i64 0) %64 = call i64 @FUNC(i64 %arg1, i64 16, i64 0, i64 0, i64 1) %65 = call i64 @FUNC(i64 %arg1, i64 17, i64 2147483648, i64 2147483648, i64 0) %66 = call i64 @FUNC(i64 %arg1, i64 18, i64 0, i64 4294967295, i64 0) %67 = call i64 @FUNC(i64 %arg1, i64 19, i64 0, i64 4294967292, i64 0) %68 = call i64 @FUNC(i64 %arg1, i64 20, i64 0, i64 0, i64 0) %69 = call i64 @FUNC(i64 %arg1, i64 21, i64 0, i64 -5763481627422359552, i64 0) %70 = call i64 @FUNC(i64 %arg1, i64 22, i64 0, i64 -3969, i64 0) %71 = call i64 @FUNC(i64 %arg1, i64 22, i64 -3969) %72 = call i64 @FUNC(i64 %arg1, i64 23, i64 0, i64 0, i64 0) %73 = call i64 @FUNC(i64 %arg1, i64 24, i64 0, i64 0, i64 -9223372036854775808) %74 = call i64 @FUNC(i64 %arg1, i64 25, i64 0, i64 -2033, i64 0) ret i64 %74 uselistorder i64* %38, { 1, 0, 2 } uselistorder i64 2147483648, { 1, 0, 3, 2 } uselistorder i64 (i64, i64, i64)* @vtd_define_quad_wo, { 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @vtd_define_quad, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @vtd_define_long, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 15, { 1, 0 } uselistorder i64 3, { 1, 2, 0, 3 } uselistorder i64* (i64*, i32, i32)* @memset, { 3, 2, 1, 0 } uselistorder i32 0, { 4, 0, 1, 2, 3 } uselistorder i64 %arg1, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 31, 48 } }
1
BinRealVul
unlink_all_completed_3765
unlink_all_completed
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %2 = zext i32 %1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC() %5 = call i64 @FUNC(i64 0) ret i64 %5 }
0
BinRealVul
smc91c111_init_1495
smc91c111_init
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 32) %3 = call i64 @FUNC(i64 0, i64 4198809, i64 4198824, i64 %2) %4 = trunc i64 %3 to i32 %5 = inttoptr i64 %2 to i32* store i32 %4, i32* %5, align 4 %6 = and i64 %arg2, 4294967295 %7 = call i64 @FUNC(i64 %6, i64 16, i32 %4) %8 = add i64 %2, 16 %9 = inttoptr i64 %8 to i64* store i64 %arg3, i64* %9, align 8 %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i64* %12 = call i64* @memcpy(i64* %11, i64* %arg1, i32 6) %13 = call i64 @FUNC(i64 %2) %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %0, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %23, i64 %19, i64 %16, i64 4198888, i64 4198895, i64 4198902) %25 = add i64 %2, 24 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = call i64 @FUNC(i64 %24, i64 %10) ret i64 %27 uselistorder i64 16, { 1, 2, 0 } }
0
BinRealVul
git_pkt_parse_line_13692
git_pkt_parse_line
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %arg4.off = add i64 %arg4, -1 %0 = icmp ult i64 %arg4.off, 3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %0, label LBL_35, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %arg2) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_6, label LBL_2 LBL_2: %6 = icmp ult i64 %arg4, 4 br i1 %6, label LBL_5, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = call i64 @FUNC() store i64 %arg2, i64* %arg3, align 8 %12 = call i64 @FUNC(i64 %1) store i64 %12, i64* %rax.0.reg2mem br label LBL_35 LBL_5: %13 = and i64 %2, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_35 LBL_6: %14 = icmp eq i64 %arg4, 0 br i1 %14, label LBL_8, label LBL_7 LBL_7: %sext = mul i64 %2, 4294967296 %15 = ashr exact i64 %sext, 32 %16 = icmp ugt i64 %15, %arg4 %17 = icmp eq i1 %16, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %17, label LBL_8, label LBL_35 LBL_8: %18 = icmp eq i32 %3, 0 %19 = icmp sgt i32 %3, 3 %or.cond3 = or i1 %18, %19 store i64 4294967294, i64* %rax.0.reg2mem br i1 %or.cond3, label LBL_9, label LBL_35 LBL_9: %20 = add i64 %arg2, 4 %21 = icmp eq i32 %3, 4 %22 = icmp eq i1 %21, false br i1 %22, label LBL_11, label LBL_10 LBL_10: store i64 0, i64* %arg1, align 8 store i64 %20, i64* %arg3, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_35 LBL_11: %23 = icmp eq i1 %18, false br i1 %23, label LBL_13, label LBL_12 LBL_12: store i64 %20, i64* %arg3, align 8 %24 = call i64 @FUNC(i64 %1) store i64 %24, i64* %rax.0.reg2mem br label LBL_35 LBL_13: %25 = add i32 %3, -4 %26 = inttoptr i64 %20 to i8* %27 = load i8, i8* %26, align 1 %28 = icmp eq i8 %27, 68 %29 = icmp eq i1 %28, false br i1 %29, label LBL_15, label LBL_14 LBL_14: %30 = call i64 @FUNC(i64 %1, i64 %20, i32 %25) store i64 %30, i64* %sv_0.0.in.reg2mem br label LBL_34 LBL_15: %31 = icmp eq i8 %27, 80 %32 = icmp eq i1 %31, false br i1 %32, label LBL_17, label LBL_16 LBL_16: %33 = call i64 @FUNC(i64 %1, i64 %20, i32 %25) store i64 %33, i64* %sv_0.0.in.reg2mem br label LBL_34 LBL_17: %34 = icmp eq i8 %27, 69 %35 = icmp eq i1 %34, false br i1 %35, label LBL_19, label LBL_18 LBL_18: %36 = call i64 @FUNC(i64 %1, i64 %20, i32 %25) store i64 %36, i64* %sv_0.0.in.reg2mem br label LBL_34 LBL_19: %37 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0)) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_21, label LBL_20 LBL_20: %41 = call i64 @FUNC(i64 %1, i64 %20, i32 %25) store i64 %41, i64* %sv_0.0.in.reg2mem br label LBL_34 LBL_21: %42 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_23, label LBL_22 LBL_22: %46 = call i64 @FUNC(i64 %1) store i64 %46, i64* %sv_0.0.in.reg2mem br label LBL_34 LBL_23: %47 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %48, 0 %50 = icmp eq i1 %49, false br i1 %50, label LBL_25, label LBL_24 LBL_24: %51 = call i64 @FUNC(i64 %1, i64 %20, i32 %25) store i64 %51, i64* %sv_0.0.in.reg2mem br label LBL_34 LBL_25: %52 = load i8, i8* %26, align 1 %53 = icmp eq i8 %52, 35 %54 = icmp eq i1 %53, false br i1 %54, label LBL_27, label LBL_26 LBL_26: %55 = call i64 @FUNC(i64 %1, i64 %20, i32 %25) store i64 %55, i64* %sv_0.0.in.reg2mem br label LBL_34 LBL_27: %56 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0)) %57 = trunc i64 %56 to i32 %58 = icmp eq i32 %57, 0 %59 = icmp eq i1 %58, false br i1 %59, label LBL_29, label LBL_28 LBL_28: %60 = call i64 @FUNC(i64 %1, i64 %20, i32 %25) store i64 %60, i64* %sv_0.0.in.reg2mem br label LBL_34 LBL_29: %61 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0)) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_31, label LBL_30 LBL_30: %65 = call i64 @FUNC(i64 %1, i64 %20, i32 %25) store i64 %65, i64* %sv_0.0.in.reg2mem br label LBL_34 LBL_31: %66 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0)) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_33, label LBL_32 LBL_32: %70 = call i64 @FUNC(i64 %1, i64 %20, i32 %25) store i64 %70, i64* %sv_0.0.in.reg2mem br label LBL_34 LBL_33: %71 = call i64 @FUNC(i64 %1, i64 %20, i32 %25) store i64 %71, i64* %sv_0.0.in.reg2mem br label LBL_34 LBL_34: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %72 = sext i32 %25 to i64 %73 = add i64 %20, %72 store i64 %73, i64* %arg3, align 8 %74 = and i64 %sv_0.0.in.reload, 4294967295 store i64 %74, i64* %rax.0.reg2mem br label LBL_35 LBL_35: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %25, { 5, 6, 7, 4, 3, 2, 1, 0, 10, 9, 8 } uselistorder i64 %20, { 0, 6, 7, 8, 5, 9, 4, 10, 11, 3, 12, 13, 2, 15, 16, 17, 18, 14, 19, 1 } uselistorder i32 %3, { 1, 0, 3, 2, 4 } uselistorder i64 %1, { 11, 12, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 1, 2, 5, 4, 3 } uselistorder i64 (i64, i8*)* @git__prefixcmp, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder i64 %arg4, { 0, 2, 3, 1 } uselistorder i64 %arg2, { 2, 0, 1, 3 } uselistorder label LBL_35, { 3, 4, 5, 0, 1, 6, 7, 2 } }
0
BinRealVul
region16_intersect_rect_5901
region16_intersect_rect
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi.1.lcssa.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %rdi.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %sv_0.11022.reg2mem = alloca i32 %sv_1.1923.reg2mem = alloca i32 %sv_2.1824.reg2mem = alloca i64 %sv_3.0725.reg2mem = alloca i64 %1 = load i32, i32* %0 %sv_4 = alloca i32, align 4 %sv_5 = alloca i32, align 4 %sv_6 = alloca i32, align 4 %2 = icmp eq i64* %arg2, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 78, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = bitcast i32* %sv_6 to i64* %7 = call i64 @FUNC(i64 %4, i64* nonnull %6) %8 = load i32, i32* %sv_6, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %5) store i64 1, i64* %rax.0.reg2mem br label LBL_20 LBL_4: %12 = ptrtoint i64* %arg3 to i64 %13 = call i64 @FUNC(i64 %4) %14 = load i32, i32* %sv_6, align 4 %15 = icmp eq i32 %14, 1 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_5 LBL_5: %17 = bitcast i32* %sv_5 to i64* %18 = call i64 @FUNC(i64 %13, i64 %12, i64* nonnull %17) %19 = trunc i64 %18 to i32 %20 = call i64 @FUNC(i64 %5) %21 = icmp eq i32 %19, 0 store i64 1, i64* %rax.0.reg2mem br i1 %21, label LBL_20, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %5, i64 %5, i64* nonnull %17) store i64 %22, i64* %rax.0.reg2mem br label LBL_20 LBL_7: %23 = zext i32 %14 to i64 %24 = call i64 @FUNC(i64 %23) %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false store i64 0, i64* %rax.0.reg2mem br i1 %26, label LBL_8, label LBL_20 LBL_8: %27 = ptrtoint i32* %sv_4 to i64 %28 = bitcast i32* %sv_4 to i64* %29 = call i64 @FUNC(i64* nonnull %28, i64 16) %30 = load i32, i32* %sv_6, align 4 %31 = zext i32 %30 to i64 %32 = mul i64 %31, 16 %33 = add i64 %32, %7 %34 = icmp ult i64 %7, %33 %35 = icmp eq i1 %34, false store i32 0, i32* %sv_1.1.lcssa.reg2mem store i64 %27, i64* %rdi.1.lcssa.reg2mem br i1 %35, label LBL_17, label LBL_9 LBL_9: %36 = add i64 %12, 8 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = inttoptr i64 %7 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp ugt i32 %38, %40 store i32 0, i32* %sv_1.1.lcssa.reg2mem store i64 %27, i64* %rdi.1.lcssa.reg2mem br i1 %41, label LBL_10, label LBL_17 LBL_10: %42 = bitcast i32* %sv_5 to i64* %43 = sext i32 %1 to i64 %44 = add i64 %24, 8 store i64 %7, i64* %sv_3.0725.reg2mem store i64 %44, i64* %sv_2.1824.reg2mem store i32 0, i32* %sv_1.1923.reg2mem br label LBL_11 LBL_11: %sv_0.11022.reload = load i32, i32* %sv_0.11022.reg2mem %sv_1.1923.reload = load i32, i32* %sv_1.1923.reg2mem %sv_2.1824.reload = load i64, i64* %sv_2.1824.reg2mem %sv_3.0725.reload = load i64, i64* %sv_3.0725.reg2mem %45 = call i64 @FUNC(i64 %sv_3.0725.reload, i64 %12, i64* nonnull %42) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 store i64 %sv_2.1824.reload, i64* %sv_2.0.reg2mem store i32 %sv_1.1923.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.11022.reload, i32* %sv_0.0.reg2mem store i64 %sv_3.0725.reload, i64* %rdi.0.reg2mem br i1 %47, label LBL_15, label LBL_12 LBL_12: %48 = load i32, i32* %sv_5, align 4 %49 = sext i32 %48 to i64 %50 = inttoptr i64 %sv_2.1824.reload to i64* store i64 %49, i64* %50, align 8 %51 = add i64 %sv_2.1824.reload, 8 %52 = inttoptr i64 %51 to i64* store i64 %43, i64* %52, align 8 %53 = add i32 %sv_1.1923.reload, 1 %54 = add i64 %sv_2.1824.reload, 16 %55 = call i64 @FUNC(i64* nonnull %28) %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 br i1 %57, label LBL_14, label LBL_13 LBL_13: %58 = load i32, i32* %sv_5, align 4 store i32 %58, i32* %sv_4, align 4 store i64 %54, i64* %sv_2.0.reg2mem store i32 %53, i32* %sv_1.0.reg2mem store i64 %27, i64* %rdi.0.reg2mem br label LBL_15 LBL_14: %59 = load i32, i32* %sv_4, align 4 %60 = load i32, i32* %sv_5, align 4 %61 = sub i32 %59, %60 %62 = xor i32 %60, %59 %63 = xor i32 %61, %59 %64 = and i32 %63, %62 %65 = icmp slt i32 %64, 0 %66 = icmp eq i32 %61, 0 %67 = icmp slt i32 %61, 0 %68 = icmp ne i1 %67, %65 %69 = or i1 %66, %68 %70 = select i1 %69, i32 %59, i32 %60 store i32 %70, i32* %sv_4, align 4 %71 = sub i32 %sv_0.11022.reload, %1 %72 = xor i32 %sv_0.11022.reload, %1 %73 = xor i32 %71, %sv_0.11022.reload %74 = and i32 %73, %72 %75 = icmp slt i32 %74, 0 %76 = icmp slt i32 %71, 0 %77 = icmp eq i1 %76, %75 %78 = select i1 %77, i32 %sv_0.11022.reload, i32 %1 store i64 %54, i64* %sv_2.0.reg2mem store i32 %53, i32* %sv_1.0.reg2mem store i32 %78, i32* %sv_0.0.reg2mem store i64 %27, i64* %rdi.0.reg2mem br label LBL_15 LBL_15: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %79 = add i64 %sv_3.0725.reload, 16 %80 = icmp ult i64 %79, %33 %81 = icmp eq i1 %80, false store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.lcssa.reg2mem br i1 %81, label LBL_17, label LBL_16 LBL_16: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %82 = load i32, i32* %37, align 4 %83 = inttoptr i64 %79 to i32* %84 = load i32, i32* %83, align 4 %85 = icmp ugt i32 %82, %84 store i64 %79, i64* %sv_3.0725.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1824.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1923.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.11022.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.lcssa.reg2mem br i1 %85, label LBL_11, label LBL_17 LBL_17: %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %86 = inttoptr i64 %24 to i32* store i32 %sv_1.1.lcssa.reload, i32* %86, align 4 %87 = mul i32 %sv_1.1.lcssa.reload, 16 %88 = or i32 %87, 8 %89 = add i64 %24, 4 %90 = inttoptr i64 %89 to i32* store i32 %88, i32* %90, align 4 %91 = add i64 %rdi.1.lcssa.reload, 4 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = icmp eq i32 %93, 0 %95 = icmp eq i64 %rdi.1.lcssa.reload, ptrtoint (i64* @gv_3 to i64) %or.cond = or i1 %95, %94 store i32 %88, i32* %.reg2mem br i1 %or.cond, label LBL_19, label LBL_18 LBL_18: %96 = inttoptr i64 %rdi.1.lcssa.reload to i64* call void @free(i64* %96) %.pre = load i32, i32* %90, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_19 LBL_19: %.reload = load i32, i32* %.reg2mem %97 = inttoptr i64 %24 to i64* %98 = call i64* @realloc(i64* %97, i32 %.reload) %99 = ptrtoint i64* %98 to i64 store i64 %99, i64* %arg1, align 8 %100 = load i32, i32* %sv_4, align 4 %101 = sext i32 %100 to i64 %102 = sext i32 %sv_0.1.lcssa.reload to i64 %103 = add i64 %5, 8 %104 = inttoptr i64 %103 to i64* store i64 %101, i64* %104, align 8 %105 = add i64 %5, 16 %106 = inttoptr i64 %105 to i64* store i64 %102, i64* %106, align 8 %107 = call i64 @FUNC(i64 %5) store i64 %107, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_1.1.lcssa.reload, { 1, 0 } uselistorder i64 %rdi.1.lcssa.reload, { 2, 1, 0 } uselistorder i32 %sv_1.0.reload, { 1, 2, 0 } uselistorder i32 %sv_0.0.reload, { 1, 2, 0 } uselistorder i64 %rdi.0.reload, { 1, 0 } uselistorder i32 %71, { 1, 0 } uselistorder i32 %61, { 1, 2, 0 } uselistorder i32 %60, { 1, 0, 2 } uselistorder i32 %59, { 2, 0, 1, 3 } uselistorder i64 %54, { 1, 0 } uselistorder i32 %53, { 1, 0 } uselistorder i64 %sv_3.0725.reload, { 2, 0, 1 } uselistorder i64 %sv_2.1824.reload, { 3, 2, 1, 0 } uselistorder i32 %sv_1.1923.reload, { 1, 0 } uselistorder i32 %sv_0.11022.reload, { 3, 1, 2, 4, 0 } uselistorder i32* %37, { 1, 0 } uselistorder i64 %33, { 1, 0 } uselistorder i64 %27, { 3, 2, 0, 1 } uselistorder i64 %12, { 2, 1, 0 } uselistorder i64 %7, { 0, 1, 3, 2 } uselistorder i64 %5, { 4, 5, 6, 1, 2, 3, 0 } uselistorder i32* %sv_6, { 2, 1, 0, 3 } uselistorder i32* %sv_5, { 2, 1, 0, 4, 3 } uselistorder i32* %sv_4, { 4, 3, 2, 1, 5, 0 } uselistorder i32 %1, { 1, 3, 2, 0 } uselistorder i64* %sv_3.0725.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.1824.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1923.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.11022.reg2mem, { 1, 0 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_1.1.lcssa.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.lcssa.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 3 } uselistorder i64 8, { 0, 1, 3, 2, 4, 5 } uselistorder i64 16, { 2, 3, 4, 0, 1 } uselistorder i64 (i64, i64, i64*)* @rectangles_intersection, { 1, 0 } uselistorder i64 (i64)* @region16_clear, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_20, { 2, 0, 3, 1, 4 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_17, { 1, 2, 0, 3 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
mpeg4_decode_picture_header_63
mpeg4_decode_picture_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem29 = alloca i32 %storemerge1.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge22.reg2mem = alloca i32 %.reg2mem27 = alloca i32 %storemerge.in.reg2mem = alloca i64 %.reg2mem = alloca i1 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i8, align 1 %sv_5 = alloca i64, align 8 %1 = ptrtoint i64* %sv_5 to i64 %2 = add i64 %0, 116 %3 = inttoptr i64 %2 to i32* %4 = bitcast i64* %arg1 to i32* %5 = bitcast i64* %rdi to i32* %6 = add i64 %0, 4 %7 = inttoptr i64 %6 to i32* %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i32* %10 = add i64 %0, 12 %11 = inttoptr i64 %10 to i32* %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i32* %14 = add i64 %0, 20 %15 = inttoptr i64 %14 to i32* %16 = add i64 %0, 24 %17 = inttoptr i64 %16 to i32* %18 = add i64 %0, 28 %19 = inttoptr i64 %18 to i32* %20 = add i64 %0, 32 %21 = inttoptr i64 %20 to i32* %22 = add i64 %0, 36 %23 = inttoptr i64 %22 to i32* %24 = add i64 %0, 40 %25 = inttoptr i64 %24 to i32* %26 = add i64 %0, 44 %27 = inttoptr i64 %26 to i32* %28 = add i64 %0, 48 %29 = inttoptr i64 %28 to i32* %30 = add i64 %0, 52 %31 = inttoptr i64 %30 to i32* %32 = add i64 %0, 56 %33 = inttoptr i64 %32 to i32* %34 = add i64 %0, 60 %35 = inttoptr i64 %34 to i32* %36 = add i64 %0, 64 %37 = inttoptr i64 %36 to i32* %38 = add i64 %0, 68 %39 = inttoptr i64 %38 to i32* %40 = add i64 %0, 72 %41 = inttoptr i64 %40 to i32* %42 = add i64 %0, 76 %43 = inttoptr i64 %42 to i32* %44 = add i64 %0, 80 %45 = inttoptr i64 %44 to i32* %46 = add i64 %1, -320 %47 = add i64 %0, 108 %48 = inttoptr i64 %47 to i32* %49 = add i64 %0, 112 %50 = inttoptr i64 %49 to i32* %51 = add i64 %0, 104 %52 = inttoptr i64 %51 to i32* %53 = add i64 %0, 84 %54 = inttoptr i64 %53 to i32* %55 = add i64 %0, 100 %56 = inttoptr i64 %55 to i32* %57 = add i64 %0, 88 %58 = inttoptr i64 %57 to i32* %59 = add i64 %0, 92 %60 = inttoptr i64 %59 to i32* %61 = add i64 %0, 96 %62 = inttoptr i64 %61 to i32* %63 = add i64 %0, 136 %64 = inttoptr i64 %63 to i32* br label LBL_1 LBL_1: %65 = call i64 @FUNC(i64 %2) store i32 255, i32* %sv_1.0.reg2mem br label LBL_2 LBL_2: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %66 = call i64 @FUNC(i64 %2, i64 8) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %sv_1.0.reload, 1 %69 = icmp eq i1 %68, false %70 = mul i32 %sv_1.0.reload, 256 %71 = or i32 %70, %67 %72 = urem i32 %71, 16777216 br i1 %69, label LBL_4, label LBL_3 LBL_3: %73 = icmp eq i32 %72, 288 %74 = icmp eq i1 %73, false br i1 %74, label LBL_57, label LBL_6 LBL_4: %75 = call i64 @FUNC(i64 %2) %76 = load i32, i32* %3, align 4 %77 = mul i32 %76, 8 %78 = add i32 %77, -32 %79 = zext i32 %78 to i64 %80 = icmp sgt i64 %75, %79 store i32 %72, i32* %sv_1.0.reg2mem br i1 %80, label LBL_5, label LBL_2 LBL_5: %81 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_115 LBL_6: %82 = call i64 @FUNC(i64 %2, i64 1) %83 = call i64 @FUNC(i64 %2, i64 8) %84 = call i64 @FUNC(i64 %2) %85 = trunc i64 %84 to i32 %86 = icmp eq i32 %85, 0 store i32 1, i32* %sv_0.0.reg2mem br i1 %86, label LBL_8, label LBL_7 LBL_7: %87 = call i64 @FUNC(i64 %2, i64 4) %88 = trunc i64 %87 to i32 %89 = call i64 @FUNC(i64 %2, i64 3) store i32 %88, i32* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %90 = call i64 @FUNC(i64 %2, i64 4) %91 = trunc i64 %90 to i32 store i32 %91, i32* %4, align 4 %92 = load i32, i32* %5, align 8 %93 = icmp eq i32 %92, 0 %94 = icmp eq i1 %93, false br i1 %94, label LBL_10, label LBL_9 LBL_9: %95 = call i64 @FUNC(i64 %2, i64 8) %96 = call i64 @FUNC(i64 %2, i64 8) br label LBL_10 LBL_10: %97 = call i64 @FUNC(i64 %2) %98 = trunc i64 %97 to i32 %99 = icmp eq i32 %98, 0 br i1 %99, label LBL_12, label LBL_11 LBL_11: %100 = call i32 @puts(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_115 LBL_12: %101 = call i64 @FUNC(i64 %2, i64 2) %102 = trunc i64 %101 to i32 store i32 %102, i32* %7, align 4 %103 = icmp eq i32 %102, 1 br i1 %103, label LBL_13, label LBL_14 LBL_13: %104 = icmp eq i32 %sv_0.0.reload, 1 store i1 %104, i1* %.reg2mem br label LBL_16 LBL_14: %105 = call i32 @puts(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0)) %.pre = load i32, i32* %7, align 4 %106 = icmp eq i32 %.pre, 2 %107 = icmp eq i1 %106, false %108 = icmp eq i32 %sv_0.0.reload, 1 %or.cond = or i1 %108, %107 store i1 %108, i1* %.reg2mem br i1 %or.cond, label LBL_16, label LBL_15 LBL_15: %109 = call i32 @puts(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0)) %110 = call i64 @FUNC(i64 %2, i64 4) store i1 false, i1* %.reg2mem br label LBL_16 LBL_16: %.reload = load i1, i1* %.reg2mem %111 = call i64 @FUNC(i64 %2) %112 = call i64 @FUNC(i64 %2, i64 16) %113 = trunc i64 %112 to i32 store i32 %113, i32* %9, align 4 %114 = add i64 %112, 4294967295 %115 = and i64 %114, 4294967295 %116 = call i64 @FUNC(i64 %115) %117 = trunc i64 %116 to i32 %118 = add i32 %117, 1 %119 = icmp eq i32 %118, 0 %120 = icmp slt i32 %118, 0 %121 = icmp eq i1 %120, false %122 = icmp eq i1 %119, false %123 = icmp eq i1 %121, %122 %spec.store.select = select i1 %123, i32 %118, i32 1 store i32 %spec.store.select, i32* %11, align 4 %124 = call i64 @FUNC(i64 %2) %125 = call i64 @FUNC(i64 %2) %126 = trunc i64 %125 to i32 %127 = icmp eq i32 %126, 0 br i1 %127, label LBL_18, label LBL_17 LBL_17: %128 = load i32, i32* %11, align 4 %129 = zext i32 %128 to i64 %130 = call i64 @FUNC(i64 %2, i64 %129) br label LBL_18 LBL_18: %131 = load i32, i32* %7, align 4 %132 = icmp eq i32 %131, 3 br i1 %132, label LBL_1.backedge, label LBL_20 LBL_19: br label LBL_1 LBL_20: %133 = icmp eq i32 %131, 1 %134 = icmp eq i1 %133, false br i1 %134, label LBL_23, label LBL_21 LBL_21: %135 = call i64 @FUNC(i64 %2) %136 = call i64 @FUNC(i64 %2, i64 13) %137 = trunc i64 %136 to i32 %138 = call i64 @FUNC(i64 %2) %139 = call i64 @FUNC(i64 %2, i64 13) %140 = trunc i64 %139 to i32 %141 = call i64 @FUNC(i64 %2) %142 = icmp eq i32 %137, 0 %143 = icmp eq i32 %140, 0 %or.cond4 = or i1 %142, %143 br i1 %or.cond4, label LBL_23, label LBL_22 LBL_22: store i32 %137, i32* %13, align 4 store i32 %140, i32* %15, align 4 br label LBL_23 LBL_23: %144 = call i64 @FUNC(i64 %2) %145 = trunc i64 %144 to i32 %146 = icmp eq i32 %145, 0 br i1 %146, label LBL_25, label LBL_24 LBL_24: %147 = call i32 @puts(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0)) br label LBL_25 LBL_25: %148 = call i64 @FUNC(i64 %2) %149 = trunc i64 %148 to i32 %150 = icmp eq i32 %149, 0 %151 = icmp eq i1 %150, false br i1 %151, label LBL_27, label LBL_26 LBL_26: %152 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0)) br label LBL_27 LBL_27: %153 = icmp eq i1 %.reload, false br i1 %153, label LBL_29, label LBL_28 LBL_28: %154 = call i64 @FUNC(i64 %2) store i64 %154, i64* %storemerge.in.reg2mem br label LBL_30 LBL_29: %155 = call i64 @FUNC(i64 %2, i64 2) store i64 %155, i64* %storemerge.in.reg2mem br label LBL_30 LBL_30: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = trunc i64 %storemerge.in.reload to i32 store i32 %storemerge, i32* %17, align 4 %156 = icmp eq i32 %storemerge, 4 %157 = icmp eq i1 %156, false store i32 %storemerge, i32* %.reg2mem27 br i1 %157, label LBL_32, label LBL_31 LBL_31: %158 = call i32 @puts(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_6, i64 0, i64 0)) %.pre19 = load i32, i32* %17, align 4 store i32 %.pre19, i32* %.reg2mem27 br label LBL_32 LBL_32: %.reload28 = load i32, i32* %.reg2mem27 %159 = icmp ne i32 %.reload28, 4 %160 = icmp eq i32 %.reload28, 5 %161 = icmp eq i1 %160, false %or.cond6 = icmp eq i1 %159, %161 br i1 %or.cond6, label LBL_37, label LBL_33 LBL_33: %162 = icmp eq i32 %.reload28, 4 %163 = icmp eq i1 %162, false br i1 %163, label LBL_35, label LBL_34 LBL_34: %164 = call i64 @FUNC(i64 %2, i64 13) %165 = trunc i64 %164 to i32 store i32 %165, i32* %19, align 4 %166 = call i64 @FUNC(i64 %2) %167 = call i64 @FUNC(i64 %2, i64 13) %168 = trunc i64 %167 to i32 store i32 %168, i32* %21, align 4 %169 = call i64 @FUNC(i64 %2) %170 = call i64 @FUNC(i64 %2, i64 13) %171 = trunc i64 %170 to i32 store i32 %171, i32* %23, align 4 %172 = call i64 @FUNC(i64 %2) %173 = call i64 @FUNC(i64 %2, i64 13) %174 = trunc i64 %173 to i32 store i32 %174, i32* %25, align 4 %175 = call i64 @FUNC(i64 %2) br label LBL_35 LBL_35: %176 = call i64 @FUNC(i64 %2, i64 6) %177 = trunc i64 %176 to i32 store i32 %177, i32* %27, align 4 %178 = call i64 @FUNC(i64 %2, i64 2) %179 = trunc i64 %178 to i32 store i32 %179, i32* %29, align 4 %180 = call i64 @FUNC(i64 %2) %181 = trunc i64 %180 to i32 store i32 %181, i32* %31, align 4 %182 = load i32, i32* %17, align 4 %183 = icmp eq i32 %182, 4 %184 = icmp eq i1 %183, false br i1 %184, label LBL_37, label LBL_36 LBL_36: %185 = call i64 @FUNC(i64 %2) %186 = trunc i64 %185 to i32 store i32 %186, i32* %33, align 4 br label LBL_37 LBL_37: %187 = call i64 @FUNC(i64 %2) %188 = trunc i64 %187 to i32 %189 = icmp eq i32 %188, 1 %190 = icmp eq i1 %189, false br i1 %190, label LBL_40, label LBL_38 LBL_38: %191 = call i64 @FUNC(i64 %2, i64 4) %192 = trunc i64 %191 to i32 store i32 %192, i32* %35, align 4 %193 = call i64 @FUNC(i64 %2, i64 4) %194 = trunc i64 %193 to i32 %195 = icmp eq i32 %194, 8 br i1 %195, label LBL_41, label LBL_39 LBL_39: %196 = call i32 @puts(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_7, i64 0, i64 0)) br label LBL_41 LBL_40: store i32 5, i32* %35, align 4 br label LBL_41 LBL_41: %197 = call i64 @FUNC(i64 %2) %198 = trunc i64 %197 to i32 %199 = icmp eq i32 %198, 0 br i1 %199, label LBL_43, label LBL_42 LBL_42: %200 = call i32 @puts(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_8, i64 0, i64 0)) br label LBL_43 LBL_43: store i32 0, i32* %storemerge22.reg2mem br i1 %.reload, label LBL_45, label LBL_44 LBL_44: %201 = call i64 @FUNC(i64 %2) %202 = trunc i64 %201 to i32 store i32 %202, i32* %storemerge22.reg2mem br label LBL_45 LBL_45: %storemerge22.reload = load i32, i32* %storemerge22.reg2mem store i32 %storemerge22.reload, i32* %37, align 4 %203 = call i64 @FUNC(i64 %2) %204 = trunc i64 %203 to i32 %205 = icmp eq i32 %204, 0 %206 = icmp eq i1 %205, false br i1 %206, label LBL_47, label LBL_46 LBL_46: %207 = call i32 @puts(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_9, i64 0, i64 0)) br label LBL_47 LBL_47: %208 = call i64 @FUNC(i64 %2) %209 = call i64 @FUNC(i64 %2) %210 = trunc i64 %209 to i32 store i32 %210, i32* %39, align 4 %211 = icmp eq i32 %210, 0 br i1 %211, label LBL_49, label LBL_48 LBL_48: %212 = call i32 @puts(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_10, i64 0, i64 0)) %213 = call i64 @FUNC(i64 %2) br label LBL_49 LBL_49: br i1 %.reload, label LBL_54, label LBL_50 LBL_50: %214 = call i64 @FUNC(i64 %2) %215 = trunc i64 %214 to i32 store i32 %215, i32* %41, align 4 %216 = icmp eq i32 %215, 0 br i1 %216, label LBL_52, label LBL_51 LBL_51: %217 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_11, i64 0, i64 0)) %218 = call i64 @FUNC(i64 %2, i64 2) %219 = call i64 @FUNC(i64 %2) br label LBL_52 LBL_52: %220 = call i64 @FUNC(i64 %2) %221 = trunc i64 %220 to i32 store i32 %221, i32* %43, align 4 %222 = icmp eq i32 %221, 0 br i1 %222, label LBL_55, label LBL_53 LBL_53: %223 = call i32 @puts(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_12, i64 0, i64 0)) br label LBL_55 LBL_54: store i32 0, i32* %41, align 4 store i32 0, i32* %43, align 4 br label LBL_55 LBL_55: %224 = call i64 @FUNC(i64 %2) %225 = trunc i64 %224 to i32 store i32 %225, i32* %45, align 4 %226 = icmp eq i32 %225, 0 br i1 %226, label LBL_1.backedge, label LBL_56 LBL_56: %227 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_13, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_115 LBL_57: %228 = icmp eq i32 %72, 434 %229 = icmp eq i1 %228, false br i1 %229, label LBL_67, label LBL_58 LBL_58: %230 = call i64 @FUNC(i64 %2, i64 8) %231 = trunc i64 %230 to i8 store i8 %231, i8* %sv_4, align 1 store i64 1, i64* %indvars.iv.reg2mem br label LBL_59 LBL_59: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %232 = call i64 @FUNC(i64 %2, i64 16) %233 = trunc i64 %232 to i8 %234 = add i64 %46, %indvars.iv.reload %235 = inttoptr i64 %234 to i8* store i8 %233, i8* %235, align 1 %236 = icmp eq i8 %233, 0 br i1 %236, label LBL_61, label LBL_60 LBL_60: %237 = call i64 @FUNC(i64 %2, i64 8) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %238 = icmp ult i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %238, label LBL_59, label LBL_61 LBL_61: %239 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %sv_4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_14, i64 0, i64 0), i64* nonnull %sv_2, i64* nonnull %sv_3) %240 = icmp eq i32 %239, 2 %241 = icmp eq i1 %240, false br i1 %241, label LBL_1.backedge, label LBL_62 LBL_62: %242 = load i64, i64* %sv_2, align 8 %243 = trunc i64 %242 to i32 store i32 %243, i32* %48, align 4 %244 = load i64, i64* %sv_3, align 8 %245 = trunc i64 %244 to i32 store i32 %245, i32* %50, align 4 %246 = load i32, i32* %52, align 4 %247 = icmp eq i32 %246, 0 %248 = icmp eq i1 %247, false br i1 %248, label LBL_1.backedge, label LBL_63 LBL_63: %249 = load i64, i64* %sv_3, align 8 %250 = and i64 %249, 4294967295 %251 = load i64, i64* %sv_2, align 8 %252 = and i64 %251, 4294967295 %253 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_15, i64 0, i64 0), i64 %252, i64 %250) %254 = load i64, i64* %sv_2, align 8 %255 = trunc i64 %254 to i32 %256 = icmp eq i32 %255, 500 %257 = icmp eq i1 %256, false br i1 %257, label LBL_66, label LBL_64 LBL_64: %258 = load i64, i64* %sv_3, align 8 %259 = trunc i64 %258 to i32 %260 = icmp eq i32 %259, 413 %261 = icmp eq i1 %260, false br i1 %261, label LBL_66, label LBL_65 LBL_65: %262 = call i32 @puts(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @gv_16, i64 0, i64 0)) br label LBL_1.backedge LBL_66: %263 = call i32 @puts(i8* getelementptr inbounds ([150 x i8], [150 x i8]* @gv_17, i64 0, i64 0)) br label LBL_1.backedge LBL_67: %264 = icmp eq i32 %72, 438 br i1 %264, label LBL_68, label LBL_1.backedge LBL_68: %265 = call i64 @FUNC(i64 %2, i64 2) %266 = trunc i64 %265 to i32 %267 = add i32 %266, 1 store i32 %267, i32* %54, align 4 store i32 0, i32* %storemerge1.reg2mem br label LBL_69 LBL_69: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %268 = call i64 @FUNC(i64 %2) %269 = trunc i64 %268 to i32 %270 = icmp eq i32 %269, 0 %271 = icmp eq i1 %270, false %272 = add i32 %storemerge1.reload, 1 store i32 %272, i32* %storemerge1.reg2mem br i1 %271, label LBL_69, label LBL_70 LBL_70: %273 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_18, i64 0, i64 0)) %274 = load i32, i32* %11, align 4 %275 = zext i32 %274 to i64 %276 = call i64 @FUNC(i64 %2, i64 %275) %277 = trunc i64 %276 to i32 store i32 %277, i32* %56, align 4 %278 = load i32, i32* %54, align 4 %279 = icmp eq i32 %278, 9 br i1 %279, label LBL_72, label LBL_71 LBL_71: %280 = load i32, i32* %58, align 4 %281 = add i32 %280, %storemerge1.reload store i32 %281, i32* %58, align 4 %282 = load i32, i32* %60, align 4 store i32 %282, i32* %62, align 4 %283 = load i32, i32* %58, align 4 %284 = load i32, i32* %9, align 4 %285 = mul i32 %284, %283 %286 = load i32, i32* %56, align 4 %287 = add i32 %285, %286 store i32 %287, i32* %60, align 4 br label LBL_73 LBL_72: %288 = load i32, i32* %62, align 4 %289 = load i32, i32* %9, align 4 %290 = ashr i32 %288, 31 %291 = zext i32 %288 to i64 %292 = zext i32 %290 to i64 %293 = mul i64 %292, 4294967296 %294 = or i64 %293, %291 %295 = zext i32 %289 to i64 %296 = sdiv i64 %294, %295 %297 = trunc i64 %296 to i32 %298 = add i32 %storemerge1.reload, %297 %299 = mul i32 %298, %289 store i32 %299, i32* %64, align 4 %300 = load i32, i32* %56, align 4 %301 = add i32 %299, %300 store i32 %301, i32* %64, align 4 br label LBL_73 LBL_73: %302 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_19, i64 0, i64 0)) %303 = trunc i64 %302 to i32 %304 = icmp eq i32 %303, 0 %305 = icmp eq i1 %304, false br i1 %305, label LBL_79, label LBL_74 LBL_74: %306 = load i32, i32* %52, align 4 %307 = icmp eq i32 %306, 0 %308 = icmp eq i1 %307, false br i1 %308, label LBL_79, label LBL_75 LBL_75: %309 = call i32 @puts(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @gv_20, i64 0, i64 0)) %310 = load i32, i32* %11, align 4 %311 = add i32 %310, 1 store i32 %311, i32* %11, align 4 %312 = icmp slt i32 %311, 16 store i32 %311, i32* %.reg2mem29 br i1 %312, label LBL_76, label LBL_78 LBL_76: %313 = call i64 @FUNC(i64 %2) %314 = trunc i64 %313 to i32 %315 = icmp eq i32 %314, 0 %316 = icmp eq i1 %315, false %.pre20 = load i32, i32* %11, align 4 store i32 %.pre20, i32* %.reg2mem29 br i1 %316, label LBL_78, label LBL_77 LBL_77: %317 = add i32 %.pre20, 1 store i32 %317, i32* %11, align 4 %318 = icmp slt i32 %317, 16 store i32 %317, i32* %.reg2mem29 br i1 %318, label LBL_76, label LBL_78 LBL_78: %.reload30 = load i32, i32* %.reg2mem29 %319 = zext i32 %.reload30 to i64 %320 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_21, i64 0, i64 0), i64 %319) br label LBL_79 LBL_79: %321 = call i64 @FUNC(i64 %2) %322 = trunc i64 %321 to i32 %323 = icmp eq i32 %322, 1 br i1 %323, label LBL_80, label LBL_1.backedge LBL_80: %324 = load i32, i32* %7, align 4 %325 = icmp eq i32 %324, 3 br i1 %325, label LBL_85, label LBL_81 LBL_81: %326 = load i32, i32* %54, align 4 %327 = icmp eq i32 %326, 6 br i1 %327, label LBL_84, label LBL_82 LBL_82: %328 = icmp eq i32 %326, 7 %329 = icmp eq i1 %328, false br i1 %329, label LBL_85, label LBL_83 LBL_83: %330 = load i32, i32* %17, align 4 %331 = icmp eq i32 %330, 5 %332 = icmp eq i1 %331, false br i1 %332, label LBL_85, label LBL_84 LBL_84: %333 = call i64 @FUNC(i64 %2) %334 = trunc i64 %333 to i32 %335 = add i64 %0, 120 %336 = inttoptr i64 %335 to i32* store i32 %334, i32* %336, align 4 br label LBL_86 LBL_85: %337 = add i64 %0, 120 %338 = inttoptr i64 %337 to i32* store i32 0, i32* %338, align 4 br label LBL_86 LBL_86: %339 = load i32, i32* %7, align 4 %340 = icmp eq i32 %339, 1 br i1 %340, label LBL_93, label LBL_87 LBL_87: %341 = load i32, i32* %17, align 4 %342 = icmp eq i32 %341, 1 %343 = icmp eq i1 %342, false br i1 %343, label LBL_89, label LBL_88 LBL_88: %344 = load i32, i32* %54, align 4 %345 = icmp eq i32 %344, 8 br i1 %345, label LBL_90, label LBL_89 LBL_89: %346 = call i64 @FUNC(i64 %2, i64 13) %347 = call i64 @FUNC(i64 %2) %348 = call i64 @FUNC(i64 %2, i64 13) %349 = call i64 @FUNC(i64 %2) %350 = call i64 @FUNC(i64 %2, i64 13) %351 = call i64 @FUNC(i64 %2) %352 = call i64 @FUNC(i64 %2, i64 13) br label LBL_90 LBL_90: %353 = call i64 @FUNC(i64 %2) %354 = call i64 @FUNC(i64 %2) %355 = trunc i64 %354 to i32 %356 = icmp eq i32 %355, 0 br i1 %356, label LBL_92, label LBL_91 LBL_91: %357 = call i64 @FUNC(i64 %2, i64 8) br label LBL_92 LBL_92: %.pr = load i32, i32* %7, align 4 %358 = icmp eq i32 %.pr, 3 br i1 %358, label LBL_94, label LBL_93 LBL_93: %359 = call i64 @FUNC(i64 %2, i64 3) br label LBL_94 LBL_94: %360 = load i32, i32* %54, align 4 %361 = icmp eq i32 %360, 7 %362 = icmp eq i1 %361, false br i1 %362, label LBL_102, label LBL_95 LBL_95: %363 = load i32, i32* %17, align 4 %364 = icmp ne i32 %363, 4 %365 = icmp eq i32 %363, 5 %366 = icmp eq i1 %365, false %or.cond8 = icmp eq i1 %364, %366 br i1 %or.cond8, label LBL_102, label LBL_96 LBL_96: %367 = load i32, i32* %27, align 4 %368 = icmp eq i32 %367, 0 br i1 %368, label LBL_98, label LBL_97 LBL_97: %369 = call i64 @FUNC(i64 %0) br label LBL_98 LBL_98: %370 = load i32, i32* %31, align 4 %371 = icmp eq i32 %370, 0 br i1 %371, label LBL_100, label LBL_99 LBL_99: %372 = call i32 @puts(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_22, i64 0, i64 0)) br label LBL_100 LBL_100: %373 = load i32, i32* %17, align 4 %374 = icmp eq i32 %373, 4 %375 = icmp eq i1 %374, false br i1 %375, label LBL_102, label LBL_101 LBL_101: %376 = call i32 @puts(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_23, i64 0, i64 0)) br label LBL_102 LBL_102: %377 = load i32, i32* %7, align 4 %378 = icmp eq i32 %377, 3 br i1 %378, label LBL_114, label LBL_103 LBL_103: %379 = call i64 @FUNC(i64 %2, i64 5) %380 = trunc i64 %379 to i32 %381 = add i64 %0, 124 %382 = inttoptr i64 %381 to i32* store i32 %380, i32* %382, align 4 %383 = icmp eq i32 %380, 0 %384 = icmp eq i1 %383, false br i1 %384, label LBL_105, label LBL_104 LBL_104: %385 = call i32 @puts(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_24, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_115 LBL_105: %386 = load i32, i32* %54, align 4 %387 = icmp eq i32 %386, 8 br i1 %387, label LBL_110, label LBL_106 LBL_106: %388 = call i64 @FUNC(i64 %2, i64 3) %389 = trunc i64 %388 to i32 %390 = add i64 %0, 128 %391 = inttoptr i64 %390 to i32* store i32 %389, i32* %391, align 4 %392 = icmp eq i32 %389, 0 %393 = icmp eq i1 %392, false br i1 %393, label LBL_108, label LBL_107 LBL_107: %394 = call i32 @puts(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_25, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_115 LBL_108: %.pre21 = load i32, i32* %54, align 4 %phitmp = icmp eq i32 %.pre21, 9 %phitmp23 = icmp eq i1 %phitmp, false br i1 %phitmp23, label LBL_110, label LBL_109 LBL_109: %395 = call i64 @FUNC(i64 %2, i64 3) %396 = trunc i64 %395 to i32 %397 = add i64 %0, 132 %398 = inttoptr i64 %397 to i32* store i32 %396, i32* %398, align 4 br label LBL_110 LBL_110: %399 = load i32, i32* %45, align 4 %400 = icmp eq i32 %399, 0 %401 = icmp eq i1 %400, false br i1 %401, label LBL_114, label LBL_111 LBL_111: %402 = load i32, i32* %7, align 4 %403 = icmp eq i32 %402, 1 br i1 %403, label LBL_114, label LBL_112 LBL_112: %404 = load i32, i32* %54, align 4 %405 = icmp eq i32 %404, 8 br i1 %405, label LBL_114, label LBL_113 LBL_113: %406 = call i64 @FUNC(i64 %2) br label LBL_114 LBL_114: %407 = load i32, i32* %52, align 4 %408 = add i32 %407, 1 store i32 %408, i32* %52, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_115 LBL_115: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %317, { 0, 2, 1 } uselistorder i32 %.pre20, { 1, 0 } uselistorder i32 %storemerge1.reload, { 2, 1, 0 } uselistorder i32 %storemerge, { 0, 2, 1 } uselistorder i1 %.reload, { 2, 1, 0 } uselistorder i32 %72, { 3, 2, 0, 1 } uselistorder i32 %sv_1.0.reload, { 1, 0 } uselistorder i32* %56, { 1, 0, 2 } uselistorder i32* %54, { 5, 0, 4, 3, 2, 1, 6, 7 } uselistorder i32* %52, { 1, 0, 2, 3 } uselistorder i32* %17, { 2, 1, 3, 4, 6, 5, 0 } uselistorder i32* %11, { 3, 0, 4, 2, 1, 5, 6 } uselistorder i32* %7, { 3, 2, 4, 1, 0, 6, 5, 7 } uselistorder i64 %2, { 0, 1, 2, 3, 4, 7, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 71, 70, 72, 73, 74, 75, 76, 67, 68, 69, 45, 43, 41, 42, 44, 40, 46, 47, 48, 39, 49, 37, 38, 50, 36, 33, 34, 35, 25, 26, 27, 28, 29, 30, 31, 32, 51, 52, 53, 54, 20, 21, 22, 23, 24, 19, 55, 56, 57, 58, 18, 59, 60, 17, 62, 61, 16, 66, 63, 64, 65, 78, 79, 80, 77 } uselistorder i64* %sv_3, { 1, 2, 3, 0 } uselistorder i64* %sv_2, { 1, 2, 3, 0 } uselistorder i64 %0, { 28, 27, 29, 26, 30, 25, 32, 24, 23, 31, 33, 34, 20, 21, 22, 12, 10, 11, 13, 9, 8, 7, 14, 15, 16, 3, 4, 5, 6, 2, 0, 1, 17, 18, 19, 35 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i1* %.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %.reg2mem27, { 0, 2, 1 } uselistorder i32* %storemerge22.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1, 6 } uselistorder i32 16, { 1, 0 } uselistorder i64 (i64, i8*)* @check_marker, { 1, 0 } uselistorder i64 (i64, i64)* @show_bits, { 1, 0 } uselistorder i32 5, { 0, 2, 3, 1 } uselistorder i64 (i64)* @skip_bits1, { 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @get_bits1, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @skip_bits, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64 4294967295, { 3, 2, 7, 8, 1, 5, 6, 0, 4 } uselistorder i32 8, { 1, 2, 3, 4, 0 } uselistorder i64 (i64, i64)* @get_bits, { 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_110, { 1, 2, 0 } uselistorder label LBL_102, { 1, 2, 0, 3 } uselistorder label LBL_93, { 1, 0 } uselistorder label LBL_78, { 1, 0, 2 } uselistorder label LBL_76, { 1, 0 } uselistorder label LBL_61, { 1, 0 } uselistorder label LBL_59, { 1, 0 } uselistorder label LBL_45, { 1, 0 } uselistorder label LBL_37, { 1, 2, 0 } uselistorder label LBL_1.backedge, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_16, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
fill_kobj_path_12839
fill_kobj_path
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.01.reg2mem = alloca i32 %storemerge2.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = trunc i64 %arg3 to i32 %7 = add i32 %6, -1 store i64 %3, i64* %storemerge2.reg2mem store i32 %7, i32* %sv_0.01.reg2mem br label LBL_2 LBL_2: %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %8 = call i64 @FUNC(i64 %storemerge2.reload) %9 = inttoptr i64 %8 to i8* %10 = call i32 @strlen(i8* %9) %11 = sub i32 %sv_0.01.reload, %10 %12 = call i64 @FUNC(i64 %storemerge2.reload) %13 = sext i32 %11 to i64 %14 = add i64 %13, %2 %15 = inttoptr i64 %14 to i64* %16 = inttoptr i64 %12 to i64* %17 = call i64* @memcpy(i64* %15, i64* %16, i32 %10) %18 = add i32 %11, -1 %19 = sext i32 %18 to i64 %20 = add i64 %19, %2 %21 = inttoptr i64 %20 to i8* store i8 47, i8* %21, align 1 %22 = inttoptr i64 %storemerge2.reload to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %storemerge2.reg2mem store i32 %18, i32* %sv_0.01.reg2mem br i1 %25, label LBL_2, label LBL_3 LBL_3: %26 = call i64 @FUNC(i64 %3) %27 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %26, i64 %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %2, i64 %1) ret i64 %27 uselistorder i64 %storemerge2.reload, { 0, 2, 1 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 0, 1 } uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @kobject_name, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
blk_mq_sched_tags_teardown_12877
blk_mq_sched_tags_teardown
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 store i32 0, i32* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i32, i32* %storemerge.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %0 = add nuw nsw i32 %storemerge.reload, 1 %exitcond = icmp eq i32 %0, 2 store i64 0, i64* %sv_0.0.reg2mem store i32 %0, i32* %storemerge.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %sv_0.0.reload, i32 1) ret i64 %2 uselistorder i64* %sv_0.0.reg2mem, { 1, 0 } uselistorder i32* %storemerge.reg2mem, { 1, 0, 2 } }
1
BinRealVul
helper_sysret_92
helper_sysret
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = urem i64 %0, 2 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 6, i64 0) br label LBL_2 LBL_2: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %7, 4 %9 = add i64 %0, 12 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = urem i32 %11, 2 %13 = icmp ne i32 %12, 0 %14 = icmp eq i32 %8, 0 %or.cond = icmp eq i1 %14, %13 store i32 %7, i32* %.reg2mem br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %0, i64 13, i64 0) %.pre = load i32, i32* %6, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %16 = add i64 %0, 72 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = udiv i64 %18, 281474976710656 %20 = and i32 %.reload, 536870912 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_9, label LBL_5 LBL_5: %22 = add i64 %0, 76 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %0, i64 %25, i64 539177760) %27 = trunc i64 %arg2 to i32 %28 = icmp eq i32 %27, 2 %29 = icmp eq i1 %28, false br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = add nuw nsw i64 %19, 16 %31 = or i64 %30, 3 %32 = call i64 @FUNC(i64 %0, i64 0, i64 %31, i64 0, i64 4294967295, i64 164085) %33 = add i64 %0, 40 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = add i64 %0, 28 %37 = inttoptr i64 %36 to i32* store i32 %35, i32* %37, align 4 br label LBL_8 LBL_7: %38 = or i64 %19, 3 %39 = call i64 @FUNC(i64 %0, i64 0, i64 %38, i64 0, i64 4294967295, i64 49397) %40 = add i64 %0, 40 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i64 %0, 28 %44 = inttoptr i64 %43 to i32* store i32 %42, i32* %44, align 4 br label LBL_8 LBL_8: %45 = add nuw nsw i64 %19, 8 %46 = call i64 @FUNC(i64 %0, i64 1, i64 %45, i64 0, i64 4294967295, i64 49395) store i64 %46, i64* %storemerge.reg2mem br label LBL_10 LBL_9: %47 = add i64 %0, 64 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = or i32 %49, 512 store i32 %50, i32* %48, align 4 %51 = or i64 %19, 3 %52 = call i64 @FUNC(i64 %0, i64 0, i64 %51, i64 0, i64 4294967295, i64 49397) %53 = add i64 %0, 40 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = add i64 %0, 28 %57 = inttoptr i64 %56 to i32* store i32 %55, i32* %57, align 4 %58 = add nuw nsw i64 %19, 8 %59 = call i64 @FUNC(i64 %0, i64 1, i64 %58, i64 0, i64 4294967295, i64 49395) store i64 %59, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %19, { 4, 3, 1, 2, 0 } uselistorder i64 %0, { 10, 13, 12, 11, 16, 6, 9, 8, 7, 4, 5, 3, 15, 14, 17, 2, 19, 18, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64, i64, i64, i64)* @cpu_x86_load_seg_cache, { 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 2, 3, 4, 5, 6, 0, 1 } uselistorder i32 0, { 2, 1, 3, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i64, i64, i64)* @raise_exception_err, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
prepare_binprm_7898
prepare_binprm
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false store i64 4294967283, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_12 LBL_1: %6 = call i64 @FUNC() %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %sext = mul i64 %6, 4294967296 %10 = ashr exact i64 %sext, 32 %11 = inttoptr i64 %9 to i64* store i64 %10, i64* %11, align 8 %12 = call i64 @FUNC() %13 = load i64, i64* %8, align 8 %sext2 = mul i64 %12, 4294967296 %14 = ashr exact i64 %sext2, 32 %15 = add i64 %13, 8 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = load i64, i64* %8, align 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = urem i32 %19, 2 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_9, label LBL_2 LBL_2: %23 = load i64, i64* @gv_0, align 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_9, label LBL_3 LBL_3: %28 = add i64 %1, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = add i64 %17, 16 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %33, i64 %30) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_9, label LBL_4 LBL_4: %37 = add i64 %1, 16 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = load i64, i64* %8, align 8 %41 = add i64 %40, 16 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43, i64 %39) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_9, label LBL_5 LBL_5: %47 = trunc i64 %3 to i32 %48 = and i32 %47, 2048 %49 = icmp eq i32 %48, 0 br i1 %49, label LBL_7, label LBL_6 LBL_6: %50 = add i64 %0, 20 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = or i32 %52, 1 store i32 %53, i32* %51, align 4 %54 = load i64, i64* %8, align 8 %55 = load i64, i64* %29, align 8 %56 = inttoptr i64 %54 to i64* store i64 %55, i64* %56, align 8 br label LBL_7 LBL_7: %57 = and i32 %47, 1056 %58 = icmp eq i32 %57, 1056 %59 = icmp eq i1 %58, false br i1 %59, label LBL_9, label LBL_8 LBL_8: %60 = add i64 %0, 20 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = or i32 %62, 1 store i32 %63, i32* %61, align 4 %64 = load i64, i64* %8, align 8 %65 = load i64, i64* %38, align 8 %66 = add i64 %64, 8 %67 = inttoptr i64 %66 to i64* store i64 %65, i64* %67, align 8 br label LBL_9 LBL_9: %68 = call i64 @FUNC(i64 %0) %69 = trunc i64 %68 to i32 %70 = icmp eq i32 %69, 0 br i1 %70, label LBL_11, label LBL_10 LBL_10: %71 = and i64 %68, 4294967295 store i64 %71, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %72 = add i64 %0, 16 %73 = inttoptr i64 %72 to i32* store i32 1, i32* %73, align 4 %74 = add i64 %0, 24 %75 = inttoptr i64 %74 to i64* %76 = call i64* @memset(i64* %75, i32 0, i32 4096) %77 = call i64 @FUNC(i64 %74, i64 0, i64 %74, i64 4096) store i64 %77, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %8, { 1, 0, 2, 3, 4, 5 } uselistorder i64 %0, { 2, 3, 4, 1, 0, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_12, { 1, 2, 0 } }
0
BinRealVul
gen_ld32_1917
gen_ld32
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg2 to i32 %1 = call i64 @FUNC() %2 = and i64 %arg1, 4294967295 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3, i64 %2, i32 %0) ret i64 %3 }
0
BinRealVul
commit_creds_4620
commit_creds
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %.pre-phi3.reg2mem = alloca i32* %.pre-phi7.reg2mem = alloca i32* %0 = ptrtoint i32* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %3, %6 %8 = icmp eq i1 %7, false %9 = zext i1 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = load i64, i64* %5, align 8 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = add i32 %13, -1 %15 = sub i32 0, %13 %16 = and i32 %13, %15 %17 = icmp slt i32 %16, 0 %18 = icmp eq i32 %14, 0 %19 = icmp slt i32 %14, 0 %20 = icmp ne i1 %19, %17 %21 = or i1 %18, %20 %22 = zext i1 %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = call i64 @FUNC(i64 %0) %25 = trunc i64 %24 to i32 %26 = icmp slt i32 %25, 1 %27 = zext i1 %26 to i64 %28 = call i64 @FUNC(i64 %27) %29 = load i64, i64* %5, align 8 %30 = call i64 @FUNC(i64 %0, i64 %29) %31 = call i64 @FUNC(i64 %0) %32 = add i64 %29, 4 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i64 %0, 4 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %34, %37 %39 = icmp eq i1 %38, false br i1 %39, label LBL_5, label LBL_1 LBL_1: %40 = add i64 %29, 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i64 %0, 8 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = icmp eq i32 %42, %45 %47 = icmp eq i1 %46, false br i1 %47, label LBL_5, label LBL_2 LBL_2: %48 = add i64 %29, 12 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = add i64 %0, 12 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp eq i32 %50, %53 %55 = icmp eq i1 %54, false br i1 %55, label LBL_5, label LBL_3 LBL_3: %56 = add i64 %29, 16 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = add i64 %0, 16 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = icmp eq i32 %58, %61 %63 = icmp eq i1 %62, false br i1 %63, label LBL_5, label LBL_4 LBL_4: %64 = add i64 %29, 48 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = add i64 %0, 48 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = zext i32 %66 to i64 %71 = zext i32 %69 to i64 %72 = call i64 @FUNC(i64 %71, i64 %70) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, 0 %75 = icmp eq i1 %74, false store i32* %49, i32** %.pre-phi7.reg2mem store i32* %52, i32** %.pre-phi3.reg2mem br i1 %75, label LBL_8, label LBL_5 LBL_5: %76 = add i64 %1, 16 %77 = inttoptr i64 %76 to i64* %78 = load i64, i64* %77, align 8 %79 = icmp eq i64 %78, 0 br i1 %79, label LBL_7, label LBL_6 LBL_6: %80 = call i64 @FUNC(i64 %78, i64 1) br label LBL_7 LBL_7: %81 = add i64 %1, 24 %82 = inttoptr i64 %81 to i32* store i32 0, i32* %82, align 4 %83 = call i64 @FUNC() %.pre = add i64 %0, 12 %.pre2 = inttoptr i64 %.pre to i32* %.pre4 = add i64 %29, 12 %.pre6 = inttoptr i64 %.pre4 to i32* store i32* %.pre6, i32** %.pre-phi7.reg2mem store i32* %.pre2, i32** %.pre-phi3.reg2mem br label LBL_8 LBL_8: %.pre-phi3.reload = load i32*, i32** %.pre-phi3.reg2mem %.pre-phi7.reload = load i32*, i32** %.pre-phi7.reg2mem %84 = load i32, i32* %.pre-phi3.reload, align 4 %85 = load i32, i32* %.pre-phi7.reload, align 4 %86 = icmp eq i32 %84, %85 br i1 %86, label LBL_10, label LBL_9 LBL_9: %87 = call i64 @FUNC(i64 %1) br label LBL_10 LBL_10: %88 = add i64 %0, 16 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = add i64 %29, 16 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = icmp eq i32 %90, %93 br i1 %94, label LBL_12, label LBL_11 LBL_11: %95 = call i64 @FUNC(i64 %1) br label LBL_12 LBL_12: %96 = add i64 %0, 24 %97 = inttoptr i64 %96 to i64* %98 = load i64, i64* %97, align 8 %99 = add i64 %29, 24 %100 = inttoptr i64 %99 to i64* %101 = load i64, i64* %100, align 8 %102 = icmp eq i64 %98, %101 br i1 %102, label LBL_14, label LBL_13 LBL_13: %103 = call i64 @FUNC(i64 %98) br label LBL_14 LBL_14: %104 = load i64, i64* %5, align 8 %105 = call i64 @FUNC(i64 %104, i64 %0) %106 = load i64, i64* %2, align 8 %107 = call i64 @FUNC(i64 %106, i64 %0) %108 = load i64, i64* %97, align 8 %109 = load i64, i64* %100, align 8 %110 = icmp eq i64 %108, %109 br i1 %110, label LBL_16, label LBL_15 LBL_15: %111 = call i64 @FUNC(i64 %109) br label LBL_16 LBL_16: %112 = call i64 @FUNC(i64 %1) %113 = add i64 %0, 32 %114 = inttoptr i64 %113 to i32* %115 = load i32, i32* %114, align 4 %116 = add i64 %29, 32 %117 = inttoptr i64 %116 to i32* %118 = load i32, i32* %117, align 4 %119 = icmp eq i32 %115, %118 %120 = icmp eq i1 %119, false br i1 %120, label LBL_20, label LBL_17 LBL_17: %121 = load i32, i32* %36, align 4 %122 = load i32, i32* %33, align 4 %123 = icmp eq i32 %121, %122 %124 = icmp eq i1 %123, false br i1 %124, label LBL_20, label LBL_18 LBL_18: %125 = add i64 %0, 40 %126 = inttoptr i64 %125 to i32* %127 = load i32, i32* %126, align 4 %128 = add i64 %29, 40 %129 = inttoptr i64 %128 to i32* %130 = load i32, i32* %129, align 4 %131 = icmp eq i32 %127, %130 %132 = icmp eq i1 %131, false br i1 %132, label LBL_20, label LBL_19 LBL_19: %133 = load i32, i32* %.pre-phi3.reload, align 4 %134 = load i32, i32* %.pre-phi7.reload, align 4 %135 = icmp eq i32 %133, %134 br i1 %135, label LBL_21, label LBL_20 LBL_20: %136 = call i64 @FUNC(i64 %1, i64 1) br label LBL_21 LBL_21: %137 = add i64 %0, 36 %138 = inttoptr i64 %137 to i32* %139 = load i32, i32* %138, align 4 %140 = add i64 %29, 36 %141 = inttoptr i64 %140 to i32* %142 = load i32, i32* %141, align 4 %143 = icmp eq i32 %139, %142 %144 = icmp eq i1 %143, false br i1 %144, label LBL_25, label LBL_22 LBL_22: %145 = add i64 %0, 8 %146 = inttoptr i64 %145 to i32* %147 = load i32, i32* %146, align 4 %148 = add i64 %29, 8 %149 = inttoptr i64 %148 to i32* %150 = load i32, i32* %149, align 4 %151 = icmp eq i32 %147, %150 %152 = icmp eq i1 %151, false br i1 %152, label LBL_25, label LBL_23 LBL_23: %153 = add i64 %0, 44 %154 = inttoptr i64 %153 to i32* %155 = load i32, i32* %154, align 4 %156 = add i64 %29, 44 %157 = inttoptr i64 %156 to i32* %158 = load i32, i32* %157, align 4 %159 = icmp eq i32 %155, %158 %160 = icmp eq i1 %159, false br i1 %160, label LBL_25, label LBL_24 LBL_24: %161 = load i32, i32* %89, align 4 %162 = load i32, i32* %92, align 4 %163 = icmp eq i32 %161, %162 br i1 %163, label LBL_26, label LBL_25 LBL_25: %164 = call i64 @FUNC(i64 %1, i64 2) br label LBL_26 LBL_26: %165 = call i64 @FUNC(i64 %29) %166 = call i64 @FUNC(i64 %29) ret i64 0 uselistorder i64 %29, { 5, 6, 9, 8, 7, 11, 10, 12, 13, 0, 4, 3, 2, 1, 14, 15 } uselistorder i32 %14, { 1, 0 } uselistorder i32 %13, { 1, 0, 2 } uselistorder i64 %1, { 2, 3, 4, 1, 0, 5, 6, 7, 8 } uselistorder i64 %0, { 7, 6, 5, 9, 8, 10, 11, 12, 13, 0, 4, 3, 2, 1, 14, 15, 16, 17 } uselistorder i32** %.pre-phi7.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi3.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @put_cred, { 1, 0 } uselistorder i64 (i64, i64)* @proc_id_connector, { 1, 0 } uselistorder i64 (i64, i64)* @rcu_assign_pointer, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6 } uselistorder i64 (i64)* @atomic_read, { 1, 0 } uselistorder i64 (i64)* @BUG_ON, { 2, 1, 0 } }
0
reposvul_c_test
Con_Shutdown_27
Con_Shutdown
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0)) %2 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) %3 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0)) %4 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0)) %5 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0)) %6 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0)) %7 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0)) ret i64 %7 uselistorder i64 (i8*)* @Cmd_RemoveCommand, { 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
hmp_dump_guest_memory_15736
hmp_dump_guest_memory
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 0) %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0)) %4 = trunc i64 %3 to i8 %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0)) %6 = icmp eq i8 %4, 0 store i64 0, i64* %sv_1.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0)) store i64 %7, i64* %sv_1.0.reg2mem br label LBL_2 LBL_2: %8 = trunc i64 %5 to i8 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %9 = icmp eq i8 %8, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0)) store i64 %10, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %11 = ptrtoint i64* %arg1 to i64 %12 = urem i64 %1, 256 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %13 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 %2, i64 0) %14 = call i64 @FUNC(i64 %12, i64 %13, i8 %4, i64 %sv_1.0.reload, i8 %8, i64 %sv_0.0.reload) %15 = call i64 @FUNC(i64 %11, i64* nonnull %sv_2) %16 = call i64 @FUNC(i64 %13) ret i64 %16 uselistorder i64 %0, { 1, 0, 3, 2, 4, 5 } uselistorder i64 (i64, i8*)* @qdict_get_int, { 1, 0 } uselistorder i64 (i64, i8*)* @qdict_haskey, { 1, 0 } }
1
BinRealVul
Jsi_OptionsValid_9099
Jsi_OptionsValid
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %storemerge1.lcssa.reg2mem = alloca i32 %storemerge16.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = bitcast i64* %arg2 to i32* %2 = load i32, i32* %1, align 4 %3 = icmp ult i32 %2, 10 store i64 %0, i64* %.reg2mem store i32 0, i32* %storemerge16.reg2mem store i32 0, i32* %storemerge1.lcssa.reg2mem store i32 %2, i32* %.lcssa.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %storemerge16.reload = load i32, i32* %storemerge16.reg2mem %.reload = load i64, i64* %.reg2mem %4 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %.reload, i64 %5, i64 255) %7 = add i64 %.reload, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_5, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %9, i64 10) %12 = trunc i64 %11 to i8 %13 = icmp eq i8 %12, 0 br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = icmp eq i64* %arg1, null store i64 0, i64* %storemerge.reg2mem br i1 %14, label LBL_7, label LBL_4 LBL_4: %15 = add i64 %.reload, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %17) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_5: %19 = add i32 %storemerge16.reload, 1 %20 = sext i32 %19 to i64 %21 = mul nsw i64 %20, 24 %22 = add i64 %21, %0 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp ult i32 %24, 10 store i64 %22, i64* %.reg2mem store i32 %19, i32* %storemerge16.reg2mem store i32 %19, i32* %storemerge1.lcssa.reg2mem store i32 %24, i32* %.lcssa.reg2mem br i1 %25, label LBL_1, label LBL_6 LBL_6: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %storemerge1.lcssa.reload = load i32, i32* %storemerge1.lcssa.reg2mem %26 = icmp eq i32 %storemerge1.lcssa.reload, 0 %27 = icmp slt i32 %storemerge1.lcssa.reload, 0 %28 = icmp eq i1 %27, false %29 = icmp eq i1 %26, false %30 = icmp eq i1 %28, %29 %31 = zext i1 %30 to i64 %32 = and i32 %.lcssa.reload, -256 %33 = zext i32 %32 to i64 %34 = or i64 %31, %33 store i64 %34, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %storemerge1.lcssa.reload, { 1, 0 } uselistorder i64 %.reload, { 2, 0, 1 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge16.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i32 10, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
prs_uint16uni_4590
prs_uint16uni
define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = zext i32 %arg2 to i64 %2 = call i64 @FUNC(i64 %1, i64 2) %3 = trunc i64 %2 to i32 %4 = and i64 %2, 4294967295 %5 = call i64 @FUNC(i64 %0, i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = zext i1 %7 to i32 %9 = add i32 %8, %6 %10 = ashr i32 %9, 1 %11 = call i64 @FUNC(i64 %0, i64 %4, i32 %10) %12 = inttoptr i64 %11 to i8* %13 = call i32 @strlen(i8* %12) %14 = icmp eq i64 %arg6, 0 br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = ptrtoint i64* %arg4 to i64 %16 = mul i32 %13, 2 %17 = add i32 %16, 2 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %15, i64 %0, i32 %3, i64 %18, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %arg6) br label LBL_2 LBL_2: %20 = icmp eq i64* %arg5, null br i1 %20, label LBL_4, label LBL_3 LBL_3: store i64 %11, i64* %arg5, align 8 br label LBL_5 LBL_4: %21 = call i64 @FUNC(i64 %11) br label LBL_5 LBL_5: %22 = mul i32 %13, 2 %23 = add i32 %3, 2 %24 = add i32 %23, %22 %25 = zext i32 %24 to i64 ret i64 %25 uselistorder i64 %11, { 1, 0, 2 } uselistorder i32 %6, { 1, 0 } uselistorder i32 2, { 3, 0, 4, 1, 2 } uselistorder i64 %arg6, { 1, 0 } }
0
BinRealVul
rfc_send_dm_9407
rfc_send_dm
define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = call i64 @FUNC(i64 256) %4 = inttoptr i64 %3 to i16* %5 = add i64 %3, 2 %6 = inttoptr i64 %5 to i16* store i16 4, i16* %6, align 2 %7 = add i64 %3, 8 %arg2.tr = trunc i64 %arg2 to i8 %8 = mul i8 %arg2.tr, 4 %9 = add i64 %3, 9 %10 = inttoptr i64 %9 to i8* %11 = or i8 %8, %2 %12 = or i8 %11, 1 %13 = inttoptr i64 %7 to i8* store i8 %12, i8* %13, align 1 %14 = trunc i64 %arg3 to i8 %15 = icmp eq i8 %14, 0 %. = select i1 %15, i8 3, i8 19 %16 = add i64 %3, 10 store i8 %., i8* %10, align 1 %17 = add i64 %3, 11 %18 = inttoptr i64 %16 to i8* store i8 1, i8* %18, align 1 %19 = urem i64 %1, 256 %20 = xor i64 %19, 1 %21 = call i64 @FUNC(i64 %7, i64 %20, i8 %arg2.tr) %22 = trunc i64 %21 to i8 %23 = inttoptr i64 %17 to i8* store i8 %22, i8* %23, align 1 store i16 4, i16* %4, align 2 %24 = ptrtoint i8* %arg1 to i64 %25 = call i64 @FUNC(i64 %24, i64 %3) ret i64 %25 uselistorder i8 %arg2.tr, { 1, 0 } uselistorder i64 %3, { 0, 1, 2, 4, 5, 6, 3 } uselistorder i64 %1, { 1, 0 } }
0
BinRealVul
do_modify_softint_16847
do_modify_softint
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, %2 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: store i32 %2, i32* %arg1, align 4 %5 = ptrtoint i32* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 0 store i64 1, i64* %storemerge.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %5) store i64 1, 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 i32* %arg1, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
kvm_vm_ioctl_create_vcpu_11314
kvm_vm_ioctl_create_vcpu
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = icmp ult i64 %2, -1000 store i64 %2, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_15 LBL_1: %4 = add i64 %2, 4 %5 = call i64 @FUNC(i64 %4, i64* nonnull @gv_0) %6 = call i64 @FUNC(i64 %2) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %sv_0.1.reg2mem br i1 %9, label LBL_14, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %0) %11 = call i64 @FUNC(i64 %2) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %14, label LBL_3, label LBL_13 LBL_3: %15 = add i64 %0, 1064 %16 = call i64 @FUNC(i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 128 %19 = icmp eq i1 %18, false store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %19, label LBL_4, label LBL_13 LBL_4: %20 = add i64 %0, 40 %21 = trunc i64 %arg2 to i32 store i32 0, i32* %storemerge5.reg2mem br label LBL_7 LBL_5: %22 = inttoptr i64 %32 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, %21 %25 = icmp eq i1 %24, false store i64 4294967279, i64* %sv_0.0.reg2mem br i1 %25, label LBL_6, label LBL_13 LBL_6: %26 = add nuw i32 %storemerge5.reload, 1 %27 = icmp ugt i32 %storemerge5.reload, 126 store i32 %26, i32* %storemerge5.reg2mem br i1 %27, label LBL_8, label LBL_7 LBL_7: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %28 = sext i32 %storemerge5.reload to i64 %29 = mul i64 %28, 8 %30 = add i64 %29, %20 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_5, label LBL_8 LBL_8: %35 = call i64 @FUNC(i64 %15) %sext3 = mul i64 %35, 4294967296 %36 = ashr exact i64 %sext3, 29 %37 = add i64 %36, %20 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 br i1 %40, label LBL_10, label LBL_9 LBL_9: call void @abort() unreachable LBL_10: %41 = call i64 @FUNC(i64 %0) %42 = call i64 @FUNC(i64 %2) %43 = trunc i64 %42 to i32 %44 = icmp slt i32 %43, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_12, label LBL_11 LBL_11: %46 = call i64 @FUNC(i64 %0) store i64 %42, i64* %sv_0.0.reg2mem br label LBL_13 LBL_12: %47 = call i64 @FUNC(i64 %15) %sext4 = mul i64 %47, 4294967296 %48 = ashr exact i64 %sext4, 29 %49 = add i64 %48, %20 %50 = inttoptr i64 %49 to i64* store i64 %2, i64* %50, align 8 %51 = call i64 @FUNC() %52 = call i64 @FUNC(i64 %15) %53 = call i64 @FUNC(i64 %0) %54 = call i64 @FUNC(i64 %2) %55 = and i64 %42, 4294967295 store i64 %55, i64* %rax.0.reg2mem br label LBL_15 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %56 = call i64 @FUNC(i64 %0) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_14 LBL_14: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %57 = call i64 @FUNC(i64 %2) %58 = and i64 %sv_0.1.reload, 4294967295 store i64 %58, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %42, { 1, 0, 2 } uselistorder i64 %32, { 1, 0 } uselistorder i32 %storemerge5.reload, { 1, 0, 2 } uselistorder i64 %2, { 5, 1, 2, 3, 4, 7, 6, 0, 8 } uselistorder i64 %0, { 1, 2, 3, 4, 0, 5, 6, 7 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @mutex_unlock, { 1, 0 } uselistorder i64 (i64)* @atomic_read, { 2, 1, 0 } uselistorder i1 false, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder label LBL_15, { 1, 2, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 3, 0, 1, 2 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
get_metadata_size_17264
get_metadata_size
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = add i64 %1, %0 %3 = add i64 %0, 4 %4 = bitcast i32* %sv_1 to i64* %5 = bitcast i32* %sv_2 to i64* store i64 %3, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %6 = call i64 @FUNC(i64 %sv_0.0.reload, i64* nonnull %4, i64 0, i64* nonnull %5) %7 = add i64 %sv_0.0.reload, 4 %8 = load i32, i32* %sv_2, align 4 %9 = sext i32 %8 to i64 %10 = add i64 %7, %9 %11 = icmp ugt i64 %10, %2 %12 = icmp eq i1 %11, false store i64 0, i64* %storemerge.reg2mem br i1 %12, label LBL_2, label LBL_4 LBL_2: %13 = load i32, i32* %sv_1, align 4 %14 = icmp eq i32 %13, 0 store i64 %10, i64* %sv_0.0.reg2mem br i1 %14, label LBL_1, label LBL_3 LBL_3: %15 = sub i64 %10, %0 %16 = and i64 %15, 4294967295 store i64 %16, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %10, { 1, 0, 2 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
sr_1d97_float_2307
sr_1d97_float
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i32 %storemerge38.reg2mem = alloca i32 %storemerge49.reg2mem = alloca i32 %storemerge510.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %sext2 = mul i64 %arg3, 4294967296 %4 = ashr exact i64 %sext2, 32 %5 = add i64 %arg2, 1 %6 = and i64 %5, 4294967295 %7 = icmp sgt i64 %4, %6 br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = trunc i64 %3 to i32 %9 = icmp eq i32 %8, 1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = call i128 @FUNC(i32 %13) %15 = call i128 @FUNC(i32 1056964608) %16 = call i128 @FUNC(i128 %15, i128 %14) %17 = call i64 @__asm_movss.1(i128 %16) %18 = trunc i64 %17 to i32 store i32 %18, i32* %12, align 4 store i64 %11, i64* %rax.0.reg2mem br label LBL_16 LBL_3: %19 = trunc i64 %1 to i32 %20 = call i128 @FUNC(i32 %19) %21 = call i64 @__asm_movss.1(i128 %20) %22 = trunc i64 %21 to i32 %23 = bitcast i64* %arg1 to i32* store i32 %22, i32* %23, align 4 store i64 %2, i64* %rax.0.reg2mem br label LBL_16 LBL_4: %24 = and i64 %4, 4294967295 %25 = and i64 %3, 4294967295 %26 = call i64 @FUNC(i64 %2, i64 %25, i64 %24) %27 = trunc i64 %3 to i32 %28 = icmp slt i64 %sext, 0 %29 = zext i1 %28 to i32 %30 = add i32 %29, %27 %31 = ashr i32 %30, 1 %32 = add nsw i32 %31, -1 %33 = trunc i64 %4 to i32 %34 = icmp slt i64 %sext2, 0 %35 = zext i1 %34 to i32 %36 = add i32 %35, %33 %37 = ashr i32 %36, 1 %38 = add nsw i32 %37, 1 %39 = zext i32 %38 to i64 %40 = sext i32 %32 to i64 %41 = icmp sgt i64 %40, %39 br i1 %41, label LBL_7, label LBL_5 LBL_5: %42 = add i64 %2, -4 store i32 %32, i32* %storemerge510.reg2mem br label LBL_6 LBL_6: %storemerge510.reload = load i32, i32* %storemerge510.reg2mem %43 = mul i32 %storemerge510.reload, 2 %44 = sext i32 %43 to i64 %45 = mul i64 %44, 4 %46 = add i64 %45, %2 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = call i128 @FUNC(i32 %48) %50 = add i64 %42, %45 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = call i128 @FUNC(i32 %52) %54 = or i32 %43, 1 %55 = sext i32 %54 to i64 %56 = mul i64 %55, 4 %57 = add i64 %56, %2 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = call i128 @FUNC(i32 %59) %61 = call i128 @FUNC(i128 %60, i128 %53) %62 = call i128 @FUNC(i128 %49, i128 %61) %63 = call i64 @__asm_movss.1(i128 %62) %64 = trunc i64 %63 to i32 store i32 %64, i32* %47, align 4 %65 = add i32 %storemerge510.reload, 1 %66 = sext i32 %65 to i64 %67 = icmp sgt i64 %66, %39 store i32 %65, i32* %storemerge510.reg2mem br i1 %67, label LBL_7, label LBL_6 LBL_7: %68 = zext i32 %37 to i64 %69 = icmp sgt i64 %40, %68 br i1 %69, label LBL_10, label LBL_8 LBL_8: %70 = add i64 %2, 8 store i32 %32, i32* %storemerge49.reg2mem br label LBL_9 LBL_9: %storemerge49.reload = load i32, i32* %storemerge49.reg2mem %71 = mul i32 %storemerge49.reload, 2 %72 = or i32 %71, 1 %73 = sext i32 %72 to i64 %74 = mul i64 %73, 4 %75 = add i64 %74, %2 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = call i128 @FUNC(i32 %77) %79 = sext i32 %71 to i64 %80 = mul i64 %79, 4 %81 = add i64 %80, %2 %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = call i128 @FUNC(i32 %83) %85 = add i64 %70, %80 %86 = inttoptr i64 %85 to i32* %87 = load i32, i32* %86, align 4 %88 = call i128 @FUNC(i32 %87) %89 = call i128 @FUNC(i128 %88, i128 %84) %90 = call i128 @FUNC(i128 %78, i128 %89) %91 = call i64 @__asm_movss.1(i128 %90) %92 = trunc i64 %91 to i32 store i32 %92, i32* %76, align 4 %93 = add i32 %storemerge49.reload, 1 %94 = sext i32 %93 to i64 %95 = icmp sgt i64 %94, %68 store i32 %93, i32* %storemerge49.reg2mem br i1 %95, label LBL_10, label LBL_9 LBL_10: %96 = sext i32 %31 to i64 %97 = icmp sgt i64 %96, %68 br i1 %97, label LBL_13, label LBL_11 LBL_11: %98 = add i64 %2, -4 store i32 %31, i32* %storemerge38.reg2mem br label LBL_12 LBL_12: %storemerge38.reload = load i32, i32* %storemerge38.reg2mem %99 = mul i32 %storemerge38.reload, 2 %100 = sext i32 %99 to i64 %101 = mul i64 %100, 4 %102 = add i64 %101, %2 %103 = inttoptr i64 %102 to i32* %104 = load i32, i32* %103, align 4 %105 = call i128 @FUNC(i32 %104) %106 = add i64 %98, %101 %107 = inttoptr i64 %106 to i32* %108 = load i32, i32* %107, align 4 %109 = call i128 @FUNC(i32 %108) %110 = or i32 %99, 1 %111 = sext i32 %110 to i64 %112 = mul i64 %111, 4 %113 = add i64 %112, %2 %114 = inttoptr i64 %113 to i32* %115 = load i32, i32* %114, align 4 %116 = call i128 @FUNC(i32 %115) %117 = call i128 @FUNC(i128 %116, i128 %109) %118 = call i128 @FUNC(i128 %117, i128 %105) %119 = call i64 @__asm_movss.1(i128 %118) %120 = trunc i64 %119 to i32 store i32 %120, i32* %103, align 4 %121 = add i32 %storemerge38.reload, 1 %122 = sext i32 %121 to i64 %123 = icmp sgt i64 %122, %68 store i32 %121, i32* %storemerge38.reg2mem br i1 %123, label LBL_13, label LBL_12 LBL_13: %124 = icmp slt i64 %96, %68 store i64 %68, i64* %rax.0.reg2mem br i1 %124, label LBL_14, label LBL_16 LBL_14: %125 = add i64 %2, 8 store i32 %31, i32* %storemerge7.reg2mem br label LBL_15 LBL_15: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %126 = mul i32 %storemerge7.reload, 2 %127 = or i32 %126, 1 %128 = sext i32 %127 to i64 %129 = mul i64 %128, 4 %130 = add i64 %129, %2 %131 = inttoptr i64 %130 to i32* %132 = load i32, i32* %131, align 4 %133 = call i128 @FUNC(i32 %132) %134 = sext i32 %126 to i64 %135 = mul i64 %134, 4 %136 = add i64 %135, %2 %137 = inttoptr i64 %136 to i32* %138 = load i32, i32* %137, align 4 %139 = call i128 @FUNC(i32 %138) %140 = add i64 %125, %135 %141 = inttoptr i64 %140 to i32* %142 = load i32, i32* %141, align 4 %143 = call i128 @FUNC(i32 %142) %144 = call i128 @FUNC(i128 %143, i128 %139) %145 = call i128 @FUNC(i128 %144, i128 %133) %146 = call i64 @__asm_movss.1(i128 %145) %147 = trunc i64 %146 to i32 store i32 %147, i32* %131, align 4 %148 = add i32 %storemerge7.reload, 1 %149 = sext i32 %148 to i64 %150 = icmp slt i64 %149, %68 store i32 %148, i32* %storemerge7.reg2mem store i64 %68, i64* %rax.0.reg2mem br i1 %150, label LBL_15, label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %126, { 1, 0 } uselistorder i32 %99, { 1, 0 } uselistorder i32 %71, { 1, 0 } uselistorder i64 %68, { 0, 2, 1, 4, 3, 5, 7, 6 } uselistorder i32 %43, { 1, 0 } uselistorder i64 %39, { 1, 0 } uselistorder i64 %sext2, { 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %2, { 1, 2, 9, 3, 4, 10, 5, 6, 11, 7, 8, 12, 14, 0, 13 } uselistorder i32* %storemerge510.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge49.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64 8, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
redisIvykisAttach_7128
redisIvykisAttach
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %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 = icmp eq i64 %3, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = call i64 @FUNC(i64 48) %6 = add i64 %5, 40 %7 = inttoptr i64 %6 to i64* store i64 %0, i64* %7, align 8 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i64* store i64 4198736, i64* %9, align 8 %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i64* store i64 4198747, i64* %11, align 8 %12 = add i64 %0, 32 %13 = inttoptr i64 %12 to i64* store i64 4198758, i64* %13, align 8 %14 = add i64 %0, 40 %15 = inttoptr i64 %14 to i64* store i64 4198769, i64* %15, align 8 %16 = add i64 %0, 48 %17 = inttoptr i64 %16 to i64* store i64 4198780, i64* %17, align 8 store i64 %5, i64* %2, align 8 %18 = bitcast i64* %rdi to i32* %19 = load i32, i32* %18, align 8 %20 = inttoptr i64 %5 to i32* store i32 %19, i32* %20, align 4 %21 = add i64 %5, 8 %22 = inttoptr i64 %21 to i64* store i64 4198791, i64* %22, align 8 %23 = add i64 %5, 16 %24 = inttoptr i64 %23 to i64* store i64 4198802, i64* %24, align 8 %25 = add i64 %5, 24 %26 = inttoptr i64 %25 to i64* store i64 0, i64* %26, align 8 %27 = load i64, i64* %7, align 8 %28 = add i64 %5, 32 %29 = inttoptr i64 %28 to i64* store i64 %27, i64* %29, align 8 %30 = call i64 @FUNC(i64 %5) store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 48, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
find_callno_locked_13058
find_callno_locked
define i64 @FUNC(i64 %arg1, i16 %arg2, i64* %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = and i64 %arg5, 4294967295 %2 = urem i64 %arg1, 65536 %3 = call i64 @FUNC(i64 %2, i16 %arg2, i64 %0, i32 %arg4, i64 %1, i64 1) ret i64 %3 }
1
BinRealVul
SFS_CompoundExpression_5970
SFS_CompoundExpression
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = add i64 %arg1, 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = zext i32 %4 to i64 %6 = icmp eq i32 %4, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %arg1) %9 = call i64 @FUNC(i64 %arg1, i64 1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 store i64 %9, i64* %rax.0.reg2mem br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = load i64, i64* %1, align 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = icmp eq i32 %14, 0 %17 = icmp eq i1 %16, false store i64 %15, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %arg1, i64 4202512) %19 = call i64 @FUNC(i64 %arg1) store i64 %19, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 1, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 3, 2, 4 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
0
BinRealVul
qemu_get_virtqueue_element_3413
qemu_get_virtqueue_element
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge5.reg2mem = alloca i32 %.reg2mem25 = alloca i64 %.reg2mem23 = alloca i64 %storemerge16.reg2mem = alloca i32 %.reg2mem21 = alloca i64 %.reg2mem19 = alloca i64 %.reg2mem17 = alloca i64 %storemerge27.reg2mem = alloca i32 %.reg2mem15 = alloca i64 %.reg2mem13 = alloca i64 %storemerge38.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = ptrtoint i64* %arg2 to i64 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i64 504) %4 = load i64, i64* %sv_0, align 8 %5 = icmp ult i64 %4, 11 br i1 %5, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 53, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %6 = icmp ult i64 %2, 11 br i1 %6, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 54, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %7 = ptrtoint i64* %sv_1 to i64 %8 = load i64, i64* %sv_0, align 8 %9 = call i64 @FUNC(i64 %arg3, i64 %2, i64 %8) %10 = inttoptr i64 %9 to i64* %11 = add i64 %9, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 store i64 0, i64* %.reg2mem13 br i1 %14, label LBL_7, label LBL_5 LBL_5: %15 = add i64 %7, -504 %16 = add i64 %9, 344 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge38.reg2mem br label LBL_6 LBL_6: %storemerge38.reload = load i32, i32* %storemerge38.reg2mem %.reload = load i64, i64* %.reg2mem %17 = mul i64 %.reload, 8 %18 = add i64 %15, %17 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %16, %17 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 %23 = add i32 %storemerge38.reload, 1 %24 = sext i32 %23 to i64 %25 = load i64, i64* %12, align 8 %26 = icmp ugt i64 %25, %24 store i64 %24, i64* %.reg2mem store i32 %23, i32* %storemerge38.reg2mem store i64 %25, i64* %.reg2mem13 br i1 %26, label LBL_6, label LBL_7 LBL_7: %.reload14 = load i64, i64* %.reg2mem13 %27 = add i64 %9, 16 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 store i64 0, i64* %.reg2mem17 store i64 %.reload14, i64* %.reg2mem19 br i1 %30, label LBL_11, label LBL_8 LBL_8: %31 = add i64 %7, -424 %32 = add i64 %9, 424 store i64 0, i64* %.reg2mem15 store i32 0, i32* %storemerge27.reg2mem br label LBL_9 LBL_9: %storemerge27.reload = load i32, i32* %storemerge27.reg2mem %.reload16 = load i64, i64* %.reg2mem15 %33 = mul i64 %.reload16, 8 %34 = add i64 %31, %33 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = add i64 %32, %33 %38 = inttoptr i64 %37 to i64* store i64 %36, i64* %38, align 8 %39 = add i32 %storemerge27.reload, 1 %40 = sext i32 %39 to i64 %41 = load i64, i64* %28, align 8 %42 = icmp ugt i64 %41, %40 store i64 %40, i64* %.reg2mem15 store i32 %39, i32* %storemerge27.reg2mem br i1 %42, label LBL_9, label LBL_10 LBL_10: %.pre = load i64, i64* %12, align 8 store i64 %41, i64* %.reg2mem17 store i64 %.pre, i64* %.reg2mem19 br label LBL_11 LBL_11: %.reload20 = load i64, i64* %.reg2mem19 %.reload18 = load i64, i64* %.reg2mem17 %43 = icmp eq i64 %.reload20, 0 store i64 %.reload18, i64* %.reg2mem23 br i1 %43, label LBL_15, label LBL_12 LBL_12: %44 = add i64 %7, -336 store i64 0, i64* %.reg2mem21 store i32 0, i32* %storemerge16.reg2mem br label LBL_13 LBL_13: %storemerge16.reload = load i32, i32* %storemerge16.reg2mem %.reload22 = load i64, i64* %.reg2mem21 %45 = mul i64 %.reload22, 16 %46 = add i64 %45, %27 %47 = add i64 %46, 8 %48 = inttoptr i64 %47 to i64* store i64 0, i64* %48, align 8 %49 = add i64 %44, %45 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = add i64 %46, 16 %53 = inttoptr i64 %52 to i64* store i64 %51, i64* %53, align 8 %54 = add i32 %storemerge16.reload, 1 %55 = sext i32 %54 to i64 %56 = load i64, i64* %12, align 8 %57 = icmp ugt i64 %56, %55 store i64 %55, i64* %.reg2mem21 store i32 %54, i32* %storemerge16.reg2mem br i1 %57, label LBL_13, label LBL_14 LBL_14: %.pre10 = load i64, i64* %28, align 8 store i64 %.pre10, i64* %.reg2mem23 br label LBL_15 LBL_15: %.reload24 = load i64, i64* %.reg2mem23 %58 = icmp eq i64 %.reload24, 0 br i1 %58, label LBL_18, label LBL_16 LBL_16: %59 = add i64 %9, 176 %60 = add i64 %7, -176 store i64 0, i64* %.reg2mem25 store i32 0, i32* %storemerge5.reg2mem br label LBL_17 LBL_17: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.reload26 = load i64, i64* %.reg2mem25 %61 = mul i64 %.reload26, 16 %62 = add i64 %59, %61 %63 = add i64 %62, 8 %64 = inttoptr i64 %63 to i64* store i64 0, i64* %64, align 8 %65 = add i64 %60, %61 %66 = inttoptr i64 %65 to i64* %67 = load i64, i64* %66, align 8 %68 = add i64 %62, 16 %69 = inttoptr i64 %68 to i64* store i64 %67, i64* %69, align 8 %70 = add i32 %storemerge5.reload, 1 %71 = sext i32 %70 to i64 %72 = load i64, i64* %28, align 8 %73 = icmp ugt i64 %72, %71 store i64 %71, i64* %.reg2mem25 store i32 %70, i32* %storemerge5.reg2mem br i1 %73, label LBL_17, label LBL_18 LBL_18: %74 = ptrtoint i64* %arg1 to i64 %75 = call i64 @FUNC(i64 %74, i64 %9) ret i64 %9 uselistorder i64 %33, { 1, 0 } uselistorder i64* %28, { 1, 0, 3, 2 } uselistorder i64 %17, { 1, 0 } uselistorder i64* %12, { 1, 0, 3, 2 } uselistorder i64 %9, { 2, 1, 0, 4, 3, 6, 5, 7 } uselistorder i64 %7, { 3, 2, 1, 0 } uselistorder i64* %sv_0, { 1, 2, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem15, { 1, 0, 2 } uselistorder i32* %storemerge27.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem21, { 1, 0, 2 } uselistorder i32* %storemerge16.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem25, { 1, 0, 2 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64 16, { 2, 0, 3, 1, 4 } uselistorder i64 8, { 2, 3, 0, 1, 4 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
print_fatal_signal_8071
print_fatal_signal
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = call i64 @FUNC() %6 = and i64 %arg1, 4294967295 %7 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %3, i64 %4, i64 %2, i64 %1) %8 = call i64 @FUNC() %9 = call i64 @FUNC(i64 %5) %10 = call i64 @FUNC() ret i64 %10 uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 1, { 4, 3, 2, 5, 1, 0 } }
0
BinRealVul
archive_read_format_rar_read_data_11673
archive_read_format_rar_read_data
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %.pre-phi4.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = bitcast i64* %arg1 to i32* store i32 0, i32* %5, align 4 br label LBL_2 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %6, i64 %9) store i64 0, i64* %8, align 8 br label LBL_4 LBL_4: %12 = ptrtoint i64* %arg4 to i64 store i64 0, i64* %arg2, align 8 %13 = add i64 %6, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4.LBL_7_crit_edge, label LBL_6 LBL_5: %.pre = add i64 %6, 32 %.pre3 = inttoptr i64 %.pre to i64* store i64* %.pre3, i64** %.pre-phi4.reg2mem br label LBL_7 LBL_6: %18 = add i64 %6, 24 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %6, 32 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp slt i64 %20, %23 store i64* %22, i64** %.pre-phi4.reg2mem br i1 %24, label LBL_8, label LBL_7 LBL_7: %.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem store i64 0, i64* %arg3, align 8 %25 = add i64 %6, 40 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 store i64 %27, i64* %arg4, align 8 %28 = load i64, i64* %.pre-phi4.reload, align 8 %29 = icmp sgt i64 %28, %12 %spec.store.select = select i1 %29, i64 %28, i64 %27 store i64 %spec.store.select, i64* %arg4, align 8 ret i64 1 LBL_8: %30 = ptrtoint i64* %arg3 to i64 %31 = ptrtoint i64* %arg2 to i64 %32 = add i64 %6, 48 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label LBL_10, label LBL_9 LBL_9: %36 = icmp sgt i32 %34, -1 %37 = add i32 %34, -1 %38 = icmp ult i32 %37, 5 %or.cond = icmp eq i1 %36, %38 br i1 %or.cond, label LBL_11, label LBL_12 LBL_10: %39 = call i64 @FUNC(i64 %6, i64 %31, i64 %30, i64 %12) store i64 %39, i64* %sv_0.0.reg2mem br label LBL_13 LBL_11: %40 = call i64 @FUNC(i64 %6, i64 %31, i64 %30, i64 %12) store i64 %40, i64* %sv_0.0.reg2mem br label LBL_13 LBL_12: %41 = call i64 @FUNC(i64 %7, i64 100, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %42 = and i64 %sv_0.0.reload, 4294967295 ret i64 %42 uselistorder i32 %34, { 1, 0, 2 } uselistorder i64 %12, { 1, 2, 0 } uselistorder i64 %6, { 2, 3, 8, 4, 6, 7, 0, 5, 1, 9 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32 -1, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_13, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
cdrom_sysctl_register_10210
cdrom_sysctl_register
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4 %1 = icmp eq i32 %0, 1 store i64 1, i64* %rax.0.in.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load i64, i64* @gv_0, align 8 %3 = call i64 @FUNC(i64 %2) store i64 %3, i64* @gv_1, align 8 %4 = load i32, i32* @gv_2, align 4 store i32 %4, i32* bitcast (i64* @gv_3 to i32*), align 8 %5 = load i32, i32* @gv_4, align 4 store i32 %5, i32* bitcast (i64* @gv_5 to i32*), align 8 %6 = load i32, i32* @gv_6, align 4 store i32 %6, i32* bitcast (i64* @gv_7 to i32*), align 8 %7 = load i32, i32* @gv_8, align 4 store i32 %7, i32* bitcast (i64* @gv_9 to i32*), align 8 %8 = load i32, i32* @gv_10, align 4 store i32 %8, i32* bitcast (i64* @gv_11 to i32*), align 8 store i32 1, i32* bitcast (i64* @gv_12 to i32*), align 8 %phitmp = zext i32 %8 to i64 store i64 %phitmp, i64* %rax.0.in.reg2mem br label LBL_2 LBL_2: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem ret i64 %rax.0.in.reload uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
reposvul_c_test
real_block_target_168
real_block_target
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64* %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 72 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = icmp ult i8 %3, 3 %5 = icmp eq i1 %4, false %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = icmp ult i8 %3, 33 %8 = icmp ne i1 %7, true %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64* @memset(i64* %arg1, i32 255, i32 32) store i64* %10, i64** %storemerge.in.reg2mem br label LBL_4 LBL_3: %11 = ptrtoint i64* %arg1 to i64 %12 = add i8 %3, -3 %13 = zext i8 %12 to i32 %14 = call i64* @memset(i64* %arg1, i32 0, i32 %13) %15 = add i64 %0, 75 %16 = add i8 %3, -2 %17 = zext i8 %12 to i64 %18 = add i64 %17, %11 %19 = inttoptr i64 %15 to i8* %20 = load i8, i8* %19, align 1 %21 = inttoptr i64 %18 to i8* store i8 %20, i8* %21, align 1 %22 = add i64 %0, 74 %23 = add i8 %3, -1 %24 = zext i8 %16 to i64 %25 = add i64 %24, %11 %26 = inttoptr i64 %22 to i8* %27 = load i8, i8* %26, align 1 %28 = inttoptr i64 %25 to i8* store i8 %27, i8* %28, align 1 %29 = add i64 %0, 73 %30 = zext i8 %23 to i64 %31 = add i64 %30, %11 %32 = inttoptr i64 %29 to i8* %33 = load i8, i8* %32, align 1 %34 = inttoptr i64 %31 to i8* store i8 %33, i8* %34, align 1 %35 = zext i8 %3 to i32 %36 = sub nsw i32 32, %35 %37 = zext i8 %3 to i64 %38 = add i64 %37, %11 %39 = inttoptr i64 %38 to i64* %40 = call i64* @memset(i64* %39, i32 0, i32 %36) store i64* %40, i64** %storemerge.in.reg2mem br label LBL_4 LBL_4: %storemerge.in.reload = load i64*, i64** %storemerge.in.reg2mem %storemerge = ptrtoint i64* %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i8 %3, { 3, 4, 2, 1, 0, 5, 6 } uselistorder i64** %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* (i64*, i32, i32)* @memset, { 0, 2, 1 } uselistorder i1 false, { 0, 2, 1 } uselistorder i64* %arg1, { 0, 2, 1 } }
0
BinRealVul
git_repository_config__weakptr_18157
git_repository_config__weakptr
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %1 = icmp eq i64* %arg2, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: store i64 0, i64* %sv_2, align 8 store i64 0, i64* %sv_1, align 8 store i64 0, i64* %sv_0, align 8 %3 = call i64 @FUNC(i64* nonnull %sv_2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %7 = load i64, i64* %sv_2, align 8 %spec.select = select i1 %6, i64 0, i64 %7 %8 = call i64 @FUNC(i64* nonnull %sv_1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false %12 = load i64, i64* %sv_1, align 8 %sv_3.0 = select i1 %11, i64 0, i64 %12 %13 = call i64 @FUNC(i64* nonnull %sv_0) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false %17 = load i64, i64* %sv_0, align 8 %spec.select1 = select i1 %16, i64 0, i64 %17 %18 = call i64 @FUNC(i64 %0, i64 %0, i64 %spec.select, i64 %sv_3.0, i64 %spec.select1) %19 = trunc i64 %18 to i32 %20 = call i64 @FUNC(i64* nonnull %sv_2) %21 = call i64 @FUNC(i64* nonnull %sv_0) %22 = icmp slt i32 %19, 0 %23 = icmp eq i1 %22, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %23, label LBL_2, label LBL_3 LBL_2: store i64 %0, i64* %arg1, align 8 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* %sv_2, { 0, 2, 1, 3 } uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i64* %sv_0, { 0, 2, 1, 3 } uselistorder i64 %0, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64*)* @git_buf_free, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
io_file_bitmap_get_6867
io_file_bitmap_get
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false store i64 4294967273, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_6 LBL_1: %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %0, i64 %3, i64 %8) %sext2 = mul i64 %9, 4294967296 %10 = ashr exact i64 %sext2, 32 %11 = icmp eq i64 %3, %10 store i64 %9, i64* %.lcssa.reg2mem br i1 %11, label LBL_2, label LBL_3 LBL_2: %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i64* br label LBL_4 LBL_3: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %14 = and i64 %.lcssa.reload, 4294967295 store i64 %14, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %15 = load i64, i64* %7, align 8 %16 = load i64, i64* %13, align 8 %17 = icmp eq i64 %15, %16 store i64 4294967273, i64* %rax.0.reg2mem br i1 %17, label LBL_6, label LBL_5 LBL_5: store i64 %16, i64* %7, align 8 %18 = call i64 @FUNC(i64 %0, i64 %15, i64 %16) %sext = mul i64 %18, 4294967296 %19 = ashr exact i64 %sext, 32 %20 = icmp eq i64 %15, %19 store i64 %18, i64* %.lcssa.reg2mem br i1 %20, label LBL_4, label LBL_3 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %15, { 1, 0, 2 } uselistorder i64* %7, { 1, 2, 0 } uselistorder i64 %0, { 2, 1, 0, 3, 4 } uselistorder i64* %.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64, i64, i64)* @find_next_zero_bit, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_6, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
dsi_writeinit_12923
dsi_writeinit
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %3 to i32 %6 = call i32 @ntohl(i32 %5) %7 = add i64 %4, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = sub i32 %6, %9 %11 = zext i32 %10 to i64 %12 = add i64 %4, 24 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 %14 = add i64 %4, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = add i64 %4, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp ugt i64 %16, %19 store i64 %11, i64* %.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %20, label LBL_1, label LBL_3 LBL_1: %21 = sub i64 %16, %19 %22 = icmp ult i64 %21, %11 %23 = select i1 %22, i64 %21, i64 %11 %24 = inttoptr i64 %arg2 to i64* %25 = inttoptr i64 %19 to i64* %26 = trunc i64 %23 to i32 %27 = call i64* @memmove(i64* %24, i64* %25, i32 %26) %28 = load i64, i64* %18, align 8 %29 = add i64 %28, %23 store i64 %29, i64* %18, align 8 %30 = load i64, i64* %13, align 8 %31 = sub i64 %30, %23 store i64 %31, i64* %13, align 8 %32 = load i64, i64* %18, align 8 %33 = load i64, i64* %15, align 8 %34 = icmp ult i64 %32, %33 store i64 %31, i64* %.reg2mem store i64 %23, i64* %sv_0.0.reg2mem br i1 %34, label LBL_3, label LBL_2 LBL_2: %35 = add i64 %4, 32 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 store i64 %37, i64* %15, align 8 store i64 %37, i64* %18, align 8 %.pre = load i64, i64* %13, align 8 store i64 %.pre, i64* %.reg2mem store i64 %23, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.reload = load i64, i64* %.reg2mem %38 = load i32, i32* inttoptr (i64 4210768 to i32*), align 16 %39 = load i32, i32* @gv_0, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %40, i32 %38, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %.reload, i64 %2, i64 %1) ret i64 %sv_0.0.reload uselistorder i64 %23, { 0, 1, 4, 2, 3 } uselistorder i64 %21, { 1, 0 } uselistorder i64* %18, { 0, 1, 3, 2, 4 } uselistorder i64* %15, { 1, 0, 2 } uselistorder i64* %13, { 0, 2, 1, 3 } uselistorder i64 %11, { 2, 1, 0, 3 } uselistorder i64* %.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
1
BinRealVul
__put_net_8633
__put_net
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %3 = call i64 @FUNC(i64 %arg1, i64 4210752) %4 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %5 = load i64, i64* @gv_1, align 8 %6 = call i64 @FUNC(i64 %5, i64* nonnull @gv_2) ret i64 %6 uselistorder i64 %1, { 1, 0 } }
0
BinRealVul
thread_pool_co_cb_14270
thread_pool_co_cb
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = bitcast i64* %arg1 to i32* store i32 %1, i32* %2, align 4 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5, i64 0) ret i64 %6 }
1
BinRealVul
pci_qdev_unrealize_15208
pci_qdev_unrealize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) ret i64 %3 }
1
BinRealVul
__tcp_set_ulp_12484
__tcp_set_ulp
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64* %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64* inttoptr (i32 -1 to i64*), i64** %sv_0.0.reg2mem br i1 %6, label LBL_5, label LBL_1 LBL_1: %7 = icmp eq i64* %arg1, null br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 0, i64 %1) br label LBL_3 LBL_3: %9 = trunc i64 %1 to i32 %10 = and i64 %1, 4294967295 %11 = inttoptr i64 %10 to i64* %12 = icmp eq i32 %9, 0 %13 = icmp eq i1 %12, false store i64* %11, i64** %sv_0.0.reg2mem br i1 %13, label LBL_5, label LBL_4 LBL_4: store i64 %0, i64* %3, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = ptrtoint i64* %sv_0.0.reload to i64 %19 = and i64 %18, 4294967295 store i64 %19, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
acpi_pm1_evt_get_sts_2110
acpi_pm1_evt_get_sts
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i16 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 0) %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64 0, i64 %2, i64 1000) %4 = icmp slt i64 %1, %3 %.pre = add i64 %0, 8 %.pre1 = inttoptr i64 %.pre to i16* %.pre3 = load i16, i16* %.pre1, align 2 store i16 %.pre3, i16* %.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = or i16 %.pre3, 1 store i16 %5, i16* %.pre1, align 2 store i16 %5, i16* %.reg2mem br label LBL_2 LBL_2: %.reload = load i16, i16* %.reg2mem %6 = zext i16 %.reload to i64 ret i64 %6 uselistorder i16 %.pre3, { 1, 0 } uselistorder i16* %.pre1, { 1, 0 } uselistorder i16* %.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
gf_dom_event_remove_all_listeners_12517
gf_dom_event_remove_all_listeners
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %rdi.01.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 %4 = icmp eq i1 %3, false store i64 %0, i64* %rdi.01.reg2mem store i64 %1, i64* %.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %rdi.01.reload = load i64, i64* %rdi.01.reg2mem %5 = call i64 @FUNC(i64 %rdi.01.reload, i64 0) %6 = call i64 @FUNC(i64 %5, i64 %0) %7 = call i64 @FUNC(i64 %5) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %5, i64* %rdi.01.reg2mem store i64 %7, i64* %.lcssa.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_2: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %0, { 2, 0, 1 } uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64)* @gf_list_count, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
jpc_picomp_destroy_9400
jpc_picomp_destroy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_4, label LBL_1 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 store i32 0, i32* %sv_0.01.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem %6 = call i64 @FUNC(i64 %0) %7 = add i32 %sv_0.01.reload, 1 %8 = load i32, i32* %3, align 4 %9 = zext i32 %8 to i64 %10 = sext i32 %7 to i64 %11 = icmp slt i64 %10, %9 store i32 %7, i32* %sv_0.01.reg2mem br i1 %11, label LBL_2, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %0) store i64 %12, 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 i32* %3, { 1, 0 } uselistorder i64 %0, { 1, 2, 3, 0 } uselistorder i32* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
test_properties_16612
test_properties
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.lcssa.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %3, i64 %4, i64 %2, i64 %1) %6 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %3, i64 %4, i64 %2, i64 %1) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %10 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %9, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_2: %11 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0)) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %16 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %15, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_6, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_4: %17 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0)) %18 = call i64 @FUNC(i64 %17) %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 %18, i64* %storemerge13.reg2mem store i64 %18, i64* %storemerge1.lcssa.reg2mem br i1 %20, label LBL_5, label LBL_10 LBL_5: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %21 = call i64 @FUNC(i64 %storemerge13.reload) %22 = call i64 @FUNC(i64 %21) %23 = call i64 @FUNC(i64 %22, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0)) %24 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_8, i64 0, i64 0), i64 0) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %27 = call i64 @FUNC(i64 %22, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0)) br i1 %26, label LBL_7, label LBL_6 LBL_6: %28 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_10, i64 0, i64 0), i64 %arg1, i64 %27, i64 %4, i64 %2, i64 %1) %29 = call i64 @FUNC(i64 %28) %30 = call i64 @FUNC(i64 %28) br label LBL_9 LBL_7: %31 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_11, i64 0, i64 0), i64 %arg1, i64 %27, i64 %4, i64 %2, i64 %1) %32 = call i64 @FUNC(i8* getelementptr inbounds ([91 x i8], [91 x i8]* @gv_12, i64 0, i64 0), i64 %arg1, i64 %27, i64 %4, i64 %2, i64 %1) %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_9, label LBL_8 LBL_8: %35 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %36 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %35, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_9: %37 = inttoptr i64 %storemerge13.reload to i64* %38 = load i64, i64* %37, align 8 %39 = icmp eq i64 %38, 0 %40 = icmp eq i1 %39, false store i64 %38, i64* %storemerge13.reg2mem store i64 %38, i64* %storemerge1.lcssa.reg2mem br i1 %40, label LBL_5, label LBL_10 LBL_10: %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem ret i64 %storemerge1.lcssa.reload uselistorder i64 %27, { 1, 2, 0 } uselistorder i64 %4, { 3, 4, 2, 0, 1 } uselistorder i64 %2, { 3, 4, 2, 0, 1 } uselistorder i64 %1, { 3, 4, 2, 0, 1 } uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i8*)* @qdict_get_str, { 1, 0 } uselistorder void (i32)* @exit, { 2, 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_2, { 2, 1, 0 } uselistorder i1 false, { 2, 1, 0, 3, 4 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @qmp, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @g_test_message, { 1, 0 } uselistorder i32 1, { 9, 10, 11, 8, 7, 6, 5, 2, 4, 1, 12, 3, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3, 4 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
ff_bink_idct_put_c_2219
ff_bink_idct_put_c
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %indvars.iv8.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv11.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %sv_0 = alloca i64, align 8 %1 = ptrtoint i64* %sv_0 to i64 store i64 0, i64* %indvars.iv11.reg2mem br label LBL_1 LBL_1: %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem %2 = mul i64 %indvars.iv11.reload, 4 %3 = add i64 %2, %0 %4 = add i64 %2, %1 %5 = call i64 @FUNC(i64 %4, i64 %3) %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1 %exitcond13 = icmp eq i64 %indvars.iv.next12, 8 store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem br i1 %exitcond13, label LBL_2, label LBL_1 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = mul i64 %arg2, 4294967296 store i64 0, i64* %indvars.iv8.reg2mem br label LBL_5 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %reass.add = add nuw nsw i64 %indvars.iv.reload, %14 %reass.mul = mul i64 %reass.add, 4 %8 = add i64 %reass.mul, %1 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %16, %indvars.iv.reload %12 = trunc i32 %10 to i8 %13 = inttoptr i64 %11 to i8* store i8 %12, i8* %13, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1 %exitcond10 = icmp eq i64 %indvars.iv.next9, 8 store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem br i1 %exitcond10, label LBL_6, label LBL_5 LBL_5: %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem %14 = mul i64 %indvars.iv8.reload, 8 %sext = mul i64 %7, %indvars.iv8.reload %15 = ashr exact i64 %sext, 32 %16 = add i64 %15, %6 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_6: ret i64 %11 uselistorder i64 %indvars.iv8.reload, { 1, 2, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %indvars.iv11.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
kvm_vm_ioctl_get_pvinfo_8454
kvm_vm_ioctl_get_pvinfo
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 1140850722) %2 = trunc i64 %1 to i32 %3 = bitcast i64* %arg1 to i32* store i32 %2, i32* %3, align 4 %4 = call i64 @FUNC(i64 1610612736) %5 = trunc i64 %4 to i32 %6 = add i64 %0, 4 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 %8 = call i64 @FUNC(i64 1610612736) %9 = trunc i64 %8 to i32 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = call i64 @FUNC(i64 1610612736) %13 = trunc i64 %12 to i32 %14 = add i64 %0, 12 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = add i64 %0, 16 %17 = inttoptr i64 %16 to i32* store i32 1, i32* %17, align 4 ret i64 0 uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64 (i64)* @cpu_to_be32, { 3, 2, 1, 0 } }
0
BinRealVul
Get32s_9955
Get32s
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = mul i64 %1, 16777216 %5 = and i64 %4, 4278190080 %6 = ptrtoint i32* %arg1 to i64 %7 = add i64 %6, 1 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = zext i8 %9 to i64 %11 = mul i64 %10, 65536 %12 = or i64 %11, %5 %13 = add i64 %6, 2 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = zext i8 %15 to i64 %17 = mul i64 %16, 256 %18 = or i64 %12, %17 %19 = add i64 %6, 3 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = zext i8 %21 to i64 %23 = or i64 %18, %22 store i64 %23, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %24 = ptrtoint i32* %arg1 to i64 %25 = add i64 %24, 3 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = zext i8 %27 to i64 %29 = mul i64 %28, 16777216 %30 = add i64 %24, 2 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = zext i8 %32 to i64 %34 = mul i64 %33, 65536 %35 = add i64 %24, 1 %36 = inttoptr i64 %35 to i8* %37 = load i8, i8* %36, align 1 %38 = zext i8 %37 to i64 %39 = mul i64 %38, 256 %40 = urem i64 %1, 256 %41 = or i64 %29, %40 %42 = or i64 %41, %34 %43 = or i64 %42, %39 store i64 %43, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 256, { 2, 0, 1 } uselistorder i32* %arg1, { 1, 0 } }
0
BinRealVul
update_file_flags_17583
update_file_flags
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %sext7 = mul i64 %arg5, 4294967296 %4 = ashr exact i64 %sext7, 32 %5 = load i32, i32* inttoptr (i64 4210828 to i32*), align 4 %6 = zext i32 %5 to i64 %7 = icmp eq i32 %5, 0 %spec.select = select i1 %7, i64 %4, i64 0 %8 = trunc i64 %spec.select to i32 %9 = icmp eq i32 %8, 0 store i64 %3, i64* %sv_0.0.reg2mem store i64 %6, i64* %rax.0.reg2mem br i1 %9, label LBL_14, label LBL_1 LBL_1: %10 = bitcast i32* %sv_2 to i64* %11 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1, i64* nonnull %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %2) %15 = ptrtoint i8* %arg3 to i64 %16 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %14, i64 %15, i64 %14, i64 %arg5, i64 %1) unreachable LBL_3: %17 = load [5 x i8]*, [5 x i8]** @gv_1, align 8 %18 = bitcast i64* %sv_1 to i8* %19 = getelementptr inbounds [5 x i8], [5 x i8]* %17, i64 0, i64 0 %20 = call i32 @strcmp(i8* nonnull %18, i8* %19) %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %2) %23 = ptrtoint i8* %arg3 to i64 %24 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %22, i64 %23, i64 %22, i64 %arg5, i64 %1) unreachable LBL_5: %25 = and i64 %3, 61440 %26 = icmp eq i64 %25, 32768 %27 = icmp eq i1 %26, false br i1 %27, label LBL_11, label LBL_6 LBL_6: %28 = ptrtoint i64* %sv_1 to i64 %29 = ptrtoint i8* %arg3 to i64 %30 = call i64 @FUNC(i64 %29, i64 511) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = call i32* @__errno_location() %34 = load i32, i32* %33, align 4 %35 = call i8* @strerror(i32 %34) %36 = ptrtoint i8* %35 to i64 %37 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %29, i64 %36, i64 %28, i64 %arg5, i64 %1) unreachable LBL_8: %38 = call i32 @unlink(i8* %arg3) %39 = call i32 (i8*, i32, ...) @open(i8* %arg3, i32 577) %40 = icmp slt i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_10, label LBL_9 LBL_9: %42 = call i32* @__errno_location() %43 = load i32, i32* %42, align 4 %44 = call i8* @strerror(i32 %43) %45 = ptrtoint i8* %44 to i64 %46 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i64 %29, i64 %45, i64 %28, i64 %arg5, i64 %1) unreachable LBL_10: %47 = and i64 %arg2, 64 %48 = icmp eq i64 %47, 0 %. = select i1 %48, i64 438, i64 511 %49 = load i32, i32* %sv_2, align 4 %50 = sext i32 %49 to i64 %51 = zext i32 %39 to i64 %52 = call i64 @FUNC(i64 %51, i64 %11, i64 %50) %53 = call i32 @close(i32 %39) %54 = sext i32 %53 to i64 store i64 %., i64* %sv_0.0.reg2mem store i64 %54, i64* %rax.0.reg2mem br label LBL_14 LBL_11: %55 = icmp eq i64 %25, 40960 %56 = icmp eq i1 %55, false br i1 %56, label LBL_13, label LBL_12 LBL_12: %57 = load i32, i32* %sv_2, align 4 %58 = add i32 %57, 1 %59 = call i64* @malloc(i32 %58) %60 = ptrtoint i64* %59 to i64 %61 = load i32, i32* %sv_2, align 4 %62 = inttoptr i64 %11 to i64* %63 = call i64* @memcpy(i64* %59, i64* %62, i32 %61) %64 = load i32, i32* %sv_2, align 4 %65 = sext i32 %64 to i64 %66 = add i64 %65, %60 %67 = inttoptr i64 %66 to i8* store i8 0, i8* %67, align 1 %68 = ptrtoint i8* %arg3 to i64 %69 = call i64 @FUNC(i64 %68, i64 511) %70 = bitcast i64* %59 to i8* %71 = call i32 @unlink(i8* %70) %72 = call i32 @symlink(i8* %70, i8* %arg3) %73 = sext i32 %72 to i64 store i64 %3, i64* %sv_0.0.reg2mem store i64 %73, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %74 = call i64 @FUNC(i64 %2) %75 = ptrtoint i8* %arg3 to i64 %76 = and i64 %3, 4294967295 %77 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_5, i64 0, i64 0), i64 %76, i64 %74, i64 %75, i64 %arg5, i64 %1) unreachable LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem %78 = trunc i64 %arg4 to i32 %79 = icmp eq i32 %78, 0 store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %79, label LBL_16, label LBL_15 LBL_15: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %80 = ptrtoint i8* %arg3 to i64 %81 = and i64 %spec.select, 4294967295 %82 = and i64 %sv_0.0.reload, 4294967295 %83 = call i64 @FUNC(i64 %82, i64 %2, i64 %80, i64 0, i64 %81, i64 1) store i64 %83, i64* %rax.1.reg2mem br label LBL_16 LBL_16: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %39, { 1, 0, 2 } uselistorder i64 %29, { 1, 0, 2 } uselistorder i64 %28, { 1, 0 } uselistorder i64 %22, { 1, 0 } uselistorder i64 %14, { 1, 0 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %spec.select, { 1, 0 } uselistorder i64 %3, { 2, 0, 3, 1 } uselistorder i32* %sv_2, { 3, 2, 1, 0, 4 } uselistorder i64* %sv_1, { 2, 0, 1 } uselistorder i64 %2, { 4, 2, 1, 0, 3 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i32 (i8*)* @unlink, { 1, 0 } uselistorder i64 (i64, i64)* @mkdir_p, { 1, 0 } uselistorder i64 511, { 1, 0, 2 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @die, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @sha1_to_hex, { 2, 1, 0 } uselistorder i64 %arg5, { 5, 4, 3, 2, 1, 0 } uselistorder i8* %arg3, { 8, 7, 6, 5, 2, 3, 4, 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
1
BinRealVul
cpu_signal_5130
cpu_signal
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %1 = icmp eq i32 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load i32, i32* @gv_0, align 4 %3 = zext i32 %2 to i64 %4 = call i64 @FUNC(i64 %3) store i64 %4, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem store i32 1, i32* inttoptr (i64 4210732 to i32*), align 4 ret i64 %rax.0.reload uselistorder i32 1, { 2, 0, 1 } }
0
BinRealVul
mrb_instance_alloc_9093
mrb_instance_alloc
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = and i64 %arg2, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %1 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 1 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %arg1, i64 4, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: %8 = trunc i64 %2 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false %spec.select = select i1 %10, i32 %8, i32 2 %11 = icmp ult i32 %spec.select, 4 br i1 %11, label LBL_3, label LBL_4 LBL_3: %12 = call i64 @FUNC(i64 %arg1, i64 4, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %0) unreachable LBL_4: %13 = zext i32 %spec.select to i64 %14 = call i64 @FUNC(i64 %arg1, i64 %13, i64 %1) %15 = call i64 @FUNC(i64 %14) ret i64 %15 uselistorder i64 %0, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 %arg1, { 1, 2, 0 } }
0
BinRealVul
findvararg_13569
findvararg
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_3, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = sub i32 0, %10 %12 = zext i32 %11 to i64 %13 = ashr exact i64 %sext, 32 %14 = icmp slt i64 %13, %12 store i64 0, i64* %storemerge.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = sext i32 %10 to i64 %16 = add nsw i64 %13, %15 %17 = mul i64 %16, 8 %18 = add i64 %1, -8 %19 = sub i64 %18, %17 store i64 %19, i64* %arg3, align 8 store i64 ptrtoint ([9 x i8]* @gv_0 to i64), 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 label LBL_3, { 2, 1, 0 } }
0
BinRealVul
giveup_all_18982
giveup_all
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_7, label LBL_1 LBL_1: %2 = load i32, i32* @gv_0, align 4 %3 = sext i32 %2 to i64 %4 = and i64 %3, %0 %5 = icmp eq i64 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_7, label LBL_2 LBL_2: %6 = trunc i64 %0 to i32 %7 = call i64 @FUNC(i64 %3) %8 = call i64 @FUNC(i64 %0) %9 = urem i32 %6, 2 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_5, label LBL_3 LBL_3: %11 = and i32 %6, 2 %12 = icmp eq i32 %11, 0 store i64 1, i64* %storemerge.reg2mem br i1 %12, label LBL_6, label LBL_4 LBL_4: %13 = and i32 %6, 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 1, i64* %storemerge.reg2mem br i1 %15, label LBL_5, label LBL_6 LBL_5: store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem %16 = call i64 @FUNC(i64 %storemerge.reload) %17 = load i32, i32* @gv_0, align 4 %18 = sext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18) store i64 %19, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %6, { 2, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %0, { 2, 3, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32* @gv_0, { 1, 0 } uselistorder label LBL_7, { 2, 0, 1 } uselistorder label LBL_6, { 2, 1, 0 } }
1
BinRealVul
qemu_devtree_nop_node_14149
qemu_devtree_nop_node
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1, i64 %arg2) %1 = trunc i64 %0 to i32 %2 = icmp slt i32 %1, 0 %3 = icmp eq i1 %2, false %4 = and i64 %0, 4294967295 store i64 %4, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %5 = call i64 @FUNC(i64 %arg1, i64 %4) store i64 %5, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
proc_oom_score_10307
proc_oom_score
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i32 0, i32* %sv_0.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load i64, i64* @gv_1, align 8 %6 = load i64, i64* @gv_2, align 8 %7 = add i64 %6, %5 %8 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 %7) %9 = trunc i64 %8 to i32 store i32 %9, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %10 = call i64 @FUNC(i64* nonnull @gv_0) %11 = bitcast i64* %arg2 to i8* %12 = call i32 (i8*, i8*, ...) @sprintf(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i32 %sv_0.0.reload) %13 = sext i32 %12 to i64 ret i64 %13 }
0
BinRealVul
q35_host_class_init_16907
q35_host_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 store i64 %1, i64* %arg1, align 8 %2 = add i64 %0, 24 %3 = inttoptr i64 %2 to i64* store i64 4198662, i64* %3, align 8 %4 = load i64, i64* @gv_1, align 8 %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i64* store i64 %4, i64* %6, align 8 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i8* store i8 0, i8* %8, align 1 %9 = add i64 %0, 12 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = or i32 %11, 2 store i32 %12, i32* %10, align 4 store i64 ptrtoint ([4 x i8]* @gv_2 to i64), i64* %arg1, align 8 ret i64 %0 }
1
BinRealVul
iw_set_error_internal_9033
iw_set_error_internal
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = bitcast i64* %arg1 to i32* store i32 1, i32* %7, align 4 %8 = add i64 %6, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %6, i64 0, i64 256) store i64 %13, i64* %9, align 8 %14 = icmp eq i64 %13, 0 store i64 %13, i64* %.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_4, label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %15 = ptrtoint i8* %arg2 to i64 %16 = call i64 @FUNC(i64 %.reload, i64 %15, i64 256) store i64 %16, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_4, { 2, 0, 1 } }
0
BinRealVul
inode_init_owner_11346
inode_init_owner
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = call i64 @FUNC() %3 = trunc i64 %2 to i32 %4 = bitcast i64* %arg1 to i32* store i32 %3, i32* %4, align 4 %5 = icmp eq i64* %arg2, null br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg2 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = and i32 %9, 1024 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = add i64 %6, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %0, 4 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = and i64 %arg3, 61440 %18 = icmp eq i64 %17, 16384 %19 = icmp eq i1 %18, false %20 = or i64 %1, 1024 %spec.select = select i1 %19, i64 %1, i64 %20 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_4 LBL_3: %21 = call i64 @FUNC() %22 = trunc i64 %21 to i32 %23 = add i64 %0, 4 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 store i64 %1, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = trunc i64 %sv_0.0.reload to i32 %26 = add i64 %0, 8 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 ret i64 %0 uselistorder i64 %6, { 1, 0 } uselistorder i64 %0, { 1, 2, 3, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
add_range_7720
add_range
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem26 = alloca i32 %sv_0.0.in.reg2mem = alloca i64 %.reg2mem24 = alloca i32 %.pre-phi.reg2mem = alloca i64 %.pre-phi18.reg2mem = alloca i64 %rsi.5.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i32 %rsi.4.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %sv_2.4.reg2mem = alloca i32 %sv_3.4.reg2mem = alloca i32 %sv_2.2.reg2mem = alloca i32 %sv_3.2.reg2mem = alloca i32 %sv_4.2.reg2mem = alloca i32 %rsi.3.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_3.1.reg2mem = alloca i32 %sv_4.1.reg2mem = alloca i32 %rsi.2.reg2mem = alloca i64 %.reg2mem22 = alloca i32 %rsi.1.reg2mem = alloca i64 %.reg2mem = alloca i32 %rsi.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %sv_5 = alloca i64, align 8 %0 = trunc i64 %arg3 to i32 %1 = trunc i64 %arg4 to i32 %sext9 = mul i64 %arg6, 4294967296 %2 = ashr exact i64 %sext9, 32 store i64 %2, i64* %sv_5, align 8 %3 = icmp ugt i32 %0, %1 br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = add i64 %arg2, 24 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %6) store i64 %7, i64* %rax.0.reg2mem br label LBL_45 LBL_2: %sext = mul i64 %arg7, 4294967296 %8 = ashr exact i64 %sext, 32 %sext6 = mul i64 %arg3, 4294967296 %9 = ashr exact i64 %sext6, 32 %sext7 = mul i64 %arg4, 4294967296 %10 = ashr exact i64 %sext7, 32 %sext8 = mul i64 %arg5, 4294967296 %11 = ashr exact i64 %sext8, 32 %12 = add i64 %arg2, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 store i32 -1, i32* %sv_1.2.reg2mem store i64 %arg2, i64* %rsi.5.reg2mem br i1 %15, label LBL_35, label LBL_3 LBL_3: %16 = add i64 %arg2, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = trunc i64 %2 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = ptrtoint i64* %sv_5 to i64 %22 = trunc i64 %9 to i32 %23 = trunc i64 %10 to i32 %24 = add i32 %23, 1 %25 = add i32 %22, -1 %26 = add nsw i64 %10, 1 %27 = and i64 %8, 4294967295 %28 = add i64 %21, -16 %29 = inttoptr i64 %28 to i64* %30 = and i64 %26, 4294967295 store i32 %18, i32* %sv_4.0.reg2mem store i32 -1, i32* %sv_3.0.reg2mem store i32 -1, i32* %sv_2.0.reg2mem store i64 %arg2, i64* %rsi.0.reg2mem br label LBL_6 LBL_5: %31 = trunc i64 %10 to i32 store i32 %18, i32* %sv_4.2.reg2mem store i32 -1, i32* %sv_3.2.reg2mem store i32 -1, i32* %sv_2.2.reg2mem br label LBL_19 LBL_6: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %32 = sext i32 %sv_4.0.reload to i64 %33 = mul nsw i64 %32, 28 %34 = add i64 %33, %arg2 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp ult i32 %36, %22 %38 = icmp ugt i32 %36, %23 %or.cond19 = or i1 %37, %38 br i1 %or.cond19, label LBL_9, label LBL_7 LBL_7: %39 = add i64 %34, 8 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = sub i32 %24, %36 %43 = add i32 %42, %41 store i32 %43, i32* %40, align 4 store i32 %24, i32* %35, align 4 %44 = add i64 %34, 4 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = icmp ugt i32 %24, %46 store i32 %24, i32* %.reg2mem22 store i64 %rsi.0.reload, i64* %rsi.2.reg2mem br i1 %47, label LBL_8, label LBL_15 LBL_8: %48 = zext i32 %sv_4.0.reload to i64 %49 = call i64 @FUNC(i64 %arg2, i64 %48) %50 = trunc i64 %49 to i32 store i32 %50, i32* %sv_4.1.reg2mem store i32 %sv_3.0.reload, i32* %sv_3.1.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem store i32 -1, i32* %sv_1.0.reg2mem store i64 %48, i64* %rsi.3.reg2mem br label LBL_18 LBL_9: %51 = add i64 %34, 4 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp ult i32 %53, %22 %55 = icmp ugt i32 %53, %23 %or.cond = or i1 %54, %55 store i32 %36, i32* %.reg2mem store i64 %rsi.0.reload, i64* %rsi.1.reg2mem br i1 %or.cond, label LBL_12, label LBL_10 LBL_10: store i32 %25, i32* %52, align 4 %56 = load i32, i32* %35, align 4 %57 = icmp ugt i32 %56, %25 store i32 %56, i32* %.reg2mem22 store i64 %rsi.0.reload, i64* %rsi.2.reg2mem br i1 %57, label LBL_11, label LBL_15 LBL_11: call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i32 69, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0)) %.pre = load i32, i32* %35, align 4 store i32 %.pre, i32* %.reg2mem store i64 ptrtoint ([43 x i8]* @gv_2 to i64), i64* %rsi.1.reg2mem br label LBL_12 LBL_12: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %.reload = load i32, i32* %.reg2mem %58 = icmp ult i32 %.reload, %22 store i32 %.reload, i32* %.reg2mem22 store i64 %rsi.1.reload, i64* %rsi.2.reg2mem br i1 %58, label LBL_13, label LBL_15 LBL_13: %59 = load i32, i32* %52, align 4 %60 = icmp ugt i32 %59, %23 %61 = icmp eq i1 %60, false store i32 %.reload, i32* %.reg2mem22 store i64 %rsi.1.reload, i64* %rsi.2.reg2mem br i1 %61, label LBL_15, label LBL_14 LBL_14: store i32 %25, i32* %52, align 4 %62 = add i64 %34, 8 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = load i32, i32* %35, align 4 %66 = add i32 %64, %24 %67 = sub i32 %66, %65 %68 = zext i32 %67 to i64 store i64 %27, i64* %29, align 8 %69 = zext i32 %59 to i64 %70 = sext i32 %59 to i64 %71 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %30, i64 %69, i64 %68, i64 0, i64 %70) %.pre13 = load i32, i32* %35, align 4 store i32 %.pre13, i32* %.reg2mem22 store i64 %arg2, i64* %rsi.2.reg2mem br label LBL_15 LBL_15: %rsi.2.reload = load i64, i64* %rsi.2.reg2mem %.reload23 = load i32, i32* %.reg2mem22 %72 = icmp ugt i32 %.reload23, %23 %73 = icmp eq i1 %72, false br i1 %73, label LBL_17, label LBL_16 LBL_16: %74 = add i64 %34, 16 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 store i32 %76, i32* %sv_4.1.reg2mem store i32 %sv_4.0.reload, i32* %sv_3.1.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem store i32 %sv_4.0.reload, i32* %sv_1.0.reg2mem store i64 %rsi.2.reload, i64* %rsi.3.reg2mem br label LBL_18 LBL_17: %77 = add i64 %34, 20 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 store i32 %79, i32* %sv_4.1.reg2mem store i32 %sv_3.0.reload, i32* %sv_3.1.reg2mem store i32 %sv_4.0.reload, i32* %sv_2.1.reg2mem store i32 %sv_4.0.reload, i32* %sv_1.0.reg2mem store i64 %rsi.2.reload, i64* %rsi.3.reg2mem br label LBL_18 LBL_18: %rsi.3.reload = load i64, i64* %rsi.3.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem %sv_4.1.reload = load i32, i32* %sv_4.1.reg2mem %80 = icmp eq i32 %sv_4.1.reload, -1 %81 = icmp eq i1 %80, false store i32 %sv_4.1.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.1.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.0.reg2mem store i64 %rsi.3.reload, i64* %rsi.0.reg2mem store i32 %sv_3.1.reload, i32* %sv_3.4.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.4.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i64 %rsi.3.reload, i64* %rsi.4.reg2mem br i1 %81, label LBL_6, label LBL_20 LBL_19: %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %sv_3.2.reload = load i32, i32* %sv_3.2.reg2mem %sv_4.2.reload = load i32, i32* %sv_4.2.reg2mem %82 = sext i32 %sv_4.2.reload to i64 %83 = mul nsw i64 %82, 28 %84 = add i64 %83, %arg2 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = icmp ugt i32 %86, %31 %88 = icmp eq i1 %87, false %sv_4.3.in.in.v = select i1 %88, i64 20, i64 16 %sv_4.3.in.in = add i64 %sv_4.3.in.in.v, %84 %sv_3.3 = select i1 %88, i32 %sv_3.2.reload, i32 %sv_4.2.reload %sv_2.3 = select i1 %88, i32 %sv_4.2.reload, i32 %sv_2.2.reload %sv_4.3.in = inttoptr i64 %sv_4.3.in.in to i32* %sv_4.3 = load i32, i32* %sv_4.3.in, align 4 %89 = icmp eq i32 %sv_4.3, -1 %90 = icmp eq i1 %89, false store i32 %sv_4.3, i32* %sv_4.2.reg2mem store i32 %sv_3.3, i32* %sv_3.2.reg2mem store i32 %sv_2.3, i32* %sv_2.2.reg2mem store i32 %sv_3.3, i32* %sv_3.4.reg2mem store i32 %sv_2.3, i32* %sv_2.4.reg2mem store i32 %sv_4.2.reload, i32* %sv_1.1.reg2mem store i64 %arg2, i64* %rsi.4.reg2mem br i1 %90, label LBL_19, label LBL_20 LBL_20: %rsi.4.reload = load i64, i64* %rsi.4.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %91 = trunc i64 %8 to i32 %92 = icmp eq i32 %91, 0 %93 = icmp eq i1 %92, false store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i64 %rsi.4.reload, i64* %rsi.5.reg2mem br i1 %93, label LBL_35, label LBL_21 LBL_21: %sv_2.4.reload = load i32, i32* %sv_2.4.reg2mem %sv_3.4.reload = load i32, i32* %sv_3.4.reg2mem %94 = icmp eq i32 %sv_2.4.reload, -1 br i1 %94, label LBL_30, label LBL_22 LBL_22: %95 = zext i32 %sv_2.4.reload to i64 %96 = mul nuw nsw i64 %95, 28 %97 = add i64 %96, %arg2 %98 = add i64 %97, 24 %99 = inttoptr i64 %98 to i32* %100 = load i32, i32* %99, align 4 %101 = icmp eq i32 %100, 0 %102 = icmp eq i1 %101, false br i1 %102, label LBL_30, label LBL_23 LBL_23: %103 = add i64 %97, 4 %104 = inttoptr i64 %103 to i32* %105 = load i32, i32* %104, align 4 %106 = trunc i64 %9 to i32 %107 = add i32 %106, -1 %108 = icmp eq i32 %105, %107 %109 = icmp eq i1 %108, false br i1 %109, label LBL_30, label LBL_24 LBL_24: %110 = add i64 %97, 8 %111 = inttoptr i64 %110 to i32* %112 = load i32, i32* %111, align 4 %113 = inttoptr i64 %97 to i32* %114 = load i32, i32* %113, align 4 %115 = sub i32 %112, %114 %116 = trunc i64 %11 to i32 %117 = sub i32 %116, %106 %118 = icmp eq i32 %115, %117 %119 = icmp eq i1 %118, false br i1 %119, label LBL_30, label LBL_25 LBL_25: %120 = and i64 %10, 4294967295 %121 = trunc i64 %10 to i32 store i32 %121, i32* %104, align 4 %122 = icmp eq i32 %sv_3.4.reload, -1 store i64 %120, i64* %rax.0.reg2mem br i1 %122, label LBL_45, label LBL_26 LBL_26: %123 = zext i32 %sv_3.4.reload to i64 %124 = mul nuw nsw i64 %123, 28 %125 = add i64 %124, %arg2 %126 = add i64 %125, 24 %127 = inttoptr i64 %126 to i32* %128 = load i32, i32* %127, align 4 %129 = zext i32 %128 to i64 %130 = icmp eq i32 %128, 0 %131 = icmp eq i1 %130, false store i64 %129, i64* %rax.0.reg2mem br i1 %131, label LBL_45, label LBL_27 LBL_27: %132 = inttoptr i64 %125 to i32* %133 = load i32, i32* %132, align 4 %134 = zext i32 %133 to i64 %135 = add i32 %121, 1 %136 = icmp eq i32 %133, %135 %137 = icmp eq i1 %136, false store i64 %134, i64* %rax.0.reg2mem br i1 %137, label LBL_45, label LBL_28 LBL_28: %138 = add i64 %125, 8 %139 = inttoptr i64 %138 to i32* %140 = load i32, i32* %139, align 4 %141 = sub i32 %140, %133 %142 = sub nsw i64 %11, %9 %143 = and i64 %142, 4294967295 %144 = trunc i64 %142 to i32 %145 = icmp eq i32 %141, %144 %146 = icmp eq i1 %145, false store i64 %143, i64* %rax.0.reg2mem br i1 %146, label LBL_45, label LBL_29 LBL_29: %147 = add i64 %125, 4 %148 = inttoptr i64 %147 to i32* %149 = load i32, i32* %148, align 4 store i32 %149, i32* %104, align 4 %150 = call i64 @FUNC(i64 %arg2, i64 %123) store i64 %150, i64* %rax.0.reg2mem br label LBL_45 LBL_30: %151 = icmp eq i32 %sv_3.4.reload, -1 store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i64 %rsi.4.reload, i64* %rsi.5.reg2mem br i1 %151, label LBL_35, label LBL_31 LBL_31: %152 = zext i32 %sv_3.4.reload to i64 %153 = mul nuw nsw i64 %152, 28 %154 = add i64 %153, %arg2 %155 = add i64 %154, 24 %156 = inttoptr i64 %155 to i32* %157 = load i32, i32* %156, align 4 %158 = icmp eq i32 %157, 0 %159 = icmp eq i1 %158, false store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i64 %rsi.4.reload, i64* %rsi.5.reg2mem br i1 %159, label LBL_35, label LBL_32 LBL_32: %160 = inttoptr i64 %154 to i32* %161 = load i32, i32* %160, align 4 %162 = trunc i64 %10 to i32 %163 = add i32 %162, 1 %164 = icmp eq i32 %161, %163 %165 = icmp eq i1 %164, false store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i64 %rsi.4.reload, i64* %rsi.5.reg2mem br i1 %165, label LBL_35, label LBL_33 LBL_33: %166 = add i64 %154, 8 %167 = inttoptr i64 %166 to i32* %168 = load i32, i32* %167, align 4 %169 = sub i32 %168, %161 %170 = trunc i64 %11 to i32 %171 = trunc i64 %9 to i32 %172 = sub i32 %170, %171 %173 = icmp eq i32 %169, %172 %174 = icmp eq i1 %173, false store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i64 %rsi.4.reload, i64* %rsi.5.reg2mem br i1 %174, label LBL_35, label LBL_34 LBL_34: store i32 %171, i32* %160, align 4 %175 = and i64 %11, 4294967295 store i32 %170, i32* %167, align 4 store i64 %175, i64* %rax.0.reg2mem br label LBL_45 LBL_35: %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %176 = load i32, i32* %13, align 4 %177 = add i64 %arg2, 12 %178 = inttoptr i64 %177 to i32* %179 = load i32, i32* %178, align 4 %180 = icmp eq i32 %176, %179 %181 = icmp eq i1 %180, false store i64 %177, i64* %.pre-phi18.reg2mem store i64 %12, i64* %.pre-phi.reg2mem store i32 %176, i32* %.reg2mem24 store i64 %arg2, i64* %sv_0.0.in.reg2mem br i1 %181, label LBL_37, label LBL_36 LBL_36: %rsi.5.reload = load i64, i64* %rsi.5.reg2mem %182 = icmp eq i32 %179, 0 %183 = mul i32 %179, 2 %spec.select = select i1 %182, i32 256, i32 %183 %184 = call i64 @FUNC(i64 %arg1, i64 %rsi.5.reload, i32 %spec.select, i64 28) %185 = inttoptr i64 %arg2 to i64* store i64 %184, i64* %185, align 8 store i32 %spec.select, i32* %178, align 4 %.pre14 = load i32, i32* %13, align 4 %.pre16 = add i64 %rsi.5.reload, 8 %.pre17 = add i64 %rsi.5.reload, 12 store i64 %.pre17, i64* %.pre-phi18.reg2mem store i64 %.pre16, i64* %.pre-phi.reg2mem store i32 %.pre14, i32* %.reg2mem24 store i64 %rsi.5.reload, i64* %sv_0.0.in.reg2mem br label LBL_37 LBL_37: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %.reload25 = load i32, i32* %.reg2mem24 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi18.reload = load i64, i64* %.pre-phi18.reg2mem %186 = zext i32 %.reload25 to i64 %187 = mul nuw nsw i64 %186, 28 %188 = add i64 %187, %sv_0.0.in.reload %189 = trunc i64 %9 to i32 %190 = inttoptr i64 %188 to i32* store i32 %189, i32* %190, align 4 %191 = load i32, i32* %13, align 4 %192 = zext i32 %191 to i64 %193 = mul nuw nsw i64 %192, 28 %194 = trunc i64 %10 to i32 %195 = add i64 %sv_0.0.in.reload, 4 %196 = add i64 %195, %193 %197 = inttoptr i64 %196 to i32* store i32 %194, i32* %197, align 4 %198 = load i32, i32* %13, align 4 %199 = zext i32 %198 to i64 %200 = mul nuw nsw i64 %199, 28 %201 = trunc i64 %11 to i32 %202 = add i64 %200, %.pre-phi.reload %203 = inttoptr i64 %202 to i32* store i32 %201, i32* %203, align 4 %204 = load i32, i32* %13, align 4 %205 = zext i32 %204 to i64 %206 = mul nuw nsw i64 %205, 28 %207 = add i64 %206, %.pre-phi18.reload %208 = inttoptr i64 %207 to i32* store i32 %sv_1.2.reload, i32* %208, align 4 %209 = load i32, i32* %13, align 4 %210 = zext i32 %209 to i64 %211 = mul nuw nsw i64 %210, 28 %212 = add i64 %sv_0.0.in.reload, 16 %213 = add i64 %212, %211 %214 = inttoptr i64 %213 to i32* store i32 -1, i32* %214, align 4 %215 = load i32, i32* %13, align 4 %216 = zext i32 %215 to i64 %217 = mul nuw nsw i64 %216, 28 %218 = add i64 %sv_0.0.in.reload, 20 %219 = add i64 %218, %217 %220 = inttoptr i64 %219 to i32* store i32 -1, i32* %220, align 4 %221 = load i32, i32* %13, align 4 %222 = zext i32 %221 to i64 %223 = mul nuw nsw i64 %222, 28 %224 = trunc i64 %8 to i32 %225 = add i64 %sv_0.0.in.reload, 24 %226 = add i64 %225, %223 %227 = inttoptr i64 %226 to i32* store i32 %224, i32* %227, align 4 %228 = load i32, i32* %13, align 4 %229 = add i32 %228, 1 store i32 %229, i32* %13, align 4 %230 = icmp eq i32 %sv_1.2.reload, -1 %231 = icmp eq i1 %230, false br i1 %231, label LBL_39, label LBL_38 LBL_38: %232 = add i64 %arg2, 16 %233 = inttoptr i64 %232 to i32* store i32 0, i32* %233, align 4 br label LBL_44 LBL_39: %234 = sext i32 %sv_1.2.reload to i64 %235 = mul nsw i64 %234, 28 %236 = add i64 %sv_0.0.in.reload, %235 %237 = inttoptr i64 %236 to i32* %238 = load i32, i32* %237, align 4 %239 = icmp ugt i32 %238, %194 %240 = icmp eq i1 %239, false br i1 %240, label LBL_41, label LBL_40 LBL_40: %241 = add i64 %236, 16 %242 = inttoptr i64 %241 to i32* store i32 %228, i32* %242, align 4 br label LBL_44 LBL_41: %243 = add i64 %236, 4 %244 = inttoptr i64 %243 to i32* %245 = load i32, i32* %244, align 4 %246 = icmp ult i32 %245, %189 store i32 %229, i32* %.reg2mem26 br i1 %246, label LBL_43, label LBL_42 LBL_42: call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i32 121, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0)) %.pre15 = load i32, i32* %13, align 4 store i32 %.pre15, i32* %.reg2mem26 br label LBL_43 LBL_43: %.reload27 = load i32, i32* %.reg2mem26 %247 = add i32 %.reload27, -1 %248 = add i64 %236, 20 %249 = inttoptr i64 %248 to i32* store i32 %247, i32* %249, align 4 br label LBL_44 LBL_44: %250 = load i32, i32* %13, align 4 %251 = add i32 %250, -1 %252 = zext i32 %251 to i64 %253 = call i64 @FUNC(i64 %sv_0.0.in.reload, i64 %252) %254 = load i32, i32* %13, align 4 %255 = add i32 %254, -1 %256 = add i64 %arg2, 16 %257 = inttoptr i64 %256 to i32* store i32 %255, i32* %257, align 4 store i64 %arg2, i64* %rax.0.reg2mem br label LBL_45 LBL_45: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %236, { 0, 2, 1, 3 } uselistorder i64 %sv_0.0.in.reload, { 0, 6, 4, 3, 2, 1, 5 } uselistorder i64 %rsi.5.reload, { 0, 3, 2, 1 } uselistorder i32 %sv_1.2.reload, { 1, 2, 0 } uselistorder i1 %88, { 1, 2, 0 } uselistorder i32 %sv_4.2.reload, { 0, 3, 2, 1 } uselistorder i32 %sv_4.1.reload, { 1, 0 } uselistorder i64 %rsi.2.reload, { 1, 0 } uselistorder i32 %.reload, { 1, 0, 2 } uselistorder i64 %rsi.1.reload, { 1, 0 } uselistorder i32* %52, { 1, 0, 2, 3 } uselistorder i32* %35, { 0, 4, 1, 3, 2, 5 } uselistorder i64 %34, { 2, 1, 3, 4, 0, 5, 6 } uselistorder i32 %sv_4.0.reload, { 1, 2, 0, 3, 5, 4 } uselistorder i32 %sv_3.0.reload, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 1, 0 } uselistorder i64 %rsi.0.reload, { 1, 2, 0 } uselistorder i32 %24, { 2, 0, 4, 3, 1 } uselistorder i32 %23, { 1, 3, 2, 0, 4 } uselistorder i32 %22, { 0, 1, 3, 2 } uselistorder i32* %13, { 2, 3, 0, 5, 4, 6, 7, 8, 9, 10, 11, 1, 12, 13 } uselistorder i64 %11, { 4, 2, 3, 0, 1 } uselistorder i64 %10, { 6, 4, 3, 2, 5, 1, 0 } uselistorder i64 %9, { 4, 3, 1, 2, 0 } uselistorder i64 %8, { 2, 1, 0 } uselistorder i64* %sv_5, { 1, 0 } uselistorder i32* %sv_4.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.0.reg2mem, { 2, 0, 1 } uselistorder i64* %rsi.0.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem22, { 0, 4, 5, 3, 2, 1 } uselistorder i64* %rsi.2.reg2mem, { 0, 4, 5, 3, 2, 1 } uselistorder i32* %sv_4.1.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_3.1.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rsi.3.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_4.2.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.2.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.2.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.4.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.4.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rsi.4.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.2.reg2mem, { 0, 2, 3, 4, 5, 6, 1 } uselistorder i64* %rsi.5.reg2mem, { 0, 2, 3, 4, 5, 6, 1 } uselistorder i64* %.pre-phi18.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem24, { 0, 2, 1 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 1, 2, 3, 4, 5, 8 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), { 1, 0 } uselistorder [43 x i8]* @gv_2, { 1, 0 } uselistorder i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), { 1, 0 } uselistorder i64 (i64, i64)* @delete_node, { 1, 0 } uselistorder i64 4, { 1, 0, 2, 3, 4, 5 } uselistorder i64 28, { 1, 2, 3, 4, 5, 6, 7, 8, 13, 9, 10, 11, 0, 12 } uselistorder i64 4294967295, { 3, 4, 5, 1, 2, 0 } uselistorder i64 16, { 2, 3, 4, 0, 1, 5, 6 } uselistorder i32 -1, { 9, 10, 8, 11, 17, 18, 12, 13, 14, 15, 6, 16, 3, 1, 2, 4, 5, 7, 0 } uselistorder i64 32, { 1, 2, 3, 4, 0 } uselistorder i64 4294967296, { 1, 2, 3, 4, 0 } uselistorder i64 %arg2, { 0, 16, 15, 14, 1, 17, 6, 13, 7, 8, 3, 9, 4, 12, 11, 10, 5, 19, 2, 18, 20 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_45, { 5, 6, 4, 3, 2, 1, 0, 7 } uselistorder label LBL_43, { 1, 0 } uselistorder label LBL_35, { 1, 2, 3, 4, 5, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_15, { 3, 4, 0, 1, 2 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
socket_connect_unix_9174
socket_connect_unix
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i16, align 2 %1 = load i32, i32* %0 %sv_2 = alloca i64, align 8 %2 = inttoptr i64 %arg1 to i8* %3 = bitcast i64* %sv_2 to %stat* %4 = call i32 @stat(i8* %2, %stat* nonnull %3) %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4 %7 = icmp slt i32 %6, 2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %7, label LBL_12, label LBL_2 LBL_2: %8 = call i32* @__errno_location() %9 = load i32, i32* %8, align 4 %10 = call i8* @strerror(i32 %9) %11 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i8* %2, i8* %10) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_3: %13 = and i32 %1, 61440 %14 = icmp eq i32 %13, 49152 br i1 %14, label LBL_6, label LBL_4 LBL_4: %15 = load i32, i32* @gv_3, align 4 %16 = icmp slt i32 %15, 2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %16, label LBL_12, label LBL_5 LBL_5: %17 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %17, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i8* %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %19 = call i32 @socket(i32 1, i32 1, i32 0) %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_9, label LBL_7 LBL_7: %22 = load i32, i32* @gv_3, align 4 %23 = icmp slt i32 %22, 2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %23, label LBL_12, label LBL_8 LBL_8: %24 = call i32* @__errno_location() %25 = load i32, i32* %24, align 4 %26 = call i8* @strerror(i32 %25) %27 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %28 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %27, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i8* %26) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_9: store i16 1, i16* %sv_1, align 2 %29 = bitcast i64* %sv_0 to i8* %30 = call i8* @strncpy(i8* nonnull %29, i8* %2, i32 108) %31 = call i32 @strlen(i8* nonnull %29) %32 = add i32 %31, 3 %33 = bitcast i16* %sv_1 to %sockaddr* %34 = call i32 @connect(i32 %19, %sockaddr* nonnull %33, i32 %32) %35 = icmp slt i32 %34, 0 %36 = icmp eq i1 %35, false %37 = zext i32 %19 to i64 store i64 %37, i64* %rax.0.reg2mem br i1 %36, label LBL_12, label LBL_10 LBL_10: %38 = call i64 @FUNC(i64 %37) %39 = load i32, i32* @gv_3, align 4 %40 = icmp slt i32 %39, 2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %40, label LBL_12, label LBL_11 LBL_11: %41 = call i32* @__errno_location() %42 = load i32, i32* %41, align 4 %43 = call i8* @strerror(i32 %42) %44 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %45 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %44, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i8* %43) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %37, { 1, 0 } uselistorder i8* %2, { 2, 1, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 5, 4, 7, 6, 9, 8 } uselistorder i32* @gv_3, { 2, 1, 0 } uselistorder i8* (i32)* @strerror, { 2, 1, 0 } uselistorder i32* ()* @__errno_location, { 2, 0, 1 } uselistorder label LBL_12, { 2, 1, 0, 4, 3, 6, 5, 8, 7 } }
0