dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
virtio_queue_notify_aio_vq_10129
virtio_queue_notify_aio_vq
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %sext = mul i64 %0, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = mul nsw i64 %9, -24 %11 = add i64 %10, %0 %12 = and i64 %11, 4294967295 %13 = call i64 @FUNC(i64 %0, i64 %12, i64 %0) store i64 %0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 4, 3, 2, 1, 5, 6 } }
0
BinRealVul
full_stripe_write_17667
full_stripe_write
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.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 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 store i64 %4, i64* %storemerge.reg2mem br label LBL_4 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_4, { 1, 0, 2 } }
1
BinRealVul
gen_st_cond_18929
gen_st_cond
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i8* %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %sext6 = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext6, 32 %3 = trunc i64 %arg4 to i32 %4 = trunc i64 %arg5 to i16 %5 = call i64 @FUNC() %6 = trunc i64 %5 to i32 %7 = call i64 @FUNC(i64 %0, i32 %6, i32 %3, i16 %4) %8 = call i64 @FUNC() %9 = and i64 %arg3, 4294967295 %10 = and i64 %8, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 %9) store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem switch i32 %1, label LBL_3 [ i32 0, label LBL_1 i32 1, label LBL_2 ] LBL_1: %12 = call i64 @FUNC(i64 %0, i64 0) %13 = trunc i64 %2 to i32 %14 = call i64 @FUNC(i64 %10, i32 %6, i32 %13, i64 %0) store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_3 LBL_2: %15 = call i64 @FUNC(i64 %0, i64 1) %16 = trunc i64 %2 to i32 %17 = call i64 @FUNC(i64 %10, i32 %6, i32 %16, i64 %0) store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_3 LBL_3: %sext7 = mul i64 %arg4, 4294967296 %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %18 = ashr exact i64 %sext7, 29 %19 = add i64 %18, ptrtoint ([16 x i8*]* @gv_3 to i64) %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = ashr exact i64 %sext6, 29 %23 = add i64 %22, ptrtoint ([16 x i8*]* @gv_3 to i64) %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = ptrtoint i8* %sv_0.0.reload to i64 %27 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i64 %26, i64 %25, i16 %4, i64 %21) %28 = call i64 @FUNC(i64 %10) %29 = and i64 %5, 4294967295 %30 = call i64 @FUNC(i64 %29) ret i64 %30 uselistorder i64 %10, { 1, 0, 2, 3 } uselistorder i64 %sext6, { 1, 0 } uselistorder i64 %0, { 1, 0, 3, 2, 4 } uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64)* @tcg_temp_free, { 1, 0 } uselistorder i64 (i64, i64)* @save_cpu_state, { 1, 0 } uselistorder i64 ()* @tcg_temp_local_new, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
1
BinRealVul
i915_dma_cleanup_17771
i915_dma_cleanup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %9 = add i64 %2, 16 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %2, i64 %5) %12 = add i64 %5, 8 %13 = call i64 @FUNC(i64 %2, i64 %12) %14 = call i64 @FUNC(i64 %9) %15 = call i64 @FUNC(i64 %2) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %2) br label LBL_4 LBL_4: ret i64 0 uselistorder i64 %5, { 1, 0 } uselistorder i64 %2, { 1, 2, 5, 4, 3, 0, 6 } uselistorder i64 (i64, i64)* @intel_cleanup_ring_buffer, { 1, 0 } }
1
BinRealVul
decode_channel_residues_4591
decode_channel_residues
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge20.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge19.reg2mem = alloca i32 %.pre-phi32.reg2mem = alloca i32* %.pre-phi34.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.ph.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = add i64 %0, 56 %2 = ashr exact i64 %sext, 30 %3 = add i64 %2, %0 %4 = call i64 @FUNC(i64 %1) %5 = trunc i64 %4 to i32 %6 = inttoptr i64 %3 to i32* store i32 %5, i32* %6, align 4 %7 = add i64 %2, %1 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_1 LBL_1: %11 = zext i32 %arg3 to i64 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %15, %2 %17 = and i64 %12, 4294967295 %18 = call i64 @FUNC(i64 %1, i64 %17) %19 = trunc i64 %18 to i32 %20 = inttoptr i64 %16 to i32* store i32 %19, i32* %20, align 4 %21 = load i64, i64* %14, align 8 %22 = add i64 %21, %2 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_3, label LBL_2 LBL_2: store i32 0, i32* %8, align 4 br label LBL_3 LBL_3: %26 = add i64 %0, 48 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp slt i32 %28, 0 %30 = zext i1 %29 to i32 %31 = add i32 %28, %30 %32 = ashr i32 %31, 1 %33 = add i64 %0, 16 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %35, %2 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = sub i32 %32, %38 %40 = xor i32 %32, %38 %41 = xor i32 %39, %32 %42 = and i32 %41, %40 %43 = icmp slt i32 %42, 0 %44 = icmp slt i32 %39, 0 %45 = icmp eq i1 %44, %43 %46 = select i1 %45, i32 %32, i32 %38 store i32 %46, i32* %37, align 4 br label LBL_6 LBL_4: %47 = add i64 %0, 16 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = add i64 %49, %2 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label LBL_6, label LBL_5 LBL_5: store i32 1, i32* %8, align 4 br label LBL_6 LBL_6: %54 = add i64 %0, 40 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = icmp eq i32 %56, 0 store i32 0, i32* %sv_1.0.ph.reg2mem br i1 %57, label LBL_11, label LBL_7 LBL_7: %58 = add i64 %0, 32 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = zext i32 %60 to i64 %62 = call i64 @FUNC(i64 %1, i64 %61) %63 = add i64 %0, 36 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = add i64 %0, 24 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = add i64 %68, %2 %70 = add i32 %65, 1 %71 = urem i32 %70, 32 %72 = icmp eq i32 %71, 0 %73 = trunc i64 %62 to i32 %74 = shl i32 %73, %71 %75 = zext i32 %74 to i64 %storemerge = select i1 %72, i64 %62, i64 %75 %76 = trunc i64 %storemerge to i32 %77 = inttoptr i64 %69 to i32* store i32 %76, i32* %77, align 4 %.pr = load i32, i32* %55, align 4 %phitmp = icmp eq i32 %.pr, 0 store i32 0, i32* %sv_1.0.ph.reg2mem br i1 %phitmp, label LBL_11, label LBL_8 LBL_8: %78 = add i64 %0, 44 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = icmp eq i32 %80, 0 %82 = load i32, i32* %59, align 4 br i1 %81, label LBL_10, label LBL_9 LBL_9: %83 = add i32 %82, 1 %84 = add i64 %0, 64 %85 = inttoptr i64 %84 to i64* %86 = load i64, i64* %85, align 8 %87 = ashr exact i64 %sext, 29 %88 = add i64 %86, %87 %89 = inttoptr i64 %88 to i64* %90 = load i64, i64* %89, align 8 %91 = zext i32 %83 to i64 %92 = call i64 @FUNC(i64 %1, i64 %91) %93 = trunc i64 %92 to i32 %94 = inttoptr i64 %90 to i32* store i32 %93, i32* %94, align 4 store i32 1, i32* %sv_1.0.ph.reg2mem br label LBL_11 LBL_10: %95 = add i64 %0, 64 %96 = inttoptr i64 %95 to i64* %97 = load i64, i64* %96, align 8 %98 = ashr exact i64 %sext, 29 %99 = add i64 %97, %98 %100 = inttoptr i64 %99 to i64* %101 = load i64, i64* %100, align 8 %102 = zext i32 %82 to i64 %103 = call i64 @FUNC(i64 %1, i64 %102) %104 = trunc i64 %103 to i32 %105 = inttoptr i64 %101 to i32* store i32 %104, i32* %105, align 4 store i32 1, i32* %sv_1.0.ph.reg2mem br label LBL_11 LBL_11: %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %106 = icmp slt i32 %sv_1.0.ph.reload, %arg3 store i64 0, i64* %storemerge20.reg2mem br i1 %106, label LBL_12, label LBL_21 LBL_12: %107 = add i64 %0, 24 %108 = inttoptr i64 %107 to i64* %109 = add i64 %0, 36 %110 = inttoptr i64 %109 to i32* %111 = add i64 %0, 64 %112 = inttoptr i64 %111 to i64* %113 = ashr exact i64 %sext, 29 %114 = zext i32 %sv_1.0.ph.reload to i64 %115 = sext i32 %arg3 to i64 store i64 %114, i64* %indvars.iv.reg2mem br label LBL_14.preheader LBL_13: %116 = add i32 %sv_0.0.reload, 1 %117 = call i64 @FUNC(i64 %1) %118 = trunc i64 %117 to i32 %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 store i32 %116, i32* %sv_0.0.reg2mem store i64 4294967295, i64* %storemerge20.reg2mem br i1 %123, label LBL_14, label LBL_21 LBL_14: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %124 = call i64 @FUNC(i64 %1) %125 = trunc i64 %124 to i32 %126 = icmp eq i32 %125, 0 %127 = icmp eq i1 %126, false br i1 %127, label LBL_13, label LBL_15 LBL_15: %128 = icmp slt i32 %sv_0.0.reload, 32 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %128, label LBL_17, label LBL_16 LBL_16: %129 = call i64 @FUNC(i64 %1, i64 5) %130 = add i64 %129, 1 %131 = and i64 %130, 4294967295 %132 = call i64 @FUNC(i64 %1, i64 %131) %133 = trunc i64 %132 to i32 %134 = add i32 %sv_0.0.reload, %133 store i32 %134, i32* %sv_0.1.reg2mem br label LBL_17 LBL_17: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %135 = load i64, i64* %108, align 8 %136 = add i64 %135, %2 %137 = inttoptr i64 %136 to i32* %138 = load i32, i32* %137, align 4 %139 = zext i32 %138 to i64 %140 = load i32, i32* %110, align 4 %141 = urem i32 %140, 32 %142 = shl i32 1, %141 %storemerge13 = zext i32 %142 to i64 %143 = add nuw nsw i64 %storemerge13, %139 %144 = and i64 %143, 4294967295 %145 = add i32 %140, 1 %146 = urem i32 %145, 32 %147 = icmp eq i32 %146, 0 %148 = trunc i64 %143 to i32 %149 = lshr i32 %148, %146 %150 = zext i32 %149 to i64 %rdx.0 = select i1 %147, i64 %144, i64 %150 %151 = trunc i64 %rdx.0 to i32 %152 = icmp ult i32 %151, 2 store i32 %138, i32* %.reg2mem store i32 %141, i32* %.pre-phi34.reg2mem store i32* %137, i32** %.pre-phi32.reg2mem store i32 %sv_0.1.reload, i32* %storemerge19.reg2mem br i1 %152, label LBL_19, label LBL_18 LBL_18: %153 = call i64 @FUNC(i64 %rdx.0) %154 = and i64 %153, 4294967295 %155 = call i64 @FUNC(i64 %1, i64 %154) %156 = trunc i64 %155 to i32 %157 = trunc i64 %153 to i32 %158 = urem i32 %157, 32 %159 = shl i32 %sv_0.1.reload, %158 %160 = add i32 %159, %156 %.pre = load i64, i64* %108, align 8 %.pre29 = load i32, i32* %110, align 4 %.pre30 = add i64 %.pre, %2 %.pre31 = inttoptr i64 %.pre30 to i32* %.pre33 = urem i32 %.pre29, 32 %.pre38 = load i32, i32* %.pre31, align 4 store i32 %.pre38, i32* %.reg2mem store i32 %.pre33, i32* %.pre-phi34.reg2mem store i32* %.pre31, i32** %.pre-phi32.reg2mem store i32 %160, i32* %storemerge19.reg2mem br label LBL_19 LBL_19: %storemerge19.reload = load i32, i32* %storemerge19.reg2mem %.pre-phi32.reload = load i32*, i32** %.pre-phi32.reg2mem %.pre-phi34.reload = load i32, i32* %.pre-phi34.reg2mem %.reload = load i32, i32* %.reg2mem %161 = add i32 %.reload, %storemerge19.reload %162 = lshr i32 %.reload, %.pre-phi34.reload %163 = sub i32 %161, %162 store i32 %163, i32* %.pre-phi32.reload, align 4 %164 = urem i32 %storemerge19.reload, 2 %165 = icmp ne i32 %164, 0 %166 = ashr i32 %storemerge19.reload, 1 %167 = sext i1 %165 to i32 %storemerge24 = xor i32 %166, %167 %168 = load i64, i64* %112, align 8 %169 = add i64 %168, %113 %170 = inttoptr i64 %169 to i64* %171 = load i64, i64* %170, align 8 %172 = mul i64 %indvars.iv.reload, 4 %173 = add i64 %171, %172 %174 = inttoptr i64 %173 to i32* store i32 %storemerge24, i32* %174, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %175 = icmp slt i64 %indvars.iv.next, %115 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge20.reg2mem br i1 %175, label LBL_14.preheader, label LBL_21 LBL_20: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_14 LBL_21: %storemerge20.reload = load i64, i64* %storemerge20.reg2mem ret i64 %storemerge20.reload uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i32 %.reload, { 1, 0 } uselistorder i32 %storemerge19.reload, { 0, 2, 1 } uselistorder i64 %rdx.0, { 1, 0 } uselistorder i32 %146, { 1, 0 } uselistorder i32 %140, { 1, 0 } uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 3, 0, 2, 1 } uselistorder i32 %118, { 1, 0 } uselistorder i32 %sv_1.0.ph.reload, { 1, 0 } uselistorder i32 %82, { 1, 0 } uselistorder i32 %71, { 1, 0 } uselistorder i32 %39, { 1, 0 } uselistorder i32 %38, { 1, 0, 2 } uselistorder i32 %32, { 2, 0, 1, 3 } uselistorder i32* %8, { 1, 0, 2 } uselistorder i64 %1, { 7, 5, 6, 9, 8, 4, 3, 2, 1, 0, 10 } uselistorder i64 %sext, { 2, 3, 1, 0 } uselistorder i64 %0, { 6, 7, 8, 11, 10, 9, 5, 4, 13, 12, 14, 2, 1, 3, 0, 15 } uselistorder i32* %sv_1.0.ph.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32 2, { 0, 2, 3, 4, 1 } uselistorder i64 (i64, i64)* @get_bits_long, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 (i64, i64)* @get_sbits_long, { 1, 0 } uselistorder i64 29, { 1, 0, 2 } uselistorder i32 32, { 0, 1, 2, 3, 9, 4, 8, 5, 6, 7 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 3, 0, 4, 5, 6, 7 } uselistorder i64 (i64)* @get_bits1, { 1, 0 } uselistorder label LBL_14.preheader, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_11, { 1, 0, 2, 3 } }
0
BinRealVul
fdctrl_init_common_18656
fdctrl_init_common
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdx.3.reg2mem = alloca i64 %indvars.iv5.reg2mem = alloca i64 %rdx.0.in.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i32, i32* inttoptr (i64 4211844 to i32*), align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_8, label LBL_1 LBL_1: store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8 store i64 1, i64* %indvars.iv5.reg2mem br label LBL_6 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %8 = load i32, i32* %21, align 8 %9 = trunc i64 %indvars.iv.reload to i32 %10 = and i32 %8, %9 %11 = load i32, i32* %23, align 8 %12 = icmp eq i32 %10, %11 %13 = icmp eq i1 %12, false store i32 %10, i32* %rdx.0.in.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = mul i64 %indvars.iv.reload, 4 %15 = add i64 %14, ptrtoint (i32** @gv_1 to i64) %16 = inttoptr i64 %15 to i32* store i32 %24, i32* %16, align 4 store i32 %24, i32* %rdx.0.in.reg2mem br label LBL_4 LBL_4: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 1024 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_5, label LBL_2 LBL_5: %indvars.iv.next6 = add nsw i64 %indvars.iv5.reload, -1 %17 = icmp eq i64 %indvars.iv5.reload, 0 %18 = icmp eq i1 %17, false store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem br i1 %18, label LBL_6, label LBL_7 LBL_6: %indvars.iv5.reload = load i64, i64* %indvars.iv5.reg2mem %19 = mul i64 %indvars.iv5.reload, 8 %20 = add i64 %19, ptrtoint (i32** @gv_2 to i64) %21 = inttoptr i64 %20 to i32* %22 = add i64 %19, ptrtoint (i32** @gv_3 to i64) %23 = inttoptr i64 %22 to i32* %24 = trunc i64 %indvars.iv5.reload to i32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_7: %rdx.0.in.reload = load i32, i32* %rdx.0.in.reg2mem %rdx.0.le.le = zext i32 %rdx.0.in.reload to i64 store i64 %rdx.0.le.le, i64* %rdx.3.reg2mem br label LBL_8 LBL_8: %25 = ptrtoint i64* %arg1 to i64 %rdx.3.reload = load i64, i64* %rdx.3.reg2mem %26 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i64 %3, i64 %rdx.3.reload, i64 %4, i64 %2, i64 %1) %27 = call i64 @FUNC(i64 512, i64 512) store i64 %27, i64* %arg1, align 8 %28 = add i64 %25, 8 %29 = inttoptr i64 %28 to i32* store i32 512, i32* %29, align 4 %30 = load i32, i32* @gv_5, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31, i64 4198817, i64 %25) %33 = trunc i64 %32 to i32 %34 = add i64 %25, 12 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 %36 = add i64 %25, 16 %37 = inttoptr i64 %36 to i32* store i32 144, i32* %37, align 4 %38 = add i64 %25, 20 %39 = inttoptr i64 %38 to i32* store i32 3, i32* %39, align 4 %40 = add i64 %25, 24 %41 = inttoptr i64 %40 to i32* store i32 2, i32* %41, align 4 %42 = add i64 %25, 28 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %44, -1 br i1 %45, label LBL_10, label LBL_9 LBL_9: %46 = zext i32 %44 to i64 %47 = call i64 @FUNC(i64 %46, i64 4198788, i64 %25) br label LBL_10 LBL_10: %48 = call i64 @FUNC(i64 %25) ret i64 0 uselistorder i64 %25, { 0, 2, 1, 3, 4, 5, 7, 6, 8 } uselistorder i32 %24, { 1, 0 } uselistorder i64 %19, { 1, 0 } uselistorder i64 %indvars.iv5.reload, { 1, 3, 0, 2 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 512, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
get_sb_mtd_aux_4029
get_sb_mtd_aux
define i64 @FUNC(i64* %arg1, i32 %arg2, i8* %arg3, i64 %arg4, i64* %arg5, i64 %arg6, i64* %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg5 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 4198726, i64 4198737, i64 %0) %3 = icmp ult i64 %2, -1000 store i64 %2, i64* %storemerge.in.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = ptrtoint i64* %arg7 to i64 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = and i64 %0, 4294967295 br i1 %9, label LBL_5, label LBL_2 LBL_2: %14 = inttoptr i64 %2 to i32* %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %12, i64 %0, i64 %arg6) store i32 %arg2, i32* %14, align 4 %16 = trunc i64 %2 to i32 %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = add i64 %2, 16 %20 = call i64 @FUNC(i64 %19) %21 = call i64 @FUNC(i64 %2) %22 = and i64 %2, 4294967295 store i64 %22, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %23 = or i32 %arg2, 2 store i32 %23, i32* %14, align 4 %24 = call i64 @FUNC(i64 %4, i64 %2) store i64 %24, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %25 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %12, i64 %0, i64 %arg6) %26 = call i64 @FUNC(i64 %4, i64 %2) store i64 %26, i64* %storemerge.in.reg2mem br label LBL_6 LBL_6: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %27 = call i64 @FUNC(i64 %0) %28 = and i64 %storemerge.in.reload, 4294967295 store i64 %28, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %12, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 1, 2, 3, 4, 5, 6, 9, 7, 0, 8 } uselistorder i64 %0, { 3, 1, 2, 0, 4, 5 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @simple_set_mnt, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @DEBUG, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
virtio_config_writel_2901
virtio_config_writel
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %arg2, 4294967295 %3 = add nuw nsw i64 %2, 4 %4 = and i64 %1, 4294967295 %5 = icmp ugt i64 %3, %4 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %arg3, 4294967295 %7 = ptrtoint i32* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = mul i64 %arg2, 4 %12 = and i64 %11, 17179869180 %13 = add i64 %10, %12 %14 = call i64 @FUNC(i64 %13, i64 %6) %15 = icmp eq i64 %13, 0 %spec.select = select i1 %15, i64 0, i64 %7 ret i64 %spec.select LBL_2: ret i64 %4 uselistorder i64 %4, { 1, 0 } uselistorder i64 4294967295, { 1, 0, 2 } }
0
BinRealVul
ff_h264_free_tables_15477
ff_h264_free_tables
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %indvars.iv.next7.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 8 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %0, 16 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %0, 24 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %0, 32 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %0, 40 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %0, 48 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %0, 56 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %0, 64 %18 = inttoptr i64 %17 to i64* store i64 0, i64* %18, align 8 %19 = add i64 %0, 72 %20 = call i64 @FUNC(i64 %19) %21 = add i64 %0, 80 %22 = call i64 @FUNC(i64 %21) %23 = add i64 %0, 88 %24 = call i64 @FUNC(i64 %23) %25 = add i64 %0, 128 %26 = call i64 @FUNC(i64 %25) %27 = add i64 %0, 136 %28 = call i64 @FUNC(i64 %27) %29 = add i64 %0, 144 %30 = call i64 @FUNC(i64 %29) %31 = add i64 %0, 152 %32 = call i64 @FUNC(i64 %31) %33 = icmp eq i32 %1, 0 br i1 %33, label LBL_5, label LBL_1 LBL_1: %34 = add i64 %0, 96 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = icmp eq i64 %36, 0 br i1 %37, label LBL_5, label LBL_2 LBL_2: %38 = call i64 @FUNC(i64 %0, i64 %36) store i64 1, i64* %indvars.iv.next7.reg2mem br label LBL_3 LBL_3: %indvars.iv.next7.reload = load i64, i64* %indvars.iv.next7.reg2mem %.pre = load i64, i64* %35, align 8 %39 = mul i64 %indvars.iv.next7.reload, 8 %40 = add i64 %39, %.pre %41 = call i64 @FUNC(i64 %0, i64 %40) %indvars.iv.next = add nuw nsw i64 %indvars.iv.next7.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.next7.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %42 = call i64 @FUNC(i64 %34) br label LBL_5 LBL_5: %43 = add i64 %0, 104 %44 = inttoptr i64 %43 to i64* store i64 0, i64* %44, align 8 %45 = add i64 %0, 112 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = icmp eq i32 %47, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %48, label LBL_10, label LBL_6 LBL_6: %49 = add i64 %0, 120 %50 = inttoptr i64 %49 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge3.reg2mem br label LBL_7 LBL_7: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem %51 = load i64, i64* %50, align 8 %52 = mul nsw i64 %.reload, 96 %53 = add i64 %51, %52 %54 = call i64 @FUNC(i64 %53) %55 = add i64 %53, 8 %56 = call i64 @FUNC(i64 %55) %57 = add i64 %53, 16 %58 = call i64 @FUNC(i64 %57) %59 = add i64 %53, 24 %60 = call i64 @FUNC(i64 %59) %61 = add i64 %53, 32 %62 = call i64 @FUNC(i64 %61) %63 = add i64 %53, 40 %64 = call i64 @FUNC(i64 %63) %65 = add i64 %53, 48 %66 = call i64 @FUNC(i64 %65) %67 = add i64 %53, 56 %68 = call i64 @FUNC(i64 %67) %69 = add i64 %53, 64 %70 = inttoptr i64 %69 to i32* store i32 0, i32* %70, align 4 %71 = add i64 %53, 68 %72 = inttoptr i64 %71 to i32* store i32 0, i32* %72, align 4 %73 = add i64 %53, 72 %74 = inttoptr i64 %73 to i32* store i32 0, i32* %74, align 4 %75 = add i64 %53, 76 %76 = inttoptr i64 %75 to i32* store i32 0, i32* %76, align 4 br i1 %33, label LBL_9, label LBL_8 LBL_8: %77 = add i64 %53, 80 %78 = call i64 @FUNC(i64 %77) %79 = add i64 %53, 88 %80 = inttoptr i64 %79 to i32* store i32 0, i32* %80, align 4 br label LBL_9 LBL_9: %81 = add i32 %storemerge3.reload, 1 %82 = load i32, i32* %46, align 4 %83 = zext i32 %82 to i64 %84 = sext i32 %81 to i64 %85 = icmp slt i64 %84, %83 store i64 %84, i64* %.reg2mem store i32 %81, i32* %storemerge3.reg2mem store i64 %83, i64* %.lcssa.reg2mem br i1 %85, label LBL_7, label LBL_10 LBL_10: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %53, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 } uselistorder i32* %46, { 1, 0 } uselistorder i64 %0, { 3, 4, 5, 1, 0, 2, 7, 8, 9, 6, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 } uselistorder i64* %indvars.iv.next7.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @ff_h264_unref_picture, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 6, 0, 1, 7 } uselistorder i64 (i64)* @av_buffer_pool_uninit, { 3, 2, 1, 0 } uselistorder i64 16, { 1, 0, 2 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 (i64)* @av_freep, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
nfc_llcp_data_received_6161
nfc_llcp_data_received
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0) store i64 4294967277, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = call i64 @FUNC(i64 %2, i64 %0) %7 = call i64 @FUNC(i64 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
rtadv_read_11576
rtadv_read
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 store i32 0, i32* %sv_3, align 4 store i32 -1, i32* %sv_2, align 4 %1 = trunc i64 %0 to i32 store i64 0, i64* %arg1, align 8 %2 = call i64 @FUNC(i64 %0, i64 1, i32 %1) %3 = and i64 %0, 4294967295 %4 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i64 8192, i64* nonnull %sv_1, i32* nonnull %sv_3, i32* nonnull %sv_2) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = ptrtoint i64* %sv_1 to i64 %9 = ptrtoint i32* %sv_3 to i64 %10 = ptrtoint i32* %sv_2 to i64 %11 = call i32* @__errno_location() %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %13) %15 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %14, i64 8192, i64 %8, i64 %9, i64 %10) %16 = and i64 %4, 4294967295 store i64 %16, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %17 = add i64 %0, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = load i32, i32* %sv_2, align 4 %21 = load i32, i32* %sv_3, align 4 %22 = zext i32 %19 to i64 %23 = call i64 @FUNC(i64* nonnull %sv_0, i32 %5, i32 %21, i32 %20, i64 %22) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_3, { 1, 2, 0, 3 } uselistorder i32* %sv_2, { 1, 2, 0, 3 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i32 0, { 1, 0 } }
1
BinRealVul
page_find_2845
page_find
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = inttoptr i64 %0 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false %. = select i1 %6, i64 %4, i64 0 store 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 }
0
BinRealVul
fic_decode_slice_15685
fic_decode_slice
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge4.reg2mem = alloca i64 %rdi.1.lcssa.reg2mem = alloca i64 %sv_0.011.reg2mem = alloca i64 %rdi.113.reg2mem = alloca i64 %storemerge314.reg2mem = alloca i32 %.reg2mem25 = alloca i32 %rdi.0.lcssa.reg2mem = alloca i64 %.reg2mem23 = alloca i32 %storemerge510.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi.216.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %0, 12 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = mul i32 %7, 8 %12 = zext i32 %11 to i64 %13 = ptrtoint i64* %sv_1 to i64 %14 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0, i64 %12) %15 = add i64 %1, 8 %16 = inttoptr i64 %15 to i32* %17 = add i64 %0, 20 %18 = inttoptr i64 %17 to i32* store i64 0, i64* %indvars.iv.reg2mem store i64 %13, i64* %rdi.216.reg2mem br label LBL_1 LBL_1: %rdi.216.reload = load i64, i64* %rdi.216.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %19 = mul i64 %indvars.iv.reload, 4 %20 = add i64 %19, %rdi.216.reload %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i64 %indvars.iv.reload, 0 %24 = icmp eq i1 %23, false %25 = zext i1 %24 to i32 %storemerge1.in = ashr i32 %4, %25 %26 = icmp eq i32 %storemerge1.in, 0 store i64 %rdi.216.reload, i64* %rdi.1.lcssa.reg2mem br i1 %26, label LBL_8, label LBL_2 LBL_2: %storemerge1 = zext i32 %storemerge1.in to i64 %27 = add i64 %rdi.216.reload, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = mul i64 %indvars.iv.reload, 8 %31 = add i64 %29, %30 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %storemerge.in = ashr i32 %10, %25 %34 = mul i32 %storemerge.in, %22 %35 = sext i32 %34 to i64 %36 = add i64 %33, %35 %37 = zext i32 %22 to i64 %38 = mul i32 %22, 8 %39 = sext i32 %38 to i64 %.pre = load i32, i32* %16, align 4 store i32 %.pre, i32* %.reg2mem25 store i32 0, i32* %storemerge314.reg2mem store i64 %rdi.216.reload, i64* %rdi.113.reg2mem store i64 %36, i64* %sv_0.011.reg2mem br label LBL_5.preheader LBL_3: %.reload = load i64, i64* %.reg2mem %40 = load i32, i32* %18, align 4 %41 = add i64 %.reload, %sv_0.011.reload %42 = zext i32 %40 to i64 %43 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1, i64 %41, i64 %37, i64 %42) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_5, label LBL_4 LBL_4: %46 = and i64 %43, 4294967295 store i64 %46, i64* %storemerge4.reg2mem br label LBL_9 LBL_5: %storemerge510.reload = load i32, i32* %storemerge510.reg2mem %47 = add i32 %storemerge510.reload, 8 %48 = load i32, i32* %16, align 4 %rdx.0.in = ashr i32 %48, %25 %rdx.0 = zext i32 %rdx.0.in to i64 %49 = sext i32 %47 to i64 %50 = icmp sgt i64 %rdx.0, %49 store i64 %49, i64* %.reg2mem store i32 %47, i32* %storemerge510.reg2mem store i32 %48, i32* %.reg2mem23 store i64 %1, i64* %rdi.0.lcssa.reg2mem br i1 %50, label LBL_3, label LBL_6 LBL_6: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %.reload24 = load i32, i32* %.reg2mem23 %51 = add i64 %sv_0.011.reload, %39 %52 = add i32 %storemerge314.reload, 8 %53 = sext i32 %52 to i64 %54 = icmp slt i64 %53, %storemerge1 store i32 %.reload24, i32* %.reg2mem25 store i32 %52, i32* %storemerge314.reg2mem store i64 %rdi.0.lcssa.reload, i64* %rdi.113.reg2mem store i64 %51, i64* %sv_0.011.reg2mem store i64 %rdi.0.lcssa.reload, i64* %rdi.1.lcssa.reg2mem br i1 %54, label LBL_5.preheader, label LBL_8 LBL_7: %sv_0.011.reload = load i64, i64* %sv_0.011.reg2mem %rdi.113.reload = load i64, i64* %rdi.113.reg2mem %storemerge314.reload = load i32, i32* %storemerge314.reg2mem %.reload26 = load i32, i32* %.reg2mem25 %rdx.0.in8 = ashr i32 %.reload26, %25 %55 = icmp eq i32 %rdx.0.in8, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge510.reg2mem store i32 %.reload26, i32* %.reg2mem23 store i64 %rdi.113.reload, i64* %rdi.0.lcssa.reg2mem br i1 %55, label LBL_6, label LBL_3 LBL_8: %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %56 = icmp ult i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %rdi.1.lcssa.reload, i64* %rdi.216.reg2mem store i64 0, i64* %storemerge4.reg2mem br i1 %56, label LBL_1, label LBL_9 LBL_9: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem ret i64 %storemerge4.reload uselistorder i32 %.reload26, { 1, 0 } uselistorder i32 %storemerge1.in, { 1, 0 } uselistorder i32 %25, { 0, 1, 3, 2 } uselistorder i32 %22, { 0, 2, 1 } uselistorder i64 %indvars.iv.reload, { 0, 3, 1, 2 } uselistorder i64 %rdi.216.reload, { 1, 3, 0, 2 } uselistorder i32* %16, { 1, 0 } uselistorder i64 %0, { 0, 4, 3, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.216.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 2, 0 } uselistorder i32* %storemerge510.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem23, { 2, 0, 1 } uselistorder i64* %rdi.0.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 1, 2, 4, 0, 3, 5 } uselistorder i32 8, { 3, 2, 0, 1 } uselistorder i64 8, { 0, 2, 1, 3, 4 } uselistorder label LBL_5.preheader, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
print_media_desc_5809
print_media_desc
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.4.lcssa.reg2mem = alloca i64 %sv_0.413.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.3.lcssa.reg2mem = alloca i64 %sv_0.315.reg2mem = alloca i64 %indvars.iv26.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_0.118.reg2mem = alloca i64 %storemerge319.reg2mem = alloca i32 %.reg2mem38 = alloca i64 %.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 24 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %3, 36 %8 = add i64 %7, %6 %9 = icmp ugt i64 %8, %arg3 %10 = icmp eq i1 %9, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_1, label LBL_20 LBL_1: %11 = ptrtoint i64* %arg2 to i64 %12 = add i64 %11, 1 %13 = bitcast i64* %arg2 to i8* store i8 109, i8* %13, align 1 %14 = add i64 %11, 2 %15 = inttoptr i64 %12 to i8* store i8 61, i8* %15, align 1 %16 = load i64, i64* %2, align 8 %17 = call i64 @FUNC(i64 %14, i64 %0, i64 %16) %18 = load i64, i64* %2, align 8 %19 = add i64 %18, %14 %20 = add i64 %19, 1 %21 = inttoptr i64 %19 to i8* store i8 32, i8* %21, align 1 %22 = add i64 %0, 32 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %25, i64 %20) %sext = mul i64 %26, 4294967296 %27 = ashr exact i64 %sext, 32 %28 = add i64 %27, %20 %29 = add i64 %0, 36 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp ult i32 %31, 2 store i64 %28, i64* %sv_0.0.reg2mem br i1 %32, label LBL_3, label LBL_2 LBL_2: %33 = add i64 %28, 1 %34 = inttoptr i64 %28 to i8* store i8 47, i8* %34, align 1 %35 = load i32, i32* %30, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36, i64 %33) %sext1 = mul i64 %37, 4294967296 %38 = ashr exact i64 %sext1, 32 %39 = add i64 %38, %33 store i64 %39, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %40 = add i64 %11, %arg3 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %41 = add i64 %sv_0.0.reload, 1 %42 = inttoptr i64 %sv_0.0.reload to i8* store i8 32, i8* %42, align 1 %43 = load i64, i64* %5, align 8 %44 = add i64 %0, 16 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = call i64 @FUNC(i64 %41, i64 %46, i64 %43) %48 = load i64, i64* %5, align 8 %49 = add i64 %48, %41 %50 = add i64 %0, 48 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = icmp eq i32 %52, 0 %54 = sub i64 %40, %49 store i64 %49, i64* %sv_0.1.lcssa.reg2mem store i64 %54, i64* %.lcssa.reg2mem br i1 %53, label LBL_7, label LBL_4 LBL_4: %55 = add i64 %0, 40 %56 = inttoptr i64 %55 to i64* %.pre = load i64, i64* %56, align 8 store i64 %.pre, i64* %.reg2mem store i64 %54, i64* %.reg2mem38 store i32 0, i32* %storemerge319.reg2mem store i64 %49, i64* %sv_0.118.reg2mem br label LBL_5 LBL_5: %storemerge319.reload = load i32, i32* %storemerge319.reg2mem %.reload39 = load i64, i64* %.reg2mem38 %.reload = load i64, i64* %.reg2mem %57 = zext i32 %storemerge319.reload to i64 %58 = mul i64 %57, 16 %59 = or i64 %58, 8 %60 = add i64 %59, %.reload %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = icmp ugt i64 %.reload39, %62 store i64 4294967295, i64* %rax.0.reg2mem br i1 %63, label LBL_6, label LBL_20 LBL_6: %sv_0.118.reload = load i64, i64* %sv_0.118.reg2mem %64 = add i64 %sv_0.118.reload, 1 %65 = inttoptr i64 %sv_0.118.reload to i8* store i8 32, i8* %65, align 1 %66 = load i64, i64* %56, align 8 %67 = add i64 %66, %58 %68 = add i64 %67, 8 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = inttoptr i64 %67 to i64* %72 = load i64, i64* %71, align 8 %73 = call i64 @FUNC(i64 %64, i64 %72, i64 %70) %74 = load i64, i64* %56, align 8 %75 = add i64 %74, %59 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = add i64 %77, %64 %79 = add i32 %storemerge319.reload, 1 %80 = load i32, i32* %51, align 4 %81 = icmp ult i32 %79, %80 %82 = sub i64 %40, %78 store i64 %74, i64* %.reg2mem store i64 %82, i64* %.reg2mem38 store i32 %79, i32* %storemerge319.reg2mem store i64 %78, i64* %sv_0.118.reg2mem store i64 %78, i64* %sv_0.1.lcssa.reg2mem store i64 %82, i64* %.lcssa.reg2mem br i1 %81, label LBL_5, label LBL_7 LBL_7: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %83 = icmp slt i64 %.lcssa.reload, 2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %83, label LBL_20, label LBL_8 LBL_8: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %84 = add i64 %sv_0.1.lcssa.reload, 1 %85 = inttoptr i64 %sv_0.1.lcssa.reload to i8* store i8 13, i8* %85, align 1 %86 = add i64 %sv_0.1.lcssa.reload, 2 %87 = inttoptr i64 %84 to i8* store i8 10, i8* %87, align 1 %88 = add i64 %0, 56 %89 = inttoptr i64 %88 to i64* %90 = load i64, i64* %89, align 8 %91 = icmp eq i64 %90, 0 store i64 %86, i64* %sv_0.2.reg2mem br i1 %91, label LBL_11, label LBL_9 LBL_9: %92 = sub i64 %40, %86 %93 = and i64 %92, 4294967295 %94 = call i64 @FUNC(i64 %90, i64 %86, i64 %93) %95 = trunc i64 %94 to i32 %96 = icmp slt i32 %95, 0 %97 = icmp eq i1 %96, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %97, label LBL_10, label LBL_20 LBL_10: %sext4 = mul i64 %94, 4294967296 %98 = ashr exact i64 %sext4, 32 %99 = add i64 %98, %86 store i64 %99, i64* %sv_0.2.reg2mem br label LBL_11 LBL_11: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %100 = add i64 %0, 64 %101 = inttoptr i64 %100 to i32* %102 = load i32, i32* %101, align 4 %103 = icmp eq i32 %102, 0 store i64 %sv_0.2.reload, i64* %sv_0.3.lcssa.reg2mem br i1 %103, label LBL_15, label LBL_12 LBL_12: %104 = add i64 %0, 72 %105 = inttoptr i64 %104 to i64* store i64 0, i64* %indvars.iv26.reg2mem store i64 %sv_0.2.reload, i64* %sv_0.315.reg2mem br label LBL_13 LBL_13: %sv_0.315.reload = load i64, i64* %sv_0.315.reg2mem %indvars.iv26.reload = load i64, i64* %indvars.iv26.reg2mem %106 = sub i64 %40, %sv_0.315.reload %107 = load i64, i64* %105, align 8 %108 = mul i64 %indvars.iv26.reload, 8 %109 = add i64 %107, %108 %110 = inttoptr i64 %109 to i64* %111 = load i64, i64* %110, align 8 %112 = call i64 @FUNC(i64 %111, i64 %sv_0.315.reload, i64 %106) %113 = trunc i64 %112 to i32 %114 = icmp slt i32 %113, 0 %115 = icmp eq i1 %114, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %115, label LBL_14, label LBL_20 LBL_14: %sext6 = mul i64 %112, 4294967296 %116 = ashr exact i64 %sext6, 32 %117 = add i64 %116, %sv_0.315.reload %indvars.iv.next27 = add nuw nsw i64 %indvars.iv26.reload, 1 %118 = load i32, i32* %101, align 4 %119 = zext i32 %118 to i64 %120 = icmp ult i64 %indvars.iv.next27, %119 store i64 %indvars.iv.next27, i64* %indvars.iv26.reg2mem store i64 %117, i64* %sv_0.315.reg2mem store i64 %117, i64* %sv_0.3.lcssa.reg2mem br i1 %120, label LBL_13, label LBL_15 LBL_15: %sv_0.3.lcssa.reload = load i64, i64* %sv_0.3.lcssa.reg2mem %121 = add i64 %0, 80 %122 = inttoptr i64 %121 to i32* %123 = load i32, i32* %122, align 4 %124 = icmp eq i32 %123, 0 store i64 %sv_0.3.lcssa.reload, i64* %sv_0.4.lcssa.reg2mem br i1 %124, label LBL_19, label LBL_16 LBL_16: %125 = add i64 %0, 88 %126 = inttoptr i64 %125 to i64* store i64 0, i64* %indvars.iv.reg2mem store i64 %sv_0.3.lcssa.reload, i64* %sv_0.413.reg2mem br label LBL_17 LBL_17: %sv_0.413.reload = load i64, i64* %sv_0.413.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %127 = sub i64 %40, %sv_0.413.reload %128 = load i64, i64* %126, align 8 %129 = mul i64 %indvars.iv.reload, 8 %130 = add i64 %128, %129 %131 = inttoptr i64 %130 to i64* %132 = load i64, i64* %131, align 8 %133 = call i64 @FUNC(i64 %132, i64 %sv_0.413.reload, i64 %127) %134 = trunc i64 %133 to i32 %135 = icmp slt i32 %134, 0 %136 = icmp eq i1 %135, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %136, label LBL_18, label LBL_20 LBL_18: %sext5 = mul i64 %133, 4294967296 %137 = ashr exact i64 %sext5, 32 %138 = add i64 %137, %sv_0.413.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %139 = load i32, i32* %122, align 4 %140 = zext i32 %139 to i64 %141 = icmp ult i64 %indvars.iv.next, %140 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %138, i64* %sv_0.413.reg2mem store i64 %138, i64* %sv_0.4.lcssa.reg2mem br i1 %141, label LBL_17, label LBL_19 LBL_19: %sv_0.4.lcssa.reload = load i64, i64* %sv_0.4.lcssa.reg2mem %142 = sub i64 %sv_0.4.lcssa.reload, %11 store i64 %142, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.413.reload, { 2, 1, 0 } uselistorder i32* %122, { 1, 0 } uselistorder i64 %sv_0.3.lcssa.reload, { 1, 0 } uselistorder i64 %sv_0.315.reload, { 2, 1, 0 } uselistorder i32* %101, { 1, 0 } uselistorder i64 %sv_0.2.reload, { 1, 0 } uselistorder i64 %86, { 1, 3, 2, 0 } uselistorder i64 %sv_0.1.lcssa.reload, { 0, 2, 1 } uselistorder i64 %sv_0.118.reload, { 1, 0 } uselistorder i64 %58, { 1, 0 } uselistorder i64* %56, { 1, 2, 0 } uselistorder i64 %54, { 1, 0 } uselistorder i32* %51, { 1, 0 } uselistorder i64 %49, { 1, 0, 2 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %40, { 2, 3, 1, 4, 0 } uselistorder i64 %28, { 1, 2, 0 } uselistorder i64 %19, { 1, 0 } uselistorder i64 %11, { 0, 3, 2, 1 } uselistorder i64* %2, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 3, 2, 4, 6, 5, 7, 8, 9, 10, 11, 12 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem38, { 1, 0, 2 } uselistorder i32* %storemerge319.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.118.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv26.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.315.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.413.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 3, 2, 4, 5, 1, 6 } uselistorder i32 0, { 4, 1, 5, 2, 6, 0, 3 } uselistorder i64 (i64, i64)* @pj_utoa, { 1, 0 } uselistorder i64 32, { 1, 0, 2, 3, 4, 5 } uselistorder i64 (i64, i64, i64)* @pj_memcpy, { 2, 1, 0 } uselistorder i64 2, { 1, 0, 2 } uselistorder i64 1, { 1, 0, 3, 2, 4, 5, 6, 7 } uselistorder i64 36, { 1, 0 } uselistorder i64 8, { 0, 1, 3, 2, 4 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_20, { 6, 2, 1, 3, 4, 0, 5 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
bdrv_inactivate_all_14505
bdrv_inactivate_all
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge10.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %storemerge311.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0.113.reg2mem = alloca i32 %storemerge414.reg2mem = alloca i64 %sv_1 = alloca i32, align 4 %0 = bitcast i32* %sv_1 to i64* %1 = call i64 @FUNC(i64* nonnull %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %storemerge414.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %storemerge414.reload = load i64, i64* %storemerge414.reg2mem %4 = call i64 @FUNC(i64 %storemerge414.reload) %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64* nonnull %0) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %storemerge414.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_2: store i32 0, i32* %sv_1, align 4 store i32 0, i32* %sv_0.113.reg2mem br label LBL_3 LBL_3: %sv_0.113.reload = load i32, i32* %sv_0.113.reg2mem %9 = call i64 @FUNC(i64* nonnull %0) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false %12 = load i32, i32* %sv_1, align 4 store i32 %12, i32* %.reg2mem store i64 %9, i64* %storemerge311.reg2mem store i32 %sv_0.113.reload, i32* %sv_0.0.lcssa.reg2mem store i32 %12, i32* %.lcssa.reg2mem br i1 %11, label LBL_4, label LBL_6 LBL_4: %storemerge311.reload = load i64, i64* %storemerge311.reg2mem %.reload = load i32, i32* %.reg2mem %13 = zext i32 %.reload to i64 %14 = call i64 @FUNC(i64 %storemerge311.reload, i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 store i32 %15, i32* %sv_0.2.reg2mem br i1 %16, label LBL_7, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64* nonnull %0) %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false %20 = load i32, i32* %sv_1, align 4 store i32 %20, i32* %.reg2mem store i64 %17, i64* %storemerge311.reg2mem store i32 %15, i32* %sv_0.0.lcssa.reg2mem store i32 %20, i32* %.lcssa.reg2mem br i1 %19, label LBL_4, label LBL_6 LBL_6: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %21 = add i32 %.lcssa.reload, 1 store i32 %21, i32* %sv_1, align 4 %22 = icmp slt i32 %21, 2 store i32 %sv_0.0.lcssa.reload, i32* %sv_0.113.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.2.reg2mem br i1 %22, label LBL_3, label LBL_7 LBL_7: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %23 = call i64 @FUNC(i64* nonnull %0) %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %storemerge10.reg2mem br i1 %25, label LBL_8, label LBL_9 LBL_8: %storemerge10.reload = load i64, i64* %storemerge10.reg2mem %26 = call i64 @FUNC(i64 %storemerge10.reload) %27 = call i64 @FUNC(i64 %26) %28 = call i64 @FUNC(i64* nonnull %0) %29 = icmp eq i64 %28, 0 %30 = icmp eq i1 %29, false store i64 %28, i64* %storemerge10.reg2mem br i1 %30, label LBL_8, label LBL_9 LBL_9: %31 = zext i32 %sv_0.2.reload to i64 ret i64 %31 uselistorder i32 %21, { 1, 0 } uselistorder i32 %15, { 1, 0, 2 } uselistorder i32* %sv_1, { 2, 3, 1, 0, 4 } uselistorder i64* %storemerge414.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.113.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge311.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge10.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder i64 (i64*)* @bdrv_next, { 2, 1, 0 } uselistorder i64 (i64)* @bdrv_get_aio_context, { 1, 0 } uselistorder i1 false, { 3, 2, 4, 1, 5, 0 } uselistorder i64 (i64*)* @bdrv_first, { 2, 1, 0 } uselistorder i32 1, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
walk_shadow_page_get_mmio_spte_9597
walk_shadow_page_get_mmio_spte
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge1.reg2mem br label LBL_1 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %2 = call i64 @FUNC(i64 %storemerge1.reload) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 %storemerge1.reload, i64* %storemerge.lcssa.reg2mem br i1 %4, label LBL_3, label LBL_2 LBL_2: %5 = add nuw nsw i64 %storemerge1.reload, 1 %6 = icmp ult i64 %5, 10 store i64 %5, i64* %storemerge1.reg2mem store i64 10, i64* %storemerge.lcssa.reg2mem br i1 %6, label LBL_1, label LBL_3 LBL_3: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem %7 = call i64 @FUNC(i64 %0) ret i64 %storemerge.lcssa.reload uselistorder i64 %storemerge1.reload, { 1, 0, 2 } uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
cifs_get_smb_ses_7506
cifs_get_smb_ses
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %rsi.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC() %7 = call i64 @FUNC(i64 %5, i64 %4) %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_7, label LBL_1 LBL_1: %9 = add i64 %7, 544 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %3, i64 %2, i64 %1) %14 = call i64 @FUNC(i64 %5) %15 = add i64 %7, 552 %16 = call i64 @FUNC(i64 %15) %17 = and i64 %6, 4294967295 %18 = call i64 @FUNC(i64 %17, i64 %7) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_3, label LBL_2 LBL_2: %21 = call i64 @FUNC(i64 %15) %22 = call i64 @FUNC(i64 %7) %23 = call i64 @FUNC(i64 %17) %24 = and i64 %18, 4294967295 %25 = call i64 @FUNC(i64 %24) store i64 %25, i64* %rax.0.reg2mem br label LBL_21 LBL_3: %26 = add i64 %7, 548 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_6, label LBL_4 LBL_4: %30 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %3, i64 %2, i64 %1) %31 = add i64 %4, 32 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = call i64 @FUNC(i64 %17, i64 %7, i32 %33) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_6, label LBL_5 LBL_5: %37 = call i64 @FUNC(i64 %15) %38 = call i64 @FUNC(i64 %7) %39 = call i64 @FUNC(i64 %17) %40 = and i64 %34, 4294967295 %41 = call i64 @FUNC(i64 %40) store i64 %41, i64* %rax.0.reg2mem br label LBL_21 LBL_6: %42 = call i64 @FUNC(i64 %15) %43 = call i64 @FUNC(i64 %17) store i64 %7, i64* %rax.0.reg2mem br label LBL_21 LBL_7: %44 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1) %45 = call i64 @FUNC() %46 = icmp eq i64 %45, 0 store i32 -12, i32* %sv_0.1.reg2mem br i1 %46, label LBL_20, label LBL_8 LBL_8: %47 = inttoptr i64 %45 to i64* store i64 %5, i64* %47, align 8 %48 = bitcast i64* %rdi to i32* %49 = load i32, i32* %48, align 8 %50 = icmp eq i32 %49, 10 %51 = icmp eq i1 %50, false br i1 %51, label LBL_10, label LBL_9 LBL_9: %52 = add i64 %5, 4 %53 = add i64 %45, 8 %54 = inttoptr i64 %53 to i8* %55 = inttoptr i64 %52 to i64* %56 = call i32 (i8*, i8*, ...) @sprintf(i8* %54, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64* %55) store i64 ptrtoint ([5 x i8]* @gv_3 to i64), i64* %rsi.0.reg2mem br label LBL_11 LBL_10: %57 = add i64 %5, 8 %58 = add i64 %45, 8 %59 = inttoptr i64 %58 to i8* %60 = inttoptr i64 %57 to i64* %61 = call i32 (i8*, i8*, ...) @sprintf(i8* %59, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64* %60) store i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64* %rsi.0.reg2mem br label LBL_11 LBL_11: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %62 = add i64 %45, 264 %63 = inttoptr i64 %62 to i8* %64 = inttoptr i64 %rsi.0.reload to i8* %65 = call i8* @strncpy(i8* %63, i8* %64, i32 256) %66 = add i64 %4, 8 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = icmp eq i64 %68, 0 br i1 %69, label LBL_13, label LBL_12 LBL_12: %70 = call i64 @FUNC(i64 %68, i64 0) %71 = add i64 %45, 520 %72 = inttoptr i64 %71 to i64* store i64 %70, i64* %72, align 8 %73 = icmp eq i64 %70, 0 store i32 -12, i32* %sv_0.1.reg2mem br i1 %73, label LBL_20, label LBL_13 LBL_13: %74 = add i64 %4, 16 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = icmp eq i64 %76, 0 br i1 %77, label LBL_16, label LBL_14 LBL_14: %78 = inttoptr i64 %76 to i8* %79 = call i32 @strlen(i8* %78) %80 = add i32 %79, 1 %81 = sext i32 %80 to i64 %82 = call i64 @FUNC(i64 %81, i64 0) %83 = add i64 %45, 528 %84 = inttoptr i64 %83 to i64* store i64 %82, i64* %84, align 8 %85 = icmp eq i64 %82, 0 br i1 %85, label LBL_16, label LBL_15 LBL_15: %86 = load i64, i64* %75, align 8 %87 = inttoptr i64 %82 to i8* %88 = inttoptr i64 %86 to i8* %89 = call i8* @strcpy(i8* %87, i8* %88) br label LBL_16 LBL_16: %90 = add i64 %4, 24 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = add i64 %45, 536 %94 = inttoptr i64 %93 to i32* store i32 %92, i32* %94, align 4 %95 = add i64 %4, 28 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = add i64 %45, 540 %99 = inttoptr i64 %98 to i32* store i32 %97, i32* %99, align 4 %100 = add i64 %45, 552 %101 = call i64 @FUNC(i64 %100) %102 = and i64 %6, 4294967295 %103 = call i64 @FUNC(i64 %102, i64 %45) %104 = trunc i64 %103 to i32 %105 = icmp eq i32 %104, 0 %106 = icmp eq i1 %105, false store i32 %104, i32* %sv_0.0.reg2mem br i1 %106, label LBL_18, label LBL_17 LBL_17: %107 = add i64 %4, 32 %108 = inttoptr i64 %107 to i32* %109 = load i32, i32* %108, align 4 %110 = call i64 @FUNC(i64 %102, i64 %45, i32 %109) %111 = trunc i64 %110 to i32 store i32 %111, i32* %sv_0.0.reg2mem br label LBL_18 LBL_18: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %112 = call i64 @FUNC(i64 %100) %113 = icmp eq i32 %sv_0.0.reload, 0 %114 = icmp eq i1 %113, false store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %114, label LBL_20, label LBL_19 LBL_19: %115 = call i64 @FUNC(i64* nonnull @gv_5) %116 = add i64 %5, 24 %117 = add i64 %45, 560 %118 = call i64 @FUNC(i64 %117, i64 %116) %119 = call i64 @FUNC(i64* nonnull @gv_5) %120 = call i64 @FUNC(i64 %102) store i64 %45, i64* %rax.0.reg2mem br label LBL_21 LBL_20: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %121 = call i64 @FUNC(i64 %45) %122 = and i64 %6, 4294967295 %123 = call i64 @FUNC(i64 %122) %124 = zext i32 %sv_0.1.reload to i64 %125 = call i64 @FUNC(i64 %124) store i64 %125, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %102, { 1, 0, 2 } uselistorder i64 %82, { 1, 0, 2 } uselistorder i64 %45, { 12, 0, 6, 5, 7, 8, 9, 10, 4, 3, 2, 11, 1, 13, 14 } uselistorder i64 %17, { 3, 1, 2, 0, 4 } uselistorder i64 %15, { 2, 1, 0, 3 } uselistorder i64 %7, { 0, 2, 3, 4, 5, 1, 6, 7, 8, 9 } uselistorder i64 %5, { 1, 2, 3, 4, 0, 5 } uselistorder i64 %4, { 1, 2, 3, 4, 5, 6, 0, 7 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @sesInfoFree, { 1, 0 } uselistorder [5 x i8]* @gv_4, { 1, 0 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 0 } uselistorder [5 x i8]* @gv_3, { 1, 0 } uselistorder i64 (i64, i64, i32)* @cifs_setup_session, { 1, 0 } uselistorder i64 (i64)* @ERR_PTR, { 2, 1, 0 } uselistorder i64 (i64)* @FreeXid, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @cifs_put_smb_ses, { 1, 0 } uselistorder i64 (i64)* @mutex_unlock, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @cifs_negotiate_protocol, { 1, 0 } uselistorder i64 (i64)* @mutex_lock, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @cFYI, { 2, 1, 0 } uselistorder label LBL_11, { 1, 0 } }
1
BinRealVul
xen_host_pci_dev_is_virtfn_887
xen_host_pci_dev_is_virtfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1, i64 4096) %2 = bitcast i64* %sv_1 to i8* %3 = bitcast i64* %sv_0 to %stat* %4 = call i32 @stat(i8* nonnull %2, %stat* nonnull %3) %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i64 %7 = and i32 %4, -256 %8 = sext i32 %7 to i64 %9 = or i64 %8, %6 ret i64 %9 }
0
BinRealVul
libopenjpeg_copyto16_1024
libopenjpeg_copyto16
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem52 = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32* %.reg2mem50 = alloca i32 %.reg2mem48 = alloca i32 %sv_0.011.reg2mem = alloca i32* %sv_1.0.in12.reg2mem = alloca i64 %storemerge513.reg2mem = alloca i32 %sv_0.114.reg2mem = alloca i32* %storemerge415.reg2mem = alloca i32 %.reg2mem46 = alloca i32 %.reg2mem44 = alloca i32 %storemerge16.reg2mem = alloca i32 %.reg2mem42 = alloca i64 %.reg2mem40 = alloca i32 %rax.0.reg2mem = alloca i32 %storemerge618.reg2mem = alloca i32 %.reg2mem38 = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %4, label LBL_19, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = bitcast i64* %rsi to i32* %7 = ptrtoint i64* %sv_2 to i64 %8 = trunc i64 %1 to i32 %9 = bitcast i64* %rdi to i32* %10 = add i64 %5, 24 %11 = add i64 %7, -48 store i32 %8, i32* %.reg2mem store i64 0, i64* %.reg2mem38 store i32 0, i32* %storemerge618.reg2mem br label LBL_2 LBL_2: %storemerge618.reload = load i32, i32* %storemerge618.reg2mem %.reload39 = load i64, i64* %.reg2mem38 %.reload = load i32, i32* %.reg2mem %12 = zext i32 %.reload to i64 %13 = call i64 @FUNC(i64 %12) %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = mul i64 %.reload39, 4 %17 = add i64 %15, %16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i32 %19, 1 %21 = mul nsw i64 %.reload39, 24 %22 = add i64 %10, %21 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = sub i32 %20, %24 %26 = icmp sgt i32 %25, 7 br i1 %26, label LBL_4, label LBL_3 LBL_3: %27 = call i64 @FUNC(i64 %12) %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %29, %16 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = add i32 %32, 1 %34 = load i32, i32* %23, align 4 %35 = sub i32 %33, %34 %36 = icmp slt i32 %35, 1 store i32 0, i32* %rax.0.reg2mem br i1 %36, label LBL_6, label LBL_4 LBL_4: %37 = call i64 @FUNC(i64 %12) %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = add i64 %39, %16 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i32 %42, 1 %44 = load i32, i32* %23, align 4 %45 = sub i32 %43, %44 %46 = icmp sgt i32 %45, 7 store i32 8, i32* %rax.0.reg2mem br i1 %46, label LBL_6, label LBL_5 LBL_5: %47 = call i64 @FUNC(i64 %12) %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = add i64 %49, %16 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = add i32 %52, 1 %54 = load i32, i32* %23, align 4 %55 = sub i32 %53, %54 store i32 %55, i32* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i32, i32* %rax.0.reg2mem %56 = add i64 %16, %11 %57 = inttoptr i64 %56 to i32* store i32 %rax.0.reload, i32* %57, align 4 %58 = add i32 %storemerge618.reload, 1 %59 = load i32, i32* %6, align 8 %60 = zext i32 %59 to i64 %61 = sext i32 %58 to i64 %62 = icmp slt i64 %61, %60 br i1 %62, label LBL_6.LBL_2_crit_edge, label LBL_8 LBL_7: %.pre = load i32, i32* %9, align 8 store i32 %.pre, i32* %.reg2mem store i64 %61, i64* %.reg2mem38 store i32 %58, i32* %storemerge618.reg2mem br label LBL_2 LBL_8: %63 = icmp eq i32 %59, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %63, label LBL_19, label LBL_9 LBL_9: %64 = ptrtoint i32* %arg1 to i64 %65 = add i64 %64, 8 %66 = add i64 %64, 40 store i32 %59, i32* %.reg2mem40 store i64 0, i64* %.reg2mem42 store i32 0, i32* %storemerge16.reg2mem br label LBL_10 LBL_10: %storemerge16.reload = load i32, i32* %storemerge16.reg2mem %.reload43 = load i64, i64* %.reg2mem42 %.reload41 = load i32, i32* %.reg2mem40 %67 = mul nsw i64 %.reload43, 24 %68 = add i64 %67, %5 %69 = add i64 %68, 20 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = icmp eq i32 %71, 0 store i32 %.reload41, i32* %.reg2mem52 br i1 %72, label LBL_18, label LBL_11 LBL_11: %73 = add i64 %68, 8 %74 = inttoptr i64 %73 to i64* %75 = load i64, i64* %74, align 8 %76 = inttoptr i64 %75 to i32* %77 = mul i64 %.reload43, 8 %78 = add i64 %65, %77 %79 = inttoptr i64 %78 to i64* %80 = mul i64 %.reload43, 4 %81 = add i64 %66, %80 %82 = inttoptr i64 %81 to i32* %83 = add i64 %68, 16 %84 = inttoptr i64 %83 to i32* %85 = add i64 %68, 28 %86 = inttoptr i64 %85 to i32* %87 = add i64 %80, %11 %88 = inttoptr i64 %87 to i32* %.pre23 = load i32, i32* %84, align 4 store i32 %71, i32* %.reg2mem44 store i32 %.pre23, i32* %.reg2mem46 store i32 0, i32* %storemerge415.reg2mem store i32* %76, i32** %sv_0.114.reg2mem br label LBL_12 LBL_12: %sv_0.114.reload = load i32*, i32** %sv_0.114.reg2mem %storemerge415.reload = load i32, i32* %storemerge415.reg2mem %.reload47 = load i32, i32* %.reg2mem46 %.reload45 = load i32, i32* %.reg2mem44 %89 = icmp eq i32 %.reload47, 0 store i32 %.reload45, i32* %.reg2mem48 store i32 0, i32* %.reg2mem50 store i32* %sv_0.114.reload, i32** %sv_0.0.lcssa.reg2mem br i1 %89, label LBL_16, label LBL_13 LBL_13: %90 = load i32, i32* %82, align 4 %91 = mul i32 %90, %storemerge415.reload %92 = sext i32 %91 to i64 %93 = load i64, i64* %79, align 8 %94 = add i64 %93, %92 store i32 0, i32* %storemerge513.reg2mem store i64 %94, i64* %sv_1.0.in12.reg2mem store i32* %sv_0.114.reload, i32** %sv_0.011.reg2mem br label LBL_14 LBL_14: %sv_0.011.reload = load i32*, i32** %sv_0.011.reg2mem %sv_1.0.in12.reload = load i64, i64* %sv_1.0.in12.reg2mem %storemerge513.reload = load i32, i32* %storemerge513.reg2mem %sv_1.0 = inttoptr i64 %sv_1.0.in12.reload to i16* %95 = load i32, i32* %86, align 4 %96 = mul i32 %95, 32768 %97 = zext i32 %96 to i64 store i64 %97, i64* %rsi, align 8 %98 = load i32, i32* %sv_0.011.reload, align 4 %99 = load i32, i32* %88, align 4 %100 = urem i32 %99, 32 %101 = shl i32 %98, %100 %rdx.0 = zext i32 %101 to i64 %102 = add nuw nsw i64 %rdx.0, %97 %103 = trunc i64 %102 to i16 store i16 %103, i16* %sv_1.0, align 2 %104 = add i64 %sv_1.0.in12.reload, 2 %105 = ptrtoint i32* %sv_0.011.reload to i64 %106 = add i64 %105, 4 %107 = inttoptr i64 %106 to i32* %108 = add i32 %storemerge513.reload, 1 %109 = load i32, i32* %84, align 4 %110 = zext i32 %109 to i64 %111 = sext i32 %108 to i64 %112 = icmp slt i64 %111, %110 store i32 %108, i32* %storemerge513.reg2mem store i64 %104, i64* %sv_1.0.in12.reg2mem store i32* %107, i32** %sv_0.011.reg2mem br i1 %112, label LBL_14, label LBL_15 LBL_15: %.pre24 = load i32, i32* %70, align 4 store i32 %.pre24, i32* %.reg2mem48 store i32 %109, i32* %.reg2mem50 store i32* %107, i32** %sv_0.0.lcssa.reg2mem br label LBL_16 LBL_16: %sv_0.0.lcssa.reload = load i32*, i32** %sv_0.0.lcssa.reg2mem %.reload51 = load i32, i32* %.reg2mem50 %.reload49 = load i32, i32* %.reg2mem48 %113 = add i32 %storemerge415.reload, 1 %114 = zext i32 %.reload49 to i64 %115 = sext i32 %113 to i64 %116 = icmp slt i64 %115, %114 store i32 %.reload49, i32* %.reg2mem44 store i32 %.reload51, i32* %.reg2mem46 store i32 %113, i32* %storemerge415.reg2mem store i32* %sv_0.0.lcssa.reload, i32** %sv_0.114.reg2mem br i1 %116, label LBL_12, label LBL_17 LBL_17: %.pre25 = load i32, i32* %6, align 8 store i32 %.pre25, i32* %.reg2mem52 br label LBL_18 LBL_18: %.reload53 = load i32, i32* %.reg2mem52 %117 = add i32 %storemerge16.reload, 1 %118 = zext i32 %.reload53 to i64 %119 = sext i32 %117 to i64 %120 = icmp slt i64 %119, %118 store i32 %.reload53, i32* %.reg2mem40 store i64 %119, i64* %.reg2mem42 store i32 %117, i32* %storemerge16.reg2mem store i64 %118, i64* %.lcssa.reg2mem br i1 %120, label LBL_10, label LBL_19 LBL_19: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32 %.reload53, { 1, 0 } uselistorder i32 %.reload49, { 1, 0 } uselistorder i32* %sv_0.114.reload, { 1, 0 } uselistorder i32* %84, { 1, 0 } uselistorder i64 %80, { 1, 0 } uselistorder i64 %68, { 1, 0, 3, 2 } uselistorder i64 %.reload43, { 2, 1, 0 } uselistorder i32* %23, { 1, 2, 0, 3 } uselistorder i64 %16, { 4, 3, 2, 1, 0 } uselistorder i64 %12, { 1, 2, 0, 3 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem38, { 1, 0, 2 } uselistorder i32* %storemerge618.reg2mem, { 1, 0, 2 } uselistorder i32* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %.reg2mem40, { 1, 0, 2 } uselistorder i64* %.reg2mem42, { 1, 0, 2 } uselistorder i32* %storemerge16.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem44, { 1, 0, 2 } uselistorder i32* %.reg2mem46, { 1, 0, 2 } uselistorder i32* %storemerge415.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_0.114.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge513.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.in12.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_0.011.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem48, { 0, 2, 1 } uselistorder i32* %.reg2mem50, { 0, 2, 1 } uselistorder i32** %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %.lcssa.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 8, { 0, 2, 1 } uselistorder i64 4, { 2, 0, 1 } uselistorder i64 (i64)* @av_pix_fmt_desc_get, { 3, 2, 1, 0 } uselistorder i64 24, { 2, 1, 0 } uselistorder label LBL_19, { 0, 2, 1 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
0
BinRealVul
common_bind_16138
common_bind
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, -1 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, -1 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_4 LBL_2: %9 = load i64, i64* %sv_0, align 8 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = load i64, i64* @gv_2, align 8 %14 = call i64 @FUNC(i64 %13, i32 %12, i64 4096, i64 3, i64 %9) %15 = add i64 %0, 16 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = icmp eq i64 %14, 0 %18 = icmp eq i1 %17, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_3, label LBL_4 LBL_3: %19 = call i64 @FUNC(i64 %0) %20 = add i64 %0, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = bitcast i64* %rdi to i32* %24 = load i32, i32* %23, align 8 %25 = load i64, i64* %sv_0, align 8 %26 = zext i32 %22 to i64 %27 = zext i32 %24 to i64 %28 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_3, i64 0, i64 0), i64 %25, i64 %27, i64 %26) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 1, 2, 0 } uselistorder i64 %0, { 0, 1, 2, 4, 3, 5, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
1
BinRealVul
report_error_8673
report_error
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i64 %sv_2.03.reg2mem = alloca i64 %sv_1.14.reg2mem = alloca i32 %sv_0.15.reg2mem = alloca i32 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_3 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %21 = ptrtoint i8* %arg3 to i64 %22 = ptrtoint i8* %arg2 to i64 %23 = ptrtoint i64* %arg1 to i64 %24 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %22, i64 %21, i64 %arg4, i64 %arg5, i64 %arg6) store i32 16, i32* %sv_3, align 4 %25 = call i64 @FUNC(i64 %22, i32* nonnull %sv_3) %26 = add i64 %23, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, %23 %30 = icmp eq i1 %29, false store i32 1, i32* %sv_0.15.reg2mem store i32 1, i32* %sv_1.14.reg2mem store i64 %23, i64* %sv_2.03.reg2mem store i64 1, i64* %sv_1.1.lcssa.reg2mem store i64 1, i64* %sv_0.1.lcssa.reg2mem br i1 %30, label LBL_3, label LBL_5 LBL_3: %sv_2.03.reload = load i64, i64* %sv_2.03.reg2mem %sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem %31 = inttoptr i64 %sv_2.03.reload to i8* %32 = load i8, i8* %31, align 1 %33 = icmp eq i8 %32, 10 %34 = icmp eq i1 %33, false %not. = icmp ne i1 %34, true %35 = zext i1 %not. to i32 %spec.select2 = add i32 %sv_0.15.reload, %35 %sv_1.1.op = add i32 %sv_1.14.reload, 1 %36 = select i1 %34, i32 %sv_1.1.op, i32 2 %37 = add i64 %sv_2.03.reload, 1 %38 = icmp eq i64 %37, %28 %39 = icmp eq i1 %38, false store i32 %spec.select2, i32* %sv_0.15.reg2mem store i32 %36, i32* %sv_1.14.reg2mem store i64 %37, i64* %sv_2.03.reg2mem br i1 %39, label LBL_3, label LBL_4 LBL_4: %phitmp = zext i32 %36 to i64 %phitmp7 = zext i32 %spec.select2 to i64 store i64 %phitmp, i64* %sv_1.1.lcssa.reg2mem store i64 %phitmp7, i64* %sv_0.1.lcssa.reg2mem br label LBL_5 LBL_5: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem %40 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %sv_0.1.lcssa.reload, i64 %sv_1.1.lcssa.reload, i64 %arg4, i64 %arg5, i64 %arg6) ret i64 %40 uselistorder i32 %36, { 1, 0 } uselistorder i32 %spec.select2, { 1, 0 } uselistorder i1 %34, { 1, 0 } uselistorder i32* %sv_0.15.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.14.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.03.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 (i64, i32*)* @_debug_vprintf, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @debug_printf, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
usbredir_post_load_2687
usbredir_post_load
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.reg2mem = alloca i32 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_1, label LBL_10 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 16 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 3 br i1 %6, label LBL_7, label LBL_2 LBL_2: %7 = icmp sgt i32 %5, 3 br i1 %7, label LBL_8, label LBL_3 LBL_3: switch i32 %5, label LBL_8 [ i32 2, label LBL_6 i32 0, label LBL_4 i32 1, label LBL_5 ] LBL_4: %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 store i32 0, i32* %.reg2mem br label LBL_9 LBL_5: %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i32* store i32 1, i32* %11, align 4 store i32 1, i32* %.reg2mem br label LBL_9 LBL_6: %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i32* store i32 2, i32* %13, align 4 store i32 2, i32* %.reg2mem br label LBL_9 LBL_7: %14 = add i64 %2, 8 %15 = inttoptr i64 %14 to i32* store i32 3, i32* %15, align 4 store i32 3, i32* %.reg2mem br label LBL_9 LBL_8: %16 = add i64 %2, 8 %17 = inttoptr i64 %16 to i32* store i32 1, i32* %17, align 4 store i32 1, i32* %.reg2mem br label LBL_9 LBL_9: %.reload = load i32, i32* %.reg2mem %18 = shl i32 1, %.reload %19 = add i64 %2, 12 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = call i64 @FUNC(i64 %2) %22 = call i64 @FUNC(i64 %2) br label LBL_10 LBL_10: ret i64 0 uselistorder i64 %2, { 5, 4, 6, 3, 7, 2, 0, 1, 8 } uselistorder i32* %.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32 0, { 0, 2, 1 } uselistorder i32 2, { 0, 2, 1 } uselistorder i32 3, { 0, 3, 2, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
rj54n1_s_crop_17516
rj54n1_s_crop
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %1 to i32 store i32 %5, i32* %sv_4, align 4 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 store i32 %8, i32* %sv_3, align 4 %9 = call i64 @FUNC(i64* nonnull %sv_2, i32* nonnull %sv_4, i64 0, i64 8, i64 1024) %10 = call i64 @FUNC(i64* nonnull %sv_2, i32* nonnull %sv_3, i64 0, i64 8, i64 768) %11 = load i32, i32* %sv_4, align 4 %12 = mul i32 %11, 1024 %13 = add i64 %4, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = udiv i32 %15, 2 %17 = add i32 %16, %12 %18 = udiv i32 %17, %15 store i32 %18, i32* %sv_1, align 4 %19 = load i32, i32* %sv_3, align 4 %20 = mul i32 %19, 1024 %21 = load i32, i32* %14, align 4 %22 = udiv i32 %21, 2 %23 = add i32 %22, %20 %24 = udiv i32 %23, %21 store i32 %24, i32* %sv_0, align 4 %25 = load i32, i32* %14, align 4 %26 = zext i32 %18 to i64 %27 = zext i32 %25 to i64 %28 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i32 %11, i32 %19, i64 %27, i64 %26) %29 = call i64 @FUNC(i64 %3, i32* nonnull %sv_4, i32* nonnull %sv_3, i32* nonnull %sv_1, i32* nonnull %sv_0) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_2, label LBL_1 LBL_1: %33 = and i64 %29, 4294967295 store i64 %33, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %34 = inttoptr i64 %4 to i32* %35 = load i32, i32* %sv_1, align 4 store i32 %35, i32* %34, align 4 %36 = load i32, i32* %sv_0, align 4 %37 = add i64 %4, 4 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 store i32 %30, i32* %14, align 4 %39 = load i32, i32* %sv_4, align 4 %40 = add i64 %4, 12 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = load i32, i32* %sv_3, align 4 %43 = add i64 %4, 16 %44 = inttoptr i64 %43 to i32* store i32 %42, i32* %44, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %21, { 1, 0 } uselistorder i32 %19, { 1, 0 } uselistorder i32 %15, { 1, 0 } uselistorder i32 %11, { 1, 0 } uselistorder i32* %sv_4, { 2, 0, 3, 1, 4 } uselistorder i32* %sv_3, { 2, 0, 3, 1, 4 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64*, i32*, i64, i64, i64)* @soc_camera_limit_side, { 1, 0 } uselistorder i64 8, { 2, 0, 1 } }
1
BinRealVul
get_net_ns_by_id_11020
get_net_ns_by_id
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp slt i32 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = and i64 %arg2, 4294967295 %5 = call i64 @FUNC() %6 = call i64 @FUNC(i64 %3) %7 = add i64 %3, 8 %8 = call i64 @FUNC(i64 %7, i64 %4) %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %8) br label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %3) %12 = call i64 @FUNC() store i64 %8, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
vmxnet3_io_bar0_write_4211
vmxnet3_io_bar0_write
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_10, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %arg2, i64 0, i64 8, i64 4) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_5, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %arg2, i64 0, i64 4) %10 = ptrtoint i32* %arg1 to i64 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %sext3 = mul i64 %9, 4294967296 %15 = ashr exact i64 %sext3, 32 %16 = icmp sgt i64 %15, %14 br i1 %16, label LBL_3, label LBL_4 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 52, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %17 = and i64 %9, 4294967295 %18 = call i64 @FUNC(i64 %10, i64 %17) store i64 %18, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %19 = call i64 @FUNC(i64 %arg2, i64 4, i64 4, i64 4) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %arg2, i64 4, i64 4) %23 = and i64 %22, 4294967295 %24 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i64 %23, i64 %arg3, i64 4, i64 %2, i64 %1) %25 = ptrtoint i32* %arg1 to i64 %26 = call i64 @FUNC(i64 %25, i64 %23, i64 %arg3) store i64 %26, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %27 = call i64 @FUNC(i64 %arg2, i64 8, i64 8, i64 4) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i64 %27, i64* %rax.0.reg2mem br i1 %30, label LBL_10, label LBL_8 LBL_8: %31 = call i64 @FUNC(i64 %arg2, i64 12, i64 8, i64 4) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i64 %31, i64* %rax.0.reg2mem br i1 %34, label LBL_10, label LBL_9 LBL_9: %35 = trunc i64 %arg4 to i32 %36 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_4, i64 0, i64 0), i64 %arg2, i64 %arg3, i32 %35, i64 %2, i64 %1) store i64 %36, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %9, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 5, 2, 1, 6 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 (i64, i64, i64)* @VMW_MULTIREG_IDX_BY_ADDR, { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @VMW_IS_MULTIREG_ADDR, { 3, 2, 1, 0 } uselistorder i64 4, { 1, 2, 0, 4, 3, 7, 6, 5, 10, 8, 9 } uselistorder i64 %arg3, { 2, 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_10, { 3, 1, 0, 4, 5, 2 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
qemu_set_log_699
qemu_set_log
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 store i32 %0, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_7, label LBL_1 LBL_1: %2 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %3 = icmp eq %_IO_FILE* %2, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_7, label LBL_2 LBL_2: %5 = load i8*, i8** @gv_2, align 8 %6 = icmp eq i8* %5, null %7 = icmp eq i1 %6, false %8 = select i1 %7, i8* %5, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0) %9 = load i32, i32* @gv_4, align 4 %10 = icmp eq i32 %9, 0 %. = select i1 %10, i8* bitcast (i8** @gv_5 to i8*), i8* inttoptr (i64 4202524 to i8*) %11 = call %_IO_FILE* @fopen(i8* %8, i8* %.) store %_IO_FILE* %11, %_IO_FILE** @gv_1, align 8 %12 = icmp eq %_IO_FILE* %11, null %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: call void @perror(i8* %8) call void @_exit(i32 1) unreachable LBL_4: %14 = trunc i64 %arg2 to i8 %15 = icmp eq i8 %14, 0 br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = call i32 @setvbuf(%_IO_FILE* %11, i8* bitcast (i8** @gv_6 to i8*), i32 1, i32 4096) br label LBL_7 LBL_6: %17 = call i32 @setvbuf(%_IO_FILE* %11, i8* null, i32 1, i32 0) store i32 1, i32* @gv_4, align 4 br label LBL_7 LBL_7: %18 = load i32, i32* @gv_0, align 4 %19 = zext i32 %18 to i64 %20 = icmp eq i32 %18, 0 %21 = icmp eq i1 %20, false store i64 %19, i64* %rax.0.reg2mem br i1 %21, label LBL_10, label LBL_8 LBL_8: %22 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %23 = ptrtoint %_IO_FILE* %22 to i64 %24 = icmp eq %_IO_FILE* %22, null store i64 %23, i64* %rax.0.reg2mem br i1 %24, label LBL_10, label LBL_9 LBL_9: %25 = call i32 @fclose(%_IO_FILE* nonnull %22) %26 = sext i32 %25 to i64 store %_IO_FILE* null, %_IO_FILE** @gv_1, align 8 store i64 %26, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %8, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, i32, i32)* @setvbuf, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i32* @gv_4, { 1, 0 } uselistorder i8* null, { 1, 0 } uselistorder i1 false, { 0, 1, 3, 2 } uselistorder %_IO_FILE* null, { 3, 0, 1, 2, 4 } uselistorder %_IO_FILE** @gv_1, { 3, 2, 1, 0 } uselistorder i32 0, { 3, 0, 4, 5, 1, 2 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i32 1, { 4, 1, 2, 3, 0 } }
0
BinRealVul
trace_10212
trace
define i64 @FUNC(i32* %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 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = and i64 %7, 4294967295 %9 = trunc i64 %arg4 to i32 %10 = icmp eq i32 %9, 0 %. = select i1 %10, i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 ptrtoint ([6 x i8]* @gv_1 to i64) %11 = ptrtoint i32* %arg1 to i64 %12 = add i64 %11, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i64 %14, i64 %., i64 %arg3, i64 %8, i64 %7) %16 = icmp eq i1 %10, false br i1 %16, label LBL_3, label LBL_2 LBL_2: %17 = add i64 %11, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %arg3, i64 %19) br label LBL_3 LBL_3: %21 = call i64 @FUNC() store i64 %21, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 1, 0 } }
0
BinRealVul
qemu_chr_open_win_pipe_439
qemu_chr_open_win_pipe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 24) %3 = call i64 @FUNC(i64 0) %4 = inttoptr i64 %2 to i64* store i64 %3, i64* %4, align 8 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* store i64 4198880, i64* %6, align 8 %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i64* store i64 4198896, i64* %8, align 8 %9 = call i64 @FUNC(i64 %2, i64 %1) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %3) %14 = call i64 @FUNC(i64 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %15 = call i64 @FUNC(i64 %2) store i64 %2, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64)* @g_malloc0, { 1, 0 } }
0
BinRealVul
xfrm4_prepare_output_4099
xfrm4_prepare_output
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = and i64 %2, 4294967295 store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = call i64 @FUNC(i64 %0) %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = or i32 %8, 1 store i32 %9, i32* %7, align 4 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, 2, 1 } }
0
BinRealVul
g2m_init_buffers_13530
g2m_init_buffers
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 40 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = trunc i64 %1 to i32 br i1 %6, label LBL_3, label LBL_1 LBL_1: %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp ult i32 %10, %7 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = add i64 %2, 12 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %2, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp ult i32 %14, %17 br i1 %18, label LBL_3, label LBL_4 LBL_3: %19 = mul i32 %7, 3 %20 = add i32 %19, 15 %21 = and i32 %20, -16 %22 = add i64 %2, 32 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 %24 = add i64 %2, 4 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i32 %26, 15 %28 = and i32 %27, -16 %29 = load i64, i64* %4, align 8 %30 = call i64 @FUNC(i64 %29) %31 = load i32, i32* %23, align 4 %32 = mul i32 %31, %28 %33 = sext i32 %32 to i64 %34 = call i64 @FUNC(i64 %33) store i64 %34, i64* %4, align 8 %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %36, label LBL_4, label LBL_12 LBL_4: %37 = add i64 %2, 48 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 %.pre2 = add i64 %2, 56 %.pre4 = inttoptr i64 %.pre2 to i64* br i1 %40, label LBL_8, label LBL_5 LBL_5: %41 = load i64, i64* %.pre4, align 8 %42 = icmp eq i64 %41, 0 br i1 %42, label LBL_8, label LBL_6 LBL_6: %43 = add i64 %2, 24 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = add i64 %2, 16 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = icmp ult i32 %45, %48 br i1 %49, label LBL_8, label LBL_7 LBL_7: %50 = add i64 %2, 28 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = add i64 %2, 20 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp ult i32 %52, %55 br i1 %56, label LBL_8, label LBL_11 LBL_8: %57 = add i64 %2, 16 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = add i32 %59, 15 %61 = and i32 %60, -16 %62 = mul i32 %61, 3 %63 = add i64 %2, 36 %64 = inttoptr i64 %63 to i32* store i32 %62, i32* %64, align 4 %65 = add i64 %2, 20 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = add i32 %67, 15 %69 = and i32 %68, -16 %70 = load i64, i64* %38, align 8 %71 = call i64 @FUNC(i64 %70) %72 = load i64, i64* %.pre4, align 8 %73 = call i64 @FUNC(i64 %72) %74 = add i64 %2, 64 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = call i64 @FUNC(i64 %76) %78 = add i64 %2, 72 %79 = inttoptr i64 %78 to i64* %80 = load i64, i64* %79, align 8 %81 = call i64 @FUNC(i64 %80) %82 = load i32, i32* %64, align 4 %83 = mul i32 %82, %69 %84 = sext i32 %83 to i64 %85 = call i64 @FUNC(i64 %84) store i64 %85, i64* %38, align 8 %86 = load i32, i32* %64, align 4 %87 = mul i32 %86, %69 %88 = sext i32 %87 to i64 %89 = call i64 @FUNC(i64 %88) store i64 %89, i64* %.pre4, align 8 %90 = load i32, i32* %58, align 4 %91 = add i32 %90, 1 %92 = mul i32 %91, %69 %93 = add i32 %92, 32 %94 = sext i32 %93 to i64 %95 = call i64 @FUNC(i64 %94) store i64 %95, i64* %75, align 8 %96 = load i32, i32* %58, align 4 %97 = mul i32 %96, %69 %98 = sext i32 %97 to i64 %99 = call i64 @FUNC(i64 %98) store i64 %99, i64* %79, align 8 %100 = load i64, i64* %38, align 8 %101 = icmp eq i64 %100, 0 store i64 4294967284, i64* %rax.0.reg2mem br i1 %101, label LBL_12, label LBL_9 LBL_9: %102 = load i64, i64* %.pre4, align 8 %103 = icmp eq i64 %102, 0 store i64 4294967284, i64* %rax.0.reg2mem br i1 %103, label LBL_12, label LBL_10 LBL_10: %104 = load i64, i64* %75, align 8 %105 = icmp ne i64 %104, 0 %106 = icmp eq i64 %99, 0 %107 = icmp eq i1 %106, false %or.cond = icmp eq i1 %107, %105 store i64 4294967284, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_11, label LBL_12 LBL_11: store i64 0, 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 %2, { 1, 2, 3, 5, 4, 9, 10, 7, 8, 0, 6, 11, 12, 14, 13, 15, 16 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 3, 2, 1, 4 } uselistorder i64 4294967284, { 2, 1, 0, 3 } uselistorder i64 (i64)* @av_mallocz, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @av_free, { 4, 3, 2, 1, 0 } uselistorder label LBL_12, { 4, 0, 2, 1, 3 } uselistorder label LBL_8, { 1, 2, 3, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
0
BinRealVul
get_wav_header_3931
get_wav_header
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem5 = alloca i32 %.reg2mem3 = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i32* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = bitcast i64* %arg2 to i32* store i32 1, i32* %4, align 4 %5 = add i64 %0, 4 %6 = inttoptr i64 %5 to i32* store i32 %3, i32* %6, align 4 %7 = call i64 @FUNC(i64 %1) %8 = trunc i64 %7 to i32 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = call i64 @FUNC(i64 %1) %12 = trunc i64 %11 to i32 %13 = add i64 %0, 12 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = call i64 @FUNC(i64 %1) %.tr = trunc i64 %15 to i32 %16 = mul i32 %.tr, 8 %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = call i64 @FUNC(i64 %1) %20 = trunc i64 %19 to i32 %21 = add i64 %0, 20 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = icmp eq i32 %arg3, 14 %24 = icmp eq i1 %23, false br i1 %24, label LBL_2, label LBL_1 LBL_1: %25 = add i64 %0, 24 %26 = inttoptr i64 %25 to i32* store i32 8, i32* %26, align 4 store i64 8, i64* %.reg2mem br label LBL_3 LBL_2: %27 = call i64 @FUNC(i64 %1) %28 = trunc i64 %27 to i32 %29 = add i64 %0, 24 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %phitmp = and i64 %27, 4294967295 store i64 %phitmp, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %31 = and i64 %2, 4294967295 %32 = call i64 @FUNC(i64 %31, i64 %.reload) %33 = trunc i64 %32 to i32 %34 = add i64 %0, 28 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 %36 = icmp slt i32 %arg3, 17 store i64 %32, i64* %rax.0.reg2mem br i1 %36, label LBL_11, label LBL_4 LBL_4: %37 = call i64 @FUNC(i64 %1) %38 = trunc i64 %37 to i32 %39 = add i64 %0, 32 %40 = inttoptr i64 %39 to i32* store i32 %38, i32* %40, align 4 %41 = icmp slt i32 %38, 1 br i1 %41, label LBL_8, label LBL_5 LBL_5: %42 = add i32 %arg3, -17 %43 = icmp ugt i32 %42, %38 store i32 %38, i32* %.reg2mem3 br i1 %43, label LBL_7, label LBL_6 LBL_6: %44 = add i32 %arg3, -18 store i32 %44, i32* %40, align 4 store i32 %44, i32* %.reg2mem3 br label LBL_7 LBL_7: %.reload4 = load i32, i32* %.reg2mem3 %45 = add i32 %.reload4, 32 %46 = sext i32 %45 to i64 %47 = call i64 @FUNC(i64 %46) %48 = add i64 %0, 40 %49 = inttoptr i64 %48 to i64* store i64 %47, i64* %49, align 8 %50 = load i32, i32* %40, align 4 %51 = call i64 @FUNC(i64 %1, i64 %47, i32 %50) %.pre = load i32, i32* %40, align 4 store i32 %.pre, i32* %.reg2mem5 br label LBL_9 LBL_8: store i32 0, i32* %40, align 4 store i32 0, i32* %.reg2mem5 br label LBL_9 LBL_9: %.reload6 = load i32, i32* %.reg2mem5 %52 = sub i32 %arg3, %.reload6 %53 = zext i32 %52 to i64 %54 = icmp slt i32 %52, 19 store i64 %53, i64* %rax.0.reg2mem br i1 %54, label LBL_11, label LBL_10 LBL_10: %55 = add i32 %52, -18 %56 = zext i32 %55 to i64 %57 = call i64 @FUNC(i64 %1, i64 %56) store i64 %57, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %40, { 2, 0, 1, 3, 4 } uselistorder i32 %38, { 0, 2, 1, 3 } uselistorder i64 %1, { 1, 0, 2, 3, 4, 5, 6, 7, 8 } uselistorder i64 %0, { 1, 2, 3, 4, 0, 5, 6, 7, 8, 9 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem3, { 0, 2, 1 } uselistorder i32* %.reg2mem5, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i64 (i64)* @get_le32, { 1, 0 } uselistorder i64 (i64)* @get_le16, { 4, 3, 2, 1, 0 } uselistorder i32 %arg3, { 2, 1, 0, 3, 4 } }
0
BinRealVul
helper_store_sdr1_15060
helper_store_sdr1
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2) ret i64 %1 }
1
BinRealVul
bdrv_truncate_1088
bdrv_truncate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.in.in.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_5 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 store i64 4294967293, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_5 LBL_2: %7 = trunc i64 %2 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %2, i64* %sv_0.0.in.in.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = ashr i64 %arg2, 9 %11 = call i64 @FUNC(i64 %2, i64 %10) %12 = call i64 @FUNC(i64 %2) %13 = call i64 @FUNC(i64 %2) %14 = add i64 %2, 12 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i32 %16, 1 store i32 %17, i32* %15, align 4 store i64 %11, i64* %sv_0.0.in.in.reg2mem br label LBL_4 LBL_4: %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem %sv_0.0.in = and i64 %sv_0.0.in.in.reload, 4294967295 store i64 %sv_0.0.in, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 4, 3, 2, 0, 6, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
0
BinRealVul
ffmmal_fill_input_port_1175
ffmmal_fill_input_port
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = add i64 %3, 24 %7 = inttoptr i64 %6 to i64* %8 = add i64 %3, 16 %9 = inttoptr i64 %8 to i64* store i64 %3, i64* %rdi.1.reg2mem br label LBL_6 LBL_1: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %10 = call i64 @FUNC(i64 %rdi.1.reload) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_7 LBL_2: %13 = inttoptr i64 %10 to i32* %14 = load i64, i64* %5, align 8 %15 = call i64 @FUNC(i64 %10) store i32 0, i32* %13, align 4 %16 = inttoptr i64 %14 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %10, 4 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = add i64 %14, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %10, 8 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = add i64 %14, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %10, 12 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %30 = add i64 %14, 16 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = add i64 %10, 16 %34 = inttoptr i64 %33 to i64* store i64 %32, i64* %34, align 8 %35 = add i64 %14, 24 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = add i64 %10, 24 %39 = inttoptr i64 %38 to i64* store i64 %37, i64* %39, align 8 %40 = add i64 %10, 32 %41 = inttoptr i64 %40 to i64* store i64 %14, i64* %41, align 8 %42 = load i64, i64* %7, align 8 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = add i64 %10, 40 %48 = inttoptr i64 %47 to i64* store i64 %46, i64* %48, align 8 %49 = add i64 %14, 32 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 store i64 %51, i64* %5, align 8 %52 = load i64, i64* %9, align 8 %53 = icmp eq i64 %14, %52 %54 = icmp eq i1 %53, false br i1 %54, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* %9, align 8 br label LBL_4 LBL_4: %55 = load i64, i64* %7, align 8 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = call i64 @FUNC(i64 %57, i64 %10) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 store i64 %57, i64* %rdi.1.reg2mem br i1 %60, label LBL_6, label LBL_5 LBL_5: %61 = call i64 @FUNC(i64 %10) %62 = add i64 %14, 40 %63 = call i64 @FUNC(i64 %62) %64 = call i64 @FUNC(i64 %14) %65 = and i64 %58, 4294967295 %66 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %65, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %67 = load i64, i64* %5, align 8 %68 = icmp eq i64 %67, 0 %69 = icmp eq i1 %68, false store i64 0, i64* %rax.0.reg2mem br i1 %69, label LBL_1, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %14, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 } uselistorder i64* %5, { 2, 0, 1 } uselistorder i64 %3, { 1, 0, 2, 3, 4 } uselistorder i64* %rdi.1.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i1 false, { 2, 0, 1 } uselistorder i64 16, { 1, 2, 0 } uselistorder i64 24, { 1, 2, 0 } uselistorder label LBL_7, { 0, 2, 1 } }
0
BinRealVul
thread_map__new_by_uid_18259
thread_map__new_by_uid
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge6.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem53 = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.1.ph17.reg2mem = alloca i32 %.reg2mem51 = alloca %dirent* %.lcssa10.reg2mem = alloca i64 %.reg2mem49 = alloca i64 %indvars.iv30.reg2mem = alloca i64 %indvars.iv26.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i8 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca %dirent* %1 = load i32, i32* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i8*, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 store i64 0, i64* %sv_6, align 8 %2 = call i64 @FUNC(i64 32) store i64 %2, i64* %sv_5, align 8 %3 = icmp eq i64 %2, 0 store i64 0, i64* %storemerge6.reg2mem br i1 %3, label LBL_28, label LBL_1 LBL_1: %4 = call %__dirstream* @opendir(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %5 = icmp eq %__dirstream* %4, null br i1 %5, label LBL_24, label LBL_2 LBL_2: %6 = inttoptr i64 %2 to i32* store i32 0, i32* %6, align 4 %7 = load i64, i64* %sv_5, align 8 %8 = add i64 %7, 4 %9 = call i64 @FUNC(i64 %8, i64 1) %10 = call %dirent* @readdir(%__dirstream* nonnull %4) %11 = icmp eq %dirent* %10, null %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_23 LBL_3: %13 = bitcast i64* %sv_3 to i8* %14 = bitcast i64* %sv_2 to %stat* %15 = trunc i64 %arg1 to i32 %16 = icmp eq i32 %1, %15 %17 = bitcast i64* %sv_6 to %dirent*** store %dirent* %10, %dirent** %.reg2mem51 store i32 32, i32* %sv_0.1.ph17.reg2mem br label LBL_4.lr.ph LBL_4: %.reload = load %dirent*, %dirent** %.reg2mem %18 = ptrtoint %dirent* %.reload to i64 %19 = add i64 %18, 19 %20 = inttoptr i64 %19 to i8* %21 = call i32 @strtol(i8* %20, i8** nonnull %sv_4, i32 10) %22 = load i8*, i8** %sv_4, align 8 %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_5, label LBL_6 LBL_5: %26 = call %dirent* @readdir(%__dirstream* nonnull %4) %27 = icmp eq %dirent* %26, null %28 = icmp eq i1 %27, false store %dirent* %26, %dirent** %.reg2mem br i1 %28, label LBL_4, label LBL_23 LBL_6: %29 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %13, i32 256, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i8* %20) %30 = call i32 @stat(i8* nonnull %13, %stat* nonnull %14) %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %16, %31 br i1 %32, label LBL_7, label LBL_5 LBL_7: %33 = zext i32 %21 to i64 %34 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %13, i32 256, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 %33) %35 = call i32 @scandir(i8* nonnull %13, %dirent*** nonnull %17, i32 (%dirent*)* inttoptr (i64 4199154 to i32 (%dirent*)*), i32 (%dirent**, %dirent**)* null) %36 = icmp slt i32 %35, 1 br i1 %36, label LBL_27, label LBL_8 LBL_8: %37 = load i64, i64* %sv_5, align 8 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = add i32 %39, %35 %41 = zext i32 %40 to i64 store i32 %sv_0.1.ph17.reload, i32* %sv_0.0.reg2mem store i8 0, i8* %sv_1.0.reg2mem br label LBL_9 LBL_9: %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %42 = sext i32 %sv_0.0.reload to i64 %43 = icmp sgt i64 %42, %41 %44 = mul i32 %sv_0.0.reload, 2 store i32 %44, i32* %sv_0.0.reg2mem store i8 1, i8* %sv_1.0.reg2mem br i1 %43, label LBL_10, label LBL_9 LBL_10: %45 = icmp eq i8 %sv_1.0.reload, 0 br i1 %45, label LBL_15, label LBL_11 LBL_11: %46 = zext i32 %sv_0.0.reload to i64 %47 = call i64 @FUNC(i64 %37, i64 %46) %48 = icmp eq i64 %47, 0 br i1 %48, label LBL_12, label LBL_14 LBL_12: %49 = icmp sgt i32 %35, 0 %50 = load i64, i64* %sv_6, align 8 store i64 %50, i64* %.lcssa.reg2mem br i1 %49, label LBL_13, label LBL_26 LBL_13: %wide.trip.count = zext i32 %35 to i64 store i64 0, i64* %indvars.iv.reg2mem store i64 %50, i64* %.reg2mem53 br label LBL_25 LBL_14: store i64 %47, i64* %sv_5, align 8 br label LBL_15 LBL_15: %51 = icmp sgt i32 %35, 0 br i1 %51, label LBL_16, label LBL_17 LBL_16: %wide.trip.count28 = zext i32 %35 to i64 store i64 0, i64* %indvars.iv26.reg2mem br label LBL_18 LBL_17: %52 = load i64, i64* %sv_6, align 8 store i64 %52, i64* %.lcssa10.reg2mem br label LBL_21 LBL_18: %indvars.iv26.reload = load i64, i64* %indvars.iv26.reg2mem %53 = load i64, i64* %sv_6, align 8 %54 = mul i64 %indvars.iv26.reload, 8 %55 = add i64 %53, %54 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = add i64 %57, 19 %59 = inttoptr i64 %58 to i8* %60 = call i32 @atoi(i8* %59) %61 = zext i32 %60 to i64 %62 = load i64, i64* %sv_5, align 8 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = trunc i64 %indvars.iv26.reload to i32 %66 = add i32 %64, %65 %67 = zext i32 %66 to i64 %68 = call i64 @FUNC(i64 %62, i64 %67, i64 %61) %indvars.iv.next27 = add nuw nsw i64 %indvars.iv26.reload, 1 %exitcond29 = icmp eq i64 %indvars.iv.next27, %wide.trip.count28 store i64 %indvars.iv.next27, i64* %indvars.iv26.reg2mem br i1 %exitcond29, label LBL_19, label LBL_18 LBL_19: %69 = load i64, i64* %sv_6, align 8 store i64 0, i64* %indvars.iv30.reg2mem store i64 %69, i64* %.reg2mem49 br label LBL_20 LBL_20: %.reload50 = load i64, i64* %.reg2mem49 %indvars.iv30.reload = load i64, i64* %indvars.iv30.reg2mem %70 = mul i64 %indvars.iv30.reload, 8 %71 = add i64 %70, %.reload50 %72 = call i64 @FUNC(i64 %71) %indvars.iv.next31 = add nuw nsw i64 %indvars.iv30.reload, 1 %73 = load i64, i64* %sv_6, align 8 %exitcond33 = icmp eq i64 %indvars.iv.next31, %wide.trip.count28 store i64 %indvars.iv.next31, i64* %indvars.iv30.reg2mem store i64 %73, i64* %.reg2mem49 store i64 %73, i64* %.lcssa10.reg2mem br i1 %exitcond33, label LBL_21, label LBL_20 LBL_21: %.lcssa10.reload = load i64, i64* %.lcssa10.reg2mem %74 = inttoptr i64 %.lcssa10.reload to i64* call void @free(i64* %74) %75 = load i64, i64* %sv_5, align 8 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = add i32 %77, %35 store i32 %78, i32* %76, align 4 %79 = call %dirent* @readdir(%__dirstream* nonnull %4) %80 = icmp eq %dirent* %79, null %81 = icmp eq i1 %80, false store %dirent* %79, %dirent** %.reg2mem51 store i32 %sv_0.0.reload, i32* %sv_0.1.ph17.reg2mem br i1 %81, label LBL_4.lr.ph, label LBL_23 LBL_22: %sv_0.1.ph17.reload = load i32, i32* %sv_0.1.ph17.reg2mem %.reload52 = load %dirent*, %dirent** %.reg2mem51 store %dirent* %.reload52, %dirent** %.reg2mem br label LBL_4 LBL_23: %82 = call i32 @closedir(%__dirstream* nonnull %4) %.pre = load i64, i64* %sv_5, align 8 store i64 %.pre, i64* %storemerge6.reg2mem br label LBL_28 LBL_24: %83 = inttoptr i64 %2 to i64* call void @free(i64* %83) store i64 0, i64* %storemerge6.reg2mem br label LBL_28 LBL_25: %.reload54 = load i64, i64* %.reg2mem53 %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %84 = mul i64 %indvars.iv.reload, 8 %85 = add i64 %84, %.reload54 %86 = call i64 @FUNC(i64 %85) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %87 = load i64, i64* %sv_6, align 8 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %87, i64* %.reg2mem53 store i64 %87, i64* %.lcssa.reg2mem br i1 %exitcond, label LBL_26, label LBL_25 LBL_26: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %88 = inttoptr i64 %.lcssa.reload to i64* call void @free(i64* %88) br label LBL_27 LBL_27: %89 = ptrtoint i64* %sv_5 to i64 %90 = call i64 @FUNC(i64 %89) br label LBL_23 LBL_28: %storemerge6.reload = load i64, i64* %storemerge6.reg2mem ret i64 %storemerge6.reload uselistorder i64 %50, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 0, 2, 3, 1 } uselistorder i32 %35, { 2, 4, 5, 1, 0, 3, 6 } uselistorder i8* %13, { 1, 0, 2, 3 } uselistorder %__dirstream* %4, { 2, 1, 3, 0, 4 } uselistorder i64* %sv_6, { 4, 5, 1, 6, 0, 2, 3, 7 } uselistorder i64* %sv_5, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder %dirent** %.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i8* %sv_1.0.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv26.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv30.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem49, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem53, { 2, 0, 1 } uselistorder i64* %storemerge6.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @zfree, { 2, 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 } uselistorder i8 0, { 1, 0, 2 } uselistorder i1 false, { 1, 3, 2, 0 } uselistorder %dirent* null, { 1, 2, 0 } uselistorder %dirent* (%__dirstream*)* @readdir, { 1, 2, 0 } uselistorder i64 1, { 2, 0, 1, 3 } uselistorder i32 0, { 1, 0, 3, 4, 2, 5 } uselistorder i32 1, { 16, 21, 20, 17, 19, 18, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 15 } uselistorder label LBL_28, { 2, 0, 1 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_25, { 1, 0 } uselistorder label LBL_23, { 3, 0, 1, 2 } uselistorder label LBL_4.lr.ph, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_18, { 1, 0 } }
1
BinRealVul
usb_braille_init_302
usb_braille_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0)) %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 %0) store i64 %4, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
transactRtspMessage_13101
transactRtspMessage
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = and i64 %arg1, 4294967295 %2 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %3 = icmp slt i32 %2, 5 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %1, i64 %0) store i64 %4, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %5 = call i64 @FUNC(i64 %1, i64 %0) store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
aux_init_bus_3486
aux_init_bus
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = ptrtoint i8* %arg2 to i64 %2 = call i64 @FUNC(i64 1, i64 %0, i64 %1) %3 = call i64 @FUNC(i64 %2, i64 2) %4 = inttoptr i64 %2 to i64* store i64 %3, i64* %4, align 8 %5 = call i64 @FUNC(i64 1) %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 %8 = call i64 @FUNC(i64 %5, i64 %2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 1048576) %9 = load i64, i64* %7, align 8 %10 = add i64 %2, 16 %11 = call i64 @FUNC(i64 %10, i64 %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) ret i64 %2 }
0
BinRealVul
get_linux_shareopts_5218
get_linux_shareopts
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg2, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 14, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = ptrtoint i64* %arg2 to i64 store i64 0, i64* %arg2, align 8 %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i64 0) %4 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0), i64 0) %5 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0), i64 0) %6 = call i64 @FUNC(i64 %arg1, i64 4198958, i64 %2) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_4, label LBL_3 LBL_3: call void @free(i64* inttoptr (i64 4198958 to i64*)) store i64 0, i64* %arg2, align 8 br label LBL_4 LBL_4: %9 = and i64 %6, 4294967295 ret i64 %9 uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64)* @add_linux_shareopt, { 2, 1, 0 } uselistorder i64* %arg2, { 0, 1, 3, 2 } }
0
BinRealVul
gf_vvc_read_vps_bs_internal_7864
gf_vvc_read_vps_bs_internal
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv25.reg2mem = alloca i64 %indvars.iv29.reg2mem = alloca i64 %.reg2mem44 = alloca i32 %.reg2mem42 = alloca i32 %indvars.iv27.reg2mem = alloca i64 %.reg2mem40 = alloca i32 %indvars.iv31.reg2mem = alloca i64 %indvars.iv33.reg2mem = alloca i64 %sv_0.013.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_0.015.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %2 = trunc i64 %1 to i32 %3 = icmp ult i32 %2, 16 store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_47 LBL_1: %4 = icmp eq i32 %2, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 1, i64 2, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_47 LBL_3: %7 = ptrtoint i64* %arg2 to i64 %sext11 = mul i64 %1, 4294967296 %8 = ashr exact i64 %sext11, 32 %9 = mul nsw i64 %8, 160 %10 = add i64 %9, %7 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = add i64 %10, 4 %16 = inttoptr i64 %15 to i32* store i32 %2, i32* %16, align 4 store i32 1, i32* %11, align 4 br label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %0, i64 6, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) %18 = trunc i64 %17 to i32 %19 = add i32 %18, 1 %20 = add i64 %10, 8 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = icmp ult i32 %19, 17 br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 1, i64 2, i8* inttoptr (i64 16 to i8*)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_47 LBL_7: %24 = call i64 @FUNC(i64 %0, i64 3, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0)) %25 = trunc i64 %24 to i32 %26 = add i32 %25, 1 %27 = add i64 %10, 12 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = load i32, i32* %21, align 4 %30 = icmp ult i32 %29, 2 store i32 %29, i32* %.reg2mem store i32 0, i32* %sv_0.013.reg2mem br i1 %30, label LBL_11, label LBL_8 LBL_8: %31 = icmp ult i32 %26, 2 store i32 0, i32* %sv_0.015.reg2mem br i1 %31, label LBL_10, label LBL_9 LBL_9: %32 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0)) %33 = trunc i64 %32 to i32 %.pr = load i32, i32* %21, align 4 %34 = icmp ult i32 %.pr, 2 store i32 %33, i32* %sv_0.015.reg2mem store i32 %.pr, i32* %.reg2mem store i32 %33, i32* %sv_0.013.reg2mem br i1 %34, label LBL_11, label LBL_10 LBL_10: %sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem %35 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_5, i64 0, i64 0)) %36 = trunc i64 %35 to i32 %37 = add i64 %10, 20 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %.pre = load i32, i32* %21, align 4 store i32 %.pre, i32* %.reg2mem store i32 %sv_0.015.reload, i32* %sv_0.013.reg2mem br label LBL_11 LBL_11: %sv_0.013.reload = load i32, i32* %sv_0.013.reg2mem %.reload = load i32, i32* %.reg2mem %39 = icmp eq i32 %.reload, 0 br i1 %39, label LBL_23, label LBL_12 LBL_12: %40 = add i64 %10, 16 %41 = inttoptr i64 %40 to i32* %42 = add i64 %10, 20 %43 = inttoptr i64 %42 to i32* store i64 0, i64* %indvars.iv33.reg2mem br label LBL_13 LBL_13: %indvars.iv33.reload = load i64, i64* %indvars.iv33.reg2mem %44 = call i64 @FUNC(i64 %0, i64 6, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_6, i64 0, i64 0), i64 %indvars.iv33.reload) %45 = trunc i64 %44 to i32 %46 = load i32, i32* %41, align 4 %47 = icmp ult i32 %46, %45 br i1 %47, label LBL_14, label LBL_15 LBL_14: store i32 %45, i32* %41, align 4 br label LBL_15 LBL_15: %48 = icmp eq i64 %indvars.iv33.reload, 0 br i1 %48, label LBL_22, label LBL_16 LBL_16: %49 = load i32, i32* %43, align 4 %50 = icmp eq i32 %49, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_22, label LBL_17 LBL_17: %52 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_7, i64 0, i64 0), i64 %indvars.iv33.reload) %53 = trunc i64 %52 to i32 %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_22, label LBL_18 LBL_18: %56 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_8, i64 0, i64 0), i64 %indvars.iv33.reload) %57 = trunc i64 %56 to i32 %58 = icmp eq i32 %57, 0 store i64 0, i64* %indvars.iv31.reg2mem br label LBL_19 LBL_19: %indvars.iv31.reload = load i64, i64* %indvars.iv31.reg2mem %59 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_9, i64 0, i64 0), i64 %indvars.iv33.reload, i64 %indvars.iv31.reload) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %60, 0 %or.cond10 = or i1 %58, %61 br i1 %or.cond10, label LBL_21, label LBL_20 LBL_20: %62 = call i64 @FUNC(i64 %0, i64 3, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_10, i64 0, i64 0), i64 %indvars.iv33.reload, i64 %indvars.iv31.reload) br label LBL_21 LBL_21: %indvars.iv.next32 = add nuw nsw i64 %indvars.iv31.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next32, %indvars.iv33.reload store i64 %indvars.iv.next32, i64* %indvars.iv31.reg2mem br i1 %exitcond, label LBL_22, label LBL_19 LBL_22: %indvars.iv.next34 = add nuw nsw i64 %indvars.iv33.reload, 1 %63 = load i32, i32* %21, align 4 %64 = zext i32 %63 to i64 %65 = icmp ult i64 %indvars.iv.next34, %64 store i64 %indvars.iv.next34, i64* %indvars.iv33.reg2mem br i1 %65, label LBL_13, label LBL_23 LBL_23: %66 = add i64 %10, 156 %67 = inttoptr i64 %66 to i32* store i32 1, i32* %67, align 4 %68 = load i32, i32* %21, align 4 %69 = icmp ult i32 %68, 2 br i1 %69, label LBL_36, label LBL_24 LBL_24: %70 = add i64 %10, 20 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label LBL_24.LBL_27_crit_edge, label LBL_26 LBL_25: %.pre36 = add i64 %10, 24 %.pre37 = inttoptr i64 %.pre36 to i32* %.pre39 = load i32, i32* %.pre37, align 4 store i32 %.pre39, i32* %.reg2mem40 br label LBL_27 LBL_26: %74 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_11, i64 0, i64 0)) %75 = trunc i64 %74 to i32 %76 = add i64 %10, 24 %77 = inttoptr i64 %76 to i32* store i32 %75, i32* %77, align 4 store i32 %75, i32* %.reg2mem40 br label LBL_27 LBL_27: %.reload41 = load i32, i32* %.reg2mem40 %78 = icmp eq i32 %.reload41, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_35, label LBL_28 LBL_28: %80 = load i32, i32* %71, align 4 %81 = icmp eq i32 %80, 0 %82 = icmp eq i1 %81, false br i1 %82, label LBL_30, label LBL_29 LBL_29: %83 = call i64 @FUNC(i64 %0, i64 2, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_12, i64 0, i64 0)) %84 = trunc i64 %83 to i32 %phitmp = icmp eq i32 %84, 2 %phitmp12 = icmp eq i1 %phitmp, false br i1 %phitmp12, label LBL_35, label LBL_30 LBL_30: %85 = call i64 @FUNC(i64 %0, i64 8, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_13, i64 0, i64 0)) %86 = trunc i64 %85 to i32 %87 = mul i32 %86, 16777216 %sext = add i32 %87, 33554432 %88 = icmp eq i32 %sext, 0 br i1 %88, label LBL_35, label LBL_31 LBL_31: %89 = udiv i32 %sext, 16777216 %90 = zext i32 %89 to i64 %.pre35 = load i32, i32* %21, align 4 store i32 %.pre35, i32* %.reg2mem44 store i64 0, i64* %indvars.iv29.reg2mem br label LBL_34 LBL_32: %indvars.iv27.reload = load i64, i64* %indvars.iv27.reg2mem %91 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_14, i64 0, i64 0), i64 %indvars.iv29.reload, i64 %indvars.iv27.reload) %indvars.iv.next28 = add nuw nsw i64 %indvars.iv27.reload, 1 %92 = load i32, i32* %21, align 4 %93 = zext i32 %92 to i64 %94 = icmp ult i64 %indvars.iv.next28, %93 store i64 %indvars.iv.next28, i64* %indvars.iv27.reg2mem store i32 %92, i32* %.reg2mem42 br i1 %94, label LBL_32, label LBL_33 LBL_33: %.reload43 = load i32, i32* %.reg2mem42 %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29.reload, 1 %95 = icmp ult i64 %indvars.iv.next30, %90 store i32 %.reload43, i32* %.reg2mem44 store i64 %indvars.iv.next30, i64* %indvars.iv29.reg2mem br i1 %95, label LBL_34, label LBL_35 LBL_34: %indvars.iv29.reload = load i64, i64* %indvars.iv29.reg2mem %.reload45 = load i32, i32* %.reg2mem44 %96 = icmp eq i32 %.reload45, 0 store i64 0, i64* %indvars.iv27.reg2mem store i32 0, i32* %.reg2mem42 br i1 %96, label LBL_33, label LBL_32 LBL_35: %97 = call i64 @FUNC(i64 %0, i64 8, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_15, i64 0, i64 0)) %98 = trunc i64 %97 to i32 %99 = add i32 %98, 1 store i32 %99, i32* %67, align 4 br label LBL_36 LBL_36: %100 = add i64 %10, 28 %101 = inttoptr i64 %100 to i32* store i32 1, i32* %101, align 4 %102 = load i32, i32* %67, align 4 %103 = icmp eq i32 %102, 0 br i1 %103, label LBL_44, label LBL_37 LBL_37: %104 = icmp eq i32 %sv_0.013.reload, 0 %105 = icmp eq i1 %104, false %106 = add i64 %10, 32 store i64 0, i64* %indvars.iv25.reg2mem br label LBL_38 LBL_38: %indvars.iv25.reload = load i64, i64* %indvars.iv25.reg2mem %107 = icmp eq i64 %indvars.iv25.reload, 0 br i1 %107, label LBL_40, label LBL_39 LBL_39: %108 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_16, i64 0, i64 0), i64 %indvars.iv25.reload) %109 = trunc i64 %108 to i32 %110 = mul i64 %indvars.iv25.reload, 8 %111 = add i64 %110, %100 %112 = inttoptr i64 %111 to i32* store i32 %109, i32* %112, align 4 br label LBL_40 LBL_40: br i1 %105, label LBL_42, label LBL_41 LBL_41: %113 = call i64 @FUNC(i64 %0, i64 3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_17, i64 0, i64 0), i64 %indvars.iv25.reload) %114 = trunc i64 %113 to i32 %115 = mul i64 %indvars.iv25.reload, 8 %116 = add i64 %115, %106 %117 = inttoptr i64 %116 to i32* store i32 %114, i32* %117, align 4 br label LBL_43 LBL_42: %118 = load i32, i32* %28, align 4 %119 = add i32 %118, -1 %120 = mul i64 %indvars.iv25.reload, 8 %121 = add i64 %120, %106 %122 = inttoptr i64 %121 to i32* store i32 %119, i32* %122, align 4 br label LBL_43 LBL_43: %indvars.iv.next26 = add nuw nsw i64 %indvars.iv25.reload, 1 %123 = load i32, i32* %67, align 4 %124 = zext i32 %123 to i64 %125 = icmp ult i64 %indvars.iv.next26, %124 store i64 %indvars.iv.next26, i64* %indvars.iv25.reg2mem br i1 %125, label LBL_38, label LBL_44 LBL_44: %126 = call i64 @FUNC(i64 %0) %127 = load i32, i32* %67, align 4 %128 = icmp eq i32 %127, 0 store i64 0, i64* %indvars.iv.reg2mem br i1 %128, label LBL_46, label LBL_45 LBL_45: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %129 = mul i64 %indvars.iv.reload, 8 %130 = add i64 %129, %100 %131 = trunc i64 %indvars.iv.reload to i32 %132 = call i64 @FUNC(i64 %0, i64 %130, i32 %131) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %133 = load i32, i32* %67, align 4 %134 = zext i32 %133 to i64 %135 = icmp ult i64 %indvars.iv.next, %134 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %135, label LBL_45, label LBL_46 LBL_46: %136 = and i64 %1, 4294967295 store i64 %136, i64* %rax.0.reg2mem br label LBL_47 LBL_47: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv25.reload, { 0, 6, 5, 1, 4, 2, 3 } uselistorder i64 %indvars.iv29.reload, { 1, 0 } uselistorder i32* %67, { 3, 1, 4, 0, 2, 5 } uselistorder i64 %indvars.iv33.reload, { 0, 7, 2, 3, 4, 5, 1, 6 } uselistorder i32* %21, { 3, 0, 4, 5, 1, 2, 6, 7 } uselistorder i64 %10, { 1, 4, 5, 0, 6, 7, 2, 3, 8, 9, 10, 11, 12 } uselistorder i32 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 7, 8, 10, 9, 6, 4, 5, 3, 2, 11, 12, 13, 14, 15, 1, 0, 16, 17, 18 } uselistorder i32* %sv_0.015.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_0.013.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %indvars.iv33.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv31.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv27.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem42, { 2, 0, 1 } uselistorder i64* %indvars.iv25.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32 16777216, { 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64)* @gf_bs_read_int_log_idx2, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64)* @gf_bs_read_int_log_idx, { 4, 3, 2, 1, 0 } uselistorder i64 20, { 1, 0, 2 } uselistorder i64 16, { 1, 0 } uselistorder i64 (i64, i64, i8*)* @GF_LOG, { 1, 0 } uselistorder i64 1, { 5, 4, 6, 2, 3, 7, 8, 0, 1, 9, 10, 11, 12, 13, 14, 15 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i64 (i64, i64, i8*)* @gf_bs_read_int_log, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_47, { 1, 2, 3, 0 } uselistorder label LBL_45, { 1, 0 } uselistorder label LBL_38, { 1, 0 } uselistorder label LBL_34, { 1, 0 } uselistorder label LBL_33, { 1, 0 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
digest_generic_verify_5789
digest_generic_verify
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %sext = mul i64 %1, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %sv_0.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = call i64 @FUNC(i64 %8, i64 %3, i64 %2) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %. = select i1 %11, i64 0, i64 4294967274 store i64 %., i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %12 = inttoptr i64 %3 to i64* call void @free(i64* %12) %13 = and i64 %sv_0.0.reload, 4294967295 ret i64 %13 uselistorder i64 %3, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64)* @digest_length, { 1, 0 } }
0
BinRealVul
mxf_read_pixel_layout_1016
mxf_read_pixel_layout
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %2 = ptrtoint i64* %sv_1 to i64 store i64 0, i64* %sv_0, align 8 %3 = add i64 %2, -32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = call i64 @FUNC(i64 %1) %5 = call i64 @FUNC(i64 %1) %6 = and i64 %4, 4294967295 %7 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %6) %8 = icmp ugt i64 %indvars.iv.reload, 14 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = trunc i64 %4 to i32 %10 = or i64 %indvars.iv.reload, 1 %11 = trunc i64 %4 to i8 %12 = add i64 %indvars.iv.reload, %3 %13 = inttoptr i64 %12 to i8* store i8 %11, i8* %13, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 2 %14 = trunc i64 %5 to i8 %15 = add i64 %10, %3 %16 = inttoptr i64 %15 to i8* store i8 %14, i8* %16, align 1 %17 = icmp eq i32 %9, 0 %18 = icmp eq i1 %17, false store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %18, label LBL_1, label LBL_3 LBL_3: %19 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0) ret i64 %19 uselistorder i64 %4, { 0, 2, 1 } uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @avio_r8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
ftoa_bounded_extra_7291
ftoa_bounded_extra
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i128 %rax.0.reg2mem = alloca i64 %sv_0.4.reg2mem = alloca i64 %xmm2.0.reg2mem = alloca i128 %xmm1.0.reg2mem = alloca i128 %sv_1.1.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %sv_3.3.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_4.3.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_3.2.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %storemerge.reg2mem = alloca i128 %xmm0.2.reg2mem = alloca i128 %storemerge632.reg2mem = alloca i32 %.reg2mem = alloca i128 %cf.0.reg2mem = alloca i1 %sv_4.1.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_4.0.reg2mem = alloca i32 %1 = load i128, i128* %0 %2 = call i64 @FUNC(i128 %1) %3 = add i64 %arg2, -9 %4 = icmp ult i64 %arg2, 9 %5 = icmp eq i64 %3, 0 %6 = or i1 %4, %5 br i1 %6, label LBL_1, label LBL_2 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %7 = trunc i64 %2 to i32 %8 = trunc i64 %3 to i8 %9 = call i8 @llvm.ctpop.i8(i8 %8), !range !7 %10 = urem i8 %9, 2 %11 = icmp eq i8 %10, 0 %12 = call i128 @__asm_movss.1(i32 869711765) %13 = call i64 @FUNC(i128 %12) %14 = call i128 @__asm_movss.1(i32 %7) call void @FUNC(i128 %14, i32 %7) %15 = icmp eq i1 %11, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = inttoptr i64 %arg1 to i32* store i32 5136718, i32* %16, align 4 store i64 %arg1, i64* %rax.0.reg2mem br label LBL_30 LBL_4: %17 = call i128 @__asm_movss.1(i32 %7) %18 = call i128 @__asm_movss.1(i32 2147483647) %19 = call i128 @FUNC(i128 %18, i128 %17) %20 = call i128 @__asm_movss.1(i32 2139095039) call void @__asm_ucomiss.2(i128 %20, i128 %19) %21 = icmp eq i1 %4, false %22 = call i128 @FUNC(i128 %20, i128 %20) call void @FUNC(i128 %22, i32 %7) br i1 %21, label LBL_6, label LBL_5 LBL_5: %23 = inttoptr i64 %arg1 to i64* store i64 8751735898823355977, i64* %23, align 8 %24 = add i64 %arg1, 8 %25 = inttoptr i64 %24 to i8* store i8 0, i8* %25, align 1 store i64 %arg1, i64* %rax.0.reg2mem br label LBL_30 LBL_6: store i32 %7, i32* %sv_4.0.reg2mem store i64 %arg1, i64* %sv_0.0.reg2mem store i64 %arg2, i64* %sv_3.0.reg2mem br i1 %6, label LBL_8, label LBL_7 LBL_7: %26 = add i64 %arg2, -1 %27 = add i64 %arg1, 1 %28 = inttoptr i64 %arg1 to i8* store i8 45, i8* %28, align 1 %29 = call i128 @__asm_movss.1(i32 %7) %30 = call i128 @__asm_movss.1(i32 -2147483648) %31 = call i128 @FUNC(i128 %29, i128 %30) %32 = call i64 @FUNC(i128 %31) %33 = trunc i64 %32 to i32 store i32 %33, i32* %sv_4.0.reg2mem store i64 %27, i64* %sv_0.0.reg2mem store i64 %26, i64* %sv_3.0.reg2mem br label LBL_8 LBL_8: %34 = trunc i64 %13 to i32 %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %35 = call i128 @__asm_movss.1(i32 %sv_4.0.reload) %36 = call i128 @FUNC(i128 %35, i32 %34) %37 = call i32 @FUNC(i128 %36) %38 = call i128 @__asm_movss.1(i32 %sv_4.0.reload) %39 = call i32 @FUNC(i128 %38) %40 = add i32 %39, 1 %41 = icmp ult i32 %37, %40 %42 = icmp eq i32 %37, %40 %43 = icmp eq i1 %42, false store i32 %sv_4.0.reload, i32* %sv_4.1.reg2mem store i1 %41, i1* %cf.0.reg2mem br i1 %43, label LBL_10, label LBL_9 LBL_9: %44 = call i128 @__asm_movss.1(i32 %sv_4.0.reload) %45 = call i32 @FUNC(i128 %44) %46 = add i32 %45, 1 %47 = icmp eq i32 %45, -1 %48 = call i128 @FUNC(i128 %44, i128 %44) %49 = call i128 @FUNC(i32 %46) %50 = call i64 @FUNC(i128 %49) %51 = trunc i64 %50 to i32 store i32 %51, i32* %sv_4.1.reg2mem store i1 %47, i1* %cf.0.reg2mem br label LBL_10 LBL_10: %cf.0.reload = load i1, i1* %cf.0.reg2mem %sv_4.1.reload = load i32, i32* %sv_4.1.reg2mem %52 = call i128 @__asm_movss.1(i32 1065353216) %53 = call i64 @FUNC(i128 %52) %54 = trunc i64 %arg3 to i32 %55 = icmp eq i1 %cf.0.reload, false %storemerge631 = trunc i64 %53 to i32 %56 = call i128 @FUNC(i128 %52, i128 %52) %57 = call i128 @FUNC(i32 %54) %58 = call i128 @FUNC(i128 %57) %59 = call i128 @FUNC(i128 %58, i32 %storemerge631) %60 = call i128 @__asm_movss.1(i32 %sv_4.1.reload) call void @__asm_comiss.3(i128 %60, i128 %59) store i128 %60, i128* %.reg2mem store i32 %storemerge631, i32* %storemerge632.reg2mem br i1 %55, label LBL_11, label LBL_12 LBL_11: %storemerge632.reload = load i32, i32* %storemerge632.reg2mem %.reload = load i128, i128* %.reg2mem %61 = call i128 @FUNC(i128 %.reload, i128 %.reload) %62 = call i128 @FUNC(i32 %54) %63 = call i128 @__asm_movss.1(i32 %storemerge632.reload) %64 = call i128 @__asm_mulss.4(i128 %62, i128 %63) %65 = call i64 @FUNC(i128 %64) %storemerge6 = trunc i64 %65 to i32 %66 = call i128 @FUNC(i128 %64, i128 %64) %67 = call i128 @FUNC(i32 %54) %68 = call i128 @FUNC(i128 %67) %69 = call i128 @FUNC(i128 %68, i32 %storemerge6) %70 = call i128 @__asm_movss.1(i32 %sv_4.1.reload) call void @__asm_comiss.3(i128 %70, i128 %69) store i128 %70, i128* %.reg2mem store i32 %storemerge6, i32* %storemerge632.reg2mem br label LBL_11 LBL_12: %sext4 = mul i64 %arg4, 4294967296 %71 = ashr exact i64 %sext4, 32 %72 = call i128 @__asm_movss.1(i32 %storemerge631) %73 = call i128 @__asm_movss.1(i32 1065353216) call void @__asm_comiss.3(i128 %72, i128 %73) %74 = trunc i64 %71 to i32 %75 = icmp slt i32 %74, 0 %76 = icmp eq i1 %75, false br i1 %76, label LBL_14, label LBL_13 LBL_13: %77 = icmp eq i32 %74, 0 %78 = call i128 @__asm_movss.1(i32 %sv_4.1.reload) %79 = call i128 @FUNC(i128 %73, i128 %73) call void @__asm_comiss.3(i128 %78, i128 %79) store i128 %78, i128* %xmm0.2.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.4.reg2mem br i1 %77, label LBL_29, label LBL_15 LBL_14: %80 = icmp slt i32 %74, 1 store i128 %72, i128* %xmm0.2.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.4.reg2mem br i1 %80, label LBL_29, label LBL_15 LBL_15: %xmm0.2.reload = load i128, i128* %xmm0.2.reg2mem %81 = call i128 @FUNC(i128 %xmm0.2.reload, i128 %xmm0.2.reload) %82 = call i128 @FUNC(i32 %54) %83 = call i128 @__asm_movss.1(i32 %sv_4.1.reload) %84 = call i128 @__asm_mulss.4(i128 %82, i128 %83) %85 = call i64 @FUNC(i128 %84) %86 = add i32 %54, -1 store i64 %85, i64* %sv_4.3.in.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.3.reg2mem store i64 %sv_3.0.reload, i64* %sv_3.3.reg2mem store i64 %71, i64* %sv_2.0.reg2mem store i32 0, i32* %sv_1.1.reg2mem store i128 %83, i128* %xmm1.0.reg2mem br label LBL_26 LBL_16: %87 = call i128 @FUNC(i128 %xmm1.0.reload, i128 %xmm1.0.reload) %88 = call i128 @FUNC(i32 %sv_4.3) %89 = icmp eq i32 %125, 1 %90 = icmp eq i1 %89, false br i1 %90, label LBL_18, label LBL_17 LBL_17: %91 = call i128 @FUNC(i64 4600877379321698714) store i128 %91, i128* %storemerge.reg2mem br label LBL_19 LBL_18: %92 = call i128 @FUNC(i64 4487126258331716666) store i128 %92, i128* %storemerge.reg2mem br label LBL_19 LBL_19: %storemerge.reload = load i128, i128* %storemerge.reg2mem %93 = call i128 @FUNC(i128 %storemerge.reload, i128 %88) %94 = call i32 @FUNC(i128 %93) %95 = call i128 @FUNC(i128 %xmm2.0.reload, i128 %xmm2.0.reload) %96 = call i128 @FUNC(i32 %94) %97 = call i128 @__asm_movss.1(i32 %sv_4.3) %98 = call i128 @FUNC(i128 %97) %99 = call i128 @FUNC(i128 %98, i128 %96) %100 = call i128 @FUNC(i128 %97, i128 %97) %101 = call i128 @FUNC(i32 %54) %102 = call i128 @__asm_mulss.4(i128 %101, i128 %99) %103 = call i64 @FUNC(i128 %102) %104 = trunc i32 %sv_1.1.reload to i8 %105 = icmp eq i8 %104, 1 store i64 %sv_0.3.reload, i64* %sv_0.2.reg2mem store i64 %sv_3.3.reload, i64* %sv_3.2.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem br i1 %105, label LBL_23, label LBL_20 LBL_20: %106 = add i64 %sv_3.3.reload, -1 %107 = icmp eq i64 %106, 0 %108 = icmp eq i1 %107, false br i1 %108, label LBL_22, label LBL_21 LBL_21: %109 = inttoptr i64 %sv_0.3.reload to i8* store i8 0, i8* %109, align 1 store i64 %sv_0.3.reload, i64* %rax.0.reg2mem br label LBL_30 LBL_22: %110 = add i64 %sv_0.3.reload, 1 %111 = inttoptr i64 %sv_0.3.reload to i8* store i8 46, i8* %111, align 1 store i64 %110, i64* %sv_0.2.reg2mem store i64 %106, i64* %sv_3.2.reg2mem store i32 1, i32* %sv_1.0.reg2mem br label LBL_23 LBL_23: %sv_3.2.reload = load i64, i64* %sv_3.2.reg2mem %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %112 = add i64 %sv_3.2.reload, -1 %113 = icmp eq i64 %112, 0 %114 = icmp eq i1 %113, false br i1 %114, label LBL_25, label LBL_24 LBL_24: %115 = inttoptr i64 %sv_0.2.reload to i8* store i8 0, i8* %115, align 1 store i64 %sv_0.2.reload, i64* %rax.0.reg2mem br label LBL_30 LBL_25: %116 = icmp eq i32 %94, %54 %117 = icmp eq i1 %116, false %spec.select = select i1 %117, i32 %94, i32 %86 %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %118 = add i64 %sv_0.2.reload, 1 %119 = zext i32 %spec.select to i64 %120 = call i64 @FUNC(i64 %119) %121 = trunc i64 %120 to i8 %122 = inttoptr i64 %sv_0.2.reload to i8* store i8 %121, i8* %122, align 1 %123 = mul i64 %sv_2.0.reload, 4294967296 %sext5 = add i64 %123, -4294967296 %124 = ashr exact i64 %sext5, 32 store i64 %103, i64* %sv_4.3.in.reg2mem store i64 %118, i64* %sv_0.3.reg2mem store i64 %112, i64* %sv_3.3.reg2mem store i64 %124, i64* %sv_2.0.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i128 %99, i128* %xmm1.0.reg2mem store i128 %96, i128* %xmm2.0.reg2mem br label LBL_26 LBL_26: %xmm2.0.reload = load i128, i128* %xmm2.0.reg2mem %xmm1.0.reload = load i128, i128* %xmm1.0.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_3.3.reload = load i64, i64* %sv_3.3.reg2mem %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %sv_4.3.in.reload = load i64, i64* %sv_4.3.in.reg2mem %sv_4.3 = trunc i64 %sv_4.3.in.reload to i32 %125 = trunc i64 %sv_2.0.reload to i32 %126 = icmp slt i32 %125, 0 %127 = icmp eq i1 %126, false %128 = icmp slt i32 %125, -11 %or.cond = or i1 %128, %127 br i1 %or.cond, label LBL_28, label LBL_27 LBL_27: %129 = call i128 @__asm_movss.1(i32 %sv_4.3) call void @FUNC(i128 %129, i32 %34) %130 = icmp ult i32 %125, -10 br i1 %130, label LBL_28, label LBL_16 LBL_28: %131 = icmp eq i32 %125, 0 %132 = icmp eq i1 %131, false %133 = icmp eq i1 %127, %132 store i64 %sv_0.3.reload, i64* %sv_0.4.reg2mem br i1 %133, label LBL_16, label LBL_29 LBL_29: %sv_0.4.reload = load i64, i64* %sv_0.4.reg2mem %134 = inttoptr i64 %sv_0.4.reload to i8* store i8 0, i8* %134, align 1 store i64 %sv_0.4.reload, i64* %rax.0.reg2mem br label LBL_30 LBL_30: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %127, { 1, 0 } uselistorder i32 %125, { 1, 3, 2, 4, 0 } uselistorder i32 %sv_4.3, { 2, 0, 1 } uselistorder i64 %sv_0.3.reload, { 1, 5, 4, 0, 2, 3 } uselistorder i64 %sv_3.3.reload, { 1, 0 } uselistorder i128 %xmm1.0.reload, { 1, 0 } uselistorder i128 %xmm2.0.reload, { 1, 0 } uselistorder i64 %sv_0.2.reload, { 2, 1, 0, 3 } uselistorder i128 %97, { 2, 1, 0 } uselistorder i128 %73, { 1, 0, 2 } uselistorder i128 %.reload, { 1, 0 } uselistorder i32 %storemerge631, { 1, 0, 2 } uselistorder i32 %54, { 4, 2, 3, 1, 6, 5, 0 } uselistorder i32 %sv_4.1.reload, { 2, 1, 0, 3 } uselistorder i128 %44, { 2, 1, 0 } uselistorder i32 %sv_4.0.reload, { 3, 0, 2, 1 } uselistorder i64 %sv_0.0.reload, { 2, 1, 0 } uselistorder i128 %20, { 1, 0, 2 } uselistorder i32 %7, { 1, 0, 2, 3, 4, 5 } uselistorder i64 %3, { 1, 0 } uselistorder i128* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge632.reg2mem, { 2, 0, 1 } uselistorder i128* %xmm0.2.reg2mem, { 0, 2, 1 } uselistorder i128* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.4.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32 0, { 1, 2, 0, 4, 3 } uselistorder void (i128, i128)* @__asm_comiss.3, { 2, 1, 3, 0 } uselistorder i128 (i128, i32)* @__asm_mulss, { 1, 0 } uselistorder i128 (i128)* @__asm_movaps, { 1, 2, 0 } uselistorder i128 (i32)* @__asm_cvtsi2ss, { 1, 2, 3, 5, 4, 0, 6 } uselistorder i128 (i128, i128)* @__asm_pxor, { 1, 2, 3, 4, 5, 7, 6, 0, 8, 9 } uselistorder i1 false, { 4, 5, 2, 0, 1, 3, 6, 7, 8, 9, 10 } uselistorder i128 (i32)* @__asm_movss.1, { 4, 3, 5, 6, 1, 2, 8, 7, 0, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 } uselistorder i8 0, { 2, 0, 1, 3, 4 } uselistorder i64 %arg2, { 1, 0, 3, 2 } uselistorder i64 %arg1, { 6, 7, 2, 1, 4, 5, 0, 3 } uselistorder label LBL_30, { 2, 0, 1, 3, 4 } uselistorder label LBL_29, { 0, 2, 1 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
bson_iterator_next_11012
bson_iterator_next
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i8 %sv_0.0.reg2mem = alloca i64 %.reg2mem1 = alloca i64 %.reg2mem = alloca i8 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* %rdi, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %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: store i32 0, i32* %2, align 4 %5 = bitcast i64* %rdi to i8* %6 = load i8, i8* %5, align 8 store i8 %6, i8* %rax.0.shrunk.reg2mem br label LBL_14 LBL_2: store i64 %0, i64* %rdi, align 8 %7 = call i64 @FUNC(i64 %0) %8 = and i64 %7, 4294967295 store i64 %8, i64* @0, align 8 %trunc = trunc i64 %7 to i32 %9 = trunc i64 %0 to i8 store i8 %9, i8* %.reg2mem store i8 %9, i8* %.reg2mem store i64 %0, i64* %.reg2mem1 store i64 %0, i64* %.reg2mem1 store i64 0, i64* %sv_0.0.reg2mem store i64 0, i64* %sv_0.0.reg2mem store i8 0, i8* %rax.0.shrunk.reg2mem switch i32 %trunc, label LBL_12 [ i32 0, label LBL_14 i32 1, label LBL_13 i32 2, label LBL_13 i32 3, label LBL_3 i32 4, label LBL_4 i32 5, label LBL_5 i32 6, label LBL_5 i32 7, label LBL_5 i32 8, label LBL_5 i32 9, label LBL_6 i32 10, label LBL_7 i32 11, label LBL_7 i32 12, label LBL_7 i32 13, label LBL_8 i32 14, label LBL_9 i32 15, label LBL_9 i32 16, label LBL_9 i32 17, label LBL_10 i32 18, label LBL_11 ] LBL_3: store i8 %9, i8* %.reg2mem store i64 %0, i64* %.reg2mem1 store i64 1, i64* %sv_0.0.reg2mem br label LBL_13 LBL_4: store i8 %9, i8* %.reg2mem store i64 %0, i64* %.reg2mem1 store i64 4, i64* %sv_0.0.reg2mem br label LBL_13 LBL_5: store i8 %9, i8* %.reg2mem store i64 %0, i64* %.reg2mem1 store i64 8, i64* %sv_0.0.reg2mem br label LBL_13 LBL_6: store i8 %9, i8* %.reg2mem store i64 %0, i64* %.reg2mem1 store i64 12, i64* %sv_0.0.reg2mem br label LBL_13 LBL_7: store i64 %0, i64* %rdi, align 8 %10 = call i64 @FUNC(i64 %0) %11 = add i64 %10, 4 store i8 %9, i8* %.reg2mem store i64 %0, i64* %.reg2mem1 store i64 %11, i64* %sv_0.0.reg2mem br label LBL_13 LBL_8: store i64 %0, i64* %rdi, align 8 %12 = call i64 @FUNC(i64 %0) %13 = add i64 %12, 5 store i8 %9, i8* %.reg2mem store i64 %0, i64* %.reg2mem1 store i64 %13, i64* %sv_0.0.reg2mem br label LBL_13 LBL_9: store i64 %0, i64* %rdi, align 8 %14 = call i64 @FUNC(i64 %0) store i8 %9, i8* %.reg2mem store i64 %0, i64* %.reg2mem1 store i64 %14, i64* %sv_0.0.reg2mem br label LBL_13 LBL_10: store i64 %0, i64* %rdi, align 8 %15 = call i64 @FUNC(i64 %0) %16 = add i64 %15, 16 store i8 %9, i8* %.reg2mem store i64 %0, i64* %.reg2mem1 store i64 %16, i64* %sv_0.0.reg2mem br label LBL_13 LBL_11: %17 = call i64 @FUNC(i64 %0) %18 = inttoptr i64 %17 to i8* %19 = call i32 @strlen(i8* %18) %20 = sext i32 %19 to i64 %21 = add i64 %17, 1 %22 = add i64 %21, %20 store i64 %22, i64* %rdi, align 8 %23 = inttoptr i64 %22 to i8* %24 = call i32 @strlen(i8* %23) %25 = zext i32 %24 to i64 %26 = add nsw i64 %20, 2 %27 = add nsw i64 %26, %25 %28 = trunc i64 %22 to i8 store i8 %28, i8* %.reg2mem store i64 %22, i64* %.reg2mem1 store i64 %27, i64* %sv_0.0.reg2mem br label LBL_13 LBL_12: store i64 2336936577129475701, i64* %sv_2, align 8 %29 = urem i64 %0, 256 %30 = call i64 @FUNC(i64* nonnull %sv_1, i64 %29) %31 = call i64 @FUNC(i64 0, i64* nonnull %sv_2) unreachable LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.reload2 = load i64, i64* %.reg2mem1 %.reload = load i8, i8* %.reg2mem %32 = add i64 %.reload2, 1 %33 = inttoptr i64 %32 to i8* %34 = call i32 @strlen(i8* %33) %35 = sext i32 %34 to i64 %sext = mul i64 %sv_0.0.reload, 4294967296 %36 = ashr exact i64 %sext, 32 %37 = add i64 %.reload2, 2 %38 = add i64 %37, %36 %39 = add i64 %38, %35 store i64 %39, i64* %arg1, align 8 store i8 %.reload, i8* %rax.0.shrunk.reg2mem br label LBL_14 LBL_14: %rax.0.shrunk.reload = load i8, i8* %rax.0.shrunk.reg2mem %rax.0 = zext i8 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i8 %9, { 9, 8, 7, 6, 5, 4, 3, 2, 0, 1 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %0, { 10, 20, 9, 19, 18, 8, 17, 16, 7, 15, 14, 6, 13, 12, 5, 4, 3, 2, 0, 1, 11, 22, 21, 23, 24 } uselistorder i64* %rdi, { 5, 4, 3, 2, 1, 0, 6, 7 } uselistorder i8* %.reg2mem, { 0, 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 2 } uselistorder i64* %.reg2mem1, { 0, 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 2 } uselistorder i8* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 } uselistorder i64 2, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 0, 2, 1 } uselistorder i64 (i64)* @bson_iterator_int_raw, { 3, 2, 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_14, { 1, 0, 2 } uselistorder label LBL_13, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 0 } }
1
BinRealVul
yc_poly_emulator_6906
yc_poly_emulator
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge4.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %.reg2mem = alloca i8 %sv_1.111.reg2mem = alloca i32 %storemerge512.reg2mem = alloca i32 %sv_2.0.in15.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = icmp ne i32 %arg3, 0 %1 = icmp ne i32 %arg4, 0 %or.cond14 = icmp eq i1 %0, %1 store i64 0, i64* %storemerge4.reg2mem br i1 %or.cond14, label LBL_1, label LBL_27 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sext = mul i32 %arg3, 16777216 %4 = zext i32 %arg4 to i64 %5 = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv.reg2mem store i32 %sext, i32* %sv_2.0.in15.reg2mem br label LBL_2 LBL_2: %sv_2.0.in15.reload = load i32, i32* %sv_2.0.in15.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %sv_2.017 = ashr exact i32 %sv_2.0.in15.reload, 24 %6 = add i64 %indvars.iv.reload, %2 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = sext i8 %8 to i32 %10 = urem i32 %sv_2.017, 256 %11 = zext i32 %10 to i64 store i32 0, i32* %storemerge512.reg2mem store i32 %9, i32* %sv_1.111.reg2mem br label LBL_3 LBL_3: %storemerge512.reload = load i32, i32* %storemerge512.reg2mem %12 = zext i32 %storemerge512.reload to i64 %13 = add i64 %12, %3 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = icmp sgt i8 %15, 52 store i8 %15, i8* %.reg2mem br i1 %16, label LBL_24, label LBL_4 LBL_4: %sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem %17 = icmp sgt i8 %15, -22 br i1 %17, label LBL_8, label LBL_5 LBL_5: %18 = icmp eq i8 %15, -46 br i1 %18, label LBL_21, label LBL_6 LBL_6: %19 = icmp sgt i8 %15, -46 store i8 %15, i8* %.reg2mem br i1 %19, label LBL_24, label LBL_7 LBL_7: store i8 %15, i8* %.reg2mem store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %storemerge512.reload, i32* %sv_0.0.reg2mem switch i8 %15, label LBL_24 [ i8 -112, label LBL_25 i8 -64, label LBL_18 ] LBL_8: %20 = sext i8 %15 to i64 %21 = add nsw i64 %20, 21 %22 = and i64 %21, 4294967295 store i64 %22, i64* @0, align 8 %trunc = trunc i64 %21 to i32 store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %storemerge512.reload, i32* %sv_0.0.reg2mem store i32 %storemerge512.reload, i32* %sv_0.0.reg2mem switch i32 %trunc, label LBL_8.LBL_24_crit_edge [ i32 0, label LBL_10 i32 13, label LBL_25 i32 14, label LBL_25 i32 19, label LBL_11 i32 23, label LBL_13 i32 25, label LBL_15 i32 63, label LBL_12 i32 65, label LBL_17 i32 71, label LBL_14 i32 73, label LBL_16 ] LBL_9: %.pre = load i8, i8* %14, align 1 store i8 %.pre, i8* %.reg2mem br label LBL_24 LBL_10: %23 = add i32 %storemerge512.reload, 1 %24 = zext i32 %23 to i64 %25 = add i64 %24, %3 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = sext i8 %27 to i32 %29 = add i32 %23, %28 store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %29, i32* %sv_0.0.reg2mem br label LBL_25 LBL_11: %30 = mul i32 %sv_1.111.reload, 16777216 %sext9 = add i32 %30, -16777216 %31 = ashr exact i32 %sext9, 24 %32 = add i32 %storemerge512.reload, 1 store i32 %31, i32* %sv_1.0.reg2mem store i32 %32, i32* %sv_0.0.reg2mem br label LBL_25 LBL_12: %33 = sub i32 %sv_1.111.reload, %sv_2.017 %sext7 = mul i32 %33, 16777216 %34 = ashr exact i32 %sext7, 24 %35 = add i32 %storemerge512.reload, 1 store i32 %34, i32* %sv_1.0.reg2mem store i32 %35, i32* %sv_0.0.reg2mem br label LBL_25 LBL_13: %36 = add i32 %sv_1.111.reload, %sv_2.017 %sext8 = mul i32 %36, 16777216 %37 = ashr exact i32 %sext8, 24 %38 = add i32 %storemerge512.reload, 1 store i32 %37, i32* %sv_1.0.reg2mem store i32 %38, i32* %sv_0.0.reg2mem br label LBL_25 LBL_14: %39 = xor i32 %sv_1.111.reload, %sv_2.017 %sext6 = mul i32 %39, 16777216 %40 = ashr exact i32 %sext6, 24 %41 = add i32 %storemerge512.reload, 1 store i32 %40, i32* %sv_1.0.reg2mem store i32 %41, i32* %sv_0.0.reg2mem br label LBL_25 LBL_15: %42 = add i32 %storemerge512.reload, 1 %43 = zext i32 %42 to i64 %44 = add i64 %43, %3 %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 %47 = trunc i32 %sv_1.111.reload to i8 %48 = add i8 %46, %47 %49 = sext i8 %48 to i32 store i32 %49, i32* %sv_1.0.reg2mem store i32 %42, i32* %sv_0.0.reg2mem br label LBL_25 LBL_16: %50 = add i32 %storemerge512.reload, 1 %51 = zext i32 %50 to i64 %52 = add i64 %51, %3 %53 = inttoptr i64 %52 to i8* %54 = load i8, i8* %53, align 1 %55 = trunc i32 %sv_1.111.reload to i8 %56 = xor i8 %54, %55 %57 = sext i8 %56 to i32 store i32 %57, i32* %sv_1.0.reg2mem store i32 %50, i32* %sv_0.0.reg2mem br label LBL_25 LBL_17: %58 = add i32 %storemerge512.reload, 1 %59 = zext i32 %58 to i64 %60 = add i64 %59, %3 %61 = inttoptr i64 %60 to i8* %62 = load i8, i8* %61, align 1 %63 = trunc i32 %sv_1.111.reload to i8 %64 = sub i8 %63, %62 %65 = sext i8 %64 to i32 store i32 %65, i32* %sv_1.0.reg2mem store i32 %58, i32* %sv_0.0.reg2mem br label LBL_25 LBL_18: %66 = add i32 %storemerge512.reload, 1 %67 = zext i32 %66 to i64 %68 = add i64 %67, %3 %69 = inttoptr i64 %68 to i8* %70 = load i8, i8* %69, align 1 %71 = icmp eq i8 %70, -64 %72 = icmp eq i1 %71, false %73 = add i32 %storemerge512.reload, 2 %74 = zext i32 %73 to i64 %75 = add i64 %74, %3 %76 = inttoptr i64 %75 to i8* %77 = load i8, i8* %76, align 1 %78 = sext i8 %77 to i64 %79 = and i64 %78, 4294967295 %80 = urem i32 %sv_1.111.reload, 256 %81 = zext i32 %80 to i64 br i1 %72, label LBL_20, label LBL_19 LBL_19: %82 = call i64 @FUNC(i64 %81, i64 %79) store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %73, i32* %sv_0.0.reg2mem br label LBL_25 LBL_20: %83 = call i64 @FUNC(i64 %81, i64 %79) store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %73, i32* %sv_0.0.reg2mem br label LBL_25 LBL_21: %84 = add i32 %storemerge512.reload, 1 %85 = zext i32 %84 to i64 %86 = add i64 %85, %3 %87 = inttoptr i64 %86 to i8* %88 = load i8, i8* %87, align 1 %89 = icmp eq i8 %88, -56 %90 = icmp eq i1 %89, false %91 = add i32 %storemerge512.reload, 2 %92 = urem i32 %sv_1.111.reload, 256 %93 = zext i32 %92 to i64 br i1 %90, label LBL_23, label LBL_22 LBL_22: %94 = call i64 @FUNC(i64 %93, i64 %11) store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %91, i32* %sv_0.0.reg2mem br label LBL_25 LBL_23: %95 = call i64 @FUNC(i64 %93, i64 %11) store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %91, i32* %sv_0.0.reg2mem br label LBL_25 LBL_24: %.reload = load i8, i8* %.reg2mem %96 = zext i8 %.reload to i64 %97 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %96) store i64 1, i64* %storemerge4.reg2mem br label LBL_27 LBL_25: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %98 = add i32 %sv_0.0.reload, 1 %99 = icmp ult i32 %98, 48 store i32 %98, i32* %storemerge512.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.111.reg2mem br i1 %99, label LBL_3, label LBL_26 LBL_26: %sext3 = add i32 %sv_2.0.in15.reload, -16777216 %100 = trunc i32 %sv_1.0.reload to i8 store i8 %100, i8* %7, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %101 = icmp ult i64 %indvars.iv.next, %5 %102 = icmp ult i64 %indvars.iv.next, %4 %or.cond = icmp eq i1 %101, %102 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sext3, i32* %sv_2.0.in15.reg2mem store i64 0, i64* %storemerge4.reg2mem br i1 %or.cond, label LBL_2, label LBL_27 LBL_27: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem ret i64 %storemerge4.reload uselistorder i64 %indvars.iv.next, { 0, 2, 1 } uselistorder i64 %93, { 1, 0 } uselistorder i32 %91, { 1, 0 } uselistorder i64 %81, { 1, 0 } uselistorder i64 %79, { 1, 0 } uselistorder i32 %73, { 1, 0, 2 } uselistorder i32 %sv_1.111.reload, { 4, 3, 15, 1, 0, 14, 10, 11, 8, 12, 13, 9, 16, 5, 6, 7, 2 } uselistorder i8 %15, { 8, 3, 0, 1, 4, 5, 6, 2, 7 } uselistorder i32 %storemerge512.reload, { 3, 6, 4, 5, 12, 14, 10, 13, 9, 11, 8, 7, 1, 2, 0, 15 } uselistorder i64 %11, { 1, 0 } uselistorder i32 %sv_2.017, { 2, 1, 3, 0 } uselistorder i64 %3, { 4, 5, 6, 2, 3, 1, 0, 7 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.in15.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge512.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.111.reg2mem, { 1, 0, 2 } uselistorder i8* %.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32* %sv_1.0.reg2mem, { 0, 5, 4, 2, 1, 13, 15, 11, 14, 10, 12, 9, 6, 7, 8, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 4, 2, 1, 13, 15, 11, 14, 10, 12, 9, 6, 7, 8, 3 } uselistorder i64* %storemerge4.reg2mem, { 0, 1, 3, 2 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64)* @CLI_ROR, { 1, 0 } uselistorder i64 (i64, i64)* @CLI_ROL, { 1, 0 } uselistorder i32 -16777216, { 1, 0 } uselistorder i8 -64, { 1, 0 } uselistorder i32 24, { 4, 2, 3, 1, 0 } uselistorder i32 0, { 3, 0, 1, 2 } uselistorder i32 %arg3, { 1, 0, 2 } uselistorder label LBL_27, { 0, 2, 1 } uselistorder label LBL_25, { 11, 12, 13, 14, 3, 4, 5, 6, 7, 8, 9, 10, 2, 1, 0 } uselistorder label LBL_24, { 3, 0, 1, 2 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
init_predictor_decoder_10092
init_predictor_decoder
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = call i64* @memset(i64* %2, i32 0, i32 1024) %4 = add i64 %0, 1032 %5 = inttoptr i64 %4 to i64* store i64 %1, i64* %5, align 8 %6 = bitcast i64* %rdi to i32* %7 = load i32, i32* %6, align 8 %8 = icmp sgt i32 %7, 3929 br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = add i64 %0, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 1 %13 = icmp eq i1 %12, false %14 = add i64 %0, 1040 %15 = inttoptr i64 %14 to i64* br i1 %13, label LBL_3, label LBL_2 LBL_2: %16 = call i64* @memcpy(i64* %15, i64* nonnull @gv_0, i32 1024) %17 = add i64 %0, 2064 %18 = inttoptr i64 %17 to i64* %19 = call i64* @memcpy(i64* %18, i64* nonnull @gv_0, i32 1024) br label LBL_5 LBL_3: %20 = call i64* @memcpy(i64* %15, i64* nonnull @gv_1, i32 1024) %21 = add i64 %0, 2064 %22 = inttoptr i64 %21 to i64* %23 = call i64* @memcpy(i64* %22, i64* nonnull @gv_1, i32 1024) br label LBL_5 LBL_4: %24 = add i64 %0, 1040 %25 = inttoptr i64 %24 to i64* %26 = call i64* @memcpy(i64* %25, i64* nonnull @gv_2, i32 1024) %27 = add i64 %0, 2064 %28 = inttoptr i64 %27 to i64* %29 = call i64* @memcpy(i64* %28, i64* nonnull @gv_2, i32 1024) %30 = add i64 %0, 3088 %31 = inttoptr i64 %30 to i64* %32 = call i64* @memset(i64* %31, i32 0, i32 2048) br label LBL_6 LBL_5: %33 = add i64 %0, 3088 %34 = inttoptr i64 %33 to i64* %35 = call i64* @memset(i64* %34, i32 0, i32 2048) %36 = call i64* @memcpy(i64* %34, i64* nonnull @gv_3, i32 1024) %37 = add i64 %0, 4112 %38 = inttoptr i64 %37 to i64* %39 = call i64* @memcpy(i64* %38, i64* nonnull @gv_3, i32 1024) br label LBL_6 LBL_6: %40 = add i64 %0, 5140 %41 = inttoptr i64 %40 to i32* store i32 0, i32* %41, align 4 %42 = add i64 %0, 5136 %43 = inttoptr i64 %42 to i32* store i32 0, i32* %43, align 4 %44 = add i64 %0, 5148 %45 = inttoptr i64 %44 to i32* store i32 0, i32* %45, align 4 %46 = add i64 %0, 5144 %47 = inttoptr i64 %46 to i32* store i32 0, i32* %47, align 4 %48 = add i64 %0, 5156 %49 = inttoptr i64 %48 to i32* store i32 0, i32* %49, align 4 %50 = add i64 %0, 5152 %51 = inttoptr i64 %50 to i32* store i32 0, i32* %51, align 4 %52 = add i64 %0, 5160 %53 = inttoptr i64 %52 to i32* store i32 0, i32* %53, align 4 ret i64 %1 uselistorder i64* %15, { 1, 0 } uselistorder i64 %0, { 4, 5, 6, 7, 8, 9, 10, 11, 0, 12, 1, 2, 3, 13, 14, 15, 16, 17 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 0, 2, 1 } uselistorder i32 1024, { 4, 5, 0, 1, 2, 3, 6, 7, 8 } uselistorder i32 0, { 6, 1, 7, 2, 8, 3, 9, 0, 4, 5 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
jspeAddNamedFunctionParameter_6987
jspeAddNamedFunctionParameter
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8, align 1 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 %arg1, i64* %sv_0.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 1) store i64 %2, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i8 -1, i8* %sv_2, align 1 %3 = call i64 @FUNC(i64 %arg2, i64* nonnull %sv_1, i64 256) %4 = ptrtoint i8* %sv_2 to i64 %5 = add i64 %3, %4 %6 = inttoptr i64 %5 to i8* store i8 0, i8* %6, align 1 %7 = call i64 @FUNC(i64 %sv_0.0.reload, i64 0, i8* nonnull %sv_2) %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %7) ret i64 %sv_0.0.reload uselistorder i32 1, { 3, 2, 1, 0 } }
0
BinRealVul
srcip_matches_8161
srcip_matches
define i64 @FUNC(i16* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = trunc i64 %1 to i16 %5 = icmp eq i16 %4, 10 br i1 %5, label LBL_5, label LBL_1 LBL_1: %6 = icmp ugt i16 %4, 10 br i1 %6, label LBL_6, label LBL_2 LBL_2: switch i16 %4, label LBL_6 [ i16 0, label LBL_3 i16 2, label LBL_4 ] LBL_3: %7 = trunc i64 %2 to i16 %8 = icmp eq i16 %7, 0 %9 = zext i1 %8 to i64 store i64 %9, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %10 = ptrtoint i16* %arg1 to i64 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %3, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %13, %16 %18 = zext i1 %17 to i64 store i64 %18, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %19 = ptrtoint i16* %arg1 to i64 %20 = add i64 %3, 8 %21 = add i64 %19, 8 %22 = call i64 @FUNC(i64 %21, i64 %20) %23 = urem i64 %22, 256 store i64 %23, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %24 = call i64 @FUNC(i64 1) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i16 %4, { 2, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i16 0, { 1, 0 } uselistorder i16* %arg1, { 1, 0 } }
0
BinRealVul
hns_rcb_get_ring_sset_count_12727
hns_rcb_get_ring_sset_count
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 1 %2 = icmp eq i1 %1, false %. = select i1 %2, i64 0, i64 10 ret i64 %. }
1
BinRealVul
cpu_show_spectre_v2_6908
cpu_show_spectre_v2
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* %arg3 to i64 %4 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %5 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 4095) %6 = call i64 @FUNC(i64 1) %7 = call i64 @FUNC(i64 2) %8 = or i64 %7, %6 %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 0 br i1 %10, label LBL_8, label LBL_1 LBL_1: %11 = trunc i64 %7 to i8 %12 = trunc i64 %6 to i8 %13 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 4095, i64 %3, i64 %2, i64 %1) %14 = icmp eq i8 %12, 0 br i1 %14, label LBL_2, label LBL_3 LBL_2: %15 = icmp eq i8 %11, 0 br i1 %15, label LBL_6, label LBL_5 LBL_3: %16 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i64 4095, i64 %3, i64 %2, i64 %1) %17 = icmp eq i8 %11, 0 br i1 %17, label LBL_6, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 4095, i64 %3, i64 %2, i64 %1) br label LBL_5 LBL_5: %19 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 4095, i64 %3, i64 %2, i64 %1) br label LBL_6 LBL_6: %20 = load i8, i8* @gv_4, align 1 %21 = icmp eq i8 %20, 0 br i1 %21, label LBL_16, label LBL_7 LBL_7: %22 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0), i64 4095, i64 %3, i64 %2, i64 %1) br label LBL_16 LBL_8: %23 = load i32, i32* inttoptr (i64 4210736 to i32*), align 16 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_13, label LBL_9 LBL_9: %25 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_6, i64 0, i64 0), i64 4095, i64 %3, i64 %2, i64 %1) %26 = load i32, i32* @gv_7, align 4 %27 = icmp eq i32 %26, 1 %28 = icmp eq i1 %27, false br i1 %28, label LBL_11, label LBL_10 LBL_10: %29 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_8, i64 0, i64 0), i64 4095, i64 %3, i64 %2, i64 %1) br label LBL_11 LBL_11: %30 = load i8, i8* @gv_4, align 1 %31 = icmp eq i8 %30, 0 br i1 %31, label LBL_16, label LBL_12 LBL_12: %32 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0), i64 4095, i64 %3, i64 %2, i64 %1) br label LBL_16 LBL_13: %33 = load i8, i8* inttoptr (i64 4210741 to i8*), align 1 %34 = icmp eq i8 %33, 0 br i1 %34, label LBL_15, label LBL_14 LBL_14: %35 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_9, i64 0, i64 0), i64 4095, i64 %3, i64 %2, i64 %1) br label LBL_16 LBL_15: %36 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_10, i64 0, i64 0), i64 4095, i64 %3, i64 %2, i64 %1) br label LBL_16 LBL_16: %37 = call i64 @FUNC(i64* nonnull %sv_0, i8* inttoptr (i64 4202756 to i8*), i64 4095, i64 %3, i64 %2, i64 %1) ret i64 %4 uselistorder i8 %11, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %3, { 8, 9, 10, 6, 5, 7, 3, 2, 1, 0, 4, 11 } uselistorder i64 %2, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i8* @gv_4, { 1, 0 } uselistorder i64 (i64*, i8*, i64, i64, i64, i64)* @seq_buf_printf, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i8 0, { 3, 4, 5, 2, 0, 6, 1, 7 } uselistorder i64 (i64)* @security_ftr_enabled, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 4095, { 8, 9, 10, 6, 5, 7, 3, 2, 1, 0, 4, 11 } uselistorder label LBL_6, { 2, 0, 1 } }
0
BinRealVul
mp_decode_init_16814
mp_decode_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp sgt i32 %5, 1 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %8 = add i64 %2, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = bitcast i64* %rdi to i32* %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i32 %14, 3 %16 = and i32 %15, -4 %17 = trunc i64 %1 to i32 %18 = add i32 %17, 3 %19 = and i32 %18, -4 %20 = call i64 @FUNC() %21 = inttoptr i64 %10 to i64* store i64 %2, i64* %21, align 8 %22 = add i64 %10, 8 %23 = call i64 @FUNC(i64 %22, i64 %2) %24 = load i32, i32* %11, align 8 %25 = mul i32 %24, %16 %26 = sext i32 %25 to i64 %27 = call i64 @FUNC(i64 %26) %28 = add i64 %10, 16 %29 = inttoptr i64 %28 to i64* store i64 %27, i64* %29, align 8 %30 = load i32, i32* %11, align 8 %31 = load i32, i32* %13, align 4 %32 = mul i32 %31, %30 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i64 %33) %35 = trunc i64 %34 to i32 %36 = add i32 %35, 1 %37 = add i64 %10, 24 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %39 = load i32, i32* %13, align 4 %40 = sext i32 %39 to i64 %41 = mul nsw i64 %40, 3 %42 = call i64 @FUNC(i64 %41) %43 = add i64 %10, 32 %44 = inttoptr i64 %43 to i64* store i64 %42, i64* %44, align 8 %45 = mul i32 %16, %19 %46 = ashr exact i32 %45, 4 %narrow = mul nsw i32 %46, 3 %47 = sext i32 %narrow to i64 %48 = call i64 @FUNC(i64 %47) %49 = add i64 %10, 40 %50 = inttoptr i64 %49 to i64* store i64 %48, i64* %50, align 8 %51 = add i64 %2, 12 %52 = inttoptr i64 %51 to i32* store i32 1, i32* %52, align 4 %53 = add i64 %10, 48 %54 = call i64 @FUNC(i64 %53) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 2, 3, 5, 6, 0, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64)* @av_mallocz, { 2, 1, 0 } uselistorder i32 -4, { 1, 0 } uselistorder i32 3, { 0, 2, 1 } }
1
BinRealVul
j2k_flush_1522
j2k_flush
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 8 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i8 %4 = icmp eq i8 %3, -1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %1, i64 1) br label LBL_2 LBL_2: store i32 8, i32* %arg1, align 4 ret i64 %0 }
0
BinRealVul
qdev_build_hotpluggable_device_list_14095
qdev_build_hotpluggable_device_list
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %.pre = ptrtoint i32* %arg1 to i64 br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %.pre, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 ptrtoint ([13 x i8]* @gv_0 to i64), i64 %.pre) store i64 %7, i64* %arg2, align 8 br label LBL_3 LBL_3: %8 = ptrtoint i64* %arg2 to i64 %9 = call i64 @FUNC(i64 %.pre, i64 4198876, i64 %8) ret i64 0 uselistorder i64 %.pre, { 0, 2, 1 } uselistorder [13 x i8]* @gv_0, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
1
BinRealVul
mch_realize_1603
mch_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 %0, i64* %sv_0, align 8 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %1, i64 %1, i64 %4) %6 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %7 = load i64, i64* %3, align 8 %8 = add i64 %1, 128 %9 = call i64 @FUNC(i64 %8, i64 %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 655360, i64 131072) %10 = call i64 @FUNC(i64 %8, i64 655360, i64 %8, i64 1) %11 = call i64 @FUNC(i64 %8, i64 0) %12 = add i64 %1, 24 %13 = load i64, i64* %3, align 8 %14 = add i64 %1, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %1, i64 %16, i64 %12, i64 %13, i64 %12, i64 0) %18 = ptrtoint i64* %sv_0 to i64 %19 = add i64 %18, -8 %20 = inttoptr i64 %19 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %21 = mul i64 %indvars.iv.reload, 65536 %22 = add nuw nsw i64 %21, 131072 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %23 = mul i64 %indvars.iv.next, 8 %24 = add i64 %23, %12 %25 = load i64, i64* %3, align 8 %26 = load i64, i64* %15, align 8 store i64 65536, i64* %20, align 8 %27 = call i64 @FUNC(i64 %1, i64 %26, i64 %24, i64 %25, i64 %24, i64 %22) %exitcond = icmp eq i64 %indvars.iv.next, 12 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %28 = load i64, i64* @gv_2, align 8 %29 = call i64 @FUNC(i64 %28) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 store i64 %29, i64* %rax.0.reg2mem br i1 %31, label LBL_4, label LBL_3 LBL_3: %32 = call i64 @FUNC(i64 %1) store i64 %32, 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 %indvars.iv.next, { 0, 2, 1 } uselistorder i64 %1, { 0, 1, 2, 3, 4, 5, 6, 7, 9, 8, 10 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 65536, { 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64, i64)* @init_pam, { 1, 0 } }
0
BinRealVul
StringPtrCompare_9945
StringPtrCompare
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64 %arg2, %arg3 %1 = icmp eq i1 %0, false store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = call i64 @FUNC(i64 %arg2, i64 %arg3) store i64 %2, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
__sco_sock_close_9542
__sco_sock_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = trunc i64 %1 to i32 %7 = and i64 %1, 4294967295 %8 = inttoptr i64 %5 to i64* %9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i64 %7, i64* %8) %10 = icmp eq i32 %6, 0 br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = icmp sgt i32 %6, -1 %12 = add i32 %6, -1 %13 = icmp ult i32 %12, 4 %or.cond = icmp eq i1 %11, %13 br i1 %or.cond, label LBL_3, label LBL_4 LBL_2: %14 = call i64 @FUNC(i64 %2) store i64 %14, i64* %rax.0.reg2mem br label LBL_5 LBL_3: %15 = call i64 @FUNC(i64 %2, i64 6) store i64 %15, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %16 = call i64 @FUNC(i64 %2, i64 5) store i64 %16, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %6, { 1, 2, 0 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32 -1, { 1, 0 } }
0
BinRealVul
strings_12019
strings
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = inttoptr i64 %arg1 to i64* %3 = load i64, i64* %2, align 8 store i64 %3, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
av_fast_realloc_14770
av_fast_realloc
define i64 @FUNC(i64 %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = icmp ugt i64 %2, %arg3 %4 = icmp eq i1 %3, false store i64 %arg1, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = mul i64 %arg3, 17 %6 = udiv i64 %5, 16 %7 = add nuw nsw i64 %6, 32 %8 = icmp ugt i64 %7, %arg3 %9 = select i1 %8, i64 %7, i64 %arg3 %10 = call i64 @FUNC(i64 %arg1, i64 %9) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false %13 = trunc i64 %9 to i32 %14 = select i1 %12, i32 %13, i32 0 store i32 %14, i32* %arg2, align 4 store i64 %10, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %7, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 %arg3, { 2, 0, 1, 3 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
vga_hw_screen_dump_3315
vga_hw_screen_dump
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = load i32*, i32** @gv_0, align 8 %1 = call i64 @FUNC(i64 0) %2 = load i32, i32* %0, align 4 %3 = zext i32 %2 to i64 %4 = call i64 @FUNC(i64 %3) ret i64 %4 uselistorder i64 (i64)* @console_select, { 1, 0 } }
0
BinRealVul
ap_handshake_socks_reply_17858
ap_handshake_socks_reply
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0 = alloca i8, align 1 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 29, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = ptrtoint i64* %arg1 to i64 store i8 4, i8* %sv_0, align 1 %3 = call i64 @FUNC(i8* nonnull %sv_0, i64 8, i64 %2) %4 = call i64 @FUNC(i64 %2) ret i64 %4 uselistorder i64 %2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
skl_ipc_set_dx_4542
skl_ipc_set_dx
define i64 @FUNC(i64* %arg1, i8 %arg2, i16 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = or i8 %arg2, 3 %5 = zext i8 %4 to i64 %6 = zext i16 %arg3 to i64 %7 = or i64 %6, %5 %8 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 0, i64 %1) %9 = call i64 @FUNC(i64 %3, i64 %7, i64 %2, i64 0, i64 0, i64 0) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i32 %10, i64 0, i64 0, i64 0) br label LBL_2 LBL_2: %storemerge = and i64 %9, 4294967295 ret i64 %storemerge uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
network_to_control_537
network_to_control
define i64 @FUNC(i32* %arg1) 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 %4 = call i32 @ntohl(i32 %3) store i32 %4, i32* %arg1, align 4 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = call i32 @ntohl(i32 %7) store i32 %8, i32* %6, align 4 %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = call i32 @ntohl(i32 %11) %13 = sext i32 %12 to i64 store i32 %12, i32* %10, align 4 ret i64 %13 uselistorder i32 (i32)* @ntohl, { 2, 1, 0 } }
0
BinRealVul
test_machine_15346
test_machine
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 %sv_0 = alloca i64, align 8 store i64 7310592543692780591, i64* %sv_0, align 8 %4 = bitcast i64* %sv_0 to i8* %5 = call i32 @mkstemp(i8* nonnull %4) %6 = icmp eq i32 %5, -1 %7 = icmp eq i1 %6, false %8 = zext i1 %7 to i64 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64* nonnull %sv_0, i64 %12, i64 %2, i64 %1) %14 = call i64 @FUNC(i64 %13) %15 = call i32 @unlink(i8* nonnull %4) %16 = zext i32 %5 to i64 %17 = call i64 @FUNC(i64 %3, i64 %16) %18 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19) %21 = call i64 @FUNC(i64 %13) %22 = call i32 @close(i32 %5) %23 = sext i32 %22 to i64 ret i64 %23 uselistorder i64 %8, { 1, 0 } uselistorder i64* %0, { 1, 0 } }
1
BinRealVul
rom_order_compare_16969
rom_order_compare
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 = load i64, i64* %0 %3 = trunc i64 %1 to i32 %4 = trunc i64 %2 to i32 %5 = icmp ugt i32 %3, %4 store i64 1, i64* %storemerge.reg2mem br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = icmp eq i32 %3, %4 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = ptrtoint i64* %arg2 to i64 %9 = ptrtoint i32* %arg1 to i64 %10 = add i64 %9, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %8, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp ult i32 %12, %15 store i64 1, i64* %storemerge.reg2mem br i1 %16, label LBL_3, label LBL_4 LBL_3: store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %4, { 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder label LBL_4, { 2, 1, 0 } }
1
BinRealVul
net_slirp_parse_legacy_14876
net_slirp_parse_legacy
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = bitcast i64* %arg1 to i8* %1 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = inttoptr i64 %arg2 to i8* %5 = call i32 @strncmp(i8* %4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i32 8) %6 = icmp eq i32 %5, 0 store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_2, label LBL_5 LBL_2: %7 = call i64 @FUNC(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @gv_2, i64 0, i64 0)) %8 = add i64 %arg2, 8 %9 = call i64 @FUNC(i64* nonnull @gv_3) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 272) %13 = call i64 @FUNC(i64 %12, i64 256, i64 %8) %14 = add i64 %12, 256 %15 = inttoptr i64 %14 to i32* store i32 1, i32* %15, align 4 %16 = load i64, i64* @gv_4, align 8 %17 = add i64 %12, 264 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 store i64 %12, i64* @gv_4, align 8 %19 = bitcast i64* %arg3 to i32* store i32 0, i32* %19, align 4 store i64 1, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %20 = call i64 @FUNC(i64* nonnull @gv_3) %21 = and i64 %20, 4294967295 %22 = call i64 @FUNC(i64 %21, i64 %8, i64 1) %23 = trunc i64 %22 to i32 %24 = bitcast i64* %arg3 to i32* store i32 %23, i32* %24, align 4 store i64 1, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %8, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 1, { 1, 3, 0, 2 } uselistorder i64 256, { 1, 0 } uselistorder label LBL_5, { 1, 0, 3, 2 } }
1
BinRealVul
check_shm_size_17079
check_shm_size
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge.reg2mem = alloca i64 %1 = load i32, i32* %0 %sv_0 = alloca i64, align 8 %2 = and i64 %arg2, 4294967295 %3 = trunc i64 %arg2 to i32 %4 = bitcast i64* %sv_0 to %stat* %5 = call i32 @fstat(i32 %3, %stat* nonnull %4) %6 = sext i32 %1 to i64 %7 = icmp ugt i64 %2, %6 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %9 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %8, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @gv_1, i64 0, i64 0), i32 %3, i32 %1) store i64 4294967295, 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 0, { 1, 2, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
audit_proctitle_rtrim_8589
audit_proctitle_rtrim
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.in.lcssa.reg2mem = alloca i64 %storemerge.in2.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = add i64 %0, -1 %3 = add i64 %1, %2 %4 = icmp ugt i64 %3, %0 store i64 %3, i64* %storemerge.in2.reg2mem store i64 %3, i64* %storemerge.in.lcssa.reg2mem br i1 %4, label LBL_2, label LBL_3 LBL_1: %5 = add i64 %storemerge.in2.reload, -1 %6 = icmp ugt i64 %5, %0 store i64 %5, i64* %storemerge.in2.reg2mem store i64 %5, i64* %storemerge.in.lcssa.reg2mem br i1 %6, label LBL_2, label LBL_3 LBL_2: %storemerge.in2.reload = load i64, i64* %storemerge.in2.reg2mem %storemerge = inttoptr i64 %storemerge.in2.reload to i8* %7 = call i16** @__ctype_b_loc() %8 = load i16*, i16** %7, align 8 %9 = ptrtoint i16* %8 to i64 %10 = load i8, i8* %storemerge, align 1 %11 = sext i8 %10 to i64 %12 = mul i64 %11, 2 %13 = add i64 %12, %9 %14 = inttoptr i64 %13 to i16* %15 = load i16, i16* %14, align 2 %16 = and i16 %15, 16384 %17 = icmp eq i16 %16, 0 store i64 %storemerge.in2.reload, i64* %storemerge.in.lcssa.reg2mem br i1 %17, label LBL_1, label LBL_3 LBL_3: %storemerge.in.lcssa.reload = load i64, i64* %storemerge.in.lcssa.reg2mem %18 = sub i64 %storemerge.in.lcssa.reload, %0 %19 = trunc i64 %18 to i32 %20 = add i32 %19, 1 %21 = call i16** @__ctype_b_loc() %22 = load i16*, i16** %21, align 8 %23 = ptrtoint i16* %22 to i64 %24 = sext i32 %20 to i64 %25 = add i64 %2, %24 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = sext i8 %27 to i64 %29 = mul i64 %28, 2 %30 = add i64 %29, %23 %31 = inttoptr i64 %30 to i16* %32 = load i16, i16* %31, align 2 %33 = and i16 %32, 16384 %34 = icmp eq i16 %33, 0 %35 = zext i1 %34 to i32 %36 = sub i32 %20, %35 %37 = zext i32 %36 to i64 ret i64 %37 uselistorder i32 %20, { 1, 0 } uselistorder i64 %storemerge.in2.reload, { 0, 2, 1 } uselistorder i64 %0, { 3, 2, 0, 1 } uselistorder i64* %storemerge.in2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.in.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i16** ()* @__ctype_b_loc, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
rfbProcessFileTransferReadBuffer_6250
rfbProcessFileTransferReadBuffer
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 0 store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_7, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %2 to i32 %4 = add i32 %3, 1 %5 = call i64* @malloc(i32 %4) %6 = ptrtoint i64* %5 to i64 %7 = icmp eq i64* %5, null store i64 %6, i64* %storemerge.reg2mem br i1 %7, label LBL_7, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %arg1, i64 %6, i32 %3) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp slt i32 %9, 0 %12 = icmp eq i1 %11, false %13 = icmp eq i1 %10, false %14 = icmp eq i1 %12, %13 br i1 %14, label LBL_6, label LBL_3 LBL_3: br i1 %10, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0)) br label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %arg1) call void @free(i64* nonnull %5) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %17 = and i64 %2, 4294967295 %18 = add i64 %17, %6 %19 = inttoptr i64 %18 to i8* store i8 0, i8* %19, align 1 store i64 %6, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %9, { 1, 0 } uselistorder i64 %6, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i8 0, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_7, { 2, 3, 1, 0 } }
0
BinRealVul
quota_mailbox_delete_shrink_quota_18232
quota_mailbox_delete_shrink_quota
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i64 0) store i64 %1, i64* %sv_4, align 8 %2 = call i64 @FUNC(i64 %0) store i64 %2, i64* %sv_3, align 8 %3 = call i64 @FUNC() store i64 %3, i64* %sv_2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %1, i64 %3, i64 0) store i64 %5, i64* %sv_1, align 8 %6 = call i64 @FUNC(i64* nonnull %sv_2) %7 = call i64 @FUNC(i64 %1, i64 0, i64 0) store i64 %7, i64* %sv_0, align 8 %8 = call i64 @FUNC(i64 %5, i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_1, label LBL_3 LBL_1: %12 = call i64 @FUNC(i64 %2, i64 %7) %13 = load i64, i64* %sv_0, align 8 %14 = load i64, i64* %sv_1, align 8 %15 = call i64 @FUNC(i64 %14, i64 %13) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_2, label LBL_3 LBL_2: %.pre = load i64, i64* %sv_0, align 8 %.pre1 = load i64, i64* %sv_3, align 8 %19 = call i64 @FUNC(i64 %.pre1, i64 %.pre) %20 = load i64, i64* %sv_0, align 8 %21 = load i64, i64* %sv_1, align 8 %22 = call i64 @FUNC(i64 %21, i64 %20) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_2, label LBL_3 LBL_3: %26 = call i64 @FUNC(i64* nonnull %sv_0) %27 = call i64 @FUNC(i64* nonnull %sv_1) %28 = trunc i64 %27 to i32 %29 = icmp slt i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_5, label LBL_4 LBL_4: %31 = load i64, i64* %sv_3, align 8 %32 = call i64 @FUNC(i64 %31) br label LBL_5 LBL_5: %33 = call i64 @FUNC(i64* nonnull %sv_3) %34 = call i64 @FUNC(i64* nonnull %sv_4) ret i64 0 uselistorder i64* %sv_3, { 1, 2, 0, 3 } uselistorder i64* %sv_1, { 1, 2, 0, 3 } uselistorder i64* %sv_0, { 2, 3, 1, 0, 4 } uselistorder i64 (i64, i64)* @quota_free, { 1, 0 } uselistorder i1 false, { 2, 3, 0, 1 } uselistorder i32 0, { 7, 8, 0, 1, 2, 3, 4, 5, 6 } uselistorder i64 (i64, i64)* @mailbox_search_next, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
get_chunk_header_11490
get_chunk_header
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %.pre-phi5.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32*, align 8 %5 = trunc i64 %3 to i32 %6 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i32 %5, i64 %4, i64 %2, i64 %1) %7 = add i64 %arg1, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp slt i32 %9, 1 br i1 %10, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre3 = add i64 %arg1, 8 %.pre4 = inttoptr i64 %.pre3 to i64* store i64* %.pre4, i64** %.pre-phi5.reg2mem store i64 %.pre3, i64* %.pre-phi.reg2mem store i32 %5, i32* %.reg2mem br label LBL_3 LBL_2: %11 = bitcast i64* %rdi to i32* %12 = add i64 %arg1, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14, i64 0, i32 %9) store i32 0, i32* %8, align 4 %.pre = load i32, i32* %11, align 8 store i64* %13, i64** %.pre-phi5.reg2mem store i64 %12, i64* %.pre-phi.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_3 LBL_3: %.reload = load i32, i32* %.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem %16 = load i64, i64* %.pre-phi5.reload, align 8 %17 = bitcast i32** %sv_2 to i64* %18 = call i64 @FUNC(i64 %16, i64* nonnull %17, i64 4) %19 = trunc i64 %18 to i32 %20 = add i32 %.reload, 1 %21 = inttoptr i64 %arg1 to i32* store i32 %20, i32* %21, align 4 %22 = icmp slt i32 %19, 4 br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = load i32*, i32** %sv_2, align 8 %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = add i64 %arg1, 21 %28 = inttoptr i64 %27 to i8* store i8 1, i8* %28, align 1 store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_6: %29 = icmp eq i32 %24, 305419896 %30 = icmp eq i1 %29, false br i1 %30, label LBL_8, label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 %arg1) %32 = call i64 @FUNC(i64 %arg1) store i64 %32, i64* %rax.0.reg2mem br label LBL_16 LBL_8: %33 = ptrtoint i32* %23 to i64 %34 = add i64 %33, 3 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = icmp slt i8 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_11, label LBL_9 LBL_9: %39 = add i64 %33, 1 %40 = inttoptr i64 %39 to i8* %41 = load i8, i8* %40, align 1 %42 = zext i8 %41 to i32 %43 = mul i32 %42, 256 %44 = urem i32 %24, 256 %45 = or i32 %43, %44 %46 = inttoptr i64 %.pre-phi.reload to i32* store i32 %45, i32* %46, align 4 %47 = load i32*, i32** %sv_2, align 8 %48 = ptrtoint i32* %47 to i64 %49 = add i64 %48, 3 %50 = inttoptr i64 %49 to i8* %51 = load i8, i8* %50, align 1 %52 = zext i8 %51 to i32 %53 = mul i32 %52, 256 %54 = add i64 %48, 2 %55 = inttoptr i64 %54 to i8* %56 = load i8, i8* %55, align 1 %57 = zext i8 %56 to i32 %58 = or i32 %53, %57 %59 = add i64 %arg1, 12 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 %61 = icmp eq i32 %58, 65535 store i32 %45, i32* %sv_0.0.reg2mem br i1 %61, label LBL_12, label LBL_10 LBL_10: %62 = urem i32 %58, 32768 store i32 %62, i32* %60, align 4 store i32 %45, i32* %sv_0.0.reg2mem br label LBL_12 LBL_11: %63 = urem i32 %24, 256 %64 = inttoptr i64 %.pre-phi.reload to i32* store i32 %63, i32* %64, align 4 %65 = load i32*, i32** %sv_2, align 8 %66 = ptrtoint i32* %65 to i64 %67 = add i64 %66, 1 %68 = inttoptr i64 %67 to i8* %69 = load i8, i8* %68, align 1 %70 = zext i8 %69 to i32 %71 = add i64 %arg1, 12 %72 = inttoptr i64 %71 to i32* store i32 %70, i32* %72, align 4 store i32 %63, i32* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %73 = add i64 %arg1, 16 %74 = inttoptr i64 %73 to i32* store i32 0, i32* %74, align 4 %75 = add i64 %arg1, 20 %76 = inttoptr i64 %75 to i8* store i8 0, i8* %76, align 1 %77 = add i64 %arg1, 24 %78 = inttoptr i64 %77 to i64* %79 = load i64, i64* %78, align 8 %80 = inttoptr i64 %79 to i64* call void @free(i64* %80) %81 = load i64, i64* %.pre-phi5.reload, align 8 %82 = call i64 @FUNC(i64 %81, i64 0, i32 4) %83 = mul i32 %sv_0.0.reload, 16 %84 = sext i32 %83 to i64 %85 = call i64 @FUNC(i64 %84) %86 = load i64, i64* %.pre-phi5.reload, align 8 %87 = call i64 @FUNC(i64 %86, i64 %85, i32 %83) %88 = zext i32 %83 to i64 %89 = icmp slt i64 %87, %88 br i1 %89, label LBL_13, label LBL_14 LBL_13: %90 = inttoptr i64 %85 to i64* call void @free(i64* %90) %91 = add i64 %arg1, 21 %92 = inttoptr i64 %91 to i8* store i8 1, i8* %92, align 1 store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_14: %93 = zext i32 %sv_0.0.reload to i64 %94 = bitcast i32* %sv_1 to i64* %95 = call i64 @FUNC(i64 %85, i64 %93, i64* nonnull %94) store i64 %95, i64* %78, align 8 %96 = inttoptr i64 %85 to i64* call void @free(i64* %96) %97 = inttoptr i64 %.pre-phi.reload to i32* %98 = load i32, i32* %97, align 4 %99 = mul i32 %98, 16 %100 = sub i32 1020, %99 %101 = load i32, i32* %sv_1, align 4 %102 = sub i32 %100, %101 store i32 %102, i32* %8, align 4 %103 = icmp slt i32 %102, 1 store i64 1, i64* %rax.0.reg2mem br i1 %103, label LBL_16, label LBL_15 LBL_15: %104 = zext i32 %101 to i64 %105 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i32 %102, i64 %104, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %102, { 1, 0, 2 } uselistorder i32 %101, { 1, 0 } uselistorder i32 %83, { 2, 1, 0 } uselistorder i64 %.pre-phi.reload, { 1, 2, 0 } uselistorder i32* %8, { 1, 0, 2 } uselistorder i32** %sv_2, { 2, 1, 0, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3, 5 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 256, { 2, 0, 3, 1 } uselistorder i64 1, { 1, 0, 2, 3 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 (i64, i64, i32)* @stream_Read, { 2, 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @msg_Dbg, { 1, 0 } uselistorder i64 %arg1, { 5, 6, 7, 8, 9, 10, 4, 3, 2, 11, 12, 1, 0, 13, 14 } uselistorder label LBL_16, { 1, 0, 2, 3, 4 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
do_change_type_11748
do_change_type
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, %0 store i64 4294967274, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_6 LBL_1: %5 = call i64 @FUNC(i64* nonnull @gv_0) %6 = call i64 @FUNC(i64* nonnull @gv_1) %7 = icmp eq i64* %arg1, null %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_5 LBL_2: %9 = and i64 %arg2, 4294967294 %10 = urem i64 %arg2, 2 %11 = icmp eq i64 %10, 0 store i64 %0, i64* %storemerge13.reg2mem br label LBL_3 LBL_3: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %12 = call i64 @FUNC(i64 %storemerge13.reload, i64 %9) br i1 %11, label LBL_5, label LBL_4 LBL_4: %13 = call i64 @FUNC(i64 %storemerge13.reload, i64 %0) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %storemerge13.reg2mem br i1 %15, label LBL_3, label LBL_5 LBL_5: %16 = call i64 @FUNC(i64* nonnull @gv_1) %17 = call i64 @FUNC(i64* nonnull @gv_0) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
msPostGISLayerNextShape_8954
msPostGISLayerNextShape
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem5 = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0)) br label LBL_2 LBL_2: %6 = icmp eq i32* %arg1, null %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_2, i64 0, i64 0), i32 57, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0)) br label LBL_4 LBL_4: %8 = ptrtoint i32* %arg1 to i64 %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %.reg2mem br i1 %13, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_2, i64 0, i64 0), i32 58, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0)) %.pre = load i64, i64* %10, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_6 LBL_6: %14 = ptrtoint i64* %arg2 to i64 %15 = trunc i64 %2 to i32 %16 = bitcast i64* %arg2 to i32* store i32 0, i32* %16, align 4 %17 = icmp eq i32 %15, 0 br i1 %17, label LBL_7, label LBL_10 LBL_7: %.reload = load i64, i64* %.reg2mem %18 = inttoptr i64 %.reload to i32* %19 = bitcast i64* %rsi to i32* %20 = add i64 %.reload, 8 %21 = inttoptr i64 %20 to i64* %.pre4 = load i32, i32* %18, align 4 store i32 %.pre4, i32* %.reg2mem5 br label LBL_8 LBL_8: %.reload6 = load i32, i32* %.reg2mem5 %22 = zext i32 %.reload6 to i64 %23 = load i64, i64* %21, align 8 %24 = call i64 @FUNC(i64 %23) %25 = icmp sgt i64 %24, %22 store i64 1, i64* %rax.0.reg2mem br i1 %25, label LBL_9, label LBL_11 LBL_9: %26 = call i64 @FUNC(i64 %8, i64 %14) %27 = load i32, i32* %18, align 4 %28 = add i32 %27, 1 store i32 %28, i32* %18, align 4 %.pre3 = load i32, i32* %19, align 8 %29 = icmp eq i32 %.pre3, 0 store i32 %28, i32* %.reg2mem5 br i1 %29, label LBL_8, label LBL_10 LBL_10: %30 = call i64 @FUNC(i64 %14) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %18, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem5, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i32 0, { 1, 0, 2, 3, 4 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
json_print_chapter_header_3301
json_print_chapter_header
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i32 @putchar(i32 44) br label LBL_2 LBL_2: %6 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %7 = icmp eq i32 %6, 0 store i32 1, i32* %storemerge2.reg2mem br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0)) %9 = icmp eq i32 %8, 0 %spec.select = zext i1 %9 to i32 store i32 %spec.select, i32* %storemerge2.reg2mem br label LBL_4 LBL_4: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i32* store i32 %storemerge2.reload, i32* %11, align 4 %12 = icmp eq i32 %storemerge2.reload, 0 %13 = ptrtoint i8* %arg2 to i64 %14 = call i64 @FUNC(i64 %0, i64 %1, i64 %13, i64 %0) %15 = inttoptr i64 %14 to i8* %spec.select6 = select i1 %12, i8* bitcast (i64* @gv_2 to i8*), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0) %16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i8* %15, i8* nonnull %spec.select6) %17 = sext i32 %16 to i64 ret i64 %17 uselistorder i32 %storemerge2.reload, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i8* %arg2, { 1, 0, 2 } }
0
BinRealVul
mpl2_probe_14812
mpl2_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = sext i32 %3 to i64 %5 = add i64 %4, %0 store i32 1, i32* %storemerge2.reg2mem store i64 %0, i64* %sv_0.01.reg2mem br label LBL_1 LBL_1: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %6 = inttoptr i64 %sv_0.01.reload to i8* %7 = call i32 (i8*, i8*, ...) @sscanf(i8* %6, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3) %8 = icmp eq i32 %7, 3 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i32 (i8*, i8*, ...) @sscanf(i8* %6, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_3) %10 = icmp eq i32 %9, 2 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_5 LBL_3: %11 = call i32 @strcspn(i8* %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %12 = sext i32 %11 to i64 %13 = add i64 %sv_0.01.reload, 1 %14 = add i64 %13, %12 %15 = icmp ult i64 %14, %5 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_4, label LBL_5 LBL_4: %16 = icmp ult i32 %storemerge2.reload, 2 store i32 2, i32* %storemerge2.reg2mem store i64 %14, i64* %sv_0.01.reg2mem store i64 100, i64* %rax.0.reg2mem br i1 %16, label LBL_1, label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %6, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder i32 2, { 0, 2, 1 } uselistorder i32 (i8*, i8*, ...)* @sscanf, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
mem_check_range_5507
mem_check_range
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = icmp sgt i32 %2, 0 %5 = or i32 %2, 1 %6 = icmp eq i32 %5, 3 %or.cond = icmp eq i1 %4, %6 store i64 4294967282, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_5 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp ugt i64 %10, %arg2 store i64 4294967282, i64* %rax.0.reg2mem br i1 %11, label LBL_5, label LBL_3 LBL_3: %12 = add i64 %7, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp ult i64 %14, %arg3 store i64 4294967282, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = sub i64 %10, %arg3 %17 = add i64 %16, %14 %18 = icmp ult i64 %17, %arg2 %spec.select = select i1 %18, i64 4294967282, i64 0 ret i64 %spec.select LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 1, 0 } uselistorder i32 %2, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64 4294967282, { 3, 2, 1, 0 } uselistorder label LBL_5, { 2, 1, 0, 3 } }
0
BinRealVul
proc_flush_task_mnt_4669
proc_flush_task_mnt
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i8*, align 8 %sv_1 = alloca i64, align 8 %0 = bitcast i64* %sv_1 to i8* store i8* %0, i8** %sv_0, align 8 %1 = and i64 %arg2, 4294967295 %2 = ptrtoint i64* %sv_1 to i64 %3 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %0, i32 16, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %1) %4 = bitcast i8** %sv_0 to i64* %5 = call i64 @FUNC(i64 %2, i64* nonnull %4) %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %5) %8 = call i64 @FUNC(i64 %5) br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = and i64 %9, 4294967295 %11 = trunc i64 %9 to i32 %12 = icmp eq i32 %11, %arg3 store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_9, label LBL_3 LBL_3: store i8* %0, i8** %sv_0, align 8 %13 = zext i32 %arg3 to i64 %14 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %0, i32 16, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %13) %15 = call i64 @FUNC(i64 %2, i64* nonnull %4) %16 = icmp eq i64 %15, 0 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_9, label LBL_4 LBL_4: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0, align 8 %17 = call i32 @strlen(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %18 = call i64 @FUNC(i64 %15, i64* nonnull %4) %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_8, label LBL_5 LBL_5: store i8* %0, i8** %sv_0, align 8 %20 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %0, i32 16, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %10) %21 = call i64 @FUNC(i64 %18, i64* nonnull %4) %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 %21) %24 = call i64 @FUNC(i64 %21) br label LBL_7 LBL_7: %25 = call i64 @FUNC(i64 %18) br label LBL_8 LBL_8: %26 = call i64 @FUNC(i64 %15) store i64 %26, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %21, { 1, 0, 2 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i8** %sv_0, { 3, 2, 1, 4, 0 } uselistorder i64 (i64)* @dput, { 3, 2, 1, 0 } uselistorder i64 (i64)* @d_invalidate, { 1, 0 } uselistorder i64 (i64, i64*)* @d_hash_and_lookup, { 3, 2, 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 2, 1, 0 } uselistorder i32 %arg3, { 1, 0 } uselistorder label LBL_9, { 2, 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
vmx_install_vlapic_mapping_19223
vmx_install_vlapic_mapping
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 -1) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %1, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = load i32, i32* inttoptr (i64 4210736 to i32*), align 16 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %9 = ptrtoint i64* %arg1 to i64 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = load i64, i64* @gv_0, align 8 %15 = call i64 @FUNC(i64 %14) %16 = call i64 @FUNC(i64 %9) %17 = call i64 @FUNC(i64 0, i64 %13) %18 = call i64 @FUNC(i64 0, i64 %15) %19 = call i64 @FUNC(i64 %9) 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 %9, { 1, 0, 2 } uselistorder i64 (i64, i64)* @__vmwrite, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
virtser_port_device_realize_15773
virtser_port_device_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i8 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %3) %7 = call i64 @FUNC(i64 %6) %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = load i64, i64* %8, align 8 %12 = add i64 %4, 16 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 %14 = call i64 @FUNC(i64 4198973, i64 %4) %15 = add i64 %4, 24 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = inttoptr i64 %5 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 111, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([28 x i8]* @gv_2 to i64), i64* %rcx.0.reg2mem br label LBL_2 LBL_2: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %21 = add i64 %5, 1 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 0 br i1 %24, label LBL_4, label LBL_3 LBL_3: %25 = load i64, i64* %13, align 8 %26 = call i64 @FUNC(i64 %25, i64 0) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i8 1, i8* %storemerge.reg2mem br i1 %29, label LBL_4, label LBL_5 LBL_4: store i8 0, i8* %storemerge.reg2mem br label LBL_5 LBL_5: %30 = ptrtoint i64* %arg2 to i64 %31 = inttoptr i64 %4 to i32* %32 = load i32, i32* %31, align 4 %33 = load i64, i64* %13, align 8 %34 = zext i32 %32 to i64 %35 = call i64 @FUNC(i64 %33, i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_7, label LBL_6 LBL_6: %38 = load i32, i32* %31, align 4 %39 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_3, i64 0, i64 0), i32 %38, i64 %rcx.0.reload, i64 %2, i64 %1) store i64 %39, i64* %rax.0.reg2mem br label LBL_17 LBL_7: %40 = add i64 %4, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %42) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_9, label LBL_8 LBL_8: %46 = load i64, i64* %41, align 8 %47 = trunc i64 %46 to i32 %48 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_4, i64 0, i64 0), i32 %47, i64 %rcx.0.reload, i64 %2, i64 %1) store i64 %48, i64* %rax.0.reg2mem br label LBL_17 LBL_9: %49 = load i32, i32* %31, align 4 %50 = icmp eq i32 %49, -1 %51 = icmp eq i1 %50, false br i1 %51, label LBL_14, label LBL_10 LBL_10: %storemerge.reload = load i8, i8* %storemerge.reg2mem %52 = icmp eq i8 %storemerge.reload, 0 br i1 %52, label LBL_12, label LBL_11 LBL_11: store i32 0, i32* %31, align 4 br label LBL_14 LBL_12: %53 = load i64, i64* %13, align 8 %54 = call i64 @FUNC(i64 %53) %55 = trunc i64 %54 to i32 store i32 %55, i32* %31, align 4 %56 = icmp eq i32 %55, -1 %57 = icmp eq i1 %56, false br i1 %57, label LBL_14, label LBL_13 LBL_13: %58 = trunc i64 %4 to i32 %59 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_5, i64 0, i64 0), i32 %58, i64 %rcx.0.reload, i64 %2, i64 %1) store i64 %59, i64* %rax.0.reg2mem br label LBL_17 LBL_14: %60 = load i64, i64* %13, align 8 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = zext i32 %62 to i64 %64 = call i64 @FUNC(i64 %10, i64 %63) %65 = load i32, i32* %31, align 4 %66 = zext i32 %65 to i64 %sext = mul i64 %64, 4294967296 %67 = ashr exact i64 %sext, 32 %68 = icmp sgt i64 %67, %66 br i1 %68, label LBL_16, label LBL_15 LBL_15: %69 = trunc i64 %64 to i32 %70 = add i32 %69, -1 %71 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_6, i64 0, i64 0), i32 %70, i64 %rcx.0.reload, i64 %2, i64 %1) store i64 %71, i64* %rax.0.reg2mem br label LBL_17 LBL_16: %72 = add i64 %4, 32 %73 = inttoptr i64 %72 to i32* store i32 0, i32* %73, align 4 store i64 %4, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %64, { 1, 0 } uselistorder i32* %31, { 0, 3, 2, 1, 4, 5 } uselistorder i64 %30, { 3, 2, 1, 0 } uselistorder i64* %13, { 2, 1, 3, 0, 4 } uselistorder i64 %4, { 0, 2, 1, 3, 4, 5, 6, 7, 8 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i8* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i32 -1, { 1, 0, 2 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @error_setg, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @find_port_by_id, { 1, 0 } uselistorder [28 x i8]* @gv_2, { 1, 0 } uselistorder i8 0, { 1, 0, 2, 3, 4 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
ttm_bo_reserve_locked_4450
ttm_bo_reserve_locked
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = urem i64 %arg2, 256 %2 = add i64 %0, 8 %3 = trunc i64 %arg4 to i8 %4 = icmp eq i8 %3, 0 %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i8* %7 = add i64 %0, 12 %8 = inttoptr i64 %7 to i32* %9 = trunc i64 %arg5 to i32 %10 = trunc i64 %arg3 to i8 %11 = icmp eq i8 %10, 0 %.not8 = icmp ne i1 %11, true br label LBL_6 LBL_1: br i1 %4, label LBL_4, label LBL_2 LBL_2: %12 = load i8, i8* %6, align 1 %13 = icmp eq i8 %12, 0 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load i32, i32* %8, align 4 %15 = sub i32 %9, %14 %16 = icmp sgt i32 %15, -1 %brmerge = or i1 %16, %.not8 br i1 %brmerge, label LBL_14, label LBL_5 LBL_4: store i64 4294967280, i64* %rax.0.reg2mem br i1 %11, label LBL_5, label LBL_15 LBL_5: %17 = call i64 @FUNC(i64 %0) %18 = call i64 @FUNC(i64 %0, i64 %1) %19 = call i64 @FUNC(i64 %0) %20 = and i64 %18, 4294967295 %21 = call i64 @FUNC(i64 %20) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 store i64 %20, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_15 LBL_6: %24 = call i64 @FUNC(i64 %2, i64 0, i64 1) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false %28 = zext i1 %27 to i64 %29 = call i64 @FUNC(i64 %28) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_1, label LBL_7 LBL_7: br i1 %4, label LBL_13, label LBL_8 LBL_8: %33 = load i32, i32* %8, align 4 %34 = sub i32 %33, %9 %35 = icmp slt i32 %34, 0 %36 = icmp eq i1 %35, false store i64 1, i64* %storemerge.reg2mem br i1 %36, label LBL_10, label LBL_9 LBL_9: %37 = load i8, i8* %6, align 1 %38 = icmp ne i8 %37, 1 %spec.select = zext i1 %38 to i64 store i64 %spec.select, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem %39 = call i64 @FUNC(i64 %storemerge.reload) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_12, label LBL_11 LBL_11: %42 = add i64 %0, 24 %43 = call i64 @FUNC(i64 %42) br label LBL_12 LBL_12: store i32 %9, i32* %8, align 4 store i8 1, i8* %6, align 1 store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_13: store i8 0, i8* %6, align 1 store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_14: %.mux.le = select i1 %16, i64 4294967285, i64 4294967280 store i64 %.mux.le, 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 i1 %11, { 1, 0 } uselistorder i32 %9, { 1, 0, 2 } uselistorder i32* %8, { 1, 0, 2 } uselistorder i64 %0, { 0, 3, 4, 5, 2, 1, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 4, 1, 2 } uselistorder i8 1, { 1, 0 } uselistorder i32 0, { 0, 2, 3, 4, 1 } uselistorder i64 (i64)* @unlikely, { 2, 0, 1 } uselistorder i64 4294967280, { 1, 0 } uselistorder i8 0, { 0, 2, 1, 3 } uselistorder label LBL_15, { 0, 4, 3, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
bootp_input_5653
bootp_input
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, i64 4) %2 = icmp eq i64 %1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = inttoptr i64 %1 to i32* %4 = load i32, i32* %3, align 4 %5 = zext i32 %4 to i64 %6 = icmp eq i32 %4, 1 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %0) %9 = call i64 @FUNC(i64 %0, i64 %1, i64 %8) store i64 %9, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 2 } }
0
BinRealVul
arm_dma_alloc_10999
arm_dma_alloc
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg5 to i64 %1 = ptrtoint i64* %arg3 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %0, i64 0) %4 = call i64 @FUNC(i64 %2, i64 %arg2, i64 %1, i64* nonnull %sv_0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = load i64, i64* %sv_0, align 8 store i64 %7, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %8 = trunc i64 %arg4 to i32 %9 = and i64 %3, 4294967295 %10 = call i64 @FUNC(i64 %2, i64 %arg2, i64 %1, i32 %8, i64 %9, i64 0) store i64 %10, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
__vmx_flush_tlb_9757
__vmx_flush_tlb
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = ptrtoint i32* %arg1 to i64 %9 = call i64 @FUNC(i64 %8, i64 %4) %10 = and i64 %9, 4294967295 %11 = call i64 @FUNC(i64 %10) store i64 %11, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %12 = and i64 %arg2, 4294967295 %13 = call i64 @FUNC(i64 %12) store i64 %13, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 4294967295, { 1, 2, 0, 3 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
hbitmap_get_16331
hbitmap_get
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 2048 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = urem i32 %3, 64 %5 = zext i32 %4 to i64 %storemerge = lshr i64 %arg2, %5 %6 = urem i64 %storemerge, 64 %7 = shl i64 1, %6 %8 = mul i64 %storemerge, 8 %9 = add i64 %0, 1024 %10 = add i64 %9, %8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = and i64 %7, %12 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false %16 = zext i1 %15 to i64 %17 = and i64 %13, -256 %18 = or i64 %17, %16 ret i64 %18 uselistorder i64 %13, { 1, 0 } }
1
BinRealVul
dissect_zcl_pwr_prof_pwrprofstatersp_5165
dissect_zcl_pwr_prof_pwrprofstatersp
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i32 %rdx = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %2, i64 %3) %5 = trunc i64 %4 to i8 %6 = icmp ult i8 %5, 10 store i32 10, i32* %storemerge3.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_1: %7 = call i64 @FUNC(i64 %2, i64 %3) %phitmp = trunc i64 %7 to i32 %8 = urem i32 %phitmp, 256 store i32 %8, i32* %storemerge3.reg2mem br label LBL_2 LBL_2: %9 = ptrtoint i64* %arg2 to i64 %10 = trunc i64 %1 to i32 %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %11 = load i32, i32* @gv_0, align 4 %12 = call i64 @FUNC(i64 %9, i32 %11, i64 %2, i32 %10, i64 1, i64 0) %13 = add i32 %10, 1 store i32 %13, i32* %arg3, align 4 %14 = icmp eq i32 %storemerge3.reload, 0 store i64 0, i64* %.pre-phi.reg2mem br i1 %14, label LBL_6, label LBL_3 LBL_3: %15 = ptrtoint i64* %sv_0 to i64 %16 = bitcast i64* %rdx to i32* %17 = add i64 %15, -8 %18 = inttoptr i64 %17 to i64* %19 = add i64 %15, -16 %20 = inttoptr i64 %19 to i64* %21 = ptrtoint i32* %arg3 to i64 %wide.trip.count = zext i32 %storemerge3.reload to i64 store i32 %10, i32* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem %22 = mul i64 %indvars.iv.reload, 4 %23 = add i64 %22, ptrtoint (i32** @gv_1 to i64) %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 store i64 %indvars.iv.reload, i64* %18, align 8 store i64 ptrtoint ([18 x i8]* @gv_2 to i64), i64* %20, align 8 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %9, i64 %2, i32 %.reload, i64 1, i64 %26, i64 0) %28 = call i64 @FUNC(i64 %2, i64 %27, i64 %21) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %wide.trip.count, i64* %.pre-phi.reg2mem br i1 %exitcond, label LBL_6, label LBL_4.LBL_4_crit_edge LBL_5: %.pre = load i32, i32* %16, align 8 store i32 %.pre, i32* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br label LBL_4 LBL_6: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem ret i64 %.pre-phi.reload uselistorder i32 %storemerge3.reload, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @tvb_get_guint8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
qxl_init_ramsize_17179
qxl_init_ramsize
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem21 = alloca i32 %.pre-phi12.reg2mem = alloca i32* %.reg2mem19 = alloca i32 %.reg2mem17 = alloca i32 %.pre-phi8.reg2mem = alloca i32* %.reg2mem15 = alloca i32 %.pre-phi4.reg2mem = alloca i32* %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, -1 br i1 %4, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre2 = add i64 %2, 20 %.pre3 = inttoptr i64 %.pre2 to i32* %.pre13 = load i32, i32* %.pre3, align 4 store i32 %.pre13, i32* %.reg2mem store i32* %.pre3, i32** %.pre-phi4.reg2mem br label LBL_3 LBL_2: %5 = mul i32 %3, 1048576 %6 = add i64 %2, 20 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 store i32 %5, i32* %.reg2mem store i32* %7, i32** %.pre-phi4.reg2mem br label LBL_3 LBL_3: %.pre-phi4.reload = load i32*, i32** %.pre-phi4.reg2mem %.reload = load i32, i32* %.reg2mem %8 = trunc i64 %arg2 to i32 %9 = mul i32 %8, 1048576 %10 = icmp ult i32 %.reload, %9 %11 = icmp eq i1 %10, false br i1 %11, label LBL_5, label LBL_4 LBL_4: store i32 %9, i32* %.pre-phi4.reload, align 4 br label LBL_5 LBL_5: %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label LBL_5.LBL_8_crit_edge, label LBL_7 LBL_6: %.pre5 = add i64 %2, 16 %.pre7 = inttoptr i64 %.pre5 to i32* %.pr = load i32, i32* %.pre7, align 4 store i32 %.pr, i32* %.reg2mem15 store i32* %.pre7, i32** %.pre-phi8.reg2mem br label LBL_8 LBL_7: %16 = mul i32 %14, 1048576 %17 = add i64 %2, 16 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 store i32 %16, i32* %.reg2mem15 store i32* %18, i32** %.pre-phi8.reg2mem br label LBL_8 LBL_8: %.pre-phi8.reload = load i32*, i32** %.pre-phi8.reg2mem %.reload16 = load i32, i32* %.reg2mem15 %19 = icmp ult i32 %.reload16, 4096 store i32 %.reload16, i32* %.reg2mem17 br i1 %19, label LBL_9, label LBL_10 LBL_9: store i32 4096, i32* %.pre-phi8.reload, align 4 store i32 4096, i32* %.reg2mem17 br label LBL_10 LBL_10: %20 = add i64 %2, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label LBL_10.LBL_13_crit_edge, label LBL_12 LBL_11: %.reload18 = load i32, i32* %.reg2mem17 %.pre9 = add i64 %2, 12 %.pre11 = inttoptr i64 %.pre9 to i32* %.pre14 = load i32, i32* %.pre11, align 4 store i32 %.pre14, i32* %.reg2mem19 store i32* %.pre11, i32** %.pre-phi12.reg2mem store i32 %.reload18, i32* %.reg2mem21 br label LBL_13 LBL_12: %24 = mul i32 %22, 1048576 %25 = add i64 %2, 12 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %.pre = load i32, i32* %.pre-phi8.reload, align 4 store i32 %24, i32* %.reg2mem19 store i32* %26, i32** %.pre-phi12.reg2mem store i32 %.pre, i32* %.reg2mem21 br label LBL_13 LBL_13: %.reload22 = load i32, i32* %.reg2mem21 %.pre-phi12.reload = load i32*, i32** %.pre-phi12.reg2mem %.reload20 = load i32, i32* %.reg2mem19 %27 = icmp ult i32 %.reload20, %.reload22 %28 = icmp eq i1 %27, false br i1 %28, label LBL_15, label LBL_14 LBL_14: store i32 %.reload22, i32* %.pre-phi12.reload, align 4 br label LBL_15 LBL_15: %29 = add i64 %2, 24 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 1 %33 = icmp eq i1 %32, false br i1 %33, label LBL_17, label LBL_16 LBL_16: store i32 4096, i32* %.pre-phi8.reload, align 4 store i32 4096, i32* %.pre-phi12.reload, align 4 br label LBL_17 LBL_17: %34 = load i32, i32* %.pre-phi4.reload, align 4 %35 = mul i32 %34, 2 %36 = add i32 %35, -1 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %37) %39 = trunc i64 %38 to i32 store i32 %39, i32* %.pre-phi4.reload, align 4 %40 = load i32, i32* %.pre-phi8.reload, align 4 %41 = mul i32 %40, 2 %42 = add i32 %41, -1 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i64 %43) %45 = trunc i64 %44 to i32 store i32 %45, i32* %.pre-phi8.reload, align 4 %46 = load i32, i32* %.pre-phi12.reload, align 4 %47 = mul i32 %46, 2 %48 = add i32 %47, -1 %49 = zext i32 %48 to i64 %50 = call i64 @FUNC(i64 %49) %51 = trunc i64 %50 to i32 store i32 %51, i32* %.pre-phi12.reload, align 4 ret i64 %50 uselistorder i64 %50, { 1, 0 } uselistorder i32* %.pre-phi12.reload, { 1, 2, 0, 3 } uselistorder i32* %.pre-phi8.reload, { 2, 3, 1, 0, 4 } uselistorder i32 %9, { 1, 0 } uselistorder i64 %2, { 4, 6, 0, 5, 8, 1, 7, 3, 2 } uselistorder i64 (i64)* @msb_mask, { 2, 1, 0 } uselistorder i64 12, { 1, 0 } uselistorder i32 4096, { 2, 3, 0, 4, 1 } uselistorder i64 16, { 1, 0 } uselistorder i64 20, { 1, 0 } uselistorder i32 -1, { 3, 4, 5, 1, 2, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
cmd_top_3926
cmd_top
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.reg2mem12 = alloca i32 %.reg2mem10 = alloca i32 %storemerge4.reg2mem = alloca i32 %.reg2mem8 = alloca i64 %.reg2mem6 = alloca i32 %.reg2mem = alloca i32 %0 = call i32 @sysconf(i32 30) store i32 %0, i32* bitcast (i64* @gv_0 to i32*), align 8 %1 = load i64, i64* bitcast ([3 x i8*]* @gv_1 to i64*), align 16 %2 = call i64 @FUNC(i64 %1) %3 = load i64, i64* @gv_2, align 8 %4 = load i64, i64* @gv_3, align 8 store i64 %3, i64* @gv_4, align 8 store i64 %4, i64* @gv_5, align 8 %5 = load i64, i64* @gv_6, align 8 %6 = load i64, i64* @gv_7, align 8 store i64 %5, i64* @gv_8, align 8 store i64 %6, i64* @gv_9, align 8 %7 = load i64, i64* @gv_10, align 8 %8 = load i64, i64* @gv_11, align 8 store i64 %7, i64* @gv_12, align 8 store i64 %8, i64* @gv_13, align 8 %9 = load i64, i64* @gv_14, align 8 %10 = load i64, i64* @gv_15, align 8 store i64 %9, i64* @gv_16, align 8 store i64 %10, i64* @gv_17, align 8 %11 = load i64, i64* @gv_18, align 8 %12 = load i64, i64* @gv_19, align 8 store i64 %11, i64* @gv_20, align 8 store i64 %12, i64* @gv_21, align 8 %13 = load i64, i64* @gv_22, align 8 %14 = load i64, i64* @gv_23, align 8 store i64 %13, i64* @gv_24, align 8 store i64 %14, i64* @gv_25, align 8 %15 = load i64, i64* @gv_26, align 8 %16 = load i64, i64* @gv_27, align 8 store i64 %15, i64* @gv_28, align 8 store i64 %16, i64* @gv_29, align 8 %17 = load i64, i64* @gv_30, align 8 %18 = load i64, i64* @gv_31, align 8 store i64 %17, i64* @gv_32, align 8 store i64 %18, i64* @gv_33, align 8 %19 = load i64, i64* bitcast ([2 x i8*]* @gv_34 to i64*), align 8 %20 = load [16 x i8]*, [16 x i8]** @gv_35, align 8 %21 = ptrtoint [16 x i8]* %20 to i64 %22 = and i64 %arg1, 4294967295 %23 = call i64 @FUNC(i64 %22, i64 %arg2, i64 %21, i64 %19, i64 0) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_2, label LBL_1 LBL_1: %26 = load [16 x i8]*, [16 x i8]** @gv_35, align 8 %27 = ptrtoint [16 x i8]* %26 to i64 %28 = load i64, i64* bitcast ([2 x i8*]* @gv_34 to i64*), align 8 %29 = call i64 @FUNC(i64 %28, i64 %27) br label LBL_2 LBL_2: %30 = load i32, i32* @gv_36, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_4, label LBL_3 LBL_3: store i32 %30, i32* @gv_37, align 4 store i32 1, i32* @gv_36, align 4 br label LBL_4 LBL_4: %32 = load i32, i32* @gv_38, align 4 %33 = icmp eq i32 %32, -1 %34 = load i32, i32* @gv_39, align 4 %35 = icmp eq i32 %34, -1 %or.cond = or i1 %33, %35 br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %36 = call i32 @puts(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_40, i64 0, i64 0)) %37 = call i32 @sleep(i32 1) store i32 -1, i32* @gv_39, align 4 br label LBL_6 LBL_6: %38 = load i32, i32* @gv_41, align 4 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false store i32 %38, i32* %.reg2mem br i1 %40, label LBL_8, label LBL_7 LBL_7: store i32 1, i32* @gv_41, align 4 store i8 0, i8* bitcast (i64* @gv_4 to i8*), align 8 store i32 1, i32* %.reg2mem br label LBL_8 LBL_8: %.reload = load i32, i32* %.reg2mem %41 = load i32, i32* @gv_42, align 4 %42 = icmp eq i32 %41, 0 %43 = icmp slt i32 %41, 0 %44 = icmp eq i1 %43, false %45 = icmp eq i1 %42, false %46 = icmp eq i1 %44, %45 br i1 %46, label LBL_10, label LBL_9 LBL_9: store i32 1, i32* @gv_42, align 4 br label LBL_10 LBL_10: %47 = icmp eq i32 %.reload, 0 store i32 %.reload, i32* %.reg2mem6 store i64 0, i64* %.reg2mem8 store i32 0, i32* %storemerge4.reg2mem br i1 %47, label LBL_14, label LBL_11 LBL_11: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload9 = load i64, i64* %.reg2mem8 %.reload7 = load i32, i32* %.reg2mem6 %48 = mul i64 %.reload9, 4 %49 = add i64 %48, ptrtoint (i32** @gv_43 to i64) %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false store i32 %.reload7, i32* %.reg2mem10 br i1 %53, label LBL_13, label LBL_12 LBL_12: %54 = load i32, i32* @gv_37, align 4 store i32 %54, i32* %50, align 4 %.pre = load i32, i32* @gv_41, align 4 store i32 %.pre, i32* %.reg2mem10 br label LBL_13 LBL_13: %.reload11 = load i32, i32* %.reg2mem10 %55 = add i32 %storemerge4.reload, 1 %56 = zext i32 %.reload11 to i64 %57 = sext i32 %55 to i64 %58 = icmp slt i64 %57, %56 store i32 %.reload11, i32* %.reg2mem6 store i64 %57, i64* %.reg2mem8 store i32 %55, i32* %storemerge4.reg2mem br i1 %58, label LBL_11, label LBL_14 LBL_14: %59 = call i32 @sysconf(i32 84) store i32 %59, i32* @gv_44, align 4 %60 = icmp slt i32 %59, 129 store i32 %59, i32* %.reg2mem12 br i1 %60, label LBL_16, label LBL_15 LBL_15: call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_45, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_46, i64 0, i64 0), i32 70, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_47, i64 0, i64 0)) %.pre5 = load i32, i32* @gv_44, align 4 store i32 %.pre5, i32* %.reg2mem12 br label LBL_16 LBL_16: %.reload13 = load i32, i32* %.reg2mem12 %61 = icmp slt i32 %.reload13, 0 %62 = icmp eq i1 %61, false br i1 %62, label LBL_18, label LBL_17 LBL_17: call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_48, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_46, i64 0, i64 0), i32 71, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_47, i64 0, i64 0)) br label LBL_18 LBL_18: %63 = load i32, i32* @gv_38, align 4 %64 = load i32, i32* @gv_39, align 4 %65 = and i32 %64, %63 %66 = icmp eq i32 %65, -1 br i1 %66, label LBL_20, label LBL_19 LBL_19: store i32 1, i32* @gv_44, align 4 br label LBL_20 LBL_20: %67 = call i64 @FUNC() %68 = call i64 @FUNC() ret i64 %68 uselistorder i32 %.reload11, { 1, 0 } uselistorder i32 %41, { 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem6, { 2, 0, 1 } uselistorder i64* %.reg2mem8, { 2, 0, 1 } uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem12, { 0, 2, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i32* @gv_44, { 2, 0, 1 } uselistorder i32* @gv_42, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder i32* @gv_41, { 0, 2, 1 } uselistorder i32* @gv_39, { 0, 2, 1 } uselistorder i32 -1, { 0, 5, 1, 2, 3, 4 } uselistorder i32* @gv_38, { 1, 0 } uselistorder i32* @gv_37, { 1, 0 } uselistorder i32* @gv_36, { 1, 0 } uselistorder i32 0, { 13, 14, 0, 1, 15, 16, 17, 18, 19, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 } uselistorder i32 (i32)* @sysconf, { 1, 0 } uselistorder i32 1, { 9, 10, 11, 6, 12, 8, 13, 7, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 1, 0 } }
0
BinRealVul
acpi_gpe_init_14359
acpi_gpe_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i8 %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i8* store i8 %1, i8* %3, align 1 %4 = udiv i64 %arg2, 2 %5 = urem i64 %4, 128 %6 = call i64 @FUNC(i64 %5) store i64 %6, i64* %arg1, align 8 %7 = call i64 @FUNC(i64 %5) %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 ret i64 %7 uselistorder i64 %7, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 (i64)* @g_malloc0, { 1, 0 } }
1
BinRealVul
get_submv_prob_1078
get_submv_prob
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i32 %arg3, 0 store i64 ptrtoint (i64* @gv_0 to i64), i64* %rax.0.reg2mem br i1 %0, label LBL_1, label LBL_5 LBL_1: %1 = trunc i64 %arg1 to i32 %2 = trunc i64 %arg2 to i32 %3 = icmp eq i32 %1, %2 %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_2 LBL_2: %5 = icmp eq i32 %1, 0 %. = select i1 %5, i64 add (i64 ptrtoint (i64* @gv_1 to i64), i64 20), i64 add (i64 ptrtoint (i64* @gv_1 to i64), i64 15) store i64 %., i64* %rax.0.reg2mem br label LBL_5 LBL_3: %6 = icmp eq i32 %2, 0 %7 = icmp eq i1 %6, false store i64 ptrtoint (i64* @gv_2 to i64), i64* %rax.0.reg2mem br i1 %7, label LBL_4, label LBL_5 LBL_4: %8 = icmp eq i32 %1, 0 %9 = select i1 %8, i64 add (i64 ptrtoint (i64* @gv_1 to i64), i64 5), i64 ptrtoint (i64* @gv_1 to i64) store i64 %9, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %1, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 ptrtoint (i64* @gv_1 to i64), { 2, 3, 0, 1 } uselistorder label LBL_5, { 2, 0, 3, 1 } }
0
BinRealVul
gup_huge_pmd_5237
gup_huge_pmd
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i32 %arg5, i64* %arg6, i32* %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.13.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rsi = alloca i64, align 8 %0 = zext i32 %arg5 to i64 %1 = and i64 %arg1, 4294967295 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_11 LBL_1: %6 = ptrtoint i64* %arg6 to i64 %7 = call i64 @FUNC(i64 %1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = ptrtoint i64* %arg2 to i64 %11 = ptrtoint i32* %arg7 to i64 %12 = call i64 @FUNC(i64 %1, i64 %10, i64 %arg3, i64 %arg4, i64 %6, i64 %11) store i64 %12, i64* %rax.0.reg2mem br label LBL_11 LBL_3: %13 = call i64 @FUNC(i64 %1) %.pre = load i32, i32* %arg7, align 4 store i32 %.pre, i32* %.reg2mem store i64 %arg3, i64* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %.reload = load i32, i32* %.reg2mem %14 = sext i32 %.reload to i64 %15 = mul i64 %14, 8 %16 = add i64 %15, %6 %17 = inttoptr i64 %16 to i64* store i64 %13, i64* %17, align 8 %18 = load i32, i32* %arg7, align 4 %19 = add i32 %18, 1 store i32 %19, i32* %arg7, align 4 %20 = add i32 %sv_0.0.reload, 1 %21 = load i64, i64* @gv_0, align 8 %22 = add i64 %21, %sv_1.0.reload %23 = icmp eq i64 %22, %arg4 %24 = icmp eq i1 %23, false store i32 %19, i32* %.reg2mem store i64 %22, i64* %sv_1.0.reg2mem store i32 %20, i32* %sv_0.0.reg2mem br i1 %24, label LBL_4, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %1) %26 = zext i32 %20 to i64 %27 = call i64 @FUNC(i64 %25, i64 %26) %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = load i32, i32* %arg7, align 4 %31 = sub i32 %30, %20 store i32 %31, i32* %arg7, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %32 = call i64 @FUNC(i64 %1) %33 = trunc i64 %32 to i32 %34 = bitcast i64* %rsi to i32* %35 = load i32, i32* %34, align 8 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %33, %38 %40 = icmp eq i1 %39, false %41 = icmp eq i1 %40, false br i1 %41, label LBL_10, label LBL_8 LBL_8: %42 = load i32, i32* %arg7, align 4 %43 = sub i32 %42, %20 store i32 %43, i32* %arg7, align 4 %44 = icmp eq i32 %20, 0 %45 = icmp eq i1 %44, false store i32 %20, i32* %sv_0.13.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %45, label LBL_9, label LBL_11 LBL_9: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %46 = add i32 %sv_0.13.reload, -1 %47 = call i64 @FUNC(i64 %27) %48 = icmp eq i32 %46, 0 %49 = icmp eq i1 %48, false store i32 %46, i32* %sv_0.13.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %49, label LBL_9, label LBL_11 LBL_10: %50 = call i64 @FUNC(i64 %27) store i64 1, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %27, { 1, 0, 2 } uselistorder i32 %20, { 0, 5, 3, 2, 4, 1 } uselistorder i64 %1, { 3, 2, 1, 4, 0, 5 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.13.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 5, 4, 3 } uselistorder i64 (i64)* @pmd_val, { 1, 0 } uselistorder i64 (i64)* @pmd_page, { 1, 0 } uselistorder i1 false, { 2, 0, 1, 3, 4, 5, 6 } uselistorder i32* %arg7, { 5, 4, 3, 2, 7, 6, 0, 1 } uselistorder i64 %arg4, { 1, 0 } uselistorder label LBL_11, { 3, 0, 1, 4, 5, 2 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
PredictorEncodeRow_11047
PredictorEncodeRow
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = inttoptr i64 %1 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 34, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %8 = add i64 %1, 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 br i1 %12, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_6 LBL_6: ret i64 %0 uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 0, 2, 1 } }
1
BinRealVul
_free_step_rec_4484
_free_step_rec
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 %.pre = add i64 %arg1, 8 %.pre1 = inttoptr i64 %.pre to i64* br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = load i64, i64* %.pre1, align 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %arg1, i64 %3) %5 = call i64 @FUNC(i64 %arg1) br label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %arg1) %7 = add i64 %arg1, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %arg1, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %arg1, 32 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) %19 = load i64, i64* %.pre1, align 8 %20 = call i64 @FUNC(i64 %19) %21 = add i64 %arg1, 40 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %23) %25 = add i64 %arg1, 48 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) %29 = add i64 %arg1, 56 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31) %33 = add i64 %arg1, 64 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = call i64 @FUNC(i64 %35) %37 = add i64 %arg1, 72 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = call i64 @FUNC(i64 %39) %41 = add i64 %arg1, 80 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43) %45 = add i64 %arg1, 88 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 %47) %49 = add i64 %arg1, 96 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = call i64 @FUNC(i64 %51) %53 = add i64 %arg1, 104 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = call i64 @FUNC(i64 %55) %57 = add i64 %arg1, 112 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = icmp eq i64 %59, 0 br i1 %60, label LBL_4, label LBL_3 LBL_3: %61 = call i64 @FUNC(i64 %59) br label LBL_4 LBL_4: %62 = add i64 %arg1, 120 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = call i64 @FUNC(i64 %64) %66 = add i64 %arg1, 136 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = call i64 @FUNC(i64 %68) %70 = add i64 %arg1, 128 %71 = inttoptr i64 %70 to i64* store i64 0, i64* %71, align 8 %72 = call i64 @FUNC(i64 %arg1) ret i64 %72 uselistorder i64 (i64)* @FREE_NULL_BITMAP, { 2, 1, 0 } uselistorder i64 (i64)* @xfree, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 2, 1, 0, 21 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
spatial_decompose53i_16929
spatial_decompose53i
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %sv_1.05.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %0 = add i32 %arg3, -1 %1 = zext i32 %0 to i64 %2 = call i64 @FUNC(i64 4294967293, i64 %1) %3 = call i64 @FUNC(i64 4294967294, i64 %1) %4 = icmp sgt i32 %arg3, -2 store i64 4294967294, i64* %storemerge.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_11 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = trunc i64 %3 to i32 %7 = mul i32 %6, %arg4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = add i64 %9, %5 %11 = trunc i64 %2 to i32 %12 = mul i32 %11, %arg4 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 4 %15 = add i64 %14, %5 %16 = zext i32 %arg2 to i64 %17 = sext i32 %arg3 to i64 store i32 -2, i32* %storemerge6.reg2mem store i64 %10, i64* %sv_1.05.reg2mem store i64 %15, i64* %sv_0.04.reg2mem br label LBL_2 LBL_2: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %18 = or i32 %storemerge6.reload, 1 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19, i64 %1) %21 = trunc i64 %20 to i32 %22 = mul i32 %21, %arg4 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = add i64 %24, %5 %26 = add i32 %storemerge6.reload, 2 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27, i64 %1) %29 = trunc i64 %28 to i32 %30 = mul i32 %29, %arg4 %31 = sext i32 %30 to i64 %32 = mul i64 %31, 4 %33 = add i64 %32, %5 %34 = icmp ugt i64 %sv_1.05.reload, %33 br i1 %34, label LBL_4, label LBL_3 LBL_3: %35 = call i64 @FUNC(i64 %25, i64 %16) br label LBL_4 LBL_4: %36 = icmp sgt i64 %17, %27 br i1 %36, label LBL_5, label LBL_6 LBL_5: %37 = call i64 @FUNC(i64 %33, i64 %16) br label LBL_6 LBL_6: br i1 %34, label LBL_8, label LBL_7 LBL_7: %38 = call i64 @FUNC(i64 %sv_1.05.reload, i64 %25, i64 %33, i32 %arg2) br label LBL_8 LBL_8: %39 = icmp ugt i64 %sv_0.04.reload, %25 br i1 %39, label LBL_10, label LBL_9 LBL_9: %40 = call i64 @FUNC(i64 %sv_0.04.reload, i64 %sv_1.05.reload, i64 %25, i32 %arg2) br label LBL_10 LBL_10: %41 = icmp slt i32 %26, %arg3 store i32 %26, i32* %storemerge6.reg2mem store i64 %33, i64* %sv_1.05.reg2mem store i64 %25, i64* %sv_0.04.reg2mem store i64 %27, i64* %storemerge.lcssa.reg2mem br i1 %41, label LBL_2, label LBL_11 LBL_11: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %25, { 0, 4, 3, 2, 1 } uselistorder i32 %storemerge6.reload, { 1, 0 } uselistorder i64 %sv_0.04.reload, { 1, 0 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.05.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @horizontal_decompose53i, { 1, 0 } uselistorder i64 (i64, i64)* @mirror, { 3, 2, 1, 0 } uselistorder i32 %arg3, { 2, 1, 0, 3 } uselistorder i32 %arg2, { 2, 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
msf_probe_2404
msf_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i32 @memcmp(i64* %arg1, i64* bitcast ([4 x i8]* @gv_0 to i64*), i32 3) %1 = icmp eq i32 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_4 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_4 LBL_2: %8 = add i64 %2, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_3: %13 = add i64 %2, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp ult i32 %15, 17 %. = select i1 %16, i64 66, i64 20 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 i64 %2, { 2, 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
0
BinRealVul
x8_init_block_index_15798
x8_init_block_index
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = add i64 %0, 28 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %0, 40 %8 = inttoptr i64 %7 to i64* store i64 %0, i64* %8, align 8 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %0, 48 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = add i64 %0, 56 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = load i64, i64* %8, align 8 %20 = add i64 %0, 64 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = mul i32 %3, 8 %24 = mul i32 %23, %22 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 4 %27 = add i64 %26, %19 store i64 %27, i64* %8, align 8 %28 = load i64, i64* %13, align 8 %29 = load i32, i32* %21, align 4 %30 = and i32 %29, -2 %31 = mul i32 %6, 4 %32 = mul i32 %30, %31 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 4 %35 = add i64 %34, %28 store i64 %35, i64* %13, align 8 %36 = load i64, i64* %18, align 8 %37 = load i32, i32* %21, align 4 %38 = and i32 %37, -2 %39 = mul i32 %38, %31 %40 = sext i32 %39 to i64 %41 = mul i64 %40, 4 %42 = add i64 %41, %36 store i64 %42, i64* %18, align 8 ret i64 %0 uselistorder i32 %31, { 1, 0 } uselistorder i64 %0, { 0, 1, 2, 3, 4, 5, 7, 6, 8, 9 } }
1
BinRealVul
hpet_start_timer_618
hpet_start_timer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %1 = load i32, i32* %0 %2 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_8 LBL_1: %6 = call i32 (i32, i32, ...) @ioctl(i32 %3, i32 305419896) %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %10 = call i32 @fwrite(i64* bitcast ([180 x i8]* @gv_2 to i64*), i32 1, i32 179, %_IO_FILE* %9) br label LBL_7 LBL_3: %11 = call i32 (i32, i32, ...) @ioctl(i32 %3, i32 305419897) %12 = icmp slt i32 %11, 0 br i1 %12, label LBL_7, label LBL_4 LBL_4: %13 = call i32 (i32, i32, ...) @ioctl(i32 %3, i32 305419898) %14 = icmp ne i32 %1, 0 %15 = icmp slt i32 %13, 0 %or.cond = icmp eq i1 %14, %15 br i1 %or.cond, label LBL_7, label LBL_5 LBL_5: %16 = call i32 (i32, i32, ...) @ioctl(i32 %3, i32 305419899) %17 = icmp slt i32 %16, 0 br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = and i64 %2, 4294967295 %19 = call i64 @FUNC(i64 %18) %sext = mul i64 %2, 4294967296 %20 = ashr exact i64 %sext, 32 store i64 %20, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %21 = call i32 @close(i32 %3) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %3, { 2, 0, 1, 3, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 (i32, i32, ...)* @ioctl, { 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder label LBL_8, { 1, 2, 0 } }
0
BinRealVul
lsi_soft_reset_2988
lsi_soft_reset
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(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %2 = bitcast i64* %arg1 to i32* store i32 0, i32* %2, align 4 %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %0, 12 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 %11 = add i64 %0, 20 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 %13 = add i64 %0, 24 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 %15 = add i64 %0, 28 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = add i64 %0, 32 %18 = inttoptr i64 %17 to i64* %19 = call i64* @memset(i64* %18, i32 0, i32 1024) %20 = add i64 %0, 1056 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = add i64 %0, 1060 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 %24 = add i64 %0, 1064 %25 = inttoptr i64 %24 to i32* store i32 64, i32* %25, align 4 %26 = add i64 %0, 1068 %27 = inttoptr i64 %26 to i32* store i32 0, i32* %27, align 4 %28 = add i64 %0, 1072 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 %30 = add i64 %0, 1076 %31 = inttoptr i64 %30 to i32* store i32 0, i32* %31, align 4 %32 = add i64 %0, 1080 %33 = inttoptr i64 %32 to i32* store i32 0, i32* %33, align 4 %34 = add i64 %0, 1084 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 %36 = add i64 %0, 1088 %37 = inttoptr i64 %36 to i32* store i32 0, i32* %37, align 4 %38 = add i64 %0, 1092 %39 = inttoptr i64 %38 to i32* store i32 0, i32* %39, align 4 %40 = add i64 %0, 1096 %41 = inttoptr i64 %40 to i32* store i32 0, i32* %41, align 4 %42 = add i64 %0, 1100 %43 = inttoptr i64 %42 to i32* store i32 0, i32* %43, align 4 %44 = add i64 %0, 1104 %45 = inttoptr i64 %44 to i32* store i32 0, i32* %45, align 4 %46 = add i64 %0, 1108 %47 = inttoptr i64 %46 to i32* store i32 0, i32* %47, align 4 %48 = add i64 %0, 1112 %49 = inttoptr i64 %48 to i32* store i32 0, i32* %49, align 4 %50 = add i64 %0, 1116 %51 = inttoptr i64 %50 to i32* store i32 0, i32* %51, align 4 %52 = add i64 %0, 1120 %53 = inttoptr i64 %52 to i32* store i32 0, i32* %53, align 4 %54 = add i64 %0, 1124 %55 = inttoptr i64 %54 to i32* store i32 0, i32* %55, align 4 %56 = add i64 %0, 1128 %57 = inttoptr i64 %56 to i32* store i32 0, i32* %57, align 4 %58 = add i64 %0, 1132 %59 = inttoptr i64 %58 to i32* store i32 0, i32* %59, align 4 %60 = add i64 %0, 1136 %61 = inttoptr i64 %60 to i32* store i32 0, i32* %61, align 4 %62 = add i64 %0, 1140 %63 = inttoptr i64 %62 to i32* store i32 0, i32* %63, align 4 %64 = add i64 %0, 1144 %65 = inttoptr i64 %64 to i32* store i32 192, i32* %65, align 4 %66 = add i64 %0, 1148 %67 = inttoptr i64 %66 to i32* store i32 0, i32* %67, align 4 %68 = add i64 %0, 1152 %69 = inttoptr i64 %68 to i32* store i32 0, i32* %69, align 4 %70 = add i64 %0, 1156 %71 = inttoptr i64 %70 to i32* store i32 0, i32* %71, align 4 %72 = add i64 %0, 1160 %73 = inttoptr i64 %72 to i32* store i32 0, i32* %73, align 4 %74 = add i64 %0, 1164 %75 = inttoptr i64 %74 to i32* store i32 0, i32* %75, align 4 %76 = add i64 %0, 1168 %77 = inttoptr i64 %76 to i32* store i32 7, i32* %77, align 4 %78 = add i64 %0, 1172 %79 = inttoptr i64 %78 to i32* store i32 0, i32* %79, align 4 %80 = add i64 %0, 1176 %81 = inttoptr i64 %80 to i32* store i32 0, i32* %81, align 4 %82 = add i64 %0, 1180 %83 = inttoptr i64 %82 to i32* store i32 0, i32* %83, align 4 %84 = add i64 %0, 1184 %85 = inttoptr i64 %84 to i32* store i32 0, i32* %85, align 4 %86 = add i64 %0, 1188 %87 = inttoptr i64 %86 to i32* store i32 0, i32* %87, align 4 %88 = add i64 %0, 1192 %89 = inttoptr i64 %88 to i32* store i32 0, i32* %89, align 4 %90 = add i64 %0, 1196 %91 = inttoptr i64 %90 to i32* store i32 0, i32* %91, align 4 %92 = add i64 %0, 1200 %93 = inttoptr i64 %92 to i32* store i32 0, i32* %93, align 4 %94 = add i64 %0, 1204 %95 = inttoptr i64 %94 to i32* store i32 0, i32* %95, align 4 %96 = add i64 %0, 1208 %97 = inttoptr i64 %96 to i32* store i32 128, i32* %97, align 4 %98 = add i64 %0, 1212 %99 = inttoptr i64 %98 to i32* store i32 0, i32* %99, align 4 %100 = add i64 %0, 1216 %101 = inttoptr i64 %100 to i32* store i32 0, i32* %101, align 4 %102 = add i64 %0, 1220 %103 = inttoptr i64 %102 to i32* store i32 0, i32* %103, align 4 %104 = add i64 %0, 1224 %105 = inttoptr i64 %104 to i32* store i32 0, i32* %105, align 4 %106 = add i64 %0, 1228 %107 = inttoptr i64 %106 to i32* store i32 0, i32* %107, align 4 %108 = add i64 %0, 1232 %109 = inttoptr i64 %108 to i32* store i32 0, i32* %109, align 4 %110 = add i64 %0, 1236 %111 = inttoptr i64 %110 to i32* store i32 0, i32* %111, align 4 %112 = add i64 %0, 1240 %113 = inttoptr i64 %112 to i32* store i32 0, i32* %113, align 4 %114 = add i64 %0, 1244 %115 = inttoptr i64 %114 to i32* store i32 0, i32* %115, align 4 %116 = add i64 %0, 1248 %117 = inttoptr i64 %116 to i32* store i32 0, i32* %117, align 4 %118 = add i64 %0, 1252 %119 = inttoptr i64 %118 to i32* store i32 0, i32* %119, align 4 %120 = add i64 %0, 1256 %121 = inttoptr i64 %120 to i32* store i32 0, i32* %121, align 4 %122 = add i64 %0, 1260 %123 = inttoptr i64 %122 to i32* store i32 0, i32* %123, align 4 %124 = add i64 %0, 1264 %125 = inttoptr i64 %124 to i32* store i32 0, i32* %125, align 4 %126 = add i64 %0, 1268 %127 = inttoptr i64 %126 to i32* store i32 0, i32* %127, align 4 %128 = add i64 %0, 1272 %129 = inttoptr i64 %128 to i32* store i32 0, i32* %129, align 4 %130 = add i64 %0, 1276 %131 = inttoptr i64 %130 to i32* %132 = load i32, i32* %131, align 4 %133 = icmp eq i32 %132, 0 %134 = icmp eq i1 %133, false br i1 %134, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_2, i64 0, i64 0), i32 148, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0)) br label LBL_2 LBL_2: %135 = add i64 %0, 1280 %136 = inttoptr i64 %135 to i32* %137 = load i32, i32* %136, align 4 %138 = icmp eq i32 %137, 0 store i64 0, i64* %rax.0.reg2mem br i1 %138, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_2, i64 0, i64 0), i32 149, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to 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 void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 0, 54, 55, 56, 57, 58, 59, 60, 61 } }
0
BinRealVul
set_path_power_17972
set_path_power
define i64 @FUNC(i64* %arg1, i32 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.14.reg2mem = alloca i32 %storemerge6.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %3, label LBL_13, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = bitcast i64* %rdi to i32* %6 = trunc i64 %arg3 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i32 %6, 0 %9 = icmp eq i1 %8, false %10 = zext i1 %9 to i8 %11 = trunc i64 %arg4 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i32 %11, 0 %14 = icmp eq i1 %13, false %15 = zext i1 %14 to i8 store i32 0, i32* %storemerge6.reg2mem store i32 0, i32* %sv_0.14.reg2mem br label LBL_2 LBL_2: %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %16 = zext i32 %storemerge6.reload to i64 %17 = call i64 @FUNC(i64 %4, i64 %16) %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, %arg2 br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = add i64 %17, 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 4 %28 = add i64 %19, -4 %29 = add i64 %28, %27 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, %arg2 %33 = icmp eq i1 %32, false store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem br i1 %33, label LBL_12, label LBL_4 LBL_4: %34 = add i64 %17, 12 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = add i64 %17, 13 %38 = inttoptr i64 %37 to i8* %39 = load i8, i8* %38, align 1 br i1 %7, label LBL_6, label LBL_5 LBL_5: store i8 %10, i8* %35, align 1 br label LBL_6 LBL_6: br i1 %12, label LBL_8, label LBL_7 LBL_7: store i8 %15, i8* %38, align 1 br label LBL_8 LBL_8: %40 = add i64 %17, 14 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = icmp eq i8 %42, 1 br i1 %43, label LBL_10, label LBL_9 LBL_9: %44 = load i8, i8* %35, align 1 %45 = icmp eq i8 %36, %44 %46 = icmp eq i1 %45, false br i1 %46, label LBL_11, label LBL_10 LBL_10: %47 = load i8, i8* %38, align 1 %48 = icmp eq i8 %39, %47 store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem br i1 %48, label LBL_12, label LBL_11 LBL_11: %49 = call i64 @FUNC(i64 %4, i64 %17, i64 1) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 %spec.select = select i1 %51, i32 %sv_0.14.reload, i32 %50 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %52 = add i32 %storemerge6.reload, 1 %53 = load i32, i32* %5, align 8 %54 = zext i32 %53 to i64 %55 = sext i32 %52 to i64 %56 = icmp slt i64 %55, %54 store i32 %52, i32* %storemerge6.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.14.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %56, label LBL_2, label LBL_13 LBL_13: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %57 = zext i32 %sv_0.1.lcssa.reload to i64 ret i64 %57 uselistorder i8* %38, { 1, 0, 2 } uselistorder i8* %35, { 1, 0, 2 } uselistorder i64 %17, { 0, 1, 3, 2, 4, 5 } uselistorder i32 %sv_0.14.reload, { 2, 1, 0 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 3, 2 } uselistorder i1 false, { 0, 3, 1, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
uv__idna_toascii_7093
uv__idna_toascii
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.ph.lcssa.reg2mem = alloca i64 %sv_0.0.ph20.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 %0, i64* %sv_2, align 8 %2 = icmp eq i64 %1, %arg1 %3 = icmp eq i1 %2, false store i64 -1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_16 LBL_1: %4 = ptrtoint i64* %arg4 to i64 store i64 %arg1, i64* %sv_1, align 8 %5 = icmp ugt i64 %1, %arg1 store i64 %arg1, i64* %sv_0.0.ph20.reg2mem store i64 %arg1, i64* %sv_0.0.ph.lcssa.reg2mem br i1 %5, label LBL_2.lr.ph, label LBL_11 LBL_2: %6 = call i64 @FUNC(i64* nonnull %sv_1, i64 %1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, -1 %9 = icmp eq i1 %8, false store i64 -1, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_16 LBL_3: switch i32 %7, label LBL_3.dec_label_pc_401208_crit_edge [ i32 65377, label LBL_5 i32 65294, label LBL_5 i32 12290, label LBL_5 i32 46, label LBL_5 ] LBL_4: %.pre = load i64, i64* %sv_1, align 8 %10 = icmp ult i64 %.pre, %1 store i64 %.pre, i64* %.reg2mem store i64 %sv_0.0.ph20.reload, i64* %sv_0.0.ph.lcssa.reg2mem br i1 %10, label LBL_2, label LBL_11 LBL_5: %.reload = load i64, i64* %.reg2mem %11 = call i64 @FUNC(i64 %sv_0.0.ph20.reload, i64 %.reload, i64* nonnull %sv_2, i64 %4) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_7, label LBL_6 LBL_6: %sext6 = mul i64 %11, 4294967296 %15 = ashr exact i64 %sext6, 32 store i64 %15, i64* %rax.0.reg2mem br label LBL_16 LBL_7: %16 = load i64, i64* %sv_2, align 8 %17 = icmp ult i64 %16, %4 br i1 %17, label LBL_8, label LBL_9 LBL_8: %18 = add i64 %16, 1 store i64 %18, i64* %sv_2, align 8 %19 = inttoptr i64 %16 to i8* store i8 46, i8* %19, align 1 br label LBL_9 LBL_9: %20 = load i64, i64* %sv_1, align 8 %21 = icmp ult i64 %20, %1 store i64 %20, i64* %sv_0.0.ph20.reg2mem store i64 %20, i64* %sv_0.0.ph.lcssa.reg2mem br i1 %21, label LBL_2.lr.ph, label LBL_11 LBL_10: %sv_0.0.ph20.reload = load i64, i64* %sv_0.0.ph20.reg2mem store i64 %sv_0.0.ph20.reload, i64* %.reg2mem br label LBL_2 LBL_11: %sv_0.0.ph.lcssa.reload = load i64, i64* %sv_0.0.ph.lcssa.reg2mem %22 = icmp ult i64 %sv_0.0.ph.lcssa.reload, %1 %23 = icmp eq i1 %22, false br i1 %23, label LBL_14, label LBL_12 LBL_12: %24 = call i64 @FUNC(i64 %sv_0.0.ph.lcssa.reload, i64 %1, i64* nonnull %sv_2, i64 %4) %25 = trunc i64 %24 to i32 %26 = icmp slt i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_14, label LBL_13 LBL_13: %sext = mul i64 %24, 4294967296 %28 = ashr exact i64 %sext, 32 store i64 %28, i64* %rax.0.reg2mem br label LBL_16 LBL_14: %29 = load i64, i64* %sv_2, align 8 %30 = icmp ult i64 %29, %4 store i64 -1, i64* %rax.0.reg2mem br i1 %30, label LBL_15, label LBL_16 LBL_15: %31 = add i64 %29, 1 store i64 %31, i64* %sv_2, align 8 %32 = inttoptr i64 %29 to i8* store i8 0, i8* %32, align 1 %33 = load i64, i64* %sv_2, align 8 %34 = sub i64 %33, %0 store i64 %34, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %29, { 1, 2, 0 } uselistorder i64 %sv_0.0.ph20.reload, { 2, 0, 1 } uselistorder i64 %16, { 1, 2, 0 } uselistorder i64 %4, { 1, 2, 0, 3 } uselistorder i64* %sv_2, { 2, 3, 4, 0, 5, 6, 1, 7 } uselistorder i64* %sv_1, { 2, 0, 1, 3 } uselistorder i64 %1, { 5, 4, 1, 2, 3, 0, 6 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.ph20.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.ph.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 4, 6, 1, 3 } uselistorder i64 32, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 -1, { 1, 0, 2 } uselistorder i1 false, { 2, 3, 0, 1, 4 } uselistorder label LBL_16, { 3, 1, 5, 4, 0, 2 } uselistorder label LBL_11, { 2, 0, 1 } uselistorder label LBL_2.lr.ph, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
alloc_top_12376
alloc_top
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = sub i64 %0, %arg1 store i64 %1, i64* @gv_0, align 8 %2 = call i64 @FUNC(i64 %arg2) %3 = load i64, i64* @gv_0, align 8 %4 = load i64, i64* @gv_1, align 8 %5 = icmp ult i64 %3, %4 %6 = icmp eq i1 %5, false store i64 %3, i64* %.lcssa.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC() %8 = load i64, i64* @gv_0, align 8 %9 = sub i64 %8, %arg1 store i64 %9, i64* @gv_0, align 8 %10 = call i64 @FUNC(i64 %arg2) %11 = load i64, i64* @gv_0, align 8 %12 = load i64, i64* @gv_1, align 8 %13 = icmp ult i64 %11, %12 %14 = icmp eq i1 %13, false store i64 %11, i64* %.lcssa.reg2mem br i1 %14, label LBL_2, label LBL_1 LBL_2: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i1 false, { 1, 0 } uselistorder i64* @gv_1, { 1, 0 } uselistorder i64 (i64)* @align_top, { 1, 0 } uselistorder i64 1048576, { 1, 0 } uselistorder i64* @gv_0, { 3, 4, 5, 0, 1, 2, 6, 7, 8, 9 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
rndis_filter_query_device_18084
rndis_filter_query_device
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg3, 0 %3 = icmp eq i1 %2, false store i64 4294967274, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_10 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = bitcast i64* %arg4 to i32* store i32 0, i32* %5, align 4 %6 = call i64 @FUNC(i64 %4, i64 1, i64 16) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967284, i64* %sv_0.05.reg2mem br i1 %8, label LBL_2, label LBL_9 LBL_2: %9 = inttoptr i64 %6 to i32* %10 = trunc i64 %arg2 to i32 store i32 %10, i32* %9, align 4 %11 = add i64 %6, 4 %12 = inttoptr i64 %11 to i32* store i32 16, i32* %12, align 4 %13 = add i64 %6, 8 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 %15 = add i64 %6, 12 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = icmp eq i32 %10, 1 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = add i64 %6, 16 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i32 %21, 12 store i32 %22, i32* %20, align 4 store i32 12, i32* %14, align 4 %23 = load i32, i32* %12, align 4 %24 = zext i32 %23 to i64 %25 = add i64 %6, %24 %26 = inttoptr i64 %25 to i32* store i32 1, i32* %26, align 4 %27 = add i64 %25, 4 %28 = inttoptr i64 %27 to i32* store i32 2, i32* %28, align 4 %29 = add i64 %25, 8 %30 = inttoptr i64 %29 to i32* store i32 12, i32* %30, align 4 br label LBL_4 LBL_4: %31 = call i64 @FUNC(i64 %4, i64 %6) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i64 %31, i64* %sv_0.0.ph.reg2mem br i1 %34, label LBL_8, label LBL_5 LBL_5: %35 = add i64 %6, 28 %36 = call i64 @FUNC(i64 %35, i64 500) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false store i64 4294967186, i64* %sv_0.0.ph.reg2mem br i1 %39, label LBL_6, label LBL_8 LBL_6: %40 = trunc i64 %1 to i32 %41 = add i64 %6, 20 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = icmp ugt i32 %43, %40 %45 = icmp eq i1 %44, false store i64 4294967295, i64* %sv_0.0.ph.reg2mem br i1 %45, label LBL_7, label LBL_8 LBL_7: %46 = add i64 %6, 24 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = zext i32 %48 to i64 %50 = add i64 %41, %49 %51 = inttoptr i64 %arg3 to i64* %52 = inttoptr i64 %50 to i64* %53 = call i64* @memcpy(i64* %51, i64* %52, i32 %43) %54 = load i32, i32* %42, align 4 store i32 %54, i32* %5, align 4 store i64 %31, i64* %sv_0.0.ph.reg2mem br label LBL_8 LBL_8: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %55 = call i64 @FUNC(i64 %4, i64 %6) store i64 %sv_0.0.ph.reload, i64* %sv_0.05.reg2mem br label LBL_9 LBL_9: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %56 = and i64 %sv_0.05.reload, 4294967295 store i64 %56, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %43, { 1, 0 } uselistorder i64 %31, { 1, 0, 2 } uselistorder i64 %6, { 6, 1, 2, 3, 4, 0, 5, 7, 8, 9, 10, 11 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 4, 3, 1 } uselistorder i64* %sv_0.05.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 12, { 1, 2, 0 } uselistorder i64 16, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0 } uselistorder i64 0, { 2, 3, 0, 1 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 3, 0, 1, 2 } }
1