dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
decode_unit_11261
decode_unit
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.06.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %indvars.iv24.reg2mem = alloca i64 %sv_0.09.reg2mem = alloca i32 %indvars.iv27.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i32 %sv_3.0.lcssa.reg2mem = alloca i32 %sv_4.0.lcssa30.reg2mem = alloca i64 %sv_5.111.reg2mem = alloca i32 %sv_3.012.reg2mem = alloca i32 %sv_5.017.reg2mem = alloca i32 %indvars.iv44.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = load i32, i32* %1 %5 = trunc i64 %3 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = add i32 %5, 20 %10 = trunc i64 %2 to i32 %11 = add i64 %8, 1028 store i64 0, i64* %indvars.iv44.reg2mem store i32 0, i32* %sv_5.017.reg2mem br label LBL_3 LBL_2: %12 = and i64 %3, 4294967295 store i64 %12, i64* %rax.0.reg2mem br label LBL_17 LBL_3: %sv_5.017.reload = load i32, i32* %sv_5.017.reg2mem %indvars.iv44.reload = load i64, i64* %indvars.iv44.reg2mem %13 = mul i64 %indvars.iv44.reload, 4 %14 = add i64 %13, %11 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i32 %16, %sv_5.017.reload %18 = icmp ugt i32 %17, %4 br i1 %18, label LBL_5, label LBL_4 LBL_4: %indvars.iv.next45 = add nuw nsw i64 %indvars.iv44.reload, 1 %19 = icmp ult i64 %indvars.iv.next45, 16 store i64 %indvars.iv.next45, i64* %indvars.iv44.reg2mem store i32 %17, i32* %sv_5.017.reg2mem store i64 16, i64* %sv_4.0.lcssa30.reg2mem store i32 256, i32* %sv_3.0.lcssa.reg2mem store i32 0, i32* %sv_2.1.reg2mem br i1 %19, label LBL_3, label LBL_9 LBL_5: %20 = trunc i64 %indvars.iv44.reload to i32 %21 = mul i32 %20, 16 %22 = icmp slt i32 %21, 256 store i64 %indvars.iv44.reload, i64* %sv_4.0.lcssa30.reg2mem store i32 256, i32* %sv_3.0.lcssa.reg2mem store i32 0, i32* %sv_2.1.reg2mem br i1 %22, label LBL_6, label LBL_9 LBL_6: %23 = add i64 %8, 4 store i32 %21, i32* %sv_3.012.reg2mem store i32 %sv_5.017.reload, i32* %sv_5.111.reg2mem br label LBL_7 LBL_7: %sv_5.111.reload = load i32, i32* %sv_5.111.reg2mem %sv_3.012.reload = load i32, i32* %sv_3.012.reg2mem %24 = sext i32 %sv_3.012.reload to i64 %25 = mul i64 %24, 4 %26 = add i64 %23, %25 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i32 %28, %sv_5.111.reload %30 = icmp ugt i32 %29, %4 store i64 %indvars.iv44.reload, i64* %sv_4.0.lcssa30.reg2mem store i32 %sv_3.012.reload, i32* %sv_3.0.lcssa.reg2mem store i32 %28, i32* %sv_2.1.reg2mem br i1 %30, label LBL_9, label LBL_8 LBL_8: %31 = add nuw i32 %sv_3.012.reload, 1 %32 = icmp ult i32 %31, 256 store i32 %31, i32* %sv_3.012.reg2mem store i32 %29, i32* %sv_5.111.reg2mem store i64 %indvars.iv44.reload, i64* %sv_4.0.lcssa30.reg2mem store i32 256, i32* %sv_3.0.lcssa.reg2mem store i32 %28, i32* %sv_2.1.reg2mem br i1 %32, label LBL_7, label LBL_9 LBL_9: %33 = icmp slt i32 %9, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_11, label LBL_10 LBL_10: %35 = zext i32 %9 to i64 store i64 %35, i64* %rax.0.reg2mem br label LBL_17 LBL_11: %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem %sv_4.0.lcssa30.reload = load i64, i64* %sv_4.0.lcssa30.reg2mem %36 = add i32 %sv_2.1.reload, %arg3 %37 = sext i32 %sv_3.0.lcssa.reload to i64 %38 = mul i64 %37, 4 %39 = add i64 %8, 4 %40 = add i64 %38, %39 %41 = inttoptr i64 %40 to i32* store i32 %36, i32* %41, align 4 %42 = add i32 %16, %arg3 %43 = mul i64 %sv_4.0.lcssa30.reload, 4 %44 = and i64 %43, 17179869180 %45 = add i64 %44, %11 %46 = inttoptr i64 %45 to i32* store i32 %42, i32* %46, align 4 %47 = add i32 %10, %arg3 %48 = icmp ult i32 %47, 257 store i64 0, i64* %indvars.iv27.reg2mem store i32 0, i32* %sv_0.09.reg2mem store i32 %47, i32* %sv_0.1.reg2mem br i1 %48, label LBL_16, label LBL_12 LBL_12: %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem %indvars.iv27.reload = load i64, i64* %indvars.iv27.reg2mem %49 = mul i64 %indvars.iv27.reload, 4 %50 = add i64 %49, %39 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = udiv i32 %52, 2 %54 = add nuw i32 %53, 1 store i32 %54, i32* %51, align 4 %55 = add i32 %54, %sv_0.09.reload %indvars.iv.next28 = add nuw nsw i64 %indvars.iv27.reload, 1 %exitcond29 = icmp eq i64 %indvars.iv.next28, 256 store i64 %indvars.iv.next28, i64* %indvars.iv27.reg2mem store i32 %55, i32* %sv_0.09.reg2mem store i64 0, i64* %indvars.iv24.reg2mem br i1 %exitcond29, label LBL_13, label LBL_12 LBL_13: %indvars.iv24.reload = load i64, i64* %indvars.iv24.reg2mem %56 = mul i64 %indvars.iv24.reload, 16 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_1.06.reg2mem br label LBL_14 LBL_14: %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %57 = add nuw nsw i64 %indvars.iv.reload, %56 %58 = mul i64 %57, 4 %59 = add i64 %58, %39 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = add i32 %61, %sv_1.06.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %62, i32* %sv_1.06.reg2mem br i1 %exitcond, label LBL_15, label LBL_14 LBL_15: %63 = mul i64 %indvars.iv24.reload, 4 %64 = add i64 %63, %11 %65 = inttoptr i64 %64 to i32* store i32 %62, i32* %65, align 4 %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24.reload, 1 %exitcond26 = icmp eq i64 %indvars.iv.next25, 16 store i64 %indvars.iv.next25, i64* %indvars.iv24.reg2mem store i32 %55, i32* %sv_0.1.reg2mem br i1 %exitcond26, label LBL_16, label LBL_13 LBL_16: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %66 = bitcast i64* %arg2 to i32* store i32 %sv_0.1.reload, i32* %66, align 4 %67 = add i64 %3, 16 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = and i32 %69, %sv_3.0.lcssa.reload %71 = bitcast i64* %arg4 to i32* store i32 %70, i32* %71, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %62, { 1, 0 } uselistorder i64 %indvars.iv24.reload, { 0, 2, 1 } uselistorder i32 %sv_3.0.lcssa.reload, { 1, 0 } uselistorder i32 %sv_3.012.reload, { 1, 0, 2 } uselistorder i64 %indvars.iv44.reload, { 0, 1, 2, 4, 3, 5 } uselistorder i32 %9, { 1, 0 } uselistorder i64 %8, { 1, 2, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64* %indvars.iv44.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_5.017.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.012.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_5.111.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_4.0.lcssa30.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i32* %sv_3.0.lcssa.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %indvars.iv27.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.09.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv24.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 256, { 1, 4, 2, 3, 0 } uselistorder i64 16, { 5, 3, 4, 1, 0, 2 } uselistorder i64 1, { 2, 3, 1, 0 } uselistorder i64 4, { 0, 1, 2, 3, 7, 4, 5, 8, 6 } uselistorder i32 0, { 0, 1, 5, 3, 2, 4, 6 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 2, 3, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
ff_srtp_decrypt_99
ff_srtp_decrypt
define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %sv_4.1.reg2mem = alloca i32 %sv_5.1.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %sv_5.0.reg2mem = alloca i32 %.pn.reg2mem = alloca i32 %storemerge4.in.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %rsi = alloca i64, align 8 %4 = load i64, i64* %0 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %sv_8 = alloca i64, align 8 store i64 0, i64* %sv_8, align 8 %5 = and i64 %3, 4294967295 %sext = mul i64 %4, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = icmp slt i64 %6, %5 store i64 4294967295, i64* %rax.0.reg2mem br i1 %7, label LBL_21, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = trunc i64 %3 to i32 %10 = trunc i64 %4 to i32 %11 = add i64 %8, 1 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = zext i8 %13 to i64 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = ptrtoint i32* %arg1 to i64 %storemerge5.v = select i1 %17, i64 16, i64 36 %storemerge5 = add i64 %storemerge5.v, %18 %19 = add i64 %18, 120 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21, i64 %storemerge5, i64 20) %23 = sub i32 %10, %9 %24 = sext i32 %23 to i64 %25 = load i64, i64* %20, align 8 %26 = call i64 @FUNC(i64 %25, i64 %8, i64 %24) %27 = icmp eq i1 %17, false br i1 %27, label LBL_11, label LBL_2 LBL_2: %28 = add i64 %8, 2 %29 = inttoptr i64 %28 to i16* %30 = load i16, i16* %29, align 2 %31 = zext i16 %30 to i32 %32 = add i64 %18, 4 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 0 store i32 %31, i32* %storemerge4.in.reg2mem br i1 %35, label LBL_4, label LBL_3 LBL_3: %36 = add i64 %18, 8 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 store i32 %38, i32* %storemerge4.in.reg2mem br label LBL_4 LBL_4: %storemerge4.in.reload = load i32, i32* %storemerge4.in.reg2mem %39 = add i64 %18, 12 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp sgt i32 %storemerge4.in.reload, 32767 br i1 %42, label LBL_6, label LBL_5 LBL_5: %43 = sub i32 %31, %storemerge4.in.reload %44 = icmp sgt i32 %43, 32768 %45 = sext i1 %44 to i32 store i32 %45, i32* %.pn.reg2mem br label LBL_7 LBL_6: %46 = add i32 %storemerge4.in.reload, -32768 %47 = zext i32 %46 to i64 %48 = zext i16 %30 to i64 %49 = icmp ult i64 %48, %47 %50 = zext i1 %49 to i32 store i32 %50, i32* %.pn.reg2mem br label LBL_7 LBL_7: %.pn.reload = load i32, i32* %.pn.reg2mem %sv_9.0 = add i32 %.pn.reload, %41 %51 = icmp eq i32 %.pn.reload, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_9, label LBL_8 LBL_8: %53 = sub i32 %storemerge4.in.reload, %31 %54 = xor i32 %53, -2147483648 %55 = and i32 %54, %storemerge4.in.reload %56 = icmp slt i32 %55, 0 %57 = icmp slt i32 %53, 0 %58 = icmp eq i1 %57, %56 %59 = select i1 %58, i32 %storemerge4.in.reload, i32 %31 store i32 %59, i32* %sv_5.0.reg2mem store i32 %41, i32* %sv_4.0.reg2mem br label LBL_10 LBL_9: %60 = add i32 %41, 1 %61 = icmp eq i32 %sv_9.0, %60 %62 = icmp eq i1 %61, false %spec.select7 = select i1 %62, i32 %storemerge4.in.reload, i32 %31 %spec.select8 = select i1 %62, i32 %41, i32 %sv_9.0 store i32 %spec.select7, i32* %sv_5.0.reg2mem store i32 %spec.select8, i32* %sv_4.0.reg2mem br label LBL_10 LBL_10: %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem %63 = zext i16 %30 to i64 %64 = zext i32 %sv_9.0 to i64 %65 = mul i64 %64, 65536 %66 = or i64 %65, %63 %67 = sext i32 %sv_4.0.reload to i64 store i64 %67, i64* %sv_7, align 8 %68 = load i64, i64* %20, align 8 %69 = ptrtoint i64* %sv_7 to i64 %70 = call i64 @FUNC(i64 %68, i64 %69, i64 4) store i32 %sv_5.0.reload, i32* %sv_5.1.reg2mem store i32 %sv_4.0.reload, i32* %sv_4.1.reg2mem store i64 %66, i64* %sv_2.0.reg2mem br label LBL_11 LBL_11: %71 = load i64, i64* %20, align 8 %72 = call i64 @FUNC(i64 %71, i64* nonnull %sv_6, i64 20) %sext9 = mul i64 %3, 4294967296 %73 = ashr exact i64 %sext9, 32 %74 = sub nsw i64 %6, %73 %75 = add i64 %74, %8 %76 = inttoptr i64 %75 to i64* %77 = call i32 @memcmp(i64* nonnull %sv_6, i64* %76, i32 %9) %78 = icmp eq i32 %77, 0 br i1 %78, label LBL_13, label LBL_12 LBL_12: %79 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %75, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_21 LBL_13: store i32 %23, i32* %arg3, align 4 %80 = icmp sgt i32 %23, 11 store i64 4294967295, i64* %rax.0.reg2mem br i1 %80, label LBL_14, label LBL_21 LBL_14: br i1 %17, label LBL_16, label LBL_15 LBL_15: %81 = add i64 %8, -4 %82 = add i64 %81, %24 %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = add i32 %23, -4 store i32 %85, i32* %arg3, align 4 %86 = add i64 %8, 4 %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = urem i32 %84, -2147483648 %90 = zext i32 %89 to i64 %91 = add i64 %8, 8 %92 = add i32 %23, -12 %93 = icmp slt i32 %84, 0 store i32 %92, i32* %sv_3.0.reg2mem store i64 %90, i64* %sv_2.1.reg2mem store i32 %88, i32* %sv_1.0.reg2mem store i64 %91, i64* %sv_0.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %93, label LBL_20, label LBL_21 LBL_16: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_4.1.reload = load i32, i32* %sv_4.1.reg2mem %sv_5.1.reload = load i32, i32* %sv_5.1.reg2mem %94 = add i64 %18, 4 %95 = inttoptr i64 %94 to i32* store i32 1, i32* %95, align 4 %96 = add i64 %18, 8 %97 = inttoptr i64 %96 to i32* store i32 %sv_5.1.reload, i32* %97, align 4 %98 = add i64 %18, 12 %99 = inttoptr i64 %98 to i32* store i32 %sv_4.1.reload, i32* %99, align 4 %100 = bitcast i64* %rsi to i8* %101 = load i8, i8* %100, align 8 %102 = and i8 %101, 16 %103 = add i64 %8, 8 %104 = inttoptr i64 %103 to i32* %105 = load i32, i32* %104, align 4 %106 = add i64 %8, 12 %107 = add i32 %23, -12 %108 = icmp eq i8 %102, 0 store i32 %107, i32* %sv_3.0.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem store i32 %105, i32* %sv_1.0.reg2mem store i64 %106, i64* %sv_0.0.reg2mem br i1 %108, label LBL_20, label LBL_17 LBL_17: %109 = icmp sgt i32 %107, 3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %109, label LBL_18, label LBL_21 LBL_18: %110 = add i64 %8, 14 %111 = inttoptr i64 %110 to i16* %112 = load i16, i16* %111, align 2 %113 = zext i16 %112 to i32 %114 = mul i32 %113, 4 %115 = add nuw nsw i32 %114, 4 %116 = icmp slt i32 %107, %115 store i64 4294967295, i64* %rax.0.reg2mem br i1 %116, label LBL_21, label LBL_19 LBL_19: %117 = sub i32 %107, %115 %118 = zext i32 %115 to i64 %119 = add i64 %106, %118 store i32 %117, i32* %sv_3.0.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem store i32 %105, i32* %sv_1.0.reg2mem store i64 %119, i64* %sv_0.0.reg2mem br label LBL_20 LBL_20: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %storemerge3.v = select i1 %17, i64 88, i64 102 %storemerge3 = add i64 %storemerge3.v, %18 %120 = call i64 @FUNC(i64* nonnull %sv_8, i64 %storemerge3, i64 %sv_2.1.reload, i32 %sv_1.0.reload) %storemerge.v = select i1 %17, i64 56, i64 72 %storemerge = add i64 %storemerge.v, %18 %121 = add i64 %18, 128 %122 = inttoptr i64 %121 to i64* %123 = load i64, i64* %122, align 8 %124 = call i64 @FUNC(i64 %123, i64 %storemerge, i64 128, i64 0) %125 = load i64, i64* %122, align 8 %126 = call i64 @FUNC(i64 %125, i64* nonnull %sv_8, i64 %sv_0.0.reload, i32 %sv_3.0.reload) store i64 0, 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 i32 %107, { 2, 1, 3, 0 } uselistorder i64 %106, { 1, 0 } uselistorder i32 %84, { 1, 0 } uselistorder i32 %53, { 1, 0 } uselistorder i32 %sv_9.0, { 1, 2, 0 } uselistorder i32 %41, { 2, 3, 0, 1 } uselistorder i32 %storemerge4.in.reload, { 5, 2, 6, 3, 1, 4, 0 } uselistorder i32 %31, { 1, 4, 3, 2, 0 } uselistorder i16 %30, { 1, 0, 2 } uselistorder i32 %23, { 2, 4, 3, 0, 1, 5 } uselistorder i64* %20, { 1, 0, 2, 3 } uselistorder i64 %18, { 6, 0, 1, 7, 8, 9, 3, 5, 4, 10, 2 } uselistorder i64 %8, { 2, 7, 6, 4, 5, 1, 0, 3, 8, 9 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %3, { 2, 0, 1 } uselistorder i32* %storemerge4.in.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_3.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_2.1.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 2, 3, 4, 6, 5 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i8 0, { 0, 2, 1 } uselistorder i64 4, { 1, 2, 0, 3 } uselistorder i64 (i64, i64, i64)* @av_hmac_update, { 1, 0 } uselistorder label LBL_21, { 5, 0, 1, 2, 3, 6, 4 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
is_ntfs_dotgit_19061
is_ntfs_dotgit
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 store i64 %arg1, i64* %sv_1.0.reg2mem store i32 0, i32* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i32, i32* %storemerge.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %0 = sext i32 %storemerge.reload to i64 %1 = add i64 %sv_1.0.reload, %0 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 switch i8 %3, label LBL_2 [ i8 0, label LBL_3 i8 92, label LBL_3 ] LBL_2: %4 = sext i8 %3 to i64 %5 = and i64 %4, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i32 %storemerge.reload, i32* %sv_0.0.reg2mem br i1 %8, label LBL_9, label LBL_3 LBL_3: %9 = zext i32 %storemerge.reload to i64 %10 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %9, i64 4) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = inttoptr i64 %sv_1.0.reload to i8* %14 = call i32 @strncasecmp(i8* %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 4) %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i64 1, i64* %rax.0.reg2mem br i1 %16, label LBL_5, label LBL_10 LBL_5: %17 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %9, i64 5) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_7, label LBL_6 LBL_6: %20 = inttoptr i64 %sv_1.0.reload to i8* %21 = call i32 @strncasecmp(i8* %20, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 5) %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 1, i64* %rax.0.reg2mem br i1 %23, label LBL_7, label LBL_10 LBL_7: %24 = load i8, i8* %2, align 1 %25 = icmp eq i8 %24, 92 store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_8, label LBL_10 LBL_8: %26 = add i64 %1, 1 store i64 %26, i64* %sv_1.1.reg2mem store i32 -1, i32* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %27 = add i32 %sv_0.0.reload, 1 store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem store i32 %27, i32* %storemerge.reg2mem br label LBL_1 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %3, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 3, 2, 4, 1, 0, 5 } uselistorder i32 %storemerge.reload, { 2, 0, 1 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 6, 0, 1, 2, 5, 3, 4 } uselistorder i32 (i8*, i8*, i32)* @strncasecmp, { 1, 0 } uselistorder i64 (i64, i64, i64)* @only_spaces_and_periods, { 1, 0 } uselistorder i8 92, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 4, 5, 6, 0, 1 } uselistorder i32 1, { 7, 4, 3, 2, 1, 0, 6, 5 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
append_flv_data_5256
append_flv_data
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = add i64 %2, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = trunc i64 %1 to i32 %14 = icmp eq i32 %13, 8 %15 = icmp eq i1 %14, false br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = bitcast i64* %arg1 to i32* store i32 1, i32* %16, align 4 br label LBL_4 LBL_2: %17 = icmp eq i32 %13, 9 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = add i64 %3, 4 %20 = inttoptr i64 %19 to i32* store i32 1, i32* %20, align 4 br label LBL_4 LBL_4: %21 = trunc i64 %arg3 to i32 %22 = sub i32 %9, %21 %23 = add i32 %22, 15 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %3, i64 %24) %26 = add i64 %3, 16 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i64 %3, 8 %30 = zext i32 %28 to i64 %31 = call i64 @FUNC(i64 %29, i64 %30) %32 = trunc i64 %31 to i32 %33 = icmp slt i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_6, label LBL_5 LBL_5: %35 = add i64 %3, 20 %36 = inttoptr i64 %35 to i32* store i32 0, i32* %36, align 4 store i32 0, i32* %27, align 4 %37 = and i64 %31, 4294967295 store i64 %37, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %sext = mul i64 %arg3, 4294967296 %38 = ashr exact i64 %sext, 32 %39 = add i64 %6, %38 %40 = bitcast i64* %rsi to i32* %41 = load i32, i32* %27, align 4 %42 = inttoptr i64 %29 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64* nonnull %sv_0, i64 %43, i32 %41) %45 = and i64 %25, 4294967295 %46 = call i64 @FUNC(i64* nonnull %sv_0, i64 %45) %47 = load i32, i32* %40, align 8 %48 = urem i32 %47, 256 %49 = zext i32 %48 to i64 %50 = call i64 @FUNC(i64* nonnull %sv_0, i64 %49) %51 = zext i32 %22 to i64 %52 = call i64 @FUNC(i64* nonnull %sv_0, i64 %51) %53 = zext i32 %12 to i64 %54 = call i64 @FUNC(i64* nonnull %sv_0, i64 %53) %55 = udiv i32 %12, 16777216 %56 = zext i32 %55 to i64 %57 = call i64 @FUNC(i64* nonnull %sv_0, i64 %56) %58 = call i64 @FUNC(i64* nonnull %sv_0, i64 0) %59 = call i64 @FUNC(i64* nonnull %sv_0, i64 %39, i32 %22) %60 = add i32 %22, 11 %61 = zext i32 %60 to i64 %62 = call i64 @FUNC(i64* nonnull %sv_0, i64 %61) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %27, { 1, 0, 2 } uselistorder i32 %22, { 1, 0, 2, 3 } uselistorder i32 %13, { 1, 0 } uselistorder i64 %3, { 1, 2, 4, 3, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64*, i64)* @bytestream2_put_be24, { 2, 1, 0 } uselistorder i64 (i64*, i64)* @bytestream2_put_byte, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 0, 1, 5 } }
0
BinRealVul
hmp_info_memdev_2701
hmp_info_memdev
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rcx.0.lcssa.reg2mem = alloca i64 %.pre-phi.pre-phi.reg2mem = alloca i32 %sv_0.05.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 %5 = call i64 @FUNC(i64* nonnull %sv_1) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i32 0, i32* %storemerge6.reg2mem store i64 %5, i64* %sv_0.05.reg2mem br i1 %7, label LBL_2, label LBL_0.LBL_3_crit_edge LBL_1: %.pre = trunc i64 %3 to i32 store i32 %.pre, i32* %.pre-phi.pre-phi.reg2mem br label LBL_3 LBL_2: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %8 = call i64 @FUNC(i64 0) %9 = inttoptr i64 %sv_0.05.reload to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %10, 24 %12 = call i64 @FUNC(i64 %8) %13 = call i64 @FUNC(i64 %12, i64 %11, i64 0, i64 0) %14 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i32 %storemerge6.reload, i64 0, i64 %2, i64 %1) %15 = load i64, i64* %9, align 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = trunc i64 %17 to i32 %19 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i32 %18, i64 0, i64 %2, i64 %1) %20 = load i64, i64* %9, align 8 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 %25 = select i1 %24, i32 ptrtoint ([6 x i8]* @gv_2 to i32), i32 ptrtoint ([5 x i8]* @gv_3 to i32) %26 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i32 %25, i64 0, i64 %2, i64 %1) %27 = load i64, i64* %9, align 8 %28 = add i64 %27, 12 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 0 %32 = select i1 %31, i32 ptrtoint ([6 x i8]* @gv_2 to i32), i32 ptrtoint ([5 x i8]* @gv_3 to i32) %33 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i32 %32, i64 0, i64 %2, i64 %1) %34 = load i64, i64* %9, align 8 %35 = add i64 %34, 16 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %37, 0 %39 = select i1 %38, i32 ptrtoint ([6 x i8]* @gv_2 to i32), i32 ptrtoint ([5 x i8]* @gv_3 to i32) %40 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_6, i64 0, i64 0), i32 %39, i64 0, i64 %2, i64 %1) %41 = load i64, i64* %9, align 8 %42 = add i64 %41, 20 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 8 %47 = add i64 %46, ptrtoint ([3 x i8*]* @gv_7 to i64) %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = trunc i64 %49 to i32 %51 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_8, i64 0, i64 0), i32 %50, i64 0, i64 %2, i64 %1) %52 = call i64 @FUNC(i64 %8) %53 = trunc i64 %52 to i32 %54 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_9, i64 0, i64 0), i32 %53, i64 0, i64 %2, i64 %1) %55 = call i64 @FUNC(i64 %52) %56 = call i64 @FUNC(i64 %8) %57 = add i64 %sv_0.05.reload, 8 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = add i32 %storemerge6.reload, 1 %61 = icmp eq i64 %59, 0 %62 = icmp eq i1 %61, false store i32 %60, i32* %storemerge6.reg2mem store i64 %59, i64* %sv_0.05.reg2mem store i32 %53, i32* %.pre-phi.pre-phi.reg2mem store i64 0, i64* %rcx.0.lcssa.reg2mem br i1 %62, label LBL_2, label LBL_3 LBL_3: %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem %.pre-phi.pre-phi.reload = load i32, i32* %.pre-phi.pre-phi.reg2mem %63 = call i64 @FUNC(i64 %4, i8* inttoptr (i64 4202654 to i8*), i32 %.pre-phi.pre-phi.reload, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1) %64 = call i64 @FUNC(i64 %5) ret i64 %64 uselistorder i64 %5, { 2, 0, 1 } uselistorder i64 %2, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @monitor_printf, { 0, 7, 6, 5, 4, 3, 2, 1 } uselistorder i32 0, { 7, 8, 9, 0, 1, 2, 3, 4, 5, 6 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
__fput_sync_6284
__fput_sync
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = load i32*, i32** @gv_0, align 8 %5 = load i32, i32* %4, align 4 %6 = urem i32 %5, 2 %7 = icmp eq 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 ([15 x i8]* @gv_2 to i64*), i32 1, i32 14, %_IO_FILE* %9) call void @exit(i32 1) unreachable LBL_3: %11 = call i64 @FUNC(i64 %0) store i64 %11, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
bdrv_commit_1963
bdrv_commit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i64* %rdi.0.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 1, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_19 LBL_1: %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 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 2, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_19 LBL_2: %8 = call i64 @FUNC(i64 %2) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 3, i64* %rax.0.reg2mem br i1 %11, label LBL_19, label LBL_3 LBL_3: %12 = load i64, i64* %4, align 8 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 store i64 3, i64* %rax.0.reg2mem br i1 %15, label LBL_4, label LBL_19 LBL_4: %16 = load i64, i64* %4, align 8 %17 = add i64 %16, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %16, 24 %21 = call i64 @FUNC(i64* nonnull %sv_2, i64 4096, i64 %20) %22 = load i64, i64* %4, align 8 %23 = add i64 %22, 20 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %19, 0 br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = or i32 %25, 2 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %22, i64 %28, i64 0) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 store i64 4, i64* %rax.0.reg2mem br i1 %31, label LBL_6, label LBL_19 LBL_6: %32 = call i64 @FUNC(i64 %2) %33 = call i64 @FUNC(i64 32768) %34 = icmp sgt i64 %32, 511 br i1 %34, label LBL_7, label LBL_13 LBL_7: %35 = ashr i64 %32, 9 %36 = bitcast i32* %sv_1 to i64* store i64 0, i64* %storemerge4.reg2mem br label LBL_8 LBL_8: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %37 = call i64 @FUNC(i64 %2, i64 %storemerge4.reload, i64 64, i64* nonnull %36) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 store i64 %2, i64* %rdi.0.reg2mem br i1 %39, label LBL_11, label LBL_9 LBL_9: %40 = load i32, i32* %sv_1, align 4 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %2, i64 %storemerge4.reload, i64 %33, i64 %41) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 store i64* inttoptr (i32 5 to i64*), i64** %sv_0.1.reg2mem br i1 %44, label LBL_10, label LBL_16 LBL_10: %45 = load i32, i32* %sv_1, align 4 %46 = zext i32 %45 to i64 %47 = load i64, i64* %4, align 8 %48 = call i64 @FUNC(i64 %47, i64 %storemerge4.reload, i64 %33, i64 %46) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 store i64 %47, i64* %rdi.0.reg2mem store i64* inttoptr (i32 5 to i64*), i64** %sv_0.1.reg2mem br i1 %50, label LBL_11, label LBL_16 LBL_11: %51 = load i32, i32* %sv_1, align 4 %52 = sext i32 %51 to i64 %53 = add i64 %storemerge4.reload, %52 %54 = icmp slt i64 %53, %35 store i64 %53, i64* %storemerge4.reg2mem br i1 %54, label LBL_8, label LBL_12 LBL_12: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %55 = icmp eq i64 %rdi.0.reload, 0 store i64* null, i64** %sv_0.0.reg2mem br i1 %55, label LBL_14, label LBL_13 LBL_13: %56 = and i64 %2, 4294967295 %57 = inttoptr i64 %56 to i64* %58 = call i64 @FUNC(i64 %2) store i64* %57, i64** %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem %59 = load i64, i64* %4, align 8 %60 = icmp eq i64 %59, 0 store i64* %sv_0.0.reload, i64** %sv_0.1.reg2mem br i1 %60, label LBL_16, label LBL_15 LBL_15: %61 = call i64 @FUNC(i64 %59) store i64* %sv_0.0.reload, i64** %sv_0.1.reg2mem br label LBL_16 LBL_16: %sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem %62 = call i64 @FUNC(i64 %33) br i1 %26, label LBL_18, label LBL_17 LBL_17: %63 = and i32 %25, -3 %64 = load i64, i64* %4, align 8 %65 = zext i32 %63 to i64 %66 = call i64 @FUNC(i64 %64, i64 %65, i64 0) br label LBL_18 LBL_18: %67 = ptrtoint i64* %sv_0.1.reload to i64 %68 = and i64 %67, 4294967295 store i64 %68, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge4.reload, { 3, 0, 1, 2 } uselistorder i64 %32, { 1, 0 } uselistorder i64* %4, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64 %2, { 2, 1, 3, 0, 4, 5, 7, 6 } uselistorder i32* %sv_1, { 2, 1, 0, 3 } uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64** %sv_0.1.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 3, 2, 4, 5 } uselistorder i64 (i64)* @bdrv_flush, { 1, 0 } uselistorder i64 (i64, i64, i64)* @bdrv_reopen, { 1, 0 } uselistorder i64 3, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 0 } uselistorder i64 (i64)* @bdrv_in_use, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_19, { 5, 0, 2, 1, 3, 4 } uselistorder label LBL_16, { 3, 2, 0, 1 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
pci_prep_init_3029
pci_prep_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 8) %1 = call i64 @FUNC(i64 4198927, i64 4198934, i64 %arg1, i64 0, i64 4) %2 = inttoptr i64 %0 to i64* store i64 %1, i64* %2, align 8 %3 = call i64 @FUNC(i64 3320, i64 4, i64 4, i64 4198941, i64 %0) %4 = call i64 @FUNC(i64 3320, i64 4, i64 4, i64 4198948, i64 %0) %5 = call i64 @FUNC(i64 3324, i64 4, i64 1, i64 4198955, i64 %0) %6 = call i64 @FUNC(i64 3324, i64 4, i64 2, i64 4198962, i64 %0) %7 = call i64 @FUNC(i64 3324, i64 4, i64 4, i64 4198969, i64 %0) %8 = call i64 @FUNC(i64 3324, i64 4, i64 1, i64 4198976, i64 %0) %9 = call i64 @FUNC(i64 3324, i64 4, i64 2, i64 4198983, i64 %0) %10 = call i64 @FUNC(i64 3324, i64 4, i64 4, i64 4198990, i64 %0) %11 = call i64 @FUNC(i64 0, i64 4198997, i64 4199004, i64 %0) %12 = and i64 %11, 4294967295 %13 = call i64 @FUNC(i64 2155872256, i64 4194304, i64 %12) %14 = load i64, i64* %2, align 8 %15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 256, i64 0, i64 0, i64 0) %16 = inttoptr i64 %15 to i8* store i8 87, i8* %16, align 1 %17 = add i64 %15, 1 %18 = inttoptr i64 %17 to i8* store i8 16, i8* %18, align 1 %19 = add i64 %15, 2 %20 = inttoptr i64 %19 to i8* store i8 1, i8* %20, align 1 %21 = add i64 %15, 3 %22 = inttoptr i64 %21 to i8* store i8 72, i8* %22, align 1 %23 = add i64 %15, 8 %24 = inttoptr i64 %23 to i8* store i8 0, i8* %24, align 1 %25 = add i64 %15, 10 %26 = inttoptr i64 %25 to i8* store i8 0, i8* %26, align 1 %27 = add i64 %15, 11 %28 = inttoptr i64 %27 to i8* store i8 6, i8* %28, align 1 %29 = add i64 %15, 12 %30 = inttoptr i64 %29 to i8* store i8 8, i8* %30, align 1 %31 = add i64 %15, 13 %32 = inttoptr i64 %31 to i8* store i8 16, i8* %32, align 1 %33 = add i64 %15, 14 %34 = inttoptr i64 %33 to i8* store i8 0, i8* %34, align 1 %35 = add i64 %15, 52 %36 = inttoptr i64 %35 to i8* store i8 0, i8* %36, align 1 %37 = load i64, i64* %2, align 8 ret i64 %37 uselistorder i64 2, { 2, 0, 1 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_read, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_write, { 3, 2, 1, 0 } uselistorder i64 4, { 1, 0, 2, 3, 5, 4, 6, 7, 9, 8, 11, 10, 12 } uselistorder i64 8, { 1, 0 } }
0
BinRealVul
sh7750_irl_1537
sh7750_irl
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = call i64 @FUNC(i64 %1, i64 1, i64 0) %3 = call i64 @FUNC(i64 %0, i64 0) %4 = call i64 @FUNC(i64 4198750, i64 %3, i64 0) ret i64 %4 uselistorder i64 (i64, i64)* @sh_intc_source, { 1, 0 } }
0
BinRealVul
x86_cpu_unrealizefn_2236
x86_cpu_unrealizefn
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) store i64 0, i64* %arg1, align 8 br label LBL_2 LBL_2: ret i64 0 uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
vmci_transport_dgram_dequeue_5349
vmci_transport_dgram_dequeue
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = and i64 %arg5, 6 %1 = icmp eq i64 %0, 0 store i64 1, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_14 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = trunc i64 %arg5 to i32 %4 = urem i32 %3, 2 %5 = bitcast i64* %arg3 to i32* store i32 0, i32* %5, align 4 store i64 0, i64* %sv_1, align 8 %6 = bitcast i64* %sv_1 to i32* %7 = call i64 @FUNC(i64 %2, i32 %3, i32 %4, i32* nonnull %6) %8 = load i64, i64* %sv_1, align 8 %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = and i64 %8, 4294967295 store i64 %11, i64* %rax.0.reg2mem br label LBL_14 LBL_3: %sext4 = mul i64 %7, 4294967296 %12 = icmp eq i64 %sext4, 0 %13 = icmp eq i1 %12, false store i64 2, i64* %rax.0.reg2mem br i1 %13, label LBL_4, label LBL_14 LBL_4: %14 = ashr exact i64 %sext4, 32 %15 = add nsw i64 %14, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_13, label LBL_5 LBL_5: %19 = add i64 %17, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = inttoptr i64 %14 to i64* %23 = load i64, i64* %22, align 8 %24 = add i64 %23, -16 %25 = icmp eq i64 %21, %24 br i1 %25, label LBL_7, label LBL_6 LBL_6: store i64 3, i64* %sv_1, align 8 br label LBL_13 LBL_7: %26 = ptrtoint i64* %arg3 to i64 %27 = icmp ugt i64 %21, %arg4 store i64 %21, i64* %sv_0.0.reg2mem br i1 %27, label LBL_8, label LBL_9 LBL_8: %28 = add i64 %26, 24 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = or i32 %30, 8 store i32 %31, i32* %29, align 4 store i64 %arg4, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %32 = add i64 %26, 16 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = call i64 @FUNC(i64 %14, i64 16, i64 %34, i64 %sv_0.0.reload) %sext5 = mul i64 %35, 4294967296 %36 = ashr exact i64 %sext5, 32 store i64 %36, i64* %sv_1, align 8 %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_13, label LBL_10 LBL_10: %40 = add i64 %26, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = icmp eq i64 %42, 0 br i1 %43, label LBL_12, label LBL_11 LBL_11: %44 = inttoptr i64 %17 to i32* %45 = add i64 %17, 4 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = load i32, i32* %44, align 4 %49 = zext i32 %48 to i64 %50 = call i64 @FUNC(i64 %42, i64 %49, i32 %47) store i32 0, i32* %5, align 4 br label LBL_12 LBL_12: %sext6 = mul i64 %sv_0.0.reload, 4294967296 %51 = ashr exact i64 %sext6, 32 store i64 %51, i64* %sv_1, align 8 br label LBL_13 LBL_13: %52 = call i64 @FUNC(i64 %2, i64 %14) %53 = load i64, i64* %sv_1, align 8 %54 = and i64 %53, 4294967295 store i64 %54, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %17, { 0, 2, 1, 3 } uselistorder i64 %14, { 2, 0, 1, 3 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %sv_1, { 5, 4, 3, 2, 1, 6, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 %arg5, { 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_14, { 2, 0, 3, 1 } uselistorder label LBL_13, { 2, 0, 3, 1 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
init_proc_book3s_64_7407
init_proc_book3s_64
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0) %7 = call i64 @FUNC(i64 %0) %8 = icmp sgt i32 %1, 2 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = icmp eq i32 %1, 0 %10 = icmp slt i32 %1, 0 %11 = icmp eq i1 %10, false %12 = icmp eq i1 %9, false %13 = icmp eq i1 %11, %12 br i1 %13, label LBL_3, label LBL_5 LBL_2: %14 = add i32 %1, -3 %15 = icmp ult i32 %14, 2 br i1 %15, label LBL_4, label LBL_5 LBL_3: %16 = call i64 @FUNC(i64 %0) %17 = call i64 @FUNC(i64 %0) %18 = call i64 @FUNC(i64 %0) %19 = call i64 @FUNC(i64 %0) %20 = call i64 @FUNC(i64 %0) br label LBL_6 LBL_4: %21 = call i64 @FUNC(i64 %0) %22 = sub i32 2, %1 %23 = and i32 %22, %1 %24 = icmp slt i32 %23, 0 %25 = icmp eq i32 %14, 0 %26 = icmp eq i1 %24, false %27 = icmp eq i1 %25, false %28 = icmp eq i1 %26, %27 %29 = zext i1 %28 to i64 %30 = call i64 @FUNC(i64 %0, i64 %29) %31 = call i64 @FUNC(i64 %0) %32 = bitcast i64* %arg1 to i8* store i8 1, i8* %32, align 1 br label LBL_9 LBL_5: %33 = call i64 @FUNC() br label LBL_6 LBL_6: %34 = icmp slt i32 %1, 2 br i1 %34, label LBL_7, label LBL_9 LBL_7: %35 = call i64 @FUNC(i64 %0) %36 = icmp eq i32 %1, 1 %37 = icmp eq i1 %36, false br i1 %37, label LBL_14, label LBL_8 LBL_8: %38 = call i64 @FUNC(i64 %0) br label LBL_14 LBL_9: %39 = call i64 @FUNC(i64 %0) %40 = call i64 @FUNC(i64 %0) %41 = call i64 @FUNC(i64 %0) %42 = icmp slt i32 %1, 5 br i1 %42, label LBL_11, label LBL_10 LBL_10: %43 = call i64 @FUNC(i64 %0) %44 = call i64 @FUNC(i64 %0) br label LBL_15 LBL_11: %45 = icmp eq i32 %1, 3 %46 = icmp eq i1 %45, false br i1 %46, label LBL_13, label LBL_12 LBL_12: %47 = call i64 @FUNC(i64 %0) br label LBL_13 LBL_13: %48 = icmp slt i32 %1, 4 br i1 %48, label LBL_14, label LBL_15 LBL_14: %49 = call i64 @FUNC(i64 %0) br label LBL_16 LBL_15: %50 = call i64 @FUNC(i64 %0) %51 = call i64 @FUNC(i64 %0) %52 = call i64 @FUNC(i64 %0) %53 = call i64 @FUNC(i64 %0) %54 = call i64 @FUNC(i64 %0) %55 = call i64 @FUNC(i64 %0) %56 = call i64 @FUNC(i64 %0) %57 = call i64 @FUNC(i64 %0) %58 = call i64 @FUNC(i64 %0) %59 = call i64 @FUNC(i64 %0) %60 = call i64 @FUNC(i64 %0) %61 = call i64 @FUNC(i64 %0) br label LBL_16 LBL_16: %62 = add i32 %1, -1 %63 = icmp ult i32 %62, 2 %64 = add i64 %0, 4 %65 = inttoptr i64 %64 to i32* %. = select i1 %63, i32 64, i32 32 store i32 %., i32* %65, align 4 br i1 %8, label LBL_18, label LBL_17 LBL_17: %66 = icmp eq i32 %1, 0 %67 = icmp slt i32 %1, 0 %68 = icmp eq i1 %67, false %69 = icmp eq i1 %66, false %70 = icmp eq i1 %68, %69 br i1 %70, label LBL_19, label LBL_21 LBL_18: %71 = add i32 %1, -3 %72 = icmp ult i32 %71, 2 br i1 %72, label LBL_20, label LBL_21 LBL_19: %73 = call i64 @FUNC(i64 %0) %74 = call i64 @FUNC(i64 %0) %75 = call i64 @FUNC(i64 %74) br label LBL_22 LBL_20: %76 = call i64 @FUNC(i64 %0) %77 = call i64 @FUNC(i64 %0) %78 = call i64 @FUNC(i64 %77) br label LBL_22 LBL_21: %79 = call i64 @FUNC() br label LBL_22 LBL_22: %80 = add i64 %0, 8 %81 = inttoptr i64 %80 to i32* store i32 128, i32* %81, align 4 %82 = add i64 %0, 12 %83 = inttoptr i64 %82 to i32* store i32 128, i32* %83, align 4 ret i64 %0 uselistorder i32 %1, { 11, 13, 12, 10, 9, 8, 7, 6, 5, 0, 4, 1, 3, 2, 14 } uselistorder i64 %0, { 24, 25, 26, 27, 28, 22, 23, 29, 30, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 31, 10, 8, 9, 5, 6, 33, 7, 32, 34, 35, 36, 0, 1, 2, 3, 4, 37, 38, 39, 40, 41, 42 } uselistorder i64 (i64)* @ppc_env_get_cpu, { 1, 0 } uselistorder i64 ()* @g_assert_not_reached, { 1, 0 } uselistorder i32 -3, { 1, 0 } uselistorder i1 false, { 3, 1, 4, 5, 6, 0, 7, 2 } uselistorder i32 2, { 2, 3, 4, 0, 1, 5 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 2, 0, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
rtp_read_header_76
rtp_read_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %2 = load i32, i32* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i16, align 2 %3 = load i32, i32* %0 %sv_4 = alloca i32, align 4 %sv_5 = alloca i32, align 4 %sv_6 = alloca i32, align 4 %sv_7 = alloca i64, align 8 store i64 0, i64* %sv_7, align 8 store i32 0, i32* %sv_6, align 4 store i32 128, i32* %sv_5, align 4 %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC() %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %10, label LBL_1, label LBL_23 LBL_1: %11 = inttoptr i64 %6 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 %12, i64* %.reg2mem store i64 %1, i64* %rdi.0.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 0, i64 0) store i64 %15, i64* %11, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false store i64 %15, i64* %.reg2mem store i64 0, i64* %rdi.0.reg2mem store i64 4294967284, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_23 LBL_3: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %.reload = load i64, i64* %.reg2mem %18 = add i64 %1, 16 %19 = call i64 @FUNC(i64* nonnull %sv_7, i64 %rdi.0.reload, i64 1, i64 %18, i64 0, i64 %.reload) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i64 %19, i64* %sv_0.0.reg2mem br i1 %22, label LBL_20, label LBL_4 LBL_4: %23 = ptrtoint i32* %sv_4 to i64 %24 = bitcast i32* %sv_4 to i64* %25 = and i32 %3, 252 %26 = icmp eq i32 %25, 200 br label LBL_5 LBL_5: %27 = load i64, i64* %sv_7, align 8 %28 = call i64 @FUNC(i64 %27, i64* nonnull %24, i64 1500) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, -11 br i1 %30, label LBL_5.backedge, label LBL_6 LBL_6: %31 = icmp slt i32 %29, 0 store i64 %28, i64* %sv_0.0.reg2mem br i1 %31, label LBL_20, label LBL_7 LBL_7: %32 = icmp sgt i32 %29, 11 br i1 %32, label LBL_9, label LBL_8 LBL_8: %33 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %23, i64 0, i64 %.reload) br label LBL_5.backedge LBL_9: %34 = load i32, i32* %sv_4, align 4 %35 = and i32 %34, 192 %36 = icmp eq i32 %35, 128 br i1 %36, label LBL_11, label LBL_10 LBL_10: %37 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %23, i64 0, i64 %.reload) br label LBL_5.backedge LBL_11: br i1 %26, label LBL_5.backedge, label LBL_12 LBL_12: %38 = urem i32 %3, 128 %39 = load i64, i64* %sv_7, align 8 %40 = call i64 @FUNC(i64 %39) %41 = and i64 %40, 4294967295 %42 = bitcast i16* %sv_3 to i64* %43 = call i64 @FUNC(i64 %41, i64* nonnull %42, i32* nonnull %sv_5) %44 = load i64, i64* %sv_7, align 8 %45 = call i64 @FUNC(i64 %44) store i64 0, i64* %sv_7, align 8 %46 = zext i32 %38 to i64 %47 = call i64 @FUNC(i32* nonnull %sv_6, i64 %46) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %48, 0 br i1 %49, label LBL_15, label LBL_14 LBL_13: br label LBL_5 LBL_14: %50 = call i64 @FUNC(i64 %1, i64 2, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_2, i64 0, i64 0), i64 %46, i64 0, i64 %.reload) store i64 %28, i64* %sv_0.0.reg2mem br label LBL_20 LBL_15: %51 = load i32, i32* %sv_6, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label LBL_17, label LBL_16 LBL_16: %53 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([87 x i8], [87 x i8]* @gv_3, i64 0, i64 0), i64 %41, i64 0, i64 %.reload) br label LBL_17 LBL_17: %54 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 0, i64* nonnull %sv_2, i64 500) %55 = load i32, i32* %sv_6, align 4 %56 = icmp eq i32 %55, 0 store i64 ptrtoint ([12 x i8]* @gv_4 to i64), i64* %rsi.0.reg2mem br i1 %56, label LBL_19, label LBL_18 LBL_18: %57 = icmp eq i32 %55, 1 %58 = icmp eq i1 %57, false %.6 = select i1 %58, i64 ptrtoint ([6 x i8]* @gv_5 to i64), i64 ptrtoint ([6 x i8]* @gv_6 to i64) store i64 %.6, i64* %rsi.0.reg2mem br label LBL_19 LBL_19: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %59 = load i16, i16* %sv_3, align 2 %60 = icmp eq i16 %59, 2 %61 = icmp eq i1 %60, false %. = select i1 %61, i64 6, i64 4 %62 = ptrtoint i64* %sv_2 to i64 %63 = bitcast i64* %sv_1 to i8* %64 = inttoptr i64 %rsi.0.reload to i8* %65 = sext i32 %2 to i64 %66 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %63, i32 500, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_7, i64 0, i64 0), i64 %., i64* nonnull %sv_2, i8* %64, i64 %65, i64 %46) %67 = ptrtoint i64* %sv_1 to i64 %68 = call i64 @FUNC(i64 %1, i64 3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0), i64 %67, i64 %62, i64 %rsi.0.reload) %69 = call i32 @strlen(i8* nonnull %63) %70 = zext i32 %69 to i64 %71 = call i64 @FUNC(i64* nonnull %42, i64* nonnull %sv_1, i64 %70, i64 0, i64 0, i64 0) %72 = add i64 %1, 24 %73 = inttoptr i64 %72 to i64* %74 = ptrtoint i16* %sv_3 to i64 store i64 %74, i64* %73, align 8 %75 = call i64 @FUNC() %76 = add i64 %6, 8 %77 = inttoptr i64 %76 to i32* store i32 1, i32* %77, align 4 %78 = call i64 @FUNC(i64 %1) store i64 0, i64* %73, align 8 %79 = and i64 %78, 4294967295 store i64 %79, i64* %rax.0.reg2mem br label LBL_23 LBL_20: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %80 = load i64, i64* %sv_7, align 8 %81 = icmp eq i64 %80, 0 br i1 %81, label LBL_22, label LBL_21 LBL_21: %82 = call i64 @FUNC(i64 %80) br label LBL_22 LBL_22: %83 = call i64 @FUNC() %84 = and i64 %sv_0.0.reload, 4294967295 store i64 %84, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %rsi.0.reload, { 1, 0 } uselistorder i64 %46, { 1, 0, 2 } uselistorder i64 %28, { 1, 0, 2 } uselistorder i64 %23, { 1, 0 } uselistorder i64 %.reload, { 3, 2, 1, 0, 4 } uselistorder i64* %sv_7, { 1, 2, 3, 4, 5, 0, 6 } uselistorder i32* %sv_6, { 1, 2, 0, 3 } uselistorder i32* %sv_4, { 1, 2, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i16* %sv_3, { 1, 0, 2 } uselistorder i64* %sv_2, { 0, 2, 1 } uselistorder i64* %sv_1, { 0, 2, 1 } uselistorder i64 %1, { 5, 6, 7, 4, 3, 2, 1, 8, 0, 9 } uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i32* %0, { 1, 0 } uselistorder i64 ()* @ff_network_close, { 1, 0 } uselistorder i64 (i64)* @ffurl_close, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 } uselistorder i64 1, { 1, 2, 3, 4, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 } uselistorder label LBL_23, { 2, 3, 0, 1 } uselistorder label LBL_20, { 2, 0, 1 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_5.backedge, { 2, 1, 0, 3 } }
1
BinRealVul
Ins_IUP_5201
Ins_IUP
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_1.1.lcssa17.reg2mem = alloca i32 %storemerge.lcssa18.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.18.reg2mem = alloca i32 %storemerge.in9.reg2mem = alloca i32 %storemerge10.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_0.16.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_3 = alloca i64, align 8 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 store i64 0, i64* %rax.0.in.reg2mem br i1 %1, label LBL_18, label LBL_1 LBL_1: %2 = load i32, i32* @gv_1, align 4 %3 = urem i32 %2, 2 %4 = icmp eq i32 %3, 0 %5 = load i64, i64* @gv_2, align 8 %6 = add i64 %5, 8 %sv_4.0 = select i1 %4, i32 2, i32 1 %storemerge3 = select i1 %4, i64 %6, i64 %5 store i64 %storemerge3, i64* %sv_3, align 8 store i32 0, i32* %sv_2.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %7 = load i64, i64* @gv_3, align 8 %8 = zext i32 %sv_2.0.reload to i64 %sext = mul i64 %8, 281474976710656 %9 = ashr exact i64 %sext, 46 %10 = add i64 %9, %7 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = load i32, i32* @gv_4, align 4 %14 = sub i32 %12, %13 %15 = load i32, i32* @gv_5, align 4 %16 = icmp ult i32 %14, %15 %17 = icmp eq i1 %16, false %18 = add i32 %15, -1 %spec.select = select i1 %17, i32 %14, i32 %18 %19 = icmp ugt i32 %sv_0.0.reload, %spec.select store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %19, label LBL_16, label LBL_3 LBL_3: %20 = load i64, i64* @gv_6, align 8 store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem br label LBL_5 LBL_4: store i32 %28, i32* %sv_0.16.reg2mem store i32 %28, i32* %sv_0.2.reg2mem br i1 %29, label LBL_16, label LBL_5 LBL_5: %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %21 = zext i32 %sv_0.16.reload to i64 %22 = mul i64 %21, 4 %23 = add i64 %22, %20 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = and i32 %25, %sv_4.0 %27 = icmp eq i32 %26, 0 %28 = add i32 %sv_0.16.reload, 1 %29 = icmp ugt i32 %28, %spec.select br i1 %27, label LBL_4, label LBL_6 LBL_6: store i64 %20, i64* %.reg2mem store i32 %28, i32* %storemerge10.reg2mem store i32 %sv_0.16.reload, i32* %storemerge.in9.reg2mem store i32 %sv_0.16.reload, i32* %sv_1.18.reg2mem store i32 %28, i32* %storemerge.lcssa18.reg2mem store i32 %sv_0.16.reload, i32* %sv_1.1.lcssa17.reg2mem br i1 %29, label LBL_13, label LBL_7 LBL_7: %sv_1.18.reload = load i32, i32* %sv_1.18.reg2mem %storemerge10.reload = load i32, i32* %storemerge10.reg2mem %.reload = load i64, i64* %.reg2mem %30 = zext i32 %storemerge10.reload to i64 %31 = mul i64 %30, 4 %32 = add i64 %31, %.reload %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = and i32 %34, %sv_4.0 %36 = icmp eq i32 %35, 0 store i32 %sv_1.18.reload, i32* %sv_1.0.reg2mem br i1 %36, label LBL_10, label LBL_8 LBL_8: %37 = icmp eq i32 %storemerge10.reload, 0 store i32 0, i32* %sv_1.0.reg2mem br i1 %37, label LBL_10, label LBL_9 LBL_9: %storemerge.in9.reload = load i32, i32* %storemerge.in9.reg2mem %38 = add i32 %sv_1.18.reload, 1 %39 = urem i32 %38, 65536 %40 = zext i32 %39 to i64 %41 = zext i32 %sv_1.18.reload to i64 %42 = zext i32 %storemerge.in9.reload to i64 %43 = call i64 @FUNC(i64* nonnull %sv_3, i64 %40, i64 %42, i64 %41, i64 %30) store i32 %storemerge10.reload, i32* %sv_1.0.reg2mem br label LBL_10 LBL_10: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %storemerge = add i32 %storemerge10.reload, 1 %44 = icmp ugt i32 %storemerge, %spec.select br i1 %44, label LBL_12, label LBL_10.LBL_7_crit_edge LBL_11: %.pre = load i64, i64* @gv_6, align 8 store i64 %.pre, i64* %.reg2mem store i32 %storemerge, i32* %storemerge10.reg2mem store i32 %storemerge10.reload, i32* %storemerge.in9.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.18.reg2mem br label LBL_7 LBL_12: %45 = icmp eq i32 %sv_1.0.reload, %sv_0.16.reload %46 = icmp eq i1 %45, false store i32 %storemerge, i32* %storemerge.lcssa18.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa17.reg2mem br i1 %46, label LBL_14, label LBL_13 LBL_13: %sv_1.1.lcssa17.reload = load i32, i32* %sv_1.1.lcssa17.reg2mem %storemerge.lcssa18.reload = load i32, i32* %storemerge.lcssa18.reg2mem %47 = call i64 @FUNC(i64* nonnull %sv_3, i32 %sv_0.0.reload, i32 %spec.select, i32 %sv_1.1.lcssa17.reload) store i32 %storemerge.lcssa18.reload, i32* %sv_0.2.reg2mem br label LBL_16 LBL_14: %48 = add i32 %sv_1.0.reload, 1 %49 = urem i32 %48, 65536 %50 = zext i32 %49 to i64 %51 = zext i32 %sv_1.0.reload to i64 %52 = zext i32 %spec.select to i64 %53 = call i64 @FUNC(i64* nonnull %sv_3, i64 %50, i64 %52, i64 %51, i64 %21) %54 = icmp eq i32 %sv_0.16.reload, 0 store i32 %storemerge, i32* %sv_0.2.reg2mem br i1 %54, label LBL_16, label LBL_15 LBL_15: %55 = add i32 %sv_0.16.reload, -1 %56 = urem i32 %sv_0.0.reload, 65536 %57 = zext i32 %56 to i64 %58 = zext i32 %55 to i64 %59 = call i64 @FUNC(i64* nonnull %sv_3, i64 %57, i64 %58, i64 %51, i64 %21) store i32 %storemerge, i32* %sv_0.2.reg2mem br label LBL_16 LBL_16: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %60 = mul i32 %sv_2.0.reload, 65536 %sext4 = add i32 %60, 65536 %61 = ashr exact i32 %sext4, 16 %62 = load i32, i32* @gv_0, align 4 %63 = icmp ugt i32 %62, %61 store i32 %61, i32* %sv_2.0.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.0.reg2mem br i1 %63, label LBL_2, label LBL_17 LBL_17: %phitmp = zext i32 %62 to i64 store i64 %phitmp, i64* %rax.0.in.reg2mem br label LBL_18 LBL_18: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem ret i64 %rax.0.in.reload uselistorder i32 %sv_1.0.reload, { 2, 1, 0, 3, 4 } uselistorder i64 %30, { 1, 0 } uselistorder i32 %storemerge10.reload, { 1, 4, 0, 2, 3 } uselistorder i32 %sv_1.18.reload, { 2, 1, 0 } uselistorder i32 %28, { 1, 2, 4, 3, 0 } uselistorder i64 %21, { 2, 1, 0 } uselistorder i32 %sv_0.16.reload, { 7, 5, 6, 0, 1, 2, 4, 3 } uselistorder i32 %spec.select, { 3, 2, 4, 1, 0 } uselistorder i32 %sv_2.0.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 4, 2, 1, 0, 3 } uselistorder i64* %sv_3, { 1, 2, 3, 4, 0 } uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge10.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge.in9.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.18.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %storemerge.lcssa18.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.1.lcssa17.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.2.reg2mem, { 0, 4, 5, 3, 1, 2 } uselistorder i64 (i64*, i64, i64, i64, i64)* @_iup_worker_interpolate, { 2, 1, 0 } uselistorder i32 65536, { 4, 0, 1, 2, 3 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_16, { 2, 3, 4, 0, 1 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_10, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
rndis_query_oid_12457
rndis_query_oid
define i64 @FUNC(i64* %arg1, i32 %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %rcx = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = add i32 %4, 12 %6 = icmp sgt i32 %5, 1024 %spec.select = select i1 %6, i32 %5, i32 1024 %7 = icmp slt i32 %spec.select, 2049 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = zext i32 %spec.select to i64 %9 = call i64 @FUNC(i64 %8, i64 0) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 %9, i64* %sv_1.0.reg2mem store i64 4294967284, i64* %storemerge2.reg2mem br i1 %11, label LBL_3, label LBL_13 LBL_2: %12 = inttoptr i64 %3 to i64* %13 = load i64, i64* %12, align 8 store i64 %13, i64* %sv_1.0.reg2mem br label LBL_3 LBL_3: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %14 = add i64 %3, 12 %15 = call i64 @FUNC(i64 %14) %16 = inttoptr i64 %sv_1.0.reload to i64* %17 = call i64* @memset(i64* %16, i32 0, i32 12) %18 = call i64 @FUNC(i64 1) %19 = trunc i64 %18 to i32 %20 = inttoptr i64 %sv_1.0.reload to i32* store i32 %19, i32* %20, align 4 %21 = call i64 @FUNC(i64 12) %22 = trunc i64 %21 to i32 %23 = add i64 %sv_1.0.reload, 4 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = zext i32 %arg2 to i64 %26 = call i64 @FUNC(i64 %25) %27 = trunc i64 %26 to i32 %28 = add i64 %sv_1.0.reload, 8 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %30 = add i64 %3, 8 %31 = inttoptr i64 %30 to i32* store i32 %arg2, i32* %31, align 4 %32 = call i64 @FUNC(i64 %2, i64 %sv_1.0.reload, i32 %spec.select) %33 = trunc i64 %32 to i32 store i32 0, i32* %31, align 4 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_5, label LBL_4 LBL_4: %36 = load i32, i32* %29, align 4 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %37) %39 = call i64 @FUNC(i64 %25) %40 = and i64 %38, 4294967295 %41 = and i64 %32, 4294967295 %42 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %39, i64 %41, i64 %40) br label LBL_5 LBL_5: %43 = icmp eq i32 %33, 0 %44 = icmp eq i1 %43, false store i64 %32, i64* %sv_0.0.reg2mem br i1 %44, label LBL_10, label LBL_6 LBL_6: %45 = load i32, i32* %20, align 4 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %46) %48 = load i32, i32* %24, align 4 %49 = zext i32 %48 to i64 %50 = call i64 @FUNC(i64 %49) %51 = trunc i64 %50 to i32 %52 = add i32 %51, 8 %53 = icmp slt i32 %spec.select, %52 br i1 %53, label LBL_7, label LBL_8 LBL_7: %54 = call i64 @FUNC(i64 %25) %55 = zext i32 %spec.select to i64 %56 = zext i32 %52 to i64 %57 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %54, i64 %56, i64 %55) store i64 4294967274, i64* %sv_0.0.reg2mem br label LBL_10 LBL_8: %58 = bitcast i64* %rcx to i32* %59 = trunc i64 %47 to i32 %60 = add i32 %52, %59 %61 = icmp ult i32 %spec.select, %60 %62 = sub i32 %spec.select, %52 %storemerge3 = select i1 %61, i32 %62, i32 %59 %63 = load i32, i32* %58, align 8 %64 = zext i32 %63 to i64 %65 = sext i32 %storemerge3 to i64 %66 = icmp sgt i64 %65, %64 %spec.select4 = select i1 %66, i32 %63, i32 %storemerge3 %67 = sext i32 %52 to i64 %68 = add i64 %sv_1.0.reload, %67 %69 = inttoptr i64 %arg3 to i64* %70 = inttoptr i64 %68 to i64* %71 = call i64* @memcpy(i64* %69, i64* %70, i32 %spec.select4) store i32 %59, i32* %arg4, align 4 %72 = load i32, i32* %29, align 4 %73 = zext i32 %72 to i64 %74 = call i64 @FUNC(i64 %73) %75 = trunc i64 %74 to i32 %76 = icmp slt i32 %75, 0 %77 = icmp eq i1 %76, false store i64 %74, i64* %sv_0.0.reg2mem br i1 %77, label LBL_10, label LBL_9 LBL_9: %78 = load i32, i32* %29, align 4 %79 = zext i32 %78 to i64 %80 = call i64 @FUNC(i64 %79) %81 = call i64 @FUNC(i64 %25) %82 = and i64 %74, 4294967295 %83 = and i64 %80, 4294967295 %84 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %81, i64 %83, i64 %82) store i64 %74, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %85 = call i64 @FUNC(i64 %14) %86 = inttoptr i64 %3 to i64* %87 = load i64, i64* %86, align 8 %88 = icmp eq i64 %sv_1.0.reload, %87 br i1 %88, label LBL_12, label LBL_11 LBL_11: %89 = call i64 @FUNC(i64 %sv_1.0.reload) br label LBL_12 LBL_12: %90 = and i64 %sv_0.0.reload, 4294967295 store i64 %90, i64* %storemerge2.reg2mem br label LBL_13 LBL_13: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem ret i64 %storemerge2.reload uselistorder i64 %74, { 0, 2, 1, 3 } uselistorder i32 %59, { 2, 1, 0 } uselistorder i32 %52, { 2, 4, 0, 3, 1 } uselistorder i32* %29, { 1, 2, 0, 3 } uselistorder i64 %25, { 3, 2, 5, 4, 1, 0, 6 } uselistorder i64 %sv_1.0.reload, { 5, 6, 7, 4, 3, 2, 0, 1 } uselistorder i32 %spec.select, { 4, 0, 3, 1, 5, 2, 6 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @netdev_dbg, { 2, 1, 0 } uselistorder i64 (i64)* @oid_to_string, { 2, 1, 0 } uselistorder i64 (i64)* @le32_to_cpu, { 3, 2, 1, 0 } uselistorder i64 (i64)* @cpu_to_le32, { 2, 1, 0 } uselistorder i64 0, { 2, 3, 4, 5, 6, 7, 8, 9, 12, 10, 0, 1, 11 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_10, { 2, 1, 3, 0 } }
1
BinRealVul
xfrm_replay_advance_bmp_18459
xfrm_replay_advance_bmp
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem13 = alloca i32 %storemerge29.reg2mem = alloca i32 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = call i32 @ntohl(i32 %3) %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_15, label LBL_1 LBL_1: %9 = trunc i64 %1 to i32 %10 = add i32 %9, -1 %11 = urem i32 %10, %7 %12 = icmp ugt i32 %4, %9 br i1 %12, label LBL_2, label LBL_10 LBL_2: %13 = sub i32 %4, %9 %14 = icmp ult i32 %13, %7 %15 = icmp eq i1 %14, false br i1 %15, label LBL_6, label LBL_3 LBL_3: %16 = icmp ugt i32 %13, 1 %17 = add i64 %2, 8 store i32 %7, i32* %.reg2mem store i32 1, i32* %storemerge29.reg2mem store i32 %7, i32* %.reg2mem13 br i1 %16, label LBL_4, label LBL_5 LBL_4: %storemerge29.reload = load i32, i32* %storemerge29.reg2mem %.reload = load i32, i32* %.reg2mem %18 = add i32 %storemerge29.reload, %11 %19 = urem i32 %18, %.reload %20 = udiv i32 %19, 32 %21 = mul i32 %20, 4 %22 = zext i32 %21 to i64 %23 = add i64 %17, %22 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = urem i32 %19, 32 %27 = shl i32 -1, %26 %28 = add i32 %27, -1 %29 = and i32 %25, %28 store i32 %29, i32* %24, align 4 %30 = add nuw i32 %storemerge29.reload, 1 %exitcond10 = icmp eq i32 %30, %13 %.pre11 = load i32, i32* %6, align 4 store i32 %.pre11, i32* %.reg2mem store i32 %30, i32* %storemerge29.reg2mem store i32 %.pre11, i32* %.reg2mem13 br i1 %exitcond10, label LBL_5, label LBL_4 LBL_5: %.reload14 = load i32, i32* %.reg2mem13 %31 = add i32 %11, %13 %32 = urem i32 %31, %.reload14 %33 = udiv i32 %32, 32 %34 = mul i32 %33, 4 %35 = zext i32 %34 to i64 %36 = add i64 %17, %35 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = urem i32 %32, 32 %40 = shl i32 1, %39 %41 = or i32 %40, %38 store i32 %41, i32* %37, align 4 br label LBL_9 LBL_6: %42 = udiv i32 %7, 32 %43 = add i64 %2, 8 %44 = add nuw nsw i32 %42, 1 %wide.trip.count = zext i32 %44 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %45 = mul i64 %indvars.iv.reload, 4 %46 = add i64 %45, %43 %47 = inttoptr i64 %46 to i32* store i32 0, i32* %47, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %48 = add i32 %11, %13 %49 = load i32, i32* %6, align 4 %50 = urem i32 %48, %49 %51 = udiv i32 %50, 32 %52 = mul i32 %51, 4 %53 = zext i32 %52 to i64 %54 = add i64 %43, %53 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = urem i32 %50, 32 %58 = shl i32 1, %57 %59 = or i32 %58, %56 store i32 %59, i32* %55, align 4 br label LBL_9 LBL_9: %60 = bitcast i64* %arg1 to i32* store i32 %4, i32* %60, align 4 br label LBL_13 LBL_10: %61 = sub i32 %9, %4 %62 = icmp ult i32 %11, %61 %63 = sub i32 %11, %61 br i1 %62, label LBL_12, label LBL_11 LBL_11: %64 = urem i32 %63, %7 %65 = udiv i32 %64, 32 %66 = mul i32 %65, 4 %67 = zext i32 %66 to i64 %68 = add i64 %2, 8 %69 = add i64 %68, %67 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = urem i32 %64, 32 %73 = shl i32 1, %72 %74 = or i32 %73, %71 store i32 %74, i32* %70, align 4 br label LBL_13 LBL_12: %75 = add i32 %63, %7 %76 = udiv i32 %75, 32 %77 = mul i32 %76, 4 %78 = zext i32 %77 to i64 %79 = add i64 %2, 8 %80 = add i64 %79, %78 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = urem i32 %75, 32 %84 = shl i32 1, %83 %85 = or i32 %82, %84 store i32 %85, i32* %81, align 4 br label LBL_13 LBL_13: %86 = call i64 @FUNC(i64 %2) %87 = and i64 %86, 4294967295 %88 = call i64 @FUNC(i64 %87) %89 = trunc i64 %88 to i32 %90 = icmp eq i32 %89, 0 store i64 %88, i64* %rax.0.reg2mem br i1 %90, label LBL_15, label LBL_14 LBL_14: %91 = call i64 @FUNC(i64 %2, i64 1) store i64 %91, 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 i32 %75, { 1, 0 } uselistorder i32 %64, { 1, 0 } uselistorder i32 %50, { 1, 0 } uselistorder i32 %32, { 1, 0 } uselistorder i32 %19, { 1, 0 } uselistorder i64 %17, { 1, 0 } uselistorder i32 %11, { 4, 3, 0, 1, 2 } uselistorder i32 %9, { 2, 1, 3, 0 } uselistorder i32 %7, { 3, 4, 2, 0, 1, 5, 7, 6 } uselistorder i32* %6, { 1, 0, 2 } uselistorder i32 %4, { 2, 0, 3, 1 } uselistorder i64 %2, { 4, 5, 1, 0, 3, 2, 6 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge29.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 2, 1, 0 } uselistorder i32 32, { 1, 0, 3, 2, 5, 4, 6, 8, 7, 10, 9 } uselistorder label LBL_15, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
alloc_table_369
alloc_table
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = trunc i64 %1 to i32 %5 = add i32 %4, %3 %6 = bitcast i64* %arg1 to i32* store i32 %5, i32* %6, align 4 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp ult i32 %9, %4 br i1 %10, label LBL_1, label LBL_5 LBL_1: %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = urem i32 %13, 32 %15 = shl i32 1, %14 %16 = add i32 %15, %9 store i32 %16, i32* %8, align 4 %17 = trunc i64 %arg3 to i32 %18 = icmp eq i32 %17, 0 %19 = sext i32 %16 to i64 %20 = mul i64 %19, 8 %21 = add i64 %2, 16 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 br i1 %18, label LBL_3, label LBL_2 LBL_2: %24 = call i64 @FUNC(i64 %23, i64 %20) store i64 %24, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %25 = call i64 @FUNC(i64 %23, i64 %20) store i64 %25, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem store i64 %storemerge.reload, i64* %22, align 8 %26 = icmp eq i64 %storemerge.reload, 0 %27 = icmp eq i1 %26, false store i64 4294967295, i64* %storemerge1.reg2mem br i1 %27, label LBL_5, label LBL_6 LBL_5: %28 = and i64 %1, 4294967295 store i64 %28, i64* %storemerge1.reg2mem br label LBL_6 LBL_6: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem ret i64 %storemerge1.reload uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i64 %23, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
adx_encode_451
adx_encode
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.113.reg2mem = alloca i128 %sv_1.1.off014.reg2mem = alloca i32 %sv_2.015.reg2mem = alloca i32 %sv_3.016.reg2mem = alloca i32 %indvars.iv19.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %sv_4 = alloca i64, align 8 %4 = ptrtoint i64* %sv_4 to i64 %5 = trunc i64 %1 to i32 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %4, -160 store i64 0, i64* %indvars.iv19.reg2mem store i32 %8, i32* %sv_3.016.reg2mem store i32 %5, i32* %sv_2.015.reg2mem store i32 0, i32* %sv_1.1.off014.reg2mem store i128 0, i128* %sv_0.113.reg2mem br label LBL_1 LBL_1: %sv_0.113.reload = load i128, i128* %sv_0.113.reg2mem %sv_1.1.off014.reload = load i32, i32* %sv_1.1.off014.reg2mem %sv_2.015.reload = load i32, i32* %sv_2.015.reg2mem %sv_3.016.reload = load i32, i32* %sv_3.016.reg2mem %indvars.iv19.reload = load i64, i64* %indvars.iv19.reg2mem %10 = mul i64 %indvars.iv19.reload, 2 %11 = add i64 %10, %3 %12 = inttoptr i64 %11 to i16* %13 = load i16, i16* %12, align 2 %14 = sext i16 %13 to i32 %15 = mul i32 %14, 16384 %16 = sub i32 %15, %sv_2.015.reload %17 = add i32 %16, %sv_3.016.reload %18 = mul i64 %indvars.iv19.reload, 4 %19 = add i64 %18, %9 %20 = inttoptr i64 %19 to i32* store i32 %17, i32* %20, align 4 %21 = trunc i128 %sv_0.113.reload to i32 %22 = icmp sgt i32 %17, %21 %23 = sext i32 %17 to i128 %spec.select10 = select i1 %22, i128 %23, i128 %sv_0.113.reload %24 = icmp sgt i32 %sv_1.1.off014.reload, %17 %sv_1.0.off0 = select i1 %24, i32 %17, i32 %sv_1.1.off014.reload %indvars.iv.next20 = add nuw nsw i64 %indvars.iv19.reload, 1 %exitcond21 = icmp eq i64 %indvars.iv.next20, 32 store i64 %indvars.iv.next20, i64* %indvars.iv19.reg2mem store i32 %sv_2.015.reload, i32* %sv_3.016.reg2mem store i32 %14, i32* %sv_2.015.reg2mem store i32 %sv_1.0.off0, i32* %sv_1.1.off014.reg2mem store i128 %spec.select10, i128* %sv_0.113.reg2mem br i1 %exitcond21, label LBL_2, label LBL_1 LBL_2: store i32 %14, i32* %arg3, align 4 store i32 %sv_2.015.reload, i32* %7, align 4 %25 = trunc i128 %spec.select10 to i32 %26 = or i32 %sv_1.0.off0, %25 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_3, label LBL_4 LBL_3: %28 = call i64* @memset(i64* %arg1, i32 0, i32 18) %29 = ptrtoint i64* %28 to i64 store i64 %29, i64* %rax.1.reg2mem br label LBL_6 LBL_4: %30 = ptrtoint i64* %arg1 to i64 %31 = ashr i32 %25, 2 %32 = ashr i32 %25, 31 %33 = sub nsw i32 %31, %32 %34 = sdiv i32 %sv_1.0.off0, -128 %35 = icmp ugt i32 %33, %34 %. = select i1 %35, i32 %33, i32 %34 %36 = icmp eq i32 %., 0 %37 = icmp eq i1 %36, false %spec.select = select i1 %37, i32 %., i32 1 %38 = udiv i32 %spec.select, 256 %39 = trunc i32 %38 to i8 %40 = bitcast i64* %arg1 to i8* store i8 %39, i8* %40, align 1 %41 = add i64 %30, 1 %42 = trunc i32 %spec.select to i8 %43 = inttoptr i64 %41 to i8* store i8 %42, i8* %43, align 1 %44 = zext i32 %spec.select to i64 %45 = add i64 %30, 2 store i64 0, i64* %indvars.iv.reg2mem br label LBL_5 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %46 = mul i64 %indvars.iv.reload, 8 %47 = add i64 %46, %9 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 8 %50 = ashr i32 %49, 31 %51 = zext i32 %49 to i64 %52 = zext i32 %50 to i64 %53 = mul i64 %52, 4294967296 %54 = or i64 %53, %51 %55 = sdiv i64 %54, %44 %56 = trunc i64 %55 to i8 %57 = mul i8 %56, 16 %58 = or i64 %46, 4 %59 = add i64 %58, %9 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = ashr i32 %61, 31 %63 = zext i32 %61 to i64 %64 = zext i32 %62 to i64 %65 = mul i64 %64, 4294967296 %66 = or i64 %65, %63 %67 = sdiv i64 %66, %44 %68 = trunc i64 %67 to i8 %69 = urem i8 %68, 16 %70 = or i8 %69, %57 %71 = add i64 %45, %indvars.iv.reload %72 = inttoptr i64 %71 to i8* store i8 %70, i8* %72, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %71, i64* %rax.1.reg2mem br i1 %exitcond, label LBL_6, label LBL_5 LBL_6: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %spec.select, { 1, 2, 0 } uselistorder i32 %., { 1, 0 } uselistorder i32 %34, { 1, 0 } uselistorder i32 %25, { 2, 0, 1 } uselistorder i32 %sv_1.0.off0, { 1, 2, 0 } uselistorder i128 %spec.select10, { 1, 0 } uselistorder i32 %17, { 0, 2, 1, 3, 4 } uselistorder i32 %14, { 2, 0, 1 } uselistorder i64 %indvars.iv19.reload, { 0, 2, 1 } uselistorder i32 %sv_2.015.reload, { 1, 2, 0 } uselistorder i64* %indvars.iv19.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.016.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.015.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1.off014.reg2mem, { 1, 0, 2 } uselistorder i128* %sv_0.113.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i8 16, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 4, { 1, 0, 2 } uselistorder i64* %arg1, { 0, 2, 1 } }
0
BinRealVul
pri2fac_5746
pri2fac
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = ashr i32 %0, 3 %2 = icmp ult i32 %1, 24 %narrow = select i1 %2, i32 %1, i32 -1 %storemerge = zext i32 %narrow to i64 ret i64 %storemerge }
0
BinRealVul
pac_sub_7343
pac_sub
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.02.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 store i64 0, i64* %indvars.iv.reg2mem store i64 0, i64* %sv_0.02.reg2mem br label LBL_1 LBL_1: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %storemerge = lshr i64 %arg1, %indvars.iv.reload %0 = urem i64 %storemerge, 16 %1 = add i64 %0, ptrtoint (i8** @gv_0 to i64) %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = zext i8 %3 to i64 %rdx.0 = shl i64 %4, %indvars.iv.reload %5 = or i64 %rdx.0, %sv_0.02.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 4 %6 = icmp ult i64 %indvars.iv.next, 64 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %5, i64* %sv_0.02.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_2: ret i64 %5 uselistorder i64 %5, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
__load_segment_descriptor_7487
__load_segment_descriptor
define i64 @FUNC(i64* %arg1, i16 %arg2, i32 %arg3, i8 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i8 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i16 %.reg2mem = alloca i64 %2 = load i64, i64* %0 %sv_3 = alloca i64, align 8 %3 = load i8, i8* %1 %4 = load i8, i8* %1 %5 = load i8, i8* %1 %sv_4 = alloca i64, align 8 %6 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 6) %7 = trunc i64 %2 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = zext i16 %arg2 to i64 %11 = mul i64 %10, 16 %12 = call i64 @FUNC(i64* nonnull %sv_4, i64 %11) store i64 0, i64* %rax.0.reg2mem br label LBL_41 LBL_2: %13 = icmp sgt i32 %arg3, 4 %14 = icmp eq i32 %7, 1 %15 = icmp eq i1 %14, false %or.cond12 = or i1 %13, %15 br i1 %or.cond12, label LBL_4, label LBL_3 LBL_3: %16 = zext i16 %arg2 to i64 %17 = mul i64 %16, 16 %18 = call i64 @FUNC(i64* nonnull %sv_4, i64 %17) %19 = call i64 @FUNC(i64* nonnull %sv_4, i64 65535) store i64 3, i64* %sv_4, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_41 LBL_4: %20 = ptrtoint i64* %arg1 to i64 %21 = icmp ult i16 %arg2, 4 %22 = trunc i16 %arg2 to i8 %23 = urem i8 %22, 4 %24 = icmp eq i32 %arg3, 0 br i1 %24, label LBL_8, label LBL_5 LBL_5: %25 = icmp eq i32 %arg3, 1 %26 = icmp eq i1 %25, false br i1 %26, label LBL_7, label LBL_6 LBL_6: %27 = icmp eq i32 %7, 2 %28 = icmp eq i8 %23, %arg4 %29 = icmp eq i1 %28, %27 br i1 %29, label LBL_7, label LBL_8 LBL_7: %30 = icmp eq i32 %arg3, 2 %31 = icmp eq i1 %30, false br i1 %31, label LBL_9, label LBL_8 LBL_8: %32 = icmp eq i1 %21, false %33 = icmp eq i1 %32, false store i32 13, i32* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %33, label LBL_40, label LBL_9 LBL_9: %34 = icmp eq i32 %arg3, 2 %35 = icmp eq i1 %34, false br i1 %35, label LBL_11, label LBL_10 LBL_10: %36 = and i16 %arg2, 4 %37 = icmp eq i16 %36, 0 %38 = icmp eq i1 %37, false store i32 13, i32* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %38, label LBL_40, label LBL_11 LBL_11: %39 = icmp eq i1 %21, false %40 = icmp eq i1 %39, false store i64 0, i64* %rax.0.reg2mem br i1 %40, label LBL_41, label LBL_12 LBL_12: %41 = call i64 @FUNC(i64 %20, i16 %arg2, i64* nonnull %sv_4, i64* nonnull %sv_3) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 br i1 %43, label LBL_14, label LBL_13 LBL_13: %44 = and i64 %41, 4294967295 store i64 %44, i64* %rax.0.reg2mem br label LBL_41 LBL_14: %45 = and i16 %arg2, -4 %46 = zext i16 %45 to i32 %47 = trunc i64 %arg5 to i8 %48 = icmp eq i8 %47, 0 %49 = select i1 %48, i32 13, i32 10 %50 = icmp slt i32 %arg3, 5 %51 = icmp eq i8 %4, 0 %or.cond = icmp eq i1 %50, %51 store i32 %49, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_40, label LBL_15 LBL_15: %52 = icmp eq i8 %5, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_17, label LBL_16 LBL_16: %54 = icmp eq i32 %arg3, 1 %55 = icmp eq i1 %54, false %56 = select i1 %55, i32 12, i32 11 store i32 %56, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br label LBL_40 LBL_17: %57 = icmp eq i32 %arg3, 3 br i1 %57, label LBL_33, label LBL_18 LBL_18: %58 = icmp sgt i32 %arg3, 3 br i1 %58, label LBL_35, label LBL_19 LBL_19: br i1 %34, label LBL_29, label LBL_20 LBL_20: br i1 %24, label LBL_24, label LBL_21 LBL_21: %59 = icmp eq i32 %arg3, 1 %60 = icmp eq i1 %59, false br i1 %60, label LBL_35, label LBL_22 LBL_22: %61 = icmp eq i8 %23, %arg4 %62 = icmp eq i1 %61, false store i32 %49, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br i1 %62, label LBL_40, label LBL_23 LBL_23: %63 = load i64, i64* %sv_4, align 8 %64 = and i64 %63, 10 %65 = icmp eq i64 %64, 2 %66 = icmp eq i8 %3, %arg4 %or.cond15 = icmp eq i1 %66, %65 store i64 %63, i64* %.reg2mem store i16 %arg2, i16* %sv_2.0.reg2mem store i32 %49, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br i1 %or.cond15, label LBL_37, label LBL_40 LBL_24: %67 = load i64, i64* %sv_4, align 8 %68 = and i64 %67, 8 %69 = icmp eq i64 %68, 0 store i32 %49, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br i1 %69, label LBL_40, label LBL_25 LBL_25: %70 = and i64 %67, 4 %71 = icmp eq i64 %70, 0 br i1 %71, label LBL_27, label LBL_26 LBL_26: %72 = icmp ugt i8 %3, %arg4 store i32 %49, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br i1 %72, label LBL_40, label LBL_28 LBL_27: %73 = icmp ugt i8 %23, %arg4 %74 = icmp eq i8 %3, %arg4 %75 = icmp eq i1 %74, false %or.cond17 = or i1 %73, %75 store i32 %49, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br i1 %or.cond17, label LBL_40, label LBL_28 LBL_28: %76 = zext i8 %arg4 to i16 %77 = or i16 %45, %76 store i64 %67, i64* %.reg2mem store i16 %77, i16* %sv_2.0.reg2mem br label LBL_37 LBL_29: %78 = icmp eq i1 %51, false store i32 %49, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br i1 %78, label LBL_40, label LBL_30 LBL_30: %79 = load i64, i64* %sv_4, align 8 %80 = trunc i64 %79 to i8 %81 = icmp ne i8 %80, 1 %82 = icmp eq i8 %80, 9 %83 = icmp eq i1 %82, false %or.cond19 = icmp eq i1 %81, %83 store i32 %49, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br i1 %or.cond19, label LBL_40, label LBL_31 LBL_31: %84 = mul i64 %79, 72057594037927936 %sext5 = ashr exact i64 %84, 56 %85 = or i64 %sext5, 2 store i64 %85, i64* %sv_4, align 8 %86 = trunc i64 %20 to i32 %87 = icmp eq i32 %86, 0 br i1 %87, label LBL_39, label LBL_32 LBL_32: %88 = and i64 %20, 4294967295 store i64 %88, i64* %rax.0.reg2mem br label LBL_41 LBL_33: %89 = icmp eq i1 %51, false store i32 %49, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br i1 %89, label LBL_40, label LBL_34 LBL_34: %90 = load i64, i64* %sv_4, align 8 %91 = trunc i64 %90 to i8 %92 = icmp eq i8 %91, 2 store i32 %49, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br i1 %92, label LBL_39, label LBL_40 LBL_35: %93 = load i64, i64* %sv_4, align 8 %94 = and i64 %93, 10 %95 = icmp eq i64 %94, 8 store i32 %49, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br i1 %95, label LBL_40, label LBL_36 LBL_36: %96 = and i64 %93, 12 %97 = icmp ne i64 %96, 12 %98 = icmp ugt i8 %23, %3 %or.cond20 = icmp eq i1 %98, %97 %99 = icmp ult i8 %3, %arg4 %or.cond21 = icmp eq i1 %99, %or.cond20 store i64 %93, i64* %.reg2mem store i16 %arg2, i16* %sv_2.0.reg2mem store i32 %49, i32* %sv_1.0.reg2mem store i32 %46, i32* %sv_0.0.reg2mem br i1 %or.cond21, label LBL_40, label LBL_37 LBL_37: br i1 %51, label LBL_39, label LBL_38 LBL_38: %sv_2.0.reload = load i16, i16* %sv_2.0.reg2mem %.reload = load i64, i64* %.reg2mem %100 = mul i64 %.reload, 72057594037927936 %sext4 = ashr exact i64 %100, 56 %101 = or i64 %sext4, 1 store i64 %101, i64* %sv_4, align 8 %102 = zext i16 %sv_2.0.reload to i64 %103 = call i64 @FUNC(i64 %20, i64 %102, i64* nonnull %sv_4) %104 = trunc i64 %103 to i32 %105 = icmp eq i32 %104, 0 %106 = and i64 %103, 4294967295 %spec.select = select i1 %105, i64 0, i64 %106 store i64 %spec.select, i64* %rax.0.reg2mem br label LBL_41 LBL_39: %107 = icmp eq i32 %7, 2 %108 = icmp eq i1 %107, false %109 = trunc i64 %20 to i32 %110 = icmp eq i32 %109, 0 %or.cond23 = or i1 %110, %108 %111 = and i64 %20, 4294967295 %spec.select24 = select i1 %or.cond23, i64 0, i64 %111 ret i64 %spec.select24 LBL_40: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %112 = call i64 @FUNC(i64 %20, i32 %sv_1.0.reload, i32 %sv_0.0.reload, i64 1) store i64 %112, i64* %rax.0.reg2mem br label LBL_41 LBL_41: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %51, { 2, 3, 1, 0 } uselistorder i32 %49, { 0, 8, 9, 10, 1, 7, 5, 4, 6, 2, 3, 11 } uselistorder i32 %46, { 0, 9, 10, 11, 1, 8, 6, 5, 7, 3, 4, 2, 12 } uselistorder i8 %23, { 3, 0, 1, 2 } uselistorder i64 %20, { 6, 4, 0, 3, 2, 1, 5 } uselistorder i32 %7, { 0, 3, 2, 1 } uselistorder i64* %sv_4, { 0, 6, 7, 8, 9, 10, 11, 12, 1, 13, 2, 3, 4, 5 } uselistorder i8 %3, { 4, 3, 2, 0, 1 } uselistorder i64* %.reg2mem, { 0, 3, 2, 1 } uselistorder i16* %sv_2.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 1, 11, 12, 13, 2, 10, 8, 7, 9, 5, 6, 4, 14, 3, 15 } uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 11, 12, 13, 2, 10, 8, 7, 9, 5, 6, 4, 14, 3, 15 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 6, 5, 4, 3, 2 } uselistorder i8* %1, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 56, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 13, { 2, 0, 1 } uselistorder i64 (i64*, i64)* @set_desc_base, { 1, 0 } uselistorder i1 false, { 5, 6, 0, 7, 1, 8, 9, 10, 11, 12, 3, 13, 14, 15, 4, 16, 17, 2, 18 } uselistorder i8 %arg4, { 0, 6, 1, 7, 5, 2, 4, 3 } uselistorder i32 %arg3, { 4, 3, 2, 5, 0, 6, 1, 8, 7, 9 } uselistorder i16 %arg2, { 1, 0, 5, 6, 4, 7, 8, 3, 2 } uselistorder label LBL_41, { 4, 0, 5, 6, 3, 2, 1 } uselistorder label LBL_40, { 0, 3, 5, 4, 1, 6, 7, 13, 8, 2, 9, 14, 10, 11, 12 } uselistorder label LBL_39, { 2, 1, 0 } uselistorder label LBL_37, { 0, 2, 1 } uselistorder label LBL_8, { 1, 0, 2 } }
1
BinRealVul
__vm_enough_memory_4240
__vm_enough_memory
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2) %1 = load i32, i32* @gv_0, align 4 %2 = icmp eq i32 %1, 1 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %4 = icmp eq i32 %1, 2 %5 = icmp eq i1 %4, false br i1 %5, label LBL_5, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 0) %7 = load i64, i64* @gv_1, align 8 %8 = add i64 %7, %6 %9 = call i64 @FUNC(i64 1) %10 = add i64 %8, %9 %11 = icmp eq i32 %arg3, 0 %12 = icmp eq i1 %11, false %13 = udiv i64 %10, 32 %14 = select i1 %12, i64 0, i64 %13 %sv_0.0 = sub i64 %10, %14 %15 = icmp ugt i64 %sv_0.0, %arg2 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_7, label LBL_3 LBL_3: %16 = call i64 @FUNC() %17 = load i64, i64* @gv_2, align 8 %18 = icmp ugt i64 %16, %17 br i1 %18, label LBL_4, label LBL_6 LBL_4: %19 = sub i64 %16, %17 %20 = udiv i64 %19, 32 %.op = sub nsw i64 0, %20 %.neg = select i1 %12, i64 0, i64 %.op %sv_1.0 = add i64 %19, %sv_0.0 %21 = add i64 %sv_1.0, %.neg %22 = icmp ugt i64 %21, %arg2 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_7, label LBL_6 LBL_5: %23 = call i64 @FUNC() %24 = call i64 @FUNC(i64* nonnull @gv_3) store i64 0, i64* %rax.0.reg2mem br i1 false, label LBL_7, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64 %arg2) store i64 4294967284, 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 %19, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 (i64)* @global_page_state, { 1, 0 } uselistorder i64 %arg2, { 2, 0, 1, 3 } uselistorder label LBL_7, { 4, 0, 1, 2, 3 } }
0
BinRealVul
nvme_fc_parse_traddr_9217
nvme_fc_parse_traddr
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %5 = ptrtoint i64* %sv_1 to i64 store i64 %5, i64* %sv_0, align 8 %6 = bitcast i64* %arg2 to i8* %7 = trunc i64 %arg3 to i32 %8 = call i32 @strnlen(i8* %6, i32 %7) %9 = icmp eq i32 %8, 32 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_1 LBL_1: %11 = call i32 @strncmp(i8* %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i32 5) %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = add i64 %4, 8 %15 = inttoptr i64 %14 to i8* %16 = call i32 @strncmp(i8* %15, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 5) %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_3, label LBL_6 LBL_3: %19 = call i32 @strnlen(i8* %6, i32 %7) %20 = icmp eq i32 %19, 12 %21 = icmp eq i1 %20, false store i64 %arg3, i64* %rdx.0.reg2mem br i1 %21, label LBL_8, label LBL_4 LBL_4: %22 = call i32 @strncmp(i8* %6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i32 3) %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 3, i64* %rdx.0.reg2mem br i1 %24, label LBL_8, label LBL_5 LBL_5: %25 = add i64 %4, 4 %26 = inttoptr i64 %25 to i8* %27 = call i32 @strncmp(i8* %26, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i32 3) %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i64 3, i64* %rdx.0.reg2mem br i1 %29, label LBL_8, label LBL_6 LBL_6: %30 = ptrtoint i64* %arg1 to i64 store i64 48, i64* %sv_1, align 8 %31 = call i64 @FUNC(i64* nonnull %sv_0, i64 %30) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i64 %30, i64* %rdx.0.reg2mem br i1 %34, label LBL_8, label LBL_7 LBL_7: %35 = add i64 %30, 8 %36 = call i64 @FUNC(i64* nonnull %sv_0, i64 %35) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false store i64 %35, i64* %rdx.0.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %39, label LBL_8, label LBL_9 LBL_8: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %40 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i64 %rdx.0.reload, i64 %3, i64 %2, i64 %1) store i64 4294967274, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %30, { 1, 0, 2 } uselistorder i8* %6, { 1, 2, 0, 3 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64*, i64)* @__nvme_fc_parse_u64, { 1, 0 } uselistorder i32 (i8*, i8*, i32)* @strncmp, { 3, 2, 1, 0 } uselistorder i32 (i8*, i32)* @strnlen, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 0, 1, 4, 3, 2 } }
0
BinRealVul
cin_read_frame_header_13953
cin_read_frame_header
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = ptrtoint i32* %arg2 to i64 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i8 %4 = bitcast i64* %arg1 to i8* store i8 %3, i8* %4, align 1 %5 = call i64 @FUNC(i64 %1) %6 = trunc i64 %5 to i8 %7 = add i64 %0, 1 %8 = inttoptr i64 %7 to i8* store i8 %6, i8* %8, align 1 %9 = call i64 @FUNC(i64 %1) %10 = trunc i64 %9 to i16 %11 = add i64 %0, 2 %12 = inttoptr i64 %11 to i16* store i16 %10, i16* %12, align 2 %13 = call i64 @FUNC(i64 %1) %14 = trunc i64 %13 to i32 %15 = add i64 %0, 4 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = call i64 @FUNC(i64 %1) %18 = trunc i64 %17 to i32 %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = bitcast i64* %rsi to i32* %22 = load i32, i32* %21, align 8 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %24, label LBL_3, label LBL_1 LBL_1: %25 = add i64 %1, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 store i64 4294967291, i64* %rax.0.reg2mem br i1 %28, label LBL_2, label LBL_3 LBL_2: %29 = call i64 @FUNC(i64 %1) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, -1437226411 %spec.store.select = select i1 %31, i64 %29, i64 0 store i64 %spec.store.select, 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 %1, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967291, { 1, 0 } uselistorder i64 (i64)* @avio_rl32, { 2, 1, 0 } uselistorder i64 (i64)* @avio_r8, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
llcp_sock_getname_18574
llcp_sock_getname
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %3, 16 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %3, 12 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %6 to i64 %14 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %2, i32 %12, i32 %9, i64 %13, i64 %1) %15 = icmp eq i64 %3, 0 store i64 1, i64* %storemerge.reg2mem br i1 %15, label LBL_3, label LBL_1 LBL_1: %16 = inttoptr i64 %3 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 1, i64* %storemerge.reg2mem br i1 %19, label LBL_2, label LBL_3 LBL_2: %20 = ptrtoint i64* %arg2 to i64 %21 = bitcast i64* %arg2 to i32* store i32 4660, i32* %21, align 4 %22 = bitcast i64* %arg3 to i32* store i32 276, i32* %22, align 4 %23 = load i64, i64* %16, align 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 store i32 %25, i32* %21, align 4 %26 = load i32, i32* %11, align 4 %27 = add i64 %20, 4 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = load i32, i32* %8, align 4 %30 = add i64 %20, 8 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 %32 = load i32, i32* %5, align 4 %33 = add i64 %20, 12 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = add i64 %3, 20 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %20, 16 %39 = inttoptr i64 %38 to i32* store i32 %37, i32* %39, align 4 %40 = add i64 %3, 24 %41 = add i64 %20, 20 %42 = inttoptr i64 %41 to i64* %43 = inttoptr i64 %40 to i64* %44 = call i64* @memcpy(i64* %42, i64* %43, i32 %37) 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 %3, { 0, 1, 2, 6, 3, 4, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
compute_target_time_3654
compute_target_time
define i128 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %sv_0.0.off0.reg2mem = alloca i64 %sv_1.1.off0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i128 %extract.t4.pre-phi.reg2mem = alloca i64 %zf.0.reg2mem = alloca i1 %cf.0.reg2mem = alloca i1 %sv_1.0.reg2mem = alloca i128 %2 = load i64, i64* %1 %3 = load i64, i64* %1 %4 = load i64, i64* %1 %5 = load i128, i128* %0 %sv_2 = alloca i64, align 8 %6 = icmp ult i64* %sv_2, inttoptr (i64 56 to i64*) %7 = call i64 @__asm_movsd.1(i128 %5) %8 = call i128 @FUNC(i128 %5, i128 %5) %9 = call i64 @__asm_movsd.1(i128 %8) %10 = call i128 @FUNC(i64 %arg1) %11 = call i128 @FUNC(i64 %7) %12 = call i128 @FUNC(i128 %11, i128 %10) %13 = call i64 @__asm_movsd.1(i128 %12) %14 = sext i64 %13 to i128 %15 = call i128 @FUNC(i128 %12, i128 %12) call void @FUNC(i128 %15, i128 %14) %16 = icmp eq i1 %6, false br i1 %16, label LBL_1, label LBL_2 LBL_1: %17 = add i64 %arg1, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i128 @FUNC(i64 %19) %21 = call i64 @__asm_movsd.1(i128 %20) %22 = sext i64 %21 to i128 store i128 %22, i128* %sv_1.0.reg2mem br label LBL_3 LBL_2: %23 = call i128 @FUNC(i64 %13) %24 = load i128, i128* @gv_0, align 8 call void @FUNC(i128 %23, i128 %24) %25 = call i128 @FUNC(i64 %13) %26 = call i64 @__asm_movsd.1(i128 %25) %27 = add i64 %arg1, 8 %28 = inttoptr i64 %27 to i64* store i64 %26, i64* %28, align 8 store i128 %14, i128* %sv_1.0.reg2mem br label LBL_3 LBL_3: %sv_1.0.reload = load i128, i128* %sv_1.0.reg2mem %29 = call i128 @FUNC(i64 %7) %30 = call i64 @__asm_movsd.1(i128 %29) %31 = inttoptr i64 %arg1 to i64* store i64 %30, i64* %31, align 8 %32 = add i64 %arg1, 24 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_5, label LBL_4 LBL_4: %37 = add i64 %arg1, 32 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false store i1 false, i1* %cf.0.reg2mem store i1 false, i1* %zf.0.reg2mem br i1 %41, label LBL_6, label LBL_5 LBL_5: %42 = icmp eq i32 %34, 1 %43 = icmp eq i1 %42, false %extract.t = trunc i128 %sv_1.0.reload to i64 store i1 %35, i1* %cf.0.reg2mem store i1 true, i1* %zf.0.reg2mem store i64 %extract.t, i64* %sv_1.1.off0.reg2mem store i64 %9, i64* %sv_0.0.off0.reg2mem br i1 %43, label LBL_11, label LBL_6 LBL_6: %zf.0.reload = load i1, i1* %zf.0.reg2mem %cf.0.reload = load i1, i1* %cf.0.reg2mem %44 = call i128 @FUNC(i64 %arg1) %45 = call i64 @FUNC(i128 %44) %46 = call i128 @FUNC(i64 %arg1) %47 = call i128 @FUNC(i128 %46) %48 = call i128 @__asm_movq.2(i64 %45) %49 = call i128 @FUNC(i128 %48, i128 %47) %50 = call i64 @__asm_movsd.1(i128 %49) %51 = call i128 @FUNC(i64 4576918229304087675) call void @FUNC(i128 %51, i128 %sv_1.0.reload) %52 = or i1 %cf.0.reload, %zf.0.reload br i1 %52, label LBL_8, label LBL_7 LBL_7: %53 = call i128 @FUNC(i64 4576918229304087675) %.pre = trunc i128 %sv_1.0.reload to i64 store i64 %.pre, i64* %extract.t4.pre-phi.reg2mem store i128 %53, i128* %storemerge.reg2mem br label LBL_9 LBL_8: %54 = trunc i128 %sv_1.0.reload to i64 %55 = call i128 @FUNC(i64 %54) store i64 %54, i64* %extract.t4.pre-phi.reg2mem store i128 %55, i128* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i128, i128* %storemerge.reg2mem %extract.t4.pre-phi.reload = load i64, i64* %extract.t4.pre-phi.reg2mem %56 = call i64 @__asm_movsd.1(i128 %storemerge.reload) %57 = call i128 @FUNC(i64 %50) %58 = call i128 @__asm_movq.2(i64 9223372036854775807) %59 = call i128 @FUNC(i128 %58, i128 %57) %60 = call i128 @FUNC(i64 4591870180066957722) call void @FUNC(i128 %60, i128 %59) store i64 %extract.t4.pre-phi.reload, i64* %sv_1.1.off0.reg2mem store i64 %50, i64* %sv_0.0.off0.reg2mem br i1 %52, label LBL_11, label LBL_10 LBL_10: %61 = sext i64 %50 to i128 %62 = call i128 @FUNC(i64 %56) %63 = call i128 @__asm_movq.2(i64 -9223372036854775808) %64 = call i128 @FUNC(i128 %62, i128 %63) call void @FUNC(i128 %64, i128 %61) %65 = call i128 @FUNC(i128 %64, i128 %64) %66 = call i64 @__asm_movsd.1(i128 %65) store i64 %66, i64* %sv_1.1.off0.reg2mem store i64 %50, i64* %sv_0.0.off0.reg2mem br label LBL_11 LBL_11: %sv_0.0.off0.reload = load i64, i64* %sv_0.0.off0.reg2mem %sv_1.1.off0.reload = load i64, i64* %sv_1.1.off0.reg2mem %67 = add i64 %arg1, 16 %68 = inttoptr i64 %67 to i64* %69 = load i64, i64* %68, align 8 %70 = call i128 @FUNC(i64 %69) %71 = call i128 @__asm_addsd.3(i128 %70, i64 %sv_1.1.off0.reload) %72 = call i64 @__asm_movsd.1(i128 %71) store i64 %72, i64* %68, align 8 %73 = call i128 @FUNC(i64 %sv_0.0.off0.reload) %74 = call i128 @__asm_movq.2(i64 -9223372036854775808) %75 = call i128 @FUNC(i128 %74, i128 %73) %76 = call i128 @FUNC(i64 %7) %77 = call i128 @FUNC(i128 %75) %78 = call i128 @FUNC(i128 %76) %79 = call i128 @__asm_movq.2(i64 %sv_1.1.off0.reload) %80 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %3, i64 %2) %81 = load i64, i64* %68, align 8 %82 = call i128 @FUNC(i64 %81) ret i128 %82 uselistorder i128 %64, { 1, 0, 2 } uselistorder i64 %50, { 0, 3, 1, 2 } uselistorder i128 %sv_1.0.reload, { 0, 3, 1, 2 } uselistorder i128 %12, { 2, 1, 0 } uselistorder i1* %cf.0.reg2mem, { 0, 2, 1 } uselistorder i1* %zf.0.reg2mem, { 0, 2, 1 } uselistorder i64* %extract.t4.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i128* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %1, { 2, 1, 0 } uselistorder i1 false, { 2, 0, 1, 3, 4, 5 } uselistorder i64 %arg1, { 3, 2, 1, 5, 4, 6, 0, 7, 8 } }
0
BinRealVul
blk_mq_alloc_tag_set_18839
blk_mq_alloc_tag_set
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem13 = alloca i32 %storemerge4.reg2mem = alloca i32 %.reg2mem11 = alloca i64 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_14 LBL_1: %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp ne i32 %8, 0 %10 = icmp slt i32 %8, 257 %or.cond = icmp eq i1 %9, %10 store i64 4294967274, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_14 LBL_2: %11 = add i64 %5, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp ult i32 %13, %8 store i64 4294967274, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_14 LBL_3: %15 = add i64 %5, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %20, label LBL_14, label LBL_4 LBL_4: %21 = add i64 %17, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %24, label LBL_14, label LBL_5 LBL_5: %25 = add i64 %17, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %27, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %28, label LBL_14, label LBL_6 LBL_6: %29 = add i64 %17, 24 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %33, label LBL_7, label LBL_14 LBL_7: %34 = add i64 %5, 12 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 0, i64 0, i64 %37) %39 = add i64 %5, 16 %40 = inttoptr i64 %39 to i64* store i64 %38, i64* %40, align 8 %41 = icmp eq i64 %38, 0 store i64 4294967284, i64* %rax.0.reg2mem br i1 %41, label LBL_14, label LBL_8 LBL_8: %42 = bitcast i64* %rdi to i32* %43 = load i32, i32* %42, align 8 %44 = icmp eq i32 %43, 0 store i64 %38, i64* %.reg2mem store i64 0, i64* %.reg2mem11 store i32 0, i32* %storemerge4.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_14, label LBL_9 LBL_9: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload12 = load i64, i64* %.reg2mem11 %.reload = load i64, i64* %.reg2mem %45 = mul i64 %.reload12, 8 %46 = add i64 %45, %.reload %47 = zext i32 %storemerge4.reload to i64 %48 = call i64 @FUNC(i64 %5, i64 %47) %49 = inttoptr i64 %46 to i64* store i64 %48, i64* %49, align 8 %50 = load i64, i64* %40, align 8 %51 = add i64 %50, %45 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = icmp eq i64 %53, 0 br i1 %54, label LBL_10, label LBL_12 LBL_10: %55 = add i32 %storemerge4.reload, -1 %56 = icmp slt i32 %55, 0 %57 = icmp eq i1 %56, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %57, label LBL_11, label LBL_14 LBL_11: %58 = sext i32 %55 to i64 %59 = mul i64 %58, 8 %60 = add i64 %59, %50 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = call i64 @FUNC(i64 %5, i64 %62, i32 %55) %64 = add i32 %storemerge4.reload, -2 %65 = icmp slt i32 %64, 0 %66 = icmp eq i1 %65, false store i32 %64, i32* %.reg2mem13 store i64 4294967284, i64* %rax.0.reg2mem br i1 %66, label LBL_13, label LBL_14 LBL_12: %67 = add i32 %storemerge4.reload, 1 %68 = load i32, i32* %42, align 8 %69 = zext i32 %68 to i64 %70 = sext i32 %67 to i64 %71 = icmp slt i64 %70, %69 store i64 %50, i64* %.reg2mem store i64 %70, i64* %.reg2mem11 store i32 %67, i32* %storemerge4.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %71, label LBL_9, label LBL_14 LBL_13: %.reload14 = load i32, i32* %.reg2mem13 %.pre = load i64, i64* %40, align 8 %72 = sext i32 %.reload14 to i64 %73 = mul i64 %72, 8 %74 = add i64 %73, %.pre %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = call i64 @FUNC(i64 %5, i64 %76, i32 %.reload14) %78 = add i32 %.reload14, -1 %79 = icmp slt i32 %78, 0 %80 = icmp eq i1 %79, false store i32 %78, i32* %.reg2mem13 store i64 4294967284, i64* %rax.0.reg2mem br i1 %80, label LBL_13, label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %45, { 1, 0 } uselistorder i32 %storemerge4.reload, { 0, 3, 2, 1 } uselistorder i32* %42, { 1, 0 } uselistorder i32 %8, { 1, 0, 2 } uselistorder i64 %5, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem11, { 2, 0, 1 } uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem13, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 5, 4, 6, 10, 9, 8, 7, 11, 12, 13 } uselistorder i64 (i64, i64, i32)* @blk_mq_free_rq_map, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 4294967284, { 1, 0, 2, 3 } uselistorder i64 4294967274, { 3, 2, 1, 0, 4, 5, 6 } uselistorder i1 false, { 2, 0, 1, 3, 4 } uselistorder i32 0, { 5, 1, 3, 0, 2, 6, 7, 4 } uselistorder label LBL_14, { 2, 0, 1, 4, 3, 6, 10, 9, 8, 7, 5, 11, 12 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
handle_port_status_write_14138
handle_port_status_write
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = and i64 %arg2, 4294967295 %sext4 = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext4, 32 %3 = ashr exact i64 %sext, 30 %4 = add i64 %3, %0 %5 = inttoptr i64 %4 to i32* %6 = ashr exact i64 %sext, 29 %7 = add i64 %0, 8 %8 = add i64 %7, %6 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = load i32, i32* %5, align 4 %12 = trunc i64 %2 to i32 %and.ra = and i32 %12, 65534 %13 = xor i32 %and.ra, -2 %14 = and i32 %11, %13 store i32 %14, i32* %5, align 4 %15 = and i64 %2, 4294967295 %16 = call i64 @FUNC(i64 %0, i64 %1, i64 %15) %17 = and i64 %2, 4 %18 = load i32, i32* %5, align 4 %19 = and i32 %18, 2 %20 = icmp eq i32 %19, 0 store i64 %17, i64* %sv_0.0.reg2mem br i1 %20, label LBL_5, label LBL_1 LBL_1: %21 = call i64 @FUNC(i64 %1, i64 0) %cond = icmp eq i64 %10, 0 store i64 %17, i64* %sv_0.0.reg2mem br i1 %cond, label LBL_5, label LBL_2 LBL_2: %22 = inttoptr i64 %10 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 store i64 %17, i64* %sv_0.0.reg2mem br i1 %24, label LBL_5, label LBL_3 LBL_3: %25 = call i64 @FUNC(i64 %8) %26 = load i32, i32* %5, align 4 %27 = and i32 %26, -9 store i32 %27, i32* %5, align 4 %.pr = load i32, i32* %22, align 4 %28 = icmp eq i32 %.pr, 0 store i64 %17, i64* %sv_0.0.reg2mem br i1 %28, label LBL_5, label LBL_4 LBL_4: %29 = add i64 %10, 4 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = udiv i32 %31, 16 %33 = urem i32 %32, 2 %34 = zext i32 %33 to i64 %35 = or i64 %17, %34 store i64 %35, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %36 = load i32, i32* %5, align 4 %37 = and i32 %36, -5 %38 = trunc i64 %sv_0.0.reload to i32 %39 = or i32 %37, %38 store i32 %39, i32* %5, align 4 ret i64 %4 uselistorder i64 %17, { 4, 2, 0, 1, 3 } uselistorder i64 %10, { 1, 2, 0 } uselistorder i32* %5, { 2, 3, 1, 0, 4, 5, 6 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 4, 1, 3, 5 } uselistorder i64 4, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_5, { 1, 3, 0, 2, 4 } }
1
BinRealVul
complete_emulated_mmio_12150
complete_emulated_mmio
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.reg2mem5 = alloca i32 %.reg2mem = alloca i32 %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 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %7 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %6) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = mul nuw nsw i64 %14, 24 %16 = add i64 %15, %10 %17 = add i64 %16, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp ult i32 %19, 8 %21 = select i1 %20, i32 %19, i32 8 %22 = add i64 %0, 28 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false store i32 %19, i32* %.reg2mem br i1 %26, label LBL_4, label LBL_3 LBL_3: %27 = add i64 %16, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %29 to i64* %31 = inttoptr i64 %11 to i64* %32 = call i64* @memcpy(i64* %30, i64* %31, i32 %21) %.pre = load i32, i32* %18, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %33 = icmp ult i32 %.reload, 9 br i1 %33, label LBL_5, label LBL_6 LBL_5: %34 = add i64 %16, 24 %35 = load i32, i32* %12, align 4 %36 = add i32 %35, 1 store i32 %36, i32* %12, align 4 store i32 %36, i32* %.reg2mem5 store i64 %34, i64* %sv_0.0.reg2mem br label LBL_7 LBL_6: %37 = add i64 %16, 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = zext i32 %21 to i64 %41 = add i64 %39, %40 store i64 %41, i64* %38, align 8 %42 = inttoptr i64 %16 to i64* %43 = load i64, i64* %42, align 8 %44 = add i64 %43, %40 store i64 %44, i64* %42, align 8 %45 = load i32, i32* %18, align 4 %46 = sub i32 %45, %21 store i32 %46, i32* %18, align 4 %.pre1 = load i32, i32* %12, align 4 store i32 %.pre1, i32* %.reg2mem5 store i64 %16, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %.reload6 = load i32, i32* %.reg2mem5 %47 = add i64 %0, 20 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = icmp eq i32 %.reload6, %49 %51 = icmp eq i1 %50, false br i1 %51, label LBL_10, label LBL_8 LBL_8: store i32 0, i32* %2, align 4 %52 = load i32, i32* %23, align 4 %53 = icmp eq i32 %52, 0 store i64 1, i64* %rax.0.reg2mem br i1 %53, label LBL_9, label LBL_13 LBL_9: %54 = add i64 %0, 32 %55 = inttoptr i64 %54 to i32* store i32 1, i32* %55, align 4 %56 = call i64 @FUNC(i64 %0) store i64 %56, i64* %rax.0.reg2mem br label LBL_13 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %57 = bitcast i64* %arg1 to i32* store i32 1, i32* %57, align 4 %58 = inttoptr i64 %sv_0.0.reload to i64* %59 = load i64, i64* %58, align 8 store i64 %59, i64* %9, align 8 %60 = load i32, i32* %23, align 4 %61 = icmp eq i32 %60, 0 %.pre2 = add i64 %sv_0.0.reload, 16 %.pre3 = inttoptr i64 %.pre2 to i32* br i1 %61, label LBL_12, label LBL_11 LBL_11: %62 = load i32, i32* %.pre3, align 4 %63 = icmp ult i32 %62, 8 %64 = select i1 %63, i32 %62, i32 8 %65 = add i64 %sv_0.0.reload, 8 %66 = inttoptr i64 %65 to i64* %67 = load i64, i64* %66, align 8 %68 = inttoptr i64 %11 to i64* %69 = inttoptr i64 %67 to i64* %70 = call i64* @memcpy(i64* %68, i64* %69, i32 %64) br label LBL_12 LBL_12: %71 = load i32, i32* %.pre3, align 4 %72 = icmp ult i32 %71, 8 %73 = select i1 %72, i32 %71, i32 8 store i32 %73, i32* %2, align 4 %74 = add i64 %0, 40 %75 = inttoptr i64 %74 to i64* store i64 4198725, i64* %75, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.reload, { 1, 2, 0 } uselistorder i32* %23, { 1, 0, 2 } uselistorder i32* %18, { 2, 1, 0, 3 } uselistorder i64 %16, { 0, 2, 3, 4, 1, 5 } uselistorder i32* %12, { 0, 2, 1, 3 } uselistorder i32* %2, { 1, 0, 2 } uselistorder i64 %0, { 2, 0, 1, 3, 4, 6, 5, 7 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 24, { 1, 0, 2 } uselistorder label LBL_13, { 1, 2, 0, 3 } uselistorder label LBL_12, { 1, 0 } }
1
BinRealVul
copy_to_user_policy_11297
copy_to_user_policy
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = trunc i64 %arg3 to i32 %5 = trunc i64 %1 to i32 %6 = bitcast i64* %arg2 to i32* store i32 %5, i32* %6, align 4 %7 = add i64 %3, 24 %8 = add i64 %2, 24 %9 = inttoptr i64 %7 to i32* %10 = load i32, i32* %9, align 4 %11 = inttoptr i64 %8 to i32* store i32 %10, i32* %11, align 4 %12 = add i64 %3, 28 %13 = add i64 %2, 28 %14 = inttoptr i64 %12 to i32* %15 = load i32, i32* %14, align 4 %16 = inttoptr i64 %13 to i32* store i32 %15, i32* %16, align 4 %17 = add i64 %3, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %2, 4 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = add i64 %3, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %2, 8 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = add i64 %3, 12 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 store i32 %29, i32* %6, align 4 %30 = add i64 %2, 12 %31 = inttoptr i64 %30 to i32* store i32 %4, i32* %31, align 4 %32 = add i64 %3, 16 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i64 %2, 16 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = add i64 %3, 20 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = add i64 %2, 20 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = add i64 %2, 32 %43 = inttoptr i64 %42 to i32* store i32 0, i32* %43, align 4 ret i64 %2 uselistorder i64 %2, { 1, 0, 2, 3, 4, 5, 6, 7, 8 } }
1
BinRealVul
encode_rgb_frame_15543
encode_rgb_frame
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i32* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.lcssa.reg2mem = alloca i64 %sv_0.215.reg2mem = alloca i32 %storemerge216.reg2mem = alloca i32 %storemerge313.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_0.111.reg2mem = alloca i32 %indvars.iv22.reg2mem = alloca i64 %indvars.iv20.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %r8 = alloca i64, align 8 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 %. = select i1 %8, i32 2, i32 3 %9 = inttoptr i64 %5 to i32* store i32 0, i32* %9, align 4 %10 = add i32 %arg3, 6 %11 = mul i32 %., %10 %12 = mul i32 %11, 8 %13 = add i64 %1, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i64* %17 = call i64* @memset(i64* %16, i32 0, i32 %12) %18 = icmp sgt i32 %arg4, 0 store i64 0, i64* %storemerge2.lcssa.reg2mem br i1 %18, label LBL_1, label LBL_18 LBL_1: %19 = ptrtoint i64* %arg2 to i64 %20 = ptrtoint i64* %sv_5 to i64 %21 = trunc i64 %1 to i32 %22 = add i32 %21, -8 %23 = icmp slt i32 %21, 1 %narrow = select i1 %23, i32 8, i32 %21 %24 = urem i32 %narrow, 32 %25 = shl i32 1, %24 %26 = icmp eq i32 %22, 0 %27 = icmp slt i32 %22, 0 %28 = sub i32 7, %21 %29 = and i32 %28, %21 %30 = icmp slt i32 %29, 0 %31 = icmp ne i1 %27, %30 %32 = or i1 %26, %31 %33 = zext i32 %. to i64 %34 = add i64 %20, -160 %35 = icmp sgt i32 %arg3, 0 %36 = icmp eq i1 %32, false %37 = bitcast i64* %r8 to i32* %38 = add i64 %19, 8 %39 = inttoptr i64 %38 to i64* %40 = ptrtoint i32* %arg5 to i64 %41 = add i64 %40, 4 %42 = inttoptr i64 %41 to i32* %43 = add i64 %19, 16 %44 = inttoptr i64 %43 to i64* %45 = add i64 %40, 8 %46 = inttoptr i64 %45 to i32* %47 = add i64 %1, 24 %48 = inttoptr i64 %47 to i32* %49 = sext i32 %arg3 to i64 %50 = mul i64 %49, 2 %51 = ptrtoint i64* %sv_4 to i64 %52 = add i32 %narrow, 1 %53 = zext i32 %52 to i64 %wide.trip.count = zext i32 %arg3 to i64 store i32 0, i32* %storemerge216.reg2mem br label LBL_16 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %54 = load i64, i64* %14, align 8 %55 = trunc i64 %indvars.iv.reload to i32 %56 = mul i32 %11, %55 %57 = sext i32 %56 to i64 %58 = add nsw i64 %57, %77 %59 = mul i64 %58, 2 %60 = add i64 %54, 6 %61 = add i64 %60, %59 %62 = mul nuw nsw i64 %indvars.iv.reload, 3 %63 = add nuw nsw i64 %62, %indvars.iv20.reload %64 = mul i64 %63, 8 %65 = add i64 %34, %64 %66 = inttoptr i64 %65 to i64* store i64 %61, i64* %66, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1 %exitcond27 = icmp eq i64 %indvars.iv.next21, %33 store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem br i1 %exitcond27, label LBL_4, label LBL_5 LBL_4: store i64 0, i64* %indvars.iv22.reg2mem store i32 %sv_0.215.reload, i32* %sv_0.111.reg2mem store i32 %sv_0.215.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %35, label LBL_6, label LBL_10 LBL_5: %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem %67 = trunc i64 %indvars.iv20.reload to i32 %68 = add i32 %176, %67 %69 = ashr i32 %68, 31 %70 = zext i32 %68 to i64 %71 = zext i32 %69 to i64 %72 = mul i64 %71, 4294967296 %73 = or i64 %72, %70 %74 = srem i64 %73, %33 %75 = trunc i64 %74 to i32 %76 = mul i32 %10, %75 %77 = sext i32 %76 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_6: %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem br i1 %36, label LBL_8, label LBL_7 LBL_7: %78 = trunc i64 %indvars.iv22.reload to i32 %79 = mul i32 %78, 4 %80 = sext i32 %79 to i64 %81 = load i32, i32* %37, align 8 %82 = mul i32 %81, %storemerge216.reload %83 = sext i32 %82 to i64 %84 = add nsw i64 %indvars.iv20.reload, %80 %85 = add nsw i64 %84, %83 %86 = inttoptr i64 %85 to i32* %87 = load i32, i32* %86, align 4 %88 = urem i32 %87, 256 %89 = udiv i32 %87, 256 %90 = urem i32 %89, 256 %91 = udiv i32 %87, 65536 %92 = urem i32 %91, 256 %93 = udiv i32 %87, 16777216 store i32 %88, i32* %sv_3.0.reg2mem store i32 %90, i32* %sv_2.0.reg2mem store i32 %92, i32* %sv_1.0.reg2mem store i32 %93, i32* %sv_0.0.reg2mem br label LBL_9 LBL_8: %sv_0.111.reload = load i32, i32* %sv_0.111.reg2mem %sext = mul i64 %indvars.iv22.reload, 8589934592 %94 = ashr exact i64 %sext, 32 %95 = load i32, i32* %37, align 8 %96 = mul i32 %95, %storemerge216.reload %97 = sext i32 %96 to i64 %98 = add nsw i64 %94, %indvars.iv20.reload %99 = add nsw i64 %98, %97 %100 = inttoptr i64 %99 to i16* %101 = load i16, i16* %100, align 2 %102 = zext i16 %101 to i32 %103 = load i64, i64* %39, align 8 %104 = load i32, i32* %42, align 4 %105 = mul i32 %104, %storemerge216.reload %106 = sext i32 %105 to i64 %107 = add i64 %103, %94 %108 = add i64 %107, %106 %109 = inttoptr i64 %108 to i16* %110 = load i16, i16* %109, align 2 %111 = zext i16 %110 to i32 %112 = load i64, i64* %44, align 8 %113 = load i32, i32* %46, align 4 %114 = mul i32 %113, %storemerge216.reload %115 = sext i32 %114 to i64 %116 = add i64 %112, %94 %117 = add i64 %116, %115 %118 = inttoptr i64 %117 to i16* %119 = load i16, i16* %118, align 2 %120 = zext i16 %119 to i32 store i32 %102, i32* %sv_3.0.reg2mem store i32 %111, i32* %sv_2.0.reg2mem store i32 %120, i32* %sv_1.0.reg2mem store i32 %sv_0.111.reload, i32* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %.pre-phi = mul i64 %indvars.iv22.reload, 2 %121 = sub nsw i32 %sv_3.0.reload, %sv_2.0.reload %122 = sub nsw i32 %sv_1.0.reload, %sv_2.0.reload %123 = add nsw i32 %122, %121 %124 = udiv i32 %123, 4 %125 = add nuw nsw i32 %124, %sv_2.0.reload %126 = add i32 %121, %25 %127 = add i32 %122, %25 %128 = load i64, i64* %sv_4, align 8 %129 = add i64 %128, %.pre-phi %130 = trunc i32 %125 to i16 %131 = inttoptr i64 %129 to i16* store i16 %130, i16* %131, align 2 %132 = add i64 %.pre-phi, %4 %133 = trunc i32 %126 to i16 %134 = inttoptr i64 %132 to i16* store i16 %133, i16* %134, align 2 %135 = add i64 %.pre-phi, %3 %136 = trunc i32 %127 to i16 %137 = inttoptr i64 %135 to i16* store i16 %136, i16* %137, align 2 %138 = add i64 %.pre-phi, %2 %139 = trunc i32 %sv_0.0.reload to i16 %140 = inttoptr i64 %138 to i16* store i16 %139, i16* %140, align 2 %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1 %exitcond24 = icmp eq i64 %indvars.iv.next23, %wide.trip.count store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.111.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %exitcond24, label LBL_10, label LBL_6 LBL_10: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge313.reg2mem br label LBL_11 LBL_11: %storemerge313.reload = load i32, i32* %storemerge313.reg2mem %.reload = load i64, i64* %.reg2mem %141 = mul nsw i64 %.reload, 24 %142 = add i64 %141, %20 %143 = add i64 %142, -152 %144 = inttoptr i64 %143 to i64* %145 = load i64, i64* %144, align 8 %146 = add i64 %142, -160 %147 = inttoptr i64 %146 to i64* %148 = load i64, i64* %147, align 8 %149 = add i64 %148, -2 %150 = inttoptr i64 %145 to i16* %151 = load i16, i16* %150, align 2 %152 = inttoptr i64 %149 to i16* store i16 %151, i16* %152, align 2 %153 = load i64, i64* %144, align 8 %154 = add i64 %153, %50 %155 = add i64 %154, -2 %156 = inttoptr i64 %155 to i16* %157 = load i16, i16* %156, align 2 %158 = inttoptr i64 %154 to i16* store i16 %157, i16* %158, align 2 %159 = add i32 %storemerge313.reload, 1 %160 = icmp slt i32 %159, 0 %161 = zext i1 %160 to i32 %162 = add i32 %159, %161 %163 = ashr i32 %162, 1 br i1 %36, label LBL_13, label LBL_12 LBL_12: %164 = zext i32 %163 to i64 %165 = add i64 %141, %51 %166 = call i64 @FUNC(i64 %1, i32 %arg3, i64 %165, i64 %164, i64 9) br label LBL_14 LBL_13: %167 = add i64 %141, %51 %168 = zext i32 %163 to i64 %169 = call i64 @FUNC(i64 %1, i32 %arg3, i64 %167, i64 %168, i64 %53) br label LBL_14 LBL_14: %170 = load i32, i32* %48, align 4 %171 = add i32 %170, 2 %172 = zext i32 %171 to i64 %173 = sext i32 %159 to i64 %174 = icmp sgt i64 %173, %172 store i64 %173, i64* %.reg2mem store i32 %159, i32* %storemerge313.reg2mem br i1 %174, label LBL_15, label LBL_11 LBL_15: %175 = add nuw nsw i32 %storemerge216.reload, 1 %exitcond25 = icmp eq i32 %175, %arg4 store i32 %175, i32* %storemerge216.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %sv_0.215.reg2mem br i1 %exitcond25, label LBL_17, label LBL_16 LBL_16: %sv_0.215.reload = load i32, i32* %sv_0.215.reg2mem %storemerge216.reload = load i32, i32* %storemerge216.reg2mem %176 = sub i32 %arg4, %storemerge216.reload store i64 0, i64* %indvars.iv20.reg2mem br label LBL_5 LBL_17: %phitmp = zext i32 %arg4 to i64 store i64 %phitmp, i64* %storemerge2.lcssa.reg2mem br label LBL_18 LBL_18: %storemerge2.lcssa.reload = load i64, i64* %storemerge2.lcssa.reg2mem ret i64 %storemerge2.lcssa.reload uselistorder i32 %storemerge216.reload, { 0, 2, 3, 4, 5, 1 } uselistorder i32 %163, { 1, 0 } uselistorder i32 %159, { 0, 3, 1, 2 } uselistorder i64 %.pre-phi, { 3, 2, 1, 0 } uselistorder i32 %sv_2.0.reload, { 2, 0, 1 } uselistorder i32 %sv_0.0.reload, { 0, 2, 1 } uselistorder i64 %indvars.iv22.reload, { 0, 3, 2, 1 } uselistorder i32 %68, { 1, 0 } uselistorder i64 %indvars.iv20.reload, { 3, 4, 1, 2, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %33, { 1, 0 } uselistorder i32 %narrow, { 1, 0 } uselistorder i32 %22, { 1, 0 } uselistorder i32 %21, { 0, 2, 3, 4, 1 } uselistorder i32 %11, { 1, 0 } uselistorder i32 %., { 1, 0 } uselistorder i64* %sv_4, { 1, 0 } uselistorder i64 %1, { 2, 1, 3, 0, 4, 5 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv20.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv22.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.111.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge313.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge2.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i32, i64, i64, i64)* @encode_line, { 1, 0 } uselistorder i32 256, { 1, 2, 0, 3 } uselistorder i32 4, { 1, 0 } uselistorder i32 0, { 2, 1, 0, 3, 9, 7, 8, 4, 5, 6 } uselistorder i32 2, { 1, 0 } uselistorder i32 %arg4, { 0, 2, 1, 3 } uselistorder i32 %arg3, { 3, 2, 0, 4, 1, 5 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
get_floppy_geometry_7226
get_floppy_geometry
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %sext3 = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext3, 29 %3 = add i64 %2, ptrtoint (i64* @gv_0 to i64) store i64 %3, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %4 = and i64 %arg1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 4294967292, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_6 LBL_3: %8 = call i64 @FUNC(i64 0, i64 0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, -4 %11 = icmp eq i1 %10, false store i64 4294967292, i64* %rax.0.reg2mem br i1 %11, label LBL_4, label LBL_6 LBL_4: %sext = mul i64 %arg1, 4294967296 %12 = call i64 @FUNC() %13 = ashr exact i64 %sext, 29 %14 = add i64 %13, ptrtoint (i64* @gv_1 to i64) %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 store i64 %16, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem store i64 %storemerge.reload, i64* %arg3, align 8 %17 = icmp eq i64 %storemerge.reload, 0 %18 = icmp eq i1 %17, false %. = select i1 %18, i64 0, i64 4294967277 store i64 %., i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4294967296, { 1, 0 } }
0
BinRealVul
sd_snapshot_goto_18610
sd_snapshot_goto
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i8, align 1 %0 = call i64 @FUNC(i64 0) %1 = inttoptr i64 %arg2 to i8* %2 = call i32 @strtoul(i8* %1, i8** null, i32 10) %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: store i8 0, i8* %sv_1, align 1 br label LBL_3 LBL_2: %4 = call i64 @FUNC(i8* nonnull %sv_1, i64 256, i64 %arg2) br label LBL_3 LBL_3: %5 = ptrtoint i64* %arg1 to i64 %6 = zext i32 %2 to i64 %7 = call i64 @FUNC(i64 %5, i64 %6, i8* nonnull %sv_1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %7, i64* %sv_0.0.reg2mem br i1 %10, label LBL_6, label LBL_4 LBL_4: %11 = call i64 @FUNC(i64 %5) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 %11, i64* %sv_0.0.reg2mem br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %16 = call i64 @FUNC(i64 %0) %17 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0)) %18 = and i64 %sv_0.0.reload, 4294967295 store i64 %18, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } }
1
BinRealVul
tg3_coal_rx_init_10039
tg3_coal_rx_init
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.13.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg1 to i64 %4 = trunc i64 %1 to i32 %5 = call i64 @FUNC(i64 %3, i64 1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = and i64 %2, 4294967295 %10 = call i64 @FUNC(i64 256, i64 %9) %11 = ptrtoint i32* %arg2 to i64 %12 = add i64 %11, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 260, i64 %15) %17 = add i64 %11, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 264, i64 %20) %22 = add i32 %4, -1 store i32 %22, i32* %sv_1.0.ph.reg2mem br label LBL_3 LBL_2: %23 = call i64 @FUNC(i64 256, i64 0) %24 = call i64 @FUNC(i64 260, i64 0) %25 = call i64 @FUNC(i64 264, i64 0) store i32 %4, i32* %sv_1.0.ph.reg2mem br label LBL_3 LBL_3: %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %26 = icmp eq i32 %sv_1.0.ph.reload, 0 br i1 %26, label LBL_6, label LBL_4 LBL_4: %27 = ptrtoint i32* %arg2 to i64 %28 = add i64 %27, 4 %29 = inttoptr i64 %28 to i32* %30 = add i64 %27, 8 %31 = inttoptr i64 %30 to i32* %32 = and i64 %2, 4294967295 %wide.trip.count = zext i32 %sv_1.0.ph.reload to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_5 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %33 = trunc i64 %indvars.iv.reload to i32 %34 = mul i32 %33, 24 %35 = add i32 %34, 512 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36, i64 %32) %38 = add i32 %34, 516 %39 = load i32, i32* %29, align 4 %40 = zext i32 %39 to i64 %41 = zext i32 %38 to i64 %42 = call i64 @FUNC(i64 %41, i64 %40) %43 = add i32 %34, 520 %44 = load i32, i32* %31, align 4 %45 = zext i32 %44 to i64 %46 = zext i32 %43 to i64 %47 = call i64 @FUNC(i64 %46, i64 %45) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_6, label LBL_5 LBL_6: %48 = add i64 %3, 4 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = add i32 %50, -1 %52 = zext i32 %51 to i64 %53 = sext i32 %sv_1.0.ph.reload to i64 %54 = icmp slt i64 %53, %52 store i32 %sv_1.0.ph.reload, i32* %sv_0.13.reg2mem store i64 %52, i64* %.lcssa.reg2mem br i1 %54, label LBL_7, label LBL_8 LBL_7: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %55 = mul i32 %sv_0.13.reload, 24 %56 = add i32 %55, 512 %57 = zext i32 %56 to i64 %58 = call i64 @FUNC(i64 %57, i64 0) %59 = add i32 %55, 516 %60 = zext i32 %59 to i64 %61 = call i64 @FUNC(i64 %60, i64 0) %62 = add i32 %55, 520 %63 = zext i32 %62 to i64 %64 = call i64 @FUNC(i64 %63, i64 0) %65 = add i32 %sv_0.13.reload, 1 %66 = load i32, i32* %49, align 4 %67 = add i32 %66, -1 %68 = zext i32 %67 to i64 %69 = sext i32 %65 to i64 %70 = icmp slt i64 %69, %68 store i32 %65, i32* %sv_0.13.reg2mem store i64 %68, i64* %.lcssa.reg2mem br i1 %70, label LBL_7, label LBL_8 LBL_8: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32* %49, { 1, 0 } uselistorder i32 %sv_1.0.ph.reload, { 0, 3, 2, 1 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.13.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 24, { 1, 0 } uselistorder i32 -1, { 1, 0, 2 } uselistorder i64 (i64, i64)* @tw32, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
tcp_close_17211
tcp_close
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = load i64, i64* %0 %7 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %6, i64 %2, i64 %1) %8 = trunc i64 %3 to i32 %9 = icmp eq i32 %8, -1 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i32 @close(i32 %8) store i32 -1, i32* %arg1, align 4 br label LBL_2 LBL_2: ret i64 0 uselistorder i32 %8, { 1, 0 } uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 } uselistorder i32 -1, { 1, 0 } }
1
BinRealVul
create_bits_11620
create_bits
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = and i64 %arg2, 4294967295 %1 = call i64 @FUNC(i64 %0, i64 32) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %4 = trunc i64 %arg2 to i32 %5 = mul i32 %4, 32 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6, i64 31) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_8 LBL_2: %sext5 = mul i64 %arg3, 4294967296 %10 = ashr exact i32 %5, 3 %11 = sext i32 %10 to i64 %12 = ashr exact i64 %sext5, 32 %13 = call i64 @FUNC(i64 %12, i64 %11) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_8 LBL_3: %16 = icmp eq i64* %arg4, null br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = bitcast i64* %arg4 to i32* store i32 %10, i32* %17, align 4 br label LBL_5 LBL_5: %18 = trunc i64 %arg3 to i32 %19 = mul i32 %10, %18 %20 = trunc i64 %arg5 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64* @calloc(i32 %19, i32 1) %23 = ptrtoint i64* %22 to i64 store i64 %23, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %24 = call i64* @malloc(i32 %19) %25 = ptrtoint i64* %24 to i64 store i64 %25, 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 %10, { 0, 2, 1 } uselistorder i32 %5, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_8, { 3, 4, 0, 1, 2 } }
1
BinRealVul
init_rti_logs_8217
init_rti_logs
define i64 @FUNC(i8* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %1 = icmp eq %_IO_FILE* %0, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint %_IO_FILE* %0 to i64 %3 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %4 = ptrtoint i8* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %6 = inttoptr i64 %5 to %_IO_FILE* store %_IO_FILE* %6, %_IO_FILE** @gv_0, align 8 %7 = icmp eq i64 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_9, label LBL_3 LBL_3: %8 = call i32 @fwrite(i64* bitcast ([22 x i8]* @gv_2 to i64*), i32 1, i32 21, %_IO_FILE* %6) %9 = icmp eq i8* %arg2, null br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %11 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %10, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i8* nonnull %arg2) br label LBL_5 LBL_5: %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %13 = call i32 @fwrite(i64* bitcast ([5 x i8]* @gv_4 to i64*), i32 1, i32 4, %_IO_FILE* %12) %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %15 = call i32 @fwrite(i64* bitcast ([58 x i8]* @gv_5 to i64*), i32 1, i32 57, %_IO_FILE* %14) %16 = trunc i64 %arg3 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = call i64 @FUNC(i64 0, i64 4198917) %19 = call i64 @FUNC(i64 2, i64 1) %20 = call i64 @FUNC(i64 1, i64 2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_6, i64 0, i64 0)) store i64 %20, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %21 = load i64, i64* @gv_7, align 8 %22 = icmp eq i64 %21, 0 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_9, label LBL_8 LBL_8: %23 = call i64 @FUNC() store i64 %23, i64* @gv_7, align 8 store i64 %23, 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* %rax.0.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 4, 3, 2, 1, 0 } uselistorder i32 1, { 4, 5, 6, 2, 1, 0, 3 } uselistorder i8* %arg2, { 1, 0 } }
0
BinRealVul
qmp_guest_suspend_disk_15809
qmp_guest_suspend_disk
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = call i64 @FUNC(i64 4) %1 = inttoptr i64 %0 to i32* store i32 0, i32* %1, align 4 %2 = call i64 @FUNC(i64 0, i64* nonnull %sv_0) %3 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0) %4 = call i64 @FUNC(i64 4198774, i64 %0, i64* nonnull %sv_0) %5 = load i64, i64* %sv_0, align 8 %6 = icmp eq i64 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = call i64 @FUNC(i64 %7, i64 %5) %9 = call i64 @FUNC(i64 %0) store i64 %9, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 3, 0, 1, 2, 4 } }
1
BinRealVul
bm_fillroundrect_6735
bm_fillroundrect
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem29 = alloca i32 %.reg2mem27 = alloca i32 %storemerge1016.reg2mem = alloca i32 %.reg2mem25 = alloca i64 %.reg2mem23 = alloca i32 %storemerge17.reg2mem = alloca i32 %.reg2mem21 = alloca i64 %.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %storemerge12.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 23, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %sext6 = mul i64 %arg3, 4294967296 %5 = ashr exact i64 %sext6, 32 %6 = trunc i64 %arg6 to i32 %7 = sub i32 0, %6 %8 = mul i32 %6, 2 %9 = sub i32 2, %8 %sext9 = mul i64 %arg6, 4294967296 %10 = ashr exact i64 %sext9, 32 %11 = trunc i64 %arg2 to i32 %12 = trunc i64 %10 to i32 %13 = add i32 %12, %11 %14 = trunc i64 %arg4 to i32 %15 = sub i32 %14, %12 store i32 %7, i32* %sv_2.0.reg2mem store i32 0, i32* %sv_1.0.reg2mem store i32 %9, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %16 = add i32 %13, %sv_2.0.reload %17 = sub i32 %15, %sv_2.0.reload store i32 %16, i32* %storemerge12.reg2mem br label LBL_4 LBL_4: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %18 = icmp sgt i32 %storemerge12.reload, %17 %19 = add i32 %storemerge12.reload, 1 store i32 %19, i32* %storemerge12.reg2mem br i1 %18, label LBL_5, label LBL_4 LBL_5: %20 = icmp sgt i32 %sv_0.0.reload, %sv_2.0.reload store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %20, label LBL_6, label LBL_7 LBL_6: %21 = add i32 %sv_2.0.reload, 1 %22 = mul i32 %21, 2 %23 = or i32 %22, 1 %24 = add i32 %23, %sv_0.0.reload store i32 %21, i32* %sv_2.1.reg2mem store i32 %24, i32* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %25 = icmp sgt i32 %sv_0.0.reload, %sv_1.0.reload store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem br i1 %25, label LBL_9, label LBL_8 LBL_8: %26 = add i32 %sv_1.0.reload, 1 %27 = mul i32 %26, 2 %28 = or i32 %27, 1 %29 = add i32 %sv_0.1.reload, %28 store i32 %26, i32* %sv_1.1.reg2mem store i32 %29, i32* %sv_0.2.reg2mem br label LBL_9 LBL_9: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %30 = icmp slt i32 %sv_2.1.reload, 0 store i32 %sv_2.1.reload, i32* %sv_2.0.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.0.reg2mem br i1 %30, label LBL_3, label LBL_10 LBL_10: %31 = add nsw i64 %10, %5 %32 = and i64 %31, 4294967295 %33 = add i64 %4, 12 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = zext i32 %35 to i64 %37 = icmp ult i64 %32, %36 %38 = add nsw i64 %31, 1 %storemerge11 = select i1 %37, i64 %36, i64 %38 %39 = add i64 %4, 20 %40 = inttoptr i64 %39 to i32* %41 = sub i64 %arg5, %10 %42 = trunc i64 %41 to i32 %43 = load i32, i32* %40, align 4 %44 = sub i32 %43, %42 %45 = xor i32 %43, %42 %46 = xor i32 %44, %43 %47 = and i32 %46, %45 %48 = icmp slt i32 %47, 0 %49 = icmp eq i32 %44, 0 %50 = icmp slt i32 %44, 0 %51 = icmp ne i1 %50, %48 %52 = or i1 %49, %51 %53 = select i1 %52, i32 %43, i32 %42 %54 = zext i32 %53 to i64 %sext = mul i64 %storemerge11, 4294967296 %55 = ashr exact i64 %sext, 32 %56 = icmp slt i64 %55, %54 store i64 %54, i64* %.lcssa.reg2mem br i1 %56, label LBL_11, label LBL_19 LBL_11: %57 = add i64 %4, 8 %58 = inttoptr i64 %57 to i32* %59 = add i64 %4, 16 %60 = inttoptr i64 %59 to i32* %61 = add i64 %4, 4 %62 = inttoptr i64 %61 to i32* %63 = trunc i64 %storemerge11 to i32 %64 = and i64 %1, 4294967295 store i32 %43, i32* %.reg2mem store i64 %55, i64* %.reg2mem21 store i32 %63, i32* %storemerge17.reg2mem br label LBL_12 LBL_12: %storemerge17.reload = load i32, i32* %storemerge17.reg2mem %.reload22 = load i64, i64* %.reg2mem21 %.reload = load i32, i32* %.reg2mem %65 = load i32, i32* %58, align 4 %66 = sub i32 %11, %65 %67 = xor i32 %65, %11 %68 = xor i32 %66, %11 %69 = and i32 %68, %67 %70 = icmp slt i32 %69, 0 %71 = icmp slt i32 %66, 0 %72 = icmp eq i1 %71, %70 %73 = select i1 %72, i32 %11, i32 %65 %74 = icmp slt i32 %storemerge17.reload, 0 %75 = load i32, i32* %60, align 4 %76 = add i32 %75, -1 %77 = sub i32 %76, %14 %78 = xor i32 %76, %14 %79 = xor i32 %77, %76 %80 = and i32 %79, %78 %81 = icmp slt i32 %80, 0 %82 = icmp eq i32 %77, 0 %83 = icmp slt i32 %77, 0 %84 = icmp ne i1 %83, %81 %85 = or i1 %82, %84 %86 = select i1 %85, i32 %76, i32 %14 %87 = zext i32 %86 to i64 %88 = sext i32 %73 to i64 %89 = icmp sgt i64 %88, %87 store i32 %75, i32* %.reg2mem23 store i64 %88, i64* %.reg2mem25 store i32 %73, i32* %storemerge1016.reg2mem store i32 %.reload, i32* %.reg2mem29 br i1 %89, label LBL_18, label LBL_13 LBL_13: %storemerge1016.reload = load i32, i32* %storemerge1016.reg2mem %.reload26 = load i64, i64* %.reg2mem25 %90 = icmp slt i32 %storemerge1016.reload, 0 %91 = icmp sle i64 %64, %.reload26 %or.cond = or i1 %74, %91 %or.cond20 = or i1 %90, %or.cond br i1 %or.cond20, label LBL_15, label LBL_14 LBL_14: %.reload24 = load i32, i32* %.reg2mem23 %92 = load i32, i32* %62, align 4 %93 = zext i32 %92 to i64 %94 = icmp slt i64 %.reload22, %93 store i32 %.reload24, i32* %.reg2mem27 br i1 %94, label LBL_16, label LBL_15 LBL_15: call void @__assert_fail(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 45, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) %.pre = load i32, i32* %60, align 4 store i32 %.pre, i32* %.reg2mem27 br label LBL_16 LBL_16: %.reload28 = load i32, i32* %.reg2mem27 %95 = add i32 %storemerge1016.reload, 1 %96 = add i32 %.reload28, -1 %97 = sub i32 %96, %14 %98 = xor i32 %96, %14 %99 = xor i32 %97, %96 %100 = and i32 %99, %98 %101 = icmp slt i32 %100, 0 %102 = icmp eq i32 %97, 0 %103 = icmp slt i32 %97, 0 %104 = icmp ne i1 %103, %101 %105 = or i1 %102, %104 %106 = select i1 %105, i32 %96, i32 %14 %107 = zext i32 %106 to i64 %108 = sext i32 %95 to i64 %109 = icmp sgt i64 %108, %107 store i32 %.reload28, i32* %.reg2mem23 store i64 %108, i64* %.reg2mem25 store i32 %95, i32* %storemerge1016.reg2mem br i1 %109, label LBL_17, label LBL_13 LBL_17: %.pre19 = load i32, i32* %40, align 4 store i32 %.pre19, i32* %.reg2mem29 br label LBL_18 LBL_18: %.reload30 = load i32, i32* %.reg2mem29 %110 = add i32 %storemerge17.reload, 1 %111 = sub i32 %.reload30, %42 %112 = xor i32 %.reload30, %42 %113 = xor i32 %111, %.reload30 %114 = and i32 %113, %112 %115 = icmp slt i32 %114, 0 %116 = icmp eq i32 %111, 0 %117 = icmp slt i32 %111, 0 %118 = icmp ne i1 %117, %115 %119 = or i1 %116, %118 %120 = select i1 %119, i32 %.reload30, i32 %42 %121 = zext i32 %120 to i64 %122 = sext i32 %110 to i64 %123 = icmp slt i64 %122, %121 store i32 %.reload30, i32* %.reg2mem store i64 %122, i64* %.reg2mem21 store i32 %110, i32* %storemerge17.reg2mem store i64 %121, i64* %.lcssa.reg2mem br i1 %123, label LBL_12, label LBL_19 LBL_19: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32 %111, { 1, 2, 0 } uselistorder i32 %.reload30, { 4, 2, 0, 1, 3 } uselistorder i32 %97, { 1, 2, 0 } uselistorder i32 %96, { 2, 0, 1, 3 } uselistorder i32 %.reload28, { 1, 0 } uselistorder i32 %66, { 1, 0 } uselistorder i32 %65, { 1, 0, 2 } uselistorder i32 %storemerge17.reload, { 1, 0 } uselistorder i32 %42, { 4, 3, 5, 0, 1, 2 } uselistorder i64 %storemerge11, { 1, 0 } uselistorder i32 %sv_2.1.reload, { 1, 0 } uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i32 %storemerge12.reload, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 1, 0, 2, 4, 3 } uselistorder i32 %sv_1.0.reload, { 1, 0, 2 } uselistorder i32 %sv_0.0.reload, { 2, 3, 0, 1 } uselistorder i32 %14, { 5, 4, 6, 1, 2, 3, 0 } uselistorder i32 %11, { 3, 0, 1, 4, 2 } uselistorder i64 %10, { 1, 0, 2 } uselistorder i64 %4, { 1, 0, 2, 3, 4 } uselistorder i32* %sv_2.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem21, { 1, 0, 2 } uselistorder i32* %storemerge17.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem23, { 2, 0, 1 } uselistorder i64* %.reg2mem25, { 2, 0, 1 } uselistorder i32* %storemerge1016.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem27, { 0, 2, 1 } uselistorder i32* %.reg2mem29, { 0, 2, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i32 2, { 0, 1, 3, 2 } uselistorder i32 0, { 14, 15, 16, 9, 10, 11, 8, 4, 5, 6, 7, 12, 13, 1, 2, 3, 17, 0, 18 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
store_reg_982
store_reg
define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 15 %2 = icmp eq i1 %1, false %.pre = zext i32 %arg3 to i64 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %.pre, i64 %.pre, i64 4294967294) store i32 1, i32* %arg1, align 4 br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 30 %5 = add i64 %4, ptrtoint (i32** @gv_0 to i64) %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %8, i64 %.pre) %10 = call i64 @FUNC(i64 %.pre) ret i64 %10 uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
do_rt_sigreturn_v1_1839
do_rt_sigreturn_v1
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = add i64 %0, 104 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = urem i64 %3, 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 0, i64 0, i64 %3, i64 1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_5, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64* nonnull %sv_0, i64 0) %12 = call i64 @FUNC(i64* nonnull %sv_0) %13 = call i64 @FUNC(i64 %0, i64 128) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_5, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %0) %18 = add i64 %3, 128 %19 = call i64 @FUNC(i64 %18, i64 0, i64 %17) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, -14 br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 0, i64 %3, i64 0) br label LBL_6 LBL_5: %23 = call i64 @FUNC(i64 0, i64 %3, i64 0) %24 = call i64 @FUNC(i64 11) br label LBL_6 LBL_6: ret i64 1 uselistorder i64 %3, { 4, 1, 2, 3, 0, 5 } uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 } uselistorder i64 128, { 1, 0 } uselistorder i64 1, { 0, 2, 1 } }
0
BinRealVul
do_store_xer_5096
do_store_xer
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %1 = trunc i32 %0 to i8 %2 = urem i8 %1, 2 store i8 %2, i8* bitcast (i32* @gv_1 to i8*), align 4 %3 = udiv i32 %0, 2 %4 = trunc i32 %3 to i8 %5 = urem i8 %4, 2 store i8 %5, i8* bitcast (i32* @gv_2 to i8*), align 4 %6 = udiv i32 %0, 4 %7 = trunc i32 %6 to i8 %8 = urem i8 %7, 2 store i8 %8, i8* bitcast (i32* @gv_3 to i8*), align 4 %9 = udiv i32 %0, 8 %10 = trunc i32 %9 to i8 store i8 %10, i8* bitcast (i32* @gv_4 to i8*), align 4 %11 = udiv i32 %0, 16 %12 = urem i32 %11, 128 %13 = zext i32 %12 to i64 %14 = trunc i32 %12 to i8 store i8 %14, i8* bitcast (i32* @gv_5 to i8*), align 4 ret i64 %13 uselistorder i32 %12, { 1, 0 } }
0
BinRealVul
trace_print_graph_duration_4783
trace_print_graph_duration
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %5 = call i64 @FUNC(i64 %arg1, i64 1000) %6 = bitcast i64* %sv_2 to i8* %7 = trunc i64 %arg1 to i32 %8 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 %7) %9 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_2, i64 %3, i64 %2, i64 %1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_1, label LBL_8 LBL_1: %13 = ptrtoint i64* %sv_2 to i64 %14 = call i32 @strlen(i8* nonnull %6) %15 = icmp sgt i32 %14, 6 store i32 %14, i32* %sv_0.0.reg2mem store i64 %13, i64* %rdx.0.reg2mem br i1 %15, label LBL_4, label LBL_2 LBL_2: %16 = trunc i64 %5 to i32 %17 = sext i32 %14 to i64 %18 = sub nsw i64 8, %17 %19 = call i64 @FUNC(i64 5, i64 %18) %sext = mul i64 %5, 4294967296 %20 = ashr exact i64 %sext, 32 %21 = bitcast i64* %sv_1 to i8* %22 = trunc i64 %19 to i32 %23 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %21, i32 %22, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 %16) %24 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1, i64 %20, i64 %2, i64 %1) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false store i64 0, i64* %rax.0.reg2mem br i1 %27, label LBL_3, label LBL_8 LBL_3: %28 = call i32 @strlen(i8* nonnull %21) %29 = zext i32 %28 to i64 %30 = add i32 %28, %14 store i32 %30, i32* %sv_0.0.reg2mem store i64 %20, i64* %rcx.0.reg2mem store i64 %29, i64* %rdx.0.reg2mem br label LBL_4 LBL_4: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %31 = inttoptr i64 %rdx.0.reload to i64* %32 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64* %31, i64 %rcx.0.reload, i64 %2, i64 %1) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false store i64 0, i64* %rax.0.reg2mem br i1 %35, label LBL_5, label LBL_8 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %36 = icmp slt i32 %sv_0.0.reload, 7 store i32 %sv_0.0.reload, i32* %storemerge2.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %36, label LBL_6, label LBL_8 LBL_6: %37 = call i64 @FUNC(i64 %4, i8* inttoptr (i64 4202534 to i8*), i64* %31, i64 %rcx.0.reload, i64 %2, i64 %1) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false store i64 0, i64* %rax.0.reg2mem br i1 %40, label LBL_7, label LBL_8 LBL_7: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %41 = add nsw i32 %storemerge2.reload, 1 %42 = icmp slt i32 %41, 7 store i32 %41, i32* %storemerge2.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %42, label LBL_6, label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %rcx.0.reload, { 1, 0 } uselistorder i32 %14, { 1, 2, 0, 3 } uselistorder i64* %sv_2, { 2, 0, 1 } uselistorder i64 %4, { 1, 2, 0, 3 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 7, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 (i64, i8*, i64*, i64, i64, i64)* @trace_seq_printf, { 3, 2, 1, 0 } uselistorder label LBL_8, { 1, 0, 2, 3, 4, 5 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
btrfs_page_exists_in_range_8065
btrfs_page_exists_in_range
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_1.0.be10.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 %1 = udiv i64 %arg2, 4096 %2 = call i64 @FUNC() %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2, i64 0, i64 %3, i64 1) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %sv_0.1.reg2mem br i1 %6, label LBL_1, label LBL_11 LBL_1: %7 = load i64, i64* %sv_2, align 8 %8 = call i64 @FUNC(i64 %7) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false %11 = icmp eq i1 %10, false store i64 %8, i64* %sv_1.1.reg2mem br i1 %11, label LBL_9, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %8) %13 = trunc i64 %12 to i8 %14 = icmp eq i8 %13, 0 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %8) %16 = trunc i64 %15 to i8 %17 = icmp eq i8 %16, 0 store i64 0, i64* %sv_1.0.be10.reg2mem store i64 0, i64* %sv_0.1.reg2mem br i1 %17, label LBL_11, label LBL_8 LBL_4: %18 = call i64 @FUNC(i64 %8) %19 = trunc i64 %18 to i8 %20 = icmp eq i8 %19, 1 store i64 0, i64* %sv_1.0.be10.reg2mem br i1 %20, label LBL_5, label LBL_8 LBL_5: %21 = load i64, i64* %sv_2, align 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %8, %23 %25 = icmp eq i1 %24, false %26 = icmp eq i1 %25, false br i1 %26, label LBL_6, label LBL_7 LBL_6: %27 = icmp eq i64 %8, 0 %28 = icmp eq i1 %27, false store i64 %8, i64* %sv_1.0.be10.reg2mem store i64 %8, i64* %sv_1.1.reg2mem br i1 %28, label LBL_9, label LBL_8 LBL_7: %29 = call i64 @FUNC(i64 %8) store i64 0, i64* %sv_1.0.be10.reg2mem br label LBL_8 LBL_8: %sv_1.0.be10.reload = load i64, i64* %sv_1.0.be10.reg2mem %30 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2, i64 0, i64 %3, i64 1) %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false store i64 %sv_1.0.be10.reload, i64* %sv_1.1.reg2mem br i1 %32, label LBL_1, label LBL_9 LBL_9: %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %33 = icmp eq i64 %sv_1.1.reload, 0 store i64 0, i64* %sv_0.1.reg2mem br i1 %33, label LBL_11, label LBL_10 LBL_10: %34 = inttoptr i64 %sv_1.1.reload to i64* %35 = load i64, i64* %34, align 8 %36 = mul i64 %arg3, 1048576 %37 = ashr i64 %36, 32 %38 = icmp ule i64 %35, %37 %39 = call i64 @FUNC(i64 %sv_1.1.reload) %phitmp = icmp eq i1 %38, false %phitmp1 = icmp eq i1 %phitmp, false %phitmp2 = zext i1 %phitmp1 to i64 store i64 %phitmp2, i64* %sv_0.1.reg2mem br label LBL_11 LBL_11: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %40 = call i64 @FUNC() %41 = and i64 %40, -256 %42 = or i64 %41, %sv_0.1.reload ret i64 %42 uselistorder i64 %sv_1.1.reload, { 2, 1, 0 } uselistorder i64 %8, { 5, 0, 2, 3, 4, 6, 7, 8, 1, 9 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %sv_2, { 1, 2, 3, 0, 4 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %sv_1.0.be10.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64 (i64)* @page_cache_release, { 1, 0 } uselistorder i1 false, { 1, 2, 7, 8, 3, 5, 6, 4, 0 } uselistorder i64 (i64, i64*, i64, i64, i64)* @radix_tree_gang_lookup_slot, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_11, { 2, 3, 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_8, { 2, 3, 0, 1 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
pcx_palette_14730
pcx_palette
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa5.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = icmp eq i32 %arg3, 0 store i32 0, i32* %storemerge2.reg2mem store i64 %0, i64* %sv_0.01.reg2mem store i64 %0, i64* %sv_0.0.lcssa5.reg2mem br i1 %2, label LBL_3, label LBL_1 LBL_1: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %3 = call i64 @FUNC(i64 %1) %4 = trunc i64 %3 to i32 %5 = add i64 %sv_0.01.reload, 4 %6 = or i32 %4, -16777216 %7 = inttoptr i64 %sv_0.01.reload to i32* store i32 %6, i32* %7, align 4 %8 = add nuw i32 %storemerge2.reload, 1 %exitcond = icmp eq i32 %8, %arg3 store i32 %8, i32* %storemerge2.reg2mem store i64 %5, i64* %sv_0.01.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %phitmp = zext i32 %arg3 to i64 %9 = icmp ult i32 %arg3, 256 store i64 %5, i64* %sv_0.0.lcssa5.reg2mem store i64 %phitmp, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_4 LBL_3: %sv_0.0.lcssa5.reload = load i64, i64* %sv_0.0.lcssa5.reg2mem %10 = mul i32 %arg3, 4 %11 = sub i32 1024, %10 %12 = inttoptr i64 %sv_0.0.lcssa5.reload to i64* %13 = call i64* @memset(i64* %12, i32 0, i32 %11) %14 = ptrtoint i64* %13 to i64 store i64 %14, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.lcssa5.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder i32 %arg3, { 0, 4, 2, 1, 3 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
ff_h264_decode_ref_pic_marking_15450
ff_h264_decode_ref_pic_marking
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = bitcast i64* %rdi to i32* %8 = load i32, i32* %7, align 8 %9 = icmp eq i32 %8, 5 %10 = icmp eq i1 %9, false %11 = call i64 @FUNC(i64 %3) %12 = trunc i64 %11 to i32 br i1 %10, label LBL_3, label LBL_1 LBL_1: %13 = add i64 %4, 400 %14 = inttoptr i64 %13 to i32* %15 = add i32 %12, -1 store i32 %15, i32* %14, align 4 %16 = call i64 @FUNC(i64 %3) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_17, label LBL_2 LBL_2: %19 = add i64 %4, 8 %20 = inttoptr i64 %19 to i32* store i32 1, i32* %20, align 4 %21 = add i64 %4, 12 %22 = inttoptr i64 %21 to i32* store i32 0, i32* %22, align 4 store i32 1, i32* %6, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_3: %23 = icmp eq i32 %12, 0 br i1 %23, label LBL_16, label LBL_4 LBL_4: %24 = add i64 %4, 392 %25 = inttoptr i64 %24 to i32* %26 = add i64 %4, 396 %27 = inttoptr i64 %26 to i32* store i64 0, i64* %indvars.iv.reg2mem br label LBL_5 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %28 = call i64 @FUNC(i64 %3) %29 = trunc i64 %28 to i32 %30 = mul nuw nsw i64 %indvars.iv.reload, 12 %31 = add i64 %30, %4 %32 = add i64 %31, 8 %33 = inttoptr i64 %32 to i32* store i32 %29, i32* %33, align 4 %34 = icmp ne i32 %29, 2 %35 = icmp eq i32 %29, 3 %36 = icmp eq i1 %35, false %or.cond = icmp eq i1 %34, %36 br i1 %or.cond, label LBL_7, label LBL_6 LBL_6: %37 = load i32, i32* %25, align 4 %38 = call i64 @FUNC(i64 %3) %39 = trunc i64 %38 to i32 %40 = sub i32 0, %39 %41 = sub i32 %40, 1 %42 = add i32 %37, %41 %43 = load i32, i32* %27, align 4 %44 = add i32 %43, -1 %45 = and i32 %44, %42 %46 = add i64 %31, 16 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 br label LBL_7 LBL_7: switch i32 %29, label LBL_8 [ i32 4, label LBL_9 i32 3, label LBL_9 i32 1, label LBL_9 ] LBL_8: %48 = icmp eq i32 %29, 5 %49 = icmp eq i1 %48, false br i1 %49, label LBL_12, label LBL_9 LBL_9: %50 = call i64 @FUNC(i64 %3) %51 = trunc i64 %50 to i32 %52 = icmp ult i32 %51, 16 br i1 %52, label LBL_11, label LBL_10 LBL_10: %53 = add i64 %4, 400 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = and i64 %28, 4294967295 %57 = call i64 @FUNC(i64 %55, i64 0, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_0, i64 0, i64 0), i64 %56, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_17 LBL_11: %58 = add i64 %31, 12 %59 = inttoptr i64 %58 to i32* store i32 %51, i32* %59, align 4 br label LBL_12 LBL_12: %60 = icmp ult i32 %29, 2 br i1 %60, label LBL_14, label LBL_13 LBL_13: %61 = add i64 %4, 400 %62 = inttoptr i64 %61 to i64* %63 = load i64, i64* %62, align 8 %64 = and i64 %28, 4294967295 %65 = call i64 @FUNC(i64 %63, i64 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %64, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_17 LBL_14: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %66 = icmp ult i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %66, label LBL_5, label LBL_15 LBL_15: %67 = trunc i64 %indvars.iv.next to i32 store i32 %67, i32* %6, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_16: %68 = call i64 @FUNC(i64 %4) store i64 0, 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 %indvars.iv.next, { 1, 0, 2 } uselistorder i64 %31, { 1, 0, 2 } uselistorder i32 %29, { 2, 3, 0, 1, 4, 5 } uselistorder i32 %12, { 1, 0 } uselistorder i32* %6, { 1, 0, 2 } uselistorder i64 %4, { 7, 4, 3, 0, 5, 6, 1, 2, 9, 8 } uselistorder i64 %3, { 0, 1, 2, 4, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 6, 5, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0, 3 } uselistorder i32 16, { 1, 0 } uselistorder i32 2, { 1, 2, 0 } uselistorder i64 (i64)* @get_ue_golomb_31, { 1, 0 } uselistorder i64 12, { 1, 0, 2 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_17, { 3, 2, 4, 5, 1, 0 } uselistorder label LBL_9, { 3, 0, 1, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
cache_read_13973
cache_read
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sext = mul i64 %arg3, 4294967296 %5 = ashr exact i64 %sext, 32 store i64 0, i64* %sv_0, align 8 %6 = add i64 %4, 8 %7 = add i64 %4, 64 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9, i64 %6, i64 4198962, i64* nonnull %sv_0) %sext3 = mul i64 %10, 4294967296 %11 = ashr exact i64 %sext3, 32 %12 = icmp eq i64 %sext3, 0 %13 = icmp eq i1 %12, false %14 = load i64, i64* %sv_0, align 8 %spec.select = select i1 %13, i64 %11, i64 %14 %15 = icmp eq i64 %spec.select, 0 %.pre = inttoptr i64 %6 to i64* br i1 %15, label LBL_7, label LBL_1 LBL_1: %16 = load i64, i64* %.pre, align 8 %17 = inttoptr i64 %spec.select to i64* %18 = load i64, i64* %17, align 8 %19 = sub i64 %16, %18 %20 = sub i64 %18, %16 %21 = xor i64 %18, %16 %22 = xor i64 %20, %18 %23 = and i64 %22, %21 %24 = icmp slt i64 %23, 0 %25 = icmp eq i64 %20, 0 %26 = icmp slt i64 %20, 0 %27 = icmp ne i1 %26, %24 %28 = or i1 %25, %27 %29 = zext i1 %28 to i64 %30 = call i64 @FUNC(i64 %29) %31 = add i64 %spec.select, 16 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = sext i32 %33 to i64 %35 = icmp slt i64 %19, %34 br i1 %35, label LBL_2, label LBL_7 LBL_2: %36 = add i64 %spec.select, 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = add i64 %38, %19 %40 = add i64 %4, 16 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = icmp eq i64 %39, %42 %44 = trunc i64 %39 to i32 store i32 %44, i32* %storemerge.reg2mem br i1 %43, label LBL_4, label LBL_3 LBL_3: %45 = trunc i64 %3 to i32 %46 = call i32 @lseek(i32 %45, i32 %44, i32 0) store i32 %46, i32* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i32, i32* %storemerge.reg2mem %47 = icmp slt i32 %storemerge.reload, 0 br i1 %47, label LBL_7, label LBL_5 LBL_5: %48 = sext i32 %storemerge.reload to i64 store i64 %48, i64* %41, align 8 %49 = load i32, i32* %32, align 4 %50 = sext i32 %49 to i64 %51 = sub i64 %50, %19 %52 = sub i64 %51, %5 %53 = xor i64 %51, %5 %54 = xor i64 %52, %51 %55 = and i64 %54, %53 %56 = icmp slt i64 %55, 0 %57 = icmp eq i64 %52, 0 %58 = icmp slt i64 %52, 0 %59 = icmp ne i1 %58, %56 %60 = or i1 %57, %59 %61 = select i1 %60, i64 %51, i64 %5 %62 = bitcast i64* %rdi to i32* %63 = load i32, i32* %62, align 8 %64 = trunc i64 %61 to i32 %65 = call i32 @read(i32 %63, i64* %arg2, i32 %64) %66 = icmp slt i32 %65, 1 br i1 %66, label LBL_7, label LBL_6 LBL_6: %67 = load i64, i64* %41, align 8 %68 = sext i32 %65 to i64 %69 = add i64 %67, %68 store i64 %69, i64* %41, align 8 %70 = load i64, i64* %.pre, align 8 %71 = add i64 %70, %68 store i64 %71, i64* %.pre, align 8 %72 = add i64 %4, 40 %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = add i32 %74, 1 store i32 %75, i32* %73, align 4 %76 = zext i32 %65 to i64 store i64 %76, i64* %rax.0.reg2mem br label LBL_16 LBL_7: %77 = load i64, i64* %.pre, align 8 %78 = add i64 %4, 24 %79 = inttoptr i64 %78 to i64* %80 = load i64, i64* %79, align 8 %81 = icmp eq i64 %77, %80 %.pre9 = add i64 %4, 56 %.pre11 = inttoptr i64 %.pre9 to i64* br i1 %81, label LBL_11, label LBL_8 LBL_8: %82 = load i64, i64* %.pre11, align 8 %83 = call i64 @FUNC(i64 %82, i64 %77, i64 0) %84 = trunc i64 %83 to i32 %85 = icmp slt i32 %84, 0 %86 = icmp eq i1 %85, false br i1 %86, label LBL_10, label LBL_9 LBL_9: %87 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %77, i64 %2, i64 %1) %88 = and i64 %83, 4294967295 store i64 %88, i64* %rax.0.reg2mem br label LBL_16 LBL_10: %sext5 = mul i64 %83, 4294967296 %89 = ashr exact i64 %sext5, 32 store i64 %89, i64* %79, align 8 br label LBL_11 LBL_11: %90 = ptrtoint i64* %arg2 to i64 %91 = load i64, i64* %.pre11, align 8 %92 = trunc i64 %5 to i32 %93 = call i64 @FUNC(i64 %91, i64 %90, i32 %92) %94 = trunc i64 %93 to i32 %95 = icmp eq i32 %94, 0 %96 = icmp eq i1 %95, false %97 = icmp slt i32 %92, 1 %or.cond = or i1 %97, %96 br i1 %or.cond, label LBL_13, label LBL_12 LBL_12: %98 = add i64 %4, 48 %99 = inttoptr i64 %98 to i32* store i32 1, i32* %99, align 4 %100 = add i64 %4, 32 %101 = inttoptr i64 %100 to i64* %102 = load i64, i64* %101, align 8 %103 = load i64, i64* %.pre, align 8 %104 = sub i64 %102, %103 %105 = xor i64 %103, %102 %106 = xor i64 %104, %102 %107 = and i64 %106, %105 %108 = icmp slt i64 %107, 0 %109 = icmp slt i64 %104, 0 %110 = icmp eq i1 %109, %108 %111 = zext i1 %110 to i64 %112 = call i64 @FUNC(i64 %111) br label LBL_13 LBL_13: %113 = icmp slt i32 %94, 0 %114 = icmp eq i1 %113, false %115 = icmp eq i1 %114, %96 br i1 %115, label LBL_15, label LBL_14 LBL_14: %116 = and i64 %93, 4294967295 store i64 %116, i64* %rax.0.reg2mem br label LBL_16 LBL_15: %117 = load i64, i64* %79, align 8 %sext6 = mul i64 %93, 4294967296 %118 = ashr exact i64 %sext6, 32 %119 = add i64 %117, %118 store i64 %119, i64* %79, align 8 %120 = add i64 %4, 44 %121 = inttoptr i64 %120 to i32* %122 = load i32, i32* %121, align 4 %123 = add i32 %122, 1 store i32 %123, i32* %121, align 4 %124 = call i64 @FUNC(i64 %4, i64 %90, i32 %94) %125 = load i64, i64* %.pre, align 8 %126 = add i64 %125, %118 store i64 %126, i64* %.pre, align 8 %127 = add i64 %4, 32 %128 = inttoptr i64 %127 to i64* %129 = load i64, i64* %128, align 8 %130 = sub i64 %126, %129 %131 = xor i64 %129, %126 %132 = xor i64 %130, %126 %133 = and i64 %132, %131 %134 = icmp slt i64 %133, 0 %135 = icmp slt i64 %130, 0 %136 = icmp eq i1 %135, %134 %137 = select i1 %136, i64 %126, i64 %129 store i64 %137, i64* %128, align 8 %138 = and i64 %93, 4294967295 store i64 %138, 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 %130, { 1, 0 } uselistorder i64 %129, { 1, 0, 2 } uselistorder i64 %126, { 3, 0, 1, 2, 4 } uselistorder i64 %104, { 1, 0 } uselistorder i1 %96, { 1, 0 } uselistorder i64 %93, { 1, 0, 2, 3 } uselistorder i64* %79, { 2, 1, 0, 3 } uselistorder i32 %65, { 2, 1, 0 } uselistorder i64 %52, { 1, 2, 0 } uselistorder i64 %51, { 3, 0, 1, 2 } uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i32 %44, { 1, 0 } uselistorder i64* %41, { 2, 1, 0, 3 } uselistorder i64 %20, { 1, 2, 0 } uselistorder i64 %19, { 1, 0, 2 } uselistorder i64* %.pre, { 2, 1, 0, 3, 5, 6, 4 } uselistorder i64 %spec.select, { 2, 3, 0, 1 } uselistorder i64 %sext3, { 1, 0 } uselistorder i64 %5, { 3, 2, 0, 1 } uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64 %4, { 6, 7, 8, 4, 5, 3, 0, 9, 1, 2, 10, 11 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0, 5 } uselistorder i64 (i64)* @av_assert0, { 1, 0 } uselistorder i64 32, { 4, 0, 5, 1, 2, 3 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_7, { 3, 1, 2, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
parse_db_url_7527
parse_db_url
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.33.reg2mem = alloca i64 %rdi.3.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %rdi.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_1.232.reg2mem = alloca i32 %sv_0.133.reg2mem = alloca i64 %rdi.234.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 %1 = icmp eq i64* %arg1, null %2 = icmp eq i64 %arg2, 0 %or.cond = or i1 %1, %2 store i64 %0, i64* %rdi.3.reg2mem br i1 %or.cond, label LBL_32, label LBL_1 LBL_1: %3 = inttoptr i64 %arg2 to i8* %4 = call i32 @strlen(i8* %3) %5 = icmp slt i32 %4, 10 store i64 %arg2, i64* %rdi.33.reg2mem br i1 %5, label LBL_33, label LBL_2 LBL_2: %6 = call i64* @memset(i64* nonnull %arg1, i32 0, i32 48) %7 = add i64 %0, 24 %8 = add i64 %arg2, 1 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* %11 = add i64 %0, 16 %12 = ptrtoint i64* %sv_2 to i64 %13 = sext i32 %4 to i64 store i64 0, i64* %indvars.iv.reg2mem store i64 %0, i64* %rdi.234.reg2mem store i64 %arg2, i64* %sv_0.133.reg2mem store i32 0, i32* %sv_1.232.reg2mem br label LBL_3 LBL_3: %sv_1.232.reload = load i32, i32* %sv_1.232.reg2mem %sv_0.133.reload = load i64, i64* %sv_0.133.reg2mem %rdi.234.reload = load i64, i64* %rdi.234.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %14 = zext i32 %sv_1.232.reload to i64 store i64 %14, i64* @0, align 8 store i32 %sv_1.232.reload, i32* %sv_1.1.reg2mem store i64 %sv_0.133.reload, i64* %sv_0.0.reg2mem store i64 %rdi.234.reload, i64* %rdi.1.reg2mem switch i32 %sv_1.232.reload, label LBL_30 [ i32 0, label LBL_4 i32 1, label LBL_6 i32 2, label LBL_7 i32 3, label LBL_9 i32 4, label LBL_17 i32 5, label LBL_22 i32 6, label LBL_28 ] LBL_4: %15 = add i64 %indvars.iv.reload, %arg2 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 58 %19 = icmp eq i1 %18, false store i32 0, i32* %sv_1.1.reg2mem store i64 %sv_0.133.reload, i64* %sv_0.0.reg2mem store i64 %rdi.234.reload, i64* %rdi.1.reg2mem br i1 %19, label LBL_30, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %0, i64 %sv_0.133.reload, i64 %15) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 store i32 1, i32* %sv_1.1.reg2mem store i64 %sv_0.133.reload, i64* %sv_0.0.reg2mem store i64 %0, i64* %rdi.1.reg2mem store i64 %0, i64* %rdi.3.reg2mem br i1 %22, label LBL_32, label LBL_30 LBL_6: %23 = add i64 %indvars.iv.reload, %arg2 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = icmp eq i8 %25, 47 %27 = icmp eq i1 %26, false store i32 2, i32* %sv_1.1.reg2mem store i64 %sv_0.133.reload, i64* %sv_0.0.reg2mem store i64 %rdi.234.reload, i64* %rdi.1.reg2mem store i64 %rdi.234.reload, i64* %rdi.3.reg2mem br i1 %27, label LBL_32, label LBL_30 LBL_7: %28 = add i64 %indvars.iv.reload, %arg2 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = icmp eq i8 %30, 47 %32 = icmp eq i1 %31, false store i64 %rdi.234.reload, i64* %rdi.3.reg2mem br i1 %32, label LBL_32, label LBL_8 LBL_8: %33 = add i64 %indvars.iv.reload, %8 store i32 3, i32* %sv_1.1.reg2mem store i64 %33, i64* %sv_0.0.reg2mem store i64 %rdi.234.reload, i64* %rdi.1.reg2mem br label LBL_30 LBL_9: %34 = add i64 %indvars.iv.reload, %arg2 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = icmp eq i8 %36, 64 br i1 %37, label LBL_12, label LBL_10 LBL_10: %38 = icmp sgt i8 %36, 64 store i32 3, i32* %sv_1.1.reg2mem store i64 %sv_0.133.reload, i64* %sv_0.0.reg2mem store i64 %rdi.234.reload, i64* %rdi.1.reg2mem br i1 %38, label LBL_30, label LBL_11 LBL_11: store i32 3, i32* %sv_1.1.reg2mem store i64 %sv_0.133.reload, i64* %sv_0.0.reg2mem store i64 %rdi.234.reload, i64* %rdi.1.reg2mem switch i8 %36, label LBL_30 [ i8 47, label LBL_14 i8 58, label LBL_13 ] LBL_12: %39 = call i64 @FUNC(i64 %9, i64 %sv_0.133.reload, i64 %34) %40 = trunc i64 %39 to i32 %41 = icmp slt i32 %40, 0 store i32 5, i32* %sv_1.0.reg2mem store i64 %9, i64* %rdi.0.reg2mem store i64 %9, i64* %rdi.3.reg2mem br i1 %41, label LBL_32, label LBL_16 LBL_13: %42 = call i64 @FUNC(i64 %12, i64 %sv_0.133.reload, i64 %34) %43 = trunc i64 %42 to i32 %44 = icmp slt i32 %43, 0 store i32 4, i32* %sv_1.0.reg2mem store i64 %12, i64* %rdi.0.reg2mem store i64 %12, i64* %rdi.33.reg2mem br i1 %44, label LBL_33, label LBL_16 LBL_14: %45 = call i64 @FUNC(i64 %7, i64 %sv_0.133.reload, i64 %34) %46 = trunc i64 %45 to i32 %47 = icmp slt i32 %46, 0 store i64 %7, i64* %rdi.3.reg2mem br i1 %47, label LBL_32, label LBL_15 LBL_15: %48 = add i64 %13, %arg2 %49 = add i64 %indvars.iv.reload, %8 %50 = add i64 %0, 32 %51 = call i64 @FUNC(i64 %50, i64 %49, i64 %48) %52 = trunc i64 %51 to i32 %53 = icmp slt i32 %52, 0 store i64 %50, i64* %rdi.3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %53, label LBL_32, label LBL_44 LBL_16: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %storemerge1 = add i64 %indvars.iv.reload, %8 store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i64 %storemerge1, i64* %sv_0.0.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br label LBL_30 LBL_17: %54 = add i64 %indvars.iv.reload, %arg2 %55 = inttoptr i64 %54 to i8* %56 = load i8, i8* %55, align 1 %57 = icmp eq i8 %56, 47 br i1 %57, label LBL_21, label LBL_18 LBL_18: %58 = icmp eq i8 %56, 64 %59 = icmp eq i1 %58, false store i32 4, i32* %sv_1.1.reg2mem store i64 %sv_0.133.reload, i64* %sv_0.0.reg2mem store i64 %rdi.234.reload, i64* %rdi.1.reg2mem br i1 %59, label LBL_30, label LBL_19 LBL_19: %60 = load i64, i64* %sv_2, align 8 store i64 %60, i64* %10, align 8 %61 = call i64 @FUNC(i64 %11, i64 %sv_0.133.reload, i64 %54) %62 = trunc i64 %61 to i32 %63 = icmp slt i32 %62, 0 store i64 %11, i64* %rdi.3.reg2mem br i1 %63, label LBL_32, label LBL_20 LBL_20: %64 = add i64 %indvars.iv.reload, %8 store i32 5, i32* %sv_1.1.reg2mem store i64 %64, i64* %sv_0.0.reg2mem store i64 %11, i64* %rdi.1.reg2mem br label LBL_30 LBL_21: %65 = load i64, i64* %sv_2, align 8 %66 = inttoptr i64 %7 to i64* store i64 %65, i64* %66, align 8 %67 = sub i64 %54, %sv_0.133.reload %68 = call i64 @FUNC(i64 %sv_0.133.reload, i64 %67, i64 0) %69 = trunc i64 %68 to i32 %70 = add i64 %0, 40 %71 = inttoptr i64 %70 to i32* store i32 %69, i32* %71, align 4 %72 = add i64 %13, %arg2 %73 = add i64 %indvars.iv.reload, %8 %74 = add i64 %0, 32 %75 = call i64 @FUNC(i64 %74, i64 %73, i64 %72) %76 = trunc i64 %75 to i32 %77 = icmp slt i32 %76, 0 store i64 %74, i64* %rdi.3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %77, label LBL_32, label LBL_44 LBL_22: %78 = add i64 %indvars.iv.reload, %arg2 %79 = inttoptr i64 %78 to i8* %80 = load i8, i8* %79, align 1 %81 = icmp eq i8 %80, 47 br i1 %81, label LBL_26, label LBL_23 LBL_23: %82 = icmp eq i8 %80, 58 %83 = icmp eq i1 %82, false store i32 5, i32* %sv_1.1.reg2mem store i64 %sv_0.133.reload, i64* %sv_0.0.reg2mem store i64 %rdi.234.reload, i64* %rdi.1.reg2mem br i1 %83, label LBL_30, label LBL_24 LBL_24: %84 = call i64 @FUNC(i64 %7, i64 %sv_0.133.reload, i64 %78) %85 = trunc i64 %84 to i32 %86 = icmp slt i32 %85, 0 store i64 %7, i64* %rdi.3.reg2mem br i1 %86, label LBL_32, label LBL_25 LBL_25: %87 = add i64 %indvars.iv.reload, %8 store i32 6, i32* %sv_1.1.reg2mem store i64 %87, i64* %sv_0.0.reg2mem store i64 %7, i64* %rdi.1.reg2mem br label LBL_30 LBL_26: %88 = call i64 @FUNC(i64 %7, i64 %sv_0.133.reload, i64 %78) %89 = trunc i64 %88 to i32 %90 = icmp slt i32 %89, 0 store i64 %7, i64* %rdi.3.reg2mem br i1 %90, label LBL_32, label LBL_27 LBL_27: %91 = add i64 %13, %arg2 %92 = add i64 %indvars.iv.reload, %8 %93 = add i64 %0, 32 %94 = call i64 @FUNC(i64 %93, i64 %92, i64 %91) %95 = trunc i64 %94 to i32 %96 = icmp slt i32 %95, 0 store i64 %93, i64* %rdi.3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %96, label LBL_32, label LBL_44 LBL_28: %97 = add i64 %indvars.iv.reload, %arg2 %98 = inttoptr i64 %97 to i8* %99 = load i8, i8* %98, align 1 %100 = icmp eq i8 %99, 47 %101 = icmp eq i1 %100, false store i32 6, i32* %sv_1.1.reg2mem store i64 %sv_0.133.reload, i64* %sv_0.0.reg2mem store i64 %rdi.234.reload, i64* %rdi.1.reg2mem br i1 %101, label LBL_30, label LBL_29 LBL_29: %102 = sub i64 %97, %sv_0.133.reload %103 = call i64 @FUNC(i64 %sv_0.133.reload, i64 %102, i64 0) %104 = trunc i64 %103 to i32 %105 = add i64 %0, 40 %106 = inttoptr i64 %105 to i32* store i32 %104, i32* %106, align 4 %107 = add i64 %13, %arg2 %108 = add i64 %indvars.iv.reload, %8 %109 = add i64 %0, 32 %110 = call i64 @FUNC(i64 %109, i64 %108, i64 %107) %111 = trunc i64 %110 to i32 %112 = icmp slt i32 %111, 0 store i64 %109, i64* %rdi.3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %112, label LBL_32, label LBL_44 LBL_30: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %113 = icmp slt i64 %indvars.iv.next, %13 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %rdi.1.reload, i64* %rdi.234.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.133.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.232.reg2mem br i1 %113, label LBL_3, label LBL_31 LBL_31: %114 = icmp eq i32 %sv_1.1.reload, 7 %115 = icmp eq i1 %114, false store i64 %rdi.1.reload, i64* %rdi.3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %115, label LBL_32, label LBL_44 LBL_32: %rdi.3.reload = load i64, i64* %rdi.3.reg2mem %116 = icmp eq i64 %rdi.3.reload, 0 store i64 %rdi.3.reload, i64* %rdi.33.reg2mem br i1 %116, label LBL_34, label LBL_33 LBL_33: %rdi.33.reload = load i64, i64* %rdi.33.reg2mem %117 = call i64 @FUNC(i64 %rdi.33.reload) br label LBL_34 LBL_34: %118 = add i64 %0, 8 %119 = inttoptr i64 %118 to i64* %120 = load i64, i64* %119, align 8 %121 = icmp eq i64 %120, 0 br i1 %121, label LBL_36, label LBL_35 LBL_35: %122 = call i64 @FUNC(i64 %120) br label LBL_36 LBL_36: %123 = add i64 %0, 16 %124 = inttoptr i64 %123 to i64* %125 = load i64, i64* %124, align 8 %126 = icmp eq i64 %125, 0 br i1 %126, label LBL_38, label LBL_37 LBL_37: %127 = call i64 @FUNC(i64 %125) br label LBL_38 LBL_38: %128 = add i64 %0, 24 %129 = inttoptr i64 %128 to i64* %130 = load i64, i64* %129, align 8 %131 = icmp eq i64 %130, 0 br i1 %131, label LBL_40, label LBL_39 LBL_39: %132 = call i64 @FUNC(i64 %130) br label LBL_40 LBL_40: %133 = add i64 %0, 32 %134 = inttoptr i64 %133 to i64* %135 = load i64, i64* %134, align 8 %136 = icmp eq i64 %135, 0 br i1 %136, label LBL_42, label LBL_41 LBL_41: %137 = call i64 @FUNC(i64 %135) br label LBL_42 LBL_42: %138 = load i64, i64* %sv_2, align 8 %139 = icmp eq i64 %138, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %139, label LBL_44, label LBL_43 LBL_43: %140 = call i64 @FUNC(i64 %138) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_44 LBL_44: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 0, 12, 1, 13, 3, 2, 14, 5, 4, 7, 15, 6, 9, 8, 10, 11 } uselistorder i64 %rdi.234.reload, { 9, 8, 7, 2, 6, 5, 1, 0, 3, 4, 10 } uselistorder i64 %sv_0.133.reload, { 14, 15, 7, 16, 13, 6, 17, 18, 12, 5, 19, 10, 11, 0, 4, 1, 2, 9, 3, 8 } uselistorder i32 %sv_1.232.reload, { 2, 0, 1 } uselistorder i64 %13, { 4, 3, 2, 1, 0 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %8, { 7, 5, 6, 3, 4, 1, 2, 0 } uselistorder i64 %7, { 2, 6, 3, 0, 7, 5, 1, 4 } uselistorder i64 %0, { 14, 15, 16, 17, 12, 13, 11, 8, 9, 5, 0, 2, 4, 3, 6, 7, 10, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.234.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.133.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.232.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1.reg2mem, { 0, 12, 10, 11, 8, 9, 7, 1, 6, 5, 2, 3, 4, 13 } uselistorder i64* %sv_0.0.reg2mem, { 0, 12, 10, 11, 8, 9, 7, 1, 6, 5, 2, 3, 4, 13 } uselistorder i64* %rdi.1.reg2mem, { 0, 12, 10, 11, 8, 9, 7, 1, 6, 5, 2, 3, 4, 13 } uselistorder i64* %rdi.3.reg2mem, { 0, 7, 13, 11, 12, 6, 10, 5, 8, 9, 4, 3, 2, 1, 14 } uselistorder i64* %rdi.33.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5, 6, 7 } uselistorder i64 4294967295, { 1, 0, 3, 2 } uselistorder i64 (i64, i64, i64)* @str2s, { 1, 0 } uselistorder i64 32, { 5, 1, 2, 3, 4, 0 } uselistorder i8 64, { 1, 0, 2 } uselistorder i8 47, { 5, 4, 3, 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @dupl_string, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i8 58, { 1, 0, 2 } uselistorder i32 6, { 1, 0, 2 } uselistorder i32 5, { 1, 0, 2, 3 } uselistorder i32 3, { 0, 2, 1, 3 } uselistorder i64 16, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i64 %arg2, { 11, 12, 9, 10, 7, 8, 5, 6, 4, 3, 2, 1, 13, 0, 15, 14 } uselistorder label LBL_44, { 1, 0, 2, 3, 4, 5, 6 } uselistorder label LBL_33, { 2, 0, 1 } uselistorder label LBL_32, { 6, 7, 8, 9, 0, 10, 1, 11, 12, 2, 3, 4, 5, 13 } uselistorder label LBL_30, { 2, 4, 3, 6, 5, 8, 0, 7, 11, 1, 10, 9, 12 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
rtp_parse_open_14366
rtp_parse_open
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 320) %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_7 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg4, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = inttoptr i64 %0 to i32* %6 = ptrtoint i64* %arg1 to i64 %7 = ptrtoint i64* %arg5 to i64 %8 = trunc i64 %4 to i32 store i32 %8, i32* %5, align 4 %9 = add i64 %0, 4 %10 = inttoptr i64 %9 to i32* store i32 -1, i32* %10, align 4 %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i32* store i32 -1, i32* %12, align 4 %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i64* store i64 %6, i64* %14, align 8 %15 = add i64 %0, 24 %16 = inttoptr i64 %15 to i64* store i64 %3, i64* %16, align 8 %17 = add i64 %0, 32 %18 = inttoptr i64 %17 to i64* store i64 %7, i64* %18, align 8 %19 = add i64 %0, 304 %20 = call i64 @FUNC(i64 %19, i64 0) %21 = and i64 %4, 4294967295 %22 = call i64 @FUNC(i64 %21) %23 = inttoptr i64 %22 to i8* %24 = call i32 @strcmp(i8* %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_4, label LBL_2 LBL_2: %27 = load i64, i64* %14, align 8 %28 = call i64 @FUNC(i64 %27) %29 = add i64 %0, 312 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 %31 = icmp eq i64 %28, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_6, label LBL_3 LBL_3: %33 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %34 = call i64 @FUNC(i64 %3, i64 32, i64 1, i64 90000) %35 = load i32, i32* inttoptr (i64 36 to i32*), align 4 %36 = icmp eq i32 %35, 1 %37 = icmp eq i1 %36, false br i1 %37, label LBL_6, label LBL_5 LBL_5: %38 = load i32, i32* inttoptr (i64 40 to i32*), align 8 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 %3, i64 32, i64 1, i64 %39) br label LBL_6 LBL_6: %41 = ptrtoint i64* %arg3 to i64 %42 = add i64 %0, 40 %43 = inttoptr i64 %42 to i64* store i64 %41, i64* %43, align 8 %44 = add i64 %0, 48 %45 = inttoptr i64 %44 to i8* %46 = call i32 @gethostname(i8* %45, i32 256) store i64 %0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 40, { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @av_set_pts_info, { 1, 0 } uselistorder i64 32, { 1, 2, 3, 0 } uselistorder label LBL_7, { 1, 2, 0 } uselistorder label LBL_6, { 1, 0, 2 } }
1
BinRealVul
alloc_18434
alloc
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = icmp ult i64 %arg1, -16 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: %2 = add i64 %arg1, 16 %3 = trunc i64 %2 to i32 %4 = call i64* @calloc(i32 1, i32 %3) %5 = icmp eq i64* %4, null %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_4: %8 = ptrtoint i64* %4 to i64 store i64 %2, i64* %4, align 8 %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i64* store i64 0, i64* %10, align 8 %11 = add i64 %arg1, 24 %12 = inttoptr i64 %11 to i64* store i64 %8, i64* %12, align 8 store i64 %8, i64* %arg2, align 8 %13 = call i64 @FUNC(i64 %8) ret i64 %13 uselistorder i64 %8, { 1, 2, 0, 3 } uselistorder i64* %4, { 0, 2, 1 } uselistorder i64 (i64, i8*)* @internal_errorf, { 1, 0 } }
1
BinRealVul
soft_offline_in_use_page_19039
soft_offline_in_use_page
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge3.in.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_9, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_9, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %1) %10 = call i64 @FUNC(i64 %1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %1) %14 = and i64 %13, 4294967295 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_8, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %1) %19 = call i64 @FUNC(i64 %1) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false %23 = call i64 @FUNC(i64 %0) br i1 %22, label LBL_6, label LBL_5 LBL_5: %24 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %23) br label LBL_7 LBL_6: %25 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %23) br label LBL_7 LBL_7: %26 = call i64 @FUNC(i64 %1) store i64 4294967280, i64* %storemerge.reg2mem br label LBL_13 LBL_8: %27 = call i64 @FUNC(i64 %1) %28 = call i64 @FUNC(i64 %0) %29 = call i64 @FUNC(i64 %1) br label LBL_9 LBL_9: %30 = and i64 %arg2, 4294967295 %31 = call i64 @FUNC(i64 %0) %32 = call i64 @FUNC(i64 %0, i64 1) %33 = call i64 @FUNC(i64 %0) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 br i1 %35, label LBL_11, label LBL_10 LBL_10: %36 = call i64 @FUNC(i64 %0, i64 %30) store i64 %36, i64* %storemerge3.in.reg2mem br label LBL_12 LBL_11: %37 = call i64 @FUNC(i64 %0, i64 %30) store i64 %37, i64* %storemerge3.in.reg2mem br label LBL_12 LBL_12: %storemerge3.in.reload = load i64, i64* %storemerge3.in.reg2mem %38 = and i64 %31, 4294967295 %39 = call i64 @FUNC(i64 %0, i64 %38) %40 = and i64 %storemerge3.in.reload, 4294967295 store i64 %40, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %30, { 1, 0 } uselistorder i64 %23, { 1, 0 } uselistorder i64 %1, { 1, 0, 3, 5, 4, 2, 7, 6, 8 } uselistorder i64 %0, { 2, 3, 4, 5, 7, 6, 0, 1, 8, 9 } uselistorder i64* %storemerge3.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @set_pageblock_migratetype, { 1, 0 } uselistorder i64 (i64)* @put_hwpoison_page, { 1, 0 } uselistorder i64 (i8*, i64)* @pr_info, { 1, 0 } uselistorder i64 (i64)* @unlock_page, { 1, 0 } uselistorder i64 (i64)* @PageAnon, { 1, 0 } uselistorder i64 (i64)* @PageHuge, { 1, 0 } }
1
BinRealVul
s390_ipl_init_3833
s390_ipl_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_11, label LBL_1 LBL_1: %11 = load i64, i64* @gv_0, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %.reg2mem br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = add i64 %6, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 store i64 %16, i64* @gv_0, align 8 store i64 %16, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %17 = call i64 @FUNC(i64 0, i64 %.reload) %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i64 %.reload, i64 %3, i64 %4, i64 %2, i64 %1) unreachable LBL_5: %21 = add i64 %6, 32 %22 = call i64 @FUNC(i64 %17, i64 0, i64 0, i64 %21, i64 0, i64 0) %23 = icmp eq i64 %22, -1 %24 = icmp eq i1 %23, false br i1 %24, label LBL_9, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64 %17, i64 4096, i64 4096) %26 = inttoptr i64 %21 to i64* store i64 4096, i64* %26, align 8 %27 = icmp ult i64 %25, 4097 br i1 %27, label LBL_7, label LBL_8 LBL_7: %28 = call i64 @FUNC(i64 %17) store i64 0, i64* %rax.0.reg2mem br label LBL_21 LBL_8: %29 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64 4096, i64 4096, i64 %21, i64 0, i64 0) unreachable LBL_9: %30 = call i64 @FUNC(i64 %17) %31 = icmp slt i64 %22, 0 %32 = icmp eq i1 %31, false store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_21, label LBL_10 LBL_10: %33 = load i64, i64* @gv_0, align 8 %34 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %33, i64 0, i64 %21, i64 0, i64 0) unreachable LBL_11: %35 = call i64 @FUNC(i64 %8, i64 0, i64 0, i64 0, i64 0, i64 0) %36 = icmp eq i64 %35, -1 %37 = icmp eq i1 %36, false store i64 %35, i64* %sv_0.0.reg2mem br i1 %37, label LBL_13, label LBL_12 LBL_12: %38 = load i64, i64* %7, align 8 %39 = call i64 @FUNC(i64 %38, i64 0, i64 134217728) store i64 %39, i64* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %40 = icmp eq i64 %sv_0.0.reload, -1 %41 = icmp eq i1 %40, false br i1 %41, label LBL_15, label LBL_14 LBL_14: %42 = load i64, i64* %7, align 8 %43 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8 %44 = inttoptr i64 %42 to i8* %45 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %43, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0), i8* %44) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_21 LBL_15: %46 = add i64 %6, 16 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = call i64 @FUNC(i64 20480) %50 = inttoptr i64 %49 to i8* %51 = inttoptr i64 %48 to i8* %52 = call i8* @strcpy(i8* %50, i8* %51) %53 = add i64 %6, 32 %54 = inttoptr i64 %53 to i64* store i64 8192, i64* %54, align 8 %55 = add i64 %6, 24 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = icmp eq i64 %57, 0 store i64 0, i64* %rax.0.reg2mem br i1 %58, label LBL_21, label LBL_16 LBL_16: %59 = add i64 %sv_0.0.reload, 1048576 store i64 12288, i64* %storemerge.reg2mem br label LBL_17 LBL_17: %storemerge.reload = load i64, i64* %storemerge.reg2mem %60 = icmp ult i64 %storemerge.reload, %59 %61 = add i64 %storemerge.reload, 1048576 store i64 %61, i64* %storemerge.reg2mem br i1 %60, label LBL_17, label LBL_18 LBL_18: %62 = sub i64 134217728, %storemerge.reload %63 = call i64 @FUNC(i64 %57, i64 %storemerge.reload, i64 %62) %64 = icmp eq i64 %63, -1 %65 = icmp eq i1 %64, false br i1 %65, label LBL_20, label LBL_19 LBL_19: %66 = load i64, i64* %56, align 8 %67 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8 %68 = inttoptr i64 %66 to i8* %69 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %67, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_6, i64 0, i64 0), i8* %68) call void @exit(i32 1) unreachable LBL_20: %70 = call i64 @FUNC(i64 16384) %71 = call i64 @FUNC(i64 %70, i64 %storemerge.reload) %72 = call i64 @FUNC(i64 16392) %73 = call i64 @FUNC(i64 %72, i64 %63) store i64 0, 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 %storemerge.reload, { 4, 3, 2, 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %21, { 2, 1, 0, 3 } uselistorder i64 %17, { 2, 0, 1, 3, 4 } uselistorder i64* %7, { 1, 0, 2 } uselistorder i64 %6, { 1, 2, 3, 0, 4, 5 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 5, 4, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @stq_p, { 1, 0 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i64 1048576, { 1, 2, 0 } uselistorder i64 (i64)* @rom_ptr, { 2, 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_4, { 2, 1, 0 } uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder i64 (i64, i64, i64)* @load_image_targphys, { 2, 1, 0 } uselistorder i64 4096, { 0, 1, 4, 3, 2 } uselistorder i64 (i64, i64, i64, i64, i64, i64)* @load_elf, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @hw_error, { 2, 1, 0 } uselistorder label LBL_21, { 2, 1, 4, 3, 0 } }
0
BinRealVul
cabac_reinit_1580
cabac_reinit
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false %. = select i1 %3, i64 0, i64 4294967295 ret i64 %. }
0
BinRealVul
check_packet_type_7213
check_packet_type
define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 6 br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = ptrtoint i8* %arg1 to i64 %5 = add i64 %4, 1 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i8 %7, 1 br i1 %8, label LBL_2, label LBL_4 LBL_2: %9 = urem i64 %arg2, 65536 %10 = call i64 @FUNC(i64 %4, i64 %9, i64 53) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_4 LBL_3: %13 = inttoptr i64 %10 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 0 %16 = icmp eq i1 %15, false %17 = icmp ult i8 %14, 7 %or.cond = icmp eq i1 %17, %16 %18 = zext i8 %14 to i64 %spec.select = select i1 %or.cond, i64 %18, i64 0 ret i64 %spec.select LBL_4: ret i64 0 uselistorder i8 %14, { 1, 0, 2 } }
0
BinRealVul
arm_coherent_dma_alloc_10998
arm_coherent_dma_alloc
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i32 %arg4, i64* %arg5, i32 %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 = and i64 %3, 4294967295 %9 = call i64 @FUNC(i64 %2, i64 %arg2, i64 %1, i32 %arg4, i64 %8, i64 1) store i64 %9, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0 } }
1
BinRealVul
mjpeg_decode_com_14943
mjpeg_decode_com
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi.reg2mem = alloca i64 %.lcssa7.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 16 %5 = call i64 @FUNC(i64 %4, i64 16) %6 = trunc i64 %5 to i32 %.off = add i32 %6, -2 %7 = icmp ugt i32 %.off, 32765 br i1 %7, label LBL_16, label LBL_1 LBL_1: %8 = mul i64 %5, 4294967296 %sext = add i64 %8, -4294967296 %9 = ashr exact i64 %sext, 32 store i64 %9, i64* %rdi, align 8 %10 = call i64 @FUNC(i64 %9) %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_16, label LBL_2 LBL_2: %12 = add i64 %5, 4294967294 %13 = and i64 %12, 4294967295 %14 = icmp eq i64 %13, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge3.reg2mem store i64 0, i64* %.lcssa7.reg2mem br i1 %14, label LBL_4.LBL_8_crit_edge, label LBL_3 LBL_3: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem store i64 %4, i64* %rdi, align 8 %15 = call i64 @FUNC(i64 %4, i64 8) %16 = add i64 %.reload, %10 %17 = trunc i64 %15 to i8 %18 = inttoptr i64 %16 to i8* store i8 %17, i8* %18, align 1 %19 = add i32 %storemerge3.reload, 1 %20 = sext i32 %19 to i64 %21 = icmp sgt i64 %13, %20 store i64 %20, i64* %.reg2mem store i32 %19, i32* %storemerge3.reg2mem br i1 %21, label LBL_3, label LBL_4 LBL_4: %phitmp = icmp slt i32 %19, 1 store i64 %20, i64* %.lcssa7.reg2mem br i1 %phitmp, label LBL_4.LBL_8_crit_edge, label LBL_6 LBL_5: %.lcssa7.reload = load i64, i64* %.lcssa7.reg2mem %.pre = add i64 %.lcssa7.reload, %10 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_8 LBL_6: %22 = add i64 %10, %20 %23 = add i64 %22, -1 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = icmp eq i8 %25, 10 %27 = icmp eq i1 %26, false store i64 %22, i64* %.pre-phi.reg2mem br i1 %27, label LBL_8, label LBL_7 LBL_7: store i8 0, i8* %24, align 1 br label LBL_9 LBL_8: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %28 = inttoptr i64 %.pre-phi.reload to i8* store i8 0, i8* %28, align 1 br label LBL_9 LBL_9: %29 = bitcast i64* %rdi to i32* %30 = load i32, i32* %29, align 8 %31 = urem i32 %30, 2 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_11, label LBL_10 LBL_10: %33 = load i64, i64* %rdi, align 8 %34 = call i64 @FUNC(i64 %33, i64 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %2, i64 %1) br label LBL_11 LBL_11: %35 = inttoptr i64 %10 to i8* %36 = call i32 @strcmp(i8* %35, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_13, label LBL_12 LBL_12: %39 = add i64 %3, 8 %40 = inttoptr i64 %39 to i32* store i32 1, i32* %40, align 4 br label LBL_15 LBL_13: %41 = call i32 @strcmp(i8* %35, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_15, label LBL_14 LBL_14: %44 = add i64 %3, 12 %45 = inttoptr i64 %44 to i32* store i32 1, i32* %45, align 4 br label LBL_15 LBL_15: %46 = call i64 @FUNC(i64 %10) br label LBL_16 LBL_16: ret i64 0 uselistorder i64 %20, { 2, 0, 1, 3 } uselistorder i32 %19, { 1, 0, 2 } uselistorder i64 %13, { 1, 0 } uselistorder i64 %10, { 3, 5, 4, 0, 1, 2, 6 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %rdi, { 3, 2, 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %.lcssa7.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i64 (i64, i64)* @get_bits, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4.LBL_8_crit_edge, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
net_js_recv_12368
net_js_recv
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = and i64 %arg3, 4294967295 %3 = call i64 @FUNC(i64 %2) store i64 %3, i64* %sv_1, align 8 %4 = and i64 %arg5, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = and i64 %arg2, 4294967295 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 3, i64* nonnull %sv_1) %9 = call i64 @FUNC(i64 3, i64* nonnull %sv_1) %10 = call i64 @FUNC(i64 %8) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_4, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %8) %sext = mul i64 %13, 4294967296 %14 = ashr exact i64 %sext, 32 %15 = icmp sgt i64 %14, %arg5 store i64 %14, i64* %sv_0.0.reg2mem br i1 %15, label LBL_2, label LBL_3 LBL_2: %sext3 = mul i64 %arg5, 4294967296 %16 = ashr exact i64 %sext3, 32 call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i32 66, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0)) store i64 %16, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %17 = ptrtoint i64* %arg4 to i64 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %18 = call i64 @FUNC(i64 %8, i64 0, i64 %17, i64 %sv_0.0.reload) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_7 LBL_4: %19 = call i64 @FUNC(i64 %8) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 store i64 -1, i64* %sv_0.1.reg2mem br i1 %21, label LBL_7, label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %8) %23 = trunc i64 %22 to i32 %sext5 = mul i64 %22, 4294967296 %24 = ashr exact i64 %sext5, 32 %25 = icmp slt i32 %23, 0 store i64 %24, i64* %sv_0.1.reg2mem br i1 %25, label LBL_7, label LBL_6 LBL_6: %26 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0)) store i64 -1, i64* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %27 = call i64 @FUNC(i64 %8) %28 = and i64 %sv_0.1.reload, 4294967295 ret i64 %28 uselistorder i64 %8, { 2, 1, 3, 0, 4, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64 (i64)* @jsvNewFromInteger, { 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
selinux_netlbl_inode_permission_19085
selinux_netlbl_inode_permission
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = and i32 %1, 16384 %3 = icmp eq i32 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = and i64 %arg2, 6 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i32 %1, 1 %or.cond = icmp eq i1 %7, %6 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_5 LBL_2: %8 = call i64 @FUNC() %9 = call i64 @FUNC(i64 %0) %10 = call i64 @FUNC(i64 1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 0, i64* %storemerge.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %0) %phitmp = and i64 %13, 4294967295 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem %14 = call i64 @FUNC(i64 %0) %15 = call i64 @FUNC() store i64 %storemerge.reload, 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 %0, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_5, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
flask_security_set_bool_6101
flask_security_set_bool
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 %3, i64* %rax.0.in.reg2mem br i1 %5, label LBL_1, label LBL_13 LBL_1: %6 = load i64, i64* @gv_0, align 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i64 1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 store i64 %9, i64* %rax.0.in.reg2mem br i1 %11, label LBL_2, label LBL_13 LBL_2: %12 = trunc i64 %1 to i32 %13 = call i64 @FUNC(i64* nonnull @gv_1) %14 = icmp eq i32 %12, 0 br i1 %14, label LBL_8, label LBL_3 LBL_3: %15 = bitcast i32* %sv_1 to i64* %16 = call i64 @FUNC(i64* nonnull %15, i64 0, i64* nonnull %sv_2, i64 0) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 %16, i64* %sv_0.0.reg2mem br i1 %19, label LBL_12, label LBL_4 LBL_4: %20 = add i64 %2, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = load i32, i32* %sv_1, align 4 %24 = icmp ult i32 %22, %23 store i64 4294967294, i64* %sv_0.0.reg2mem br i1 %24, label LBL_5, label LBL_12 LBL_5: %25 = add i64 %2, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false %30 = load i64, i64* %sv_2, align 8 %31 = sext i32 %22 to i64 %32 = mul i64 %31, 4 %33 = add i64 %30, %32 %34 = zext i1 %29 to i32 %35 = inttoptr i64 %33 to i32* store i32 %34, i32* %35, align 4 %36 = load i32, i32* %26, align 4 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false %39 = zext i1 %38 to i32 %40 = add i64 %2, 16 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = add i64 %2, 12 %43 = inttoptr i64 %42 to i32* store i32 %39, i32* %43, align 4 %44 = load i64, i64* @gv_2, align 8 %45 = icmp eq i64 %44, 0 br i1 %45, label LBL_7, label LBL_6 LBL_6: %46 = load i32, i32* %26, align 4 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false %49 = load i32, i32* %21, align 4 %50 = sext i32 %49 to i64 %51 = mul i64 %50, 4 %52 = add i64 %51, %44 %53 = zext i1 %48 to i32 %54 = inttoptr i64 %52 to i32* store i32 %53, i32* %54, align 4 br label LBL_7 LBL_7: %55 = load i64, i64* %sv_2, align 8 %56 = load i32, i32* %sv_1, align 4 %57 = zext i32 %56 to i64 %58 = call i64 @FUNC(i64 %57, i64 %55) %59 = load i64, i64* %sv_2, align 8 %60 = call i64 @FUNC(i64 %59) store i64 %58, i64* %sv_0.0.reg2mem br label LBL_12 LBL_8: %61 = load i64, i64* @gv_2, align 8 %62 = icmp eq i64 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_10, label LBL_9 LBL_9: %64 = call i64 @FUNC() br label LBL_10 LBL_10: %65 = add i64 %2, 4 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %69 = icmp ult i32 %67, %68 store i64 %9, i64* %sv_0.0.reg2mem br i1 %69, label LBL_11, label LBL_12 LBL_11: %70 = add i64 %2, 8 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = icmp eq i32 %72, 0 %74 = icmp eq i1 %73, false %75 = load i64, i64* @gv_2, align 8 %76 = sext i32 %67 to i64 %77 = mul i64 %76, 4 %78 = add i64 %75, %77 %79 = zext i1 %74 to i32 %80 = inttoptr i64 %78 to i32* store i32 %79, i32* %80, align 4 %81 = load i32, i32* %71, align 4 %82 = icmp eq i32 %81, 0 %83 = icmp eq i1 %82, false %84 = zext i1 %83 to i32 %85 = add i64 %2, 16 %86 = inttoptr i64 %85 to i32* store i32 %84, i32* %86, align 4 %87 = load i32, i32* %66, align 4 %88 = zext i32 %87 to i64 %89 = call i64 @FUNC(i64 %88) %90 = trunc i64 %89 to i32 %91 = add i64 %2, 12 %92 = inttoptr i64 %91 to i32* store i32 %90, i32* %92, align 4 store i64 0, i64* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %93 = call i64 @FUNC(i64* nonnull @gv_1) store i64 %sv_0.0.reload, i64* %rax.0.in.reg2mem br label LBL_13 LBL_13: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = and i64 %rax.0.in.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %9, { 1, 0, 2 } uselistorder i64* %sv_2, { 1, 2, 3, 0 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64 %2, { 4, 5, 7, 6, 0, 1, 3, 2, 8 } uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 2, 1, 3 } uselistorder i64* %rax.0.in.reg2mem, { 0, 3, 1, 2 } uselistorder i64 4, { 0, 3, 1, 2, 4 } uselistorder label LBL_13, { 2, 0, 1 } uselistorder label LBL_12, { 3, 1, 4, 0, 2 } }
0
BinRealVul
ahash_sha1_init_8897
ahash_sha1_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* store i32 1, i32* %5, align 4 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* store i32 2, i32* %7, align 4 %8 = add i64 %2, 12 %9 = inttoptr i64 %8 to i32* store i32 20, i32* %9, align 4 %10 = call i64 @FUNC(i64 %0) ret i64 %10 }
0
BinRealVul
visitor_input_test_init_18587
visitor_input_test_init
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %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_0 = 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 i64* %arg1 to i64 store i32 16, i32* %sv_0, align 4 %22 = ptrtoint i8* %arg2 to i64 %23 = call i64 @FUNC(i64 %22, i32* nonnull %sv_0) store i64 %23, i64* %arg1, align 8 %24 = icmp eq i8* %arg2, null %25 = icmp eq i1 %24, false %26 = zext i1 %25 to i64 %27 = call i64 @FUNC(i64 %26) %28 = call i64 @FUNC(i64 %26) %29 = add i64 %21, 8 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 %31 = icmp eq i64 %28, 0 %32 = icmp eq i1 %31, false %33 = zext i1 %32 to i64 %34 = call i64 @FUNC(i64 %33) %35 = load i64, i64* %30, align 8 %36 = call i64 @FUNC(i64 %35) %37 = icmp eq i64 %36, 0 %38 = icmp eq i1 %37, false %39 = zext i1 %38 to i64 %40 = call i64 @FUNC(i64 %39) ret i64 %36 uselistorder i64 %26, { 1, 0 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @g_assert, { 2, 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i8* %arg2, { 1, 0 } }
1
BinRealVul
isolate_movable_page_10939
isolate_movable_page
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 1 %4 = icmp eq i1 %3, false store i64 4294967280, i64* %rax.0.reg2mem br i1 %4, label LBL_10, label LBL_1 LBL_1: %5 = and i64 %0, 2 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_9, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0) %8 = trunc i64 %7 to i8 %9 = icmp eq i8 %8, 1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_9, label LBL_3 LBL_3: %11 = urem i64 %0, 2 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_8, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %0) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %17, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 108) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_6: %19 = trunc i64 %0 to i8 %20 = icmp eq i8 %19, 1 %21 = icmp eq i1 %20, false br i1 %21, label LBL_8, label LBL_7 LBL_7: %22 = or i64 %0, 1 store i64 %22, i64* %arg1, align 8 %23 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %24 = call i64 @FUNC(i64 %0) br label LBL_9 LBL_9: %25 = call i64 @FUNC(i64 %0) store i64 4294967280, 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 %0, { 7, 5, 2, 1, 3, 4, 0, 6, 8, 9 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64 (i64)* @unlock_page, { 1, 0 } uselistorder label LBL_10, { 0, 2, 3, 1 } uselistorder label LBL_9, { 2, 0, 1 } }
0
BinRealVul
__end_block_io_op_8460
__end_block_io_op
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = trunc i64 %3 to i32 %9 = icmp eq i32 %8, 1 %.pre3 = trunc i64 %7 to i32 %10 = icmp eq i32 %.pre3, 1 %11 = icmp eq i1 %9, %10 br i1 %11, label LBL_1, label LBL_2 LBL_1: %12 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %4, i64 %5, i64 %2, i64 %1) %13 = add i64 %6, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 0, i64 %19, i64 0) %21 = add i64 %6, 4 %22 = inttoptr i64 %21 to i32* store i32 3, i32* %22, align 4 br label LBL_6 LBL_2: %23 = icmp eq i32 %8, 2 %24 = icmp eq i32 %.pre3, 1 %25 = icmp eq i1 %24, %23 br i1 %25, label LBL_3, label LBL_4 LBL_3: %26 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %4, i64 %5, i64 %2, i64 %1) %27 = add i64 %6, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 0, i64 %33, i64 0) %35 = add i64 %6, 4 %36 = inttoptr i64 %35 to i32* store i32 3, i32* %36, align 4 br label LBL_6 LBL_4: %37 = icmp eq i32 %.pre3, 0 br i1 %37, label LBL_6, label LBL_5 LBL_5: %38 = and i64 %7, 4294967295 %39 = call i64 @FUNC(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_2, i64 0, i64 0), i64 %38, i64 %4, i64 %5, i64 %2, i64 %1) %40 = add i64 %6, 4 %41 = inttoptr i64 %40 to i32* store i32 4, i32* %41, align 4 br label LBL_6 LBL_6: %42 = add i64 %6, 16 %43 = call i64 @FUNC(i64 %42) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 store i64 %43, i64* %rax.0.reg2mem br i1 %45, label LBL_8, label LBL_7 LBL_7: %46 = call i64 @FUNC(i64 %6) store i64 %46, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 1, 0 } uselistorder i64 %6, { 5, 6, 4, 2, 3, 0, 1 } uselistorder i64 %5, { 2, 1, 0 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_debug, { 2, 1, 0 } uselistorder i64 %arg2, { 2, 1, 0 } }
0
BinRealVul
put_page_11956
put_page
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 store i64 %arg1, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %0 = and i64 %sv_0.0.reload, 4294967295 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_3, label LBL_2 LBL_2: %3 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %4 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %3, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_3: %5 = add i64 %sv_0.0.reload, -1 %6 = call i64 @FUNC(i64 %arg1, i64 %sv_0.0.reload, i64 %5) %7 = icmp eq i64 %6, %sv_0.0.reload %8 = icmp eq i1 %7, false %9 = icmp eq i1 %8, false %10 = icmp eq i1 %9, false store i64 %6, i64* %sv_0.0.reg2mem br i1 %10, label LBL_1, label LBL_4 LBL_4: %11 = trunc i64 %5 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_8, label LBL_5 LBL_5: %14 = call i64 @FUNC(i64 %arg1) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = call i64 @FUNC(i64 %arg1) store i64 %18, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %19 = call i64 @FUNC(i64 %arg1) %20 = call i64 @FUNC(i64 %19) %21 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i64 %20) store i64 %21, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.reload, { 2, 0, 1, 3 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32 0, { 1, 0 } uselistorder i64 %arg1, { 1, 2, 3, 4, 0 } }
1
BinRealVul
caml_bitvect_test_11099
caml_bitvect_test
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg2 to i32 %1 = ashr i32 %0, 3 %2 = sext i32 %1 to i64 %sext = mul i64 %arg1, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = add nsw i64 %3, %2 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = urem i32 %0, 8 %8 = shl i32 1, %7 %9 = zext i8 %6 to i32 %10 = and i32 %8, %9 %11 = zext i32 %10 to i64 ret i64 %11 }
1
BinRealVul
cirrus_bitblt_videotovideo_copy_15355
cirrus_bitblt_videotovideo_copy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = trunc i64 %1 to i32 %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %2, 12 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = sub i32 %15, %6 %17 = add i64 %2, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = sub i32 %19, %6 %21 = zext i32 %12 to i64 %22 = zext i32 %16 to i64 %23 = call i64 @FUNC(i64 %2, i32 %20, i64 %22, i64 %21, i32 %9) store i64 %23, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %6, { 1, 0 } uselistorder i64 %2, { 4, 3, 2, 1, 0, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
print_bacp_config_options_13516
print_bacp_config_options
define i64 @FUNC(i32* %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: ret i64 0 }
0
BinRealVul
smp_def_sign_17595
smp_def_sign
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = urem i64 %arg3, 8 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %arg4 to i8* %3 = call i32 @strlen(i8* %2) %4 = icmp ult i32 %3, 256 br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64* @memset(i64* %arg2, i32 0, i32 8) %8 = add i64 %5, %arg3 store i64 %8, i64* %arg2, align 8 %9 = add i64 %6, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %5, 8 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 %14 = add i64 %5, 16 %15 = inttoptr i64 %14 to i64* store i64 %arg4, i64* %15, align 8 ret i64 %5 uselistorder i64 %arg3, { 1, 0 } }
1
BinRealVul
mon_init_func_1142
mon_init_func
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i32 %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 = inttoptr i64 %1 to i8* %3 = icmp eq i64 %1, 0 %4 = icmp eq i1 %3, false %spec.select = select i1 %4, i8* %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0) %5 = call i32 @strcmp(i8* %spec.select, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i32 1, i32* %storemerge3.reg2mem br i1 %7, label LBL_1, label LBL_3 LBL_1: %8 = call i32 @strcmp(i8* %spec.select, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0)) %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i32 2, i32* %storemerge3.reg2mem br i1 %10, label LBL_2, label LBL_3 LBL_2: %11 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i8* %spec.select) call void @exit(i32 1) unreachable LBL_3: %13 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64 0) %14 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i64 0) %15 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0)) %16 = call i64 @FUNC(i64 %15) %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = inttoptr i64 %15 to i8* %20 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %21 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %20, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_8, i64 0, i64 0), i8* %19) call void @exit(i32 1) unreachable LBL_5: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %22 = trunc i64 %13 to i32 %23 = icmp eq i32 %22, 0 %24 = or i32 %storemerge3.reload, 4 %spec.select4 = select i1 %23, i32 %storemerge3.reload, i32 %24 %25 = trunc i64 %14 to i32 %26 = icmp eq i32 %25, 0 %27 = or i32 %spec.select4, 8 %sv_0.1 = select i1 %26, i32 %spec.select4, i32 %27 %28 = call i64 @FUNC(i64 %16) %29 = zext i32 %sv_0.1 to i64 %30 = call i64 @FUNC(i64 %16, i64 %29) ret i64 0 uselistorder i32 %storemerge3.reload, { 1, 0 } uselistorder i64 %16, { 1, 0, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @qemu_opt_get_bool, { 1, 0 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_3, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), { 1, 0 } uselistorder i64 (i64, i8*)* @qemu_opt_get, { 1, 0 } }
0
BinRealVul
ogg_read_page_141
ogg_read_page
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem11 = alloca i32 %.pre-phi8.reg2mem = alloca i64* %.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.04.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %storemerge3.in.reg2mem = alloca i64 %rcx.3.reg2mem = alloca i64 %rcx.2.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i32 %rcx.1.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 4) %8 = trunc i64 %7 to i32 %9 = icmp sgt i32 %8, 3 br i1 %9, label LBL_1, label LBL_2 LBL_1: %10 = inttoptr i64 %6 to i32* %11 = ptrtoint i64* %sv_3 to i64 %12 = ptrtoint i64* %sv_4 to i64 %13 = add i64 %12, -92 %14 = bitcast i64* %rdi to i32* store i32 0, i32* %sv_2.0.reg2mem store i64 %11, i64* %rcx.0.reg2mem br label LBL_3 LBL_2: %15 = icmp slt i32 %8, 0 %16 = icmp eq i1 %15, false %17 = and i64 %7, 4294967295 %18 = select i1 %16, i64 4294967295, i64 %17 store i64 %18, i64* %rax.0.reg2mem br label LBL_46 LBL_3: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %19 = urem i32 %sv_2.0.reload, 4 %20 = zext i32 %19 to i64 %21 = or i64 %13, %20 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 79 %25 = icmp eq i1 %24, false br i1 %25, label LBL_7, label LBL_4 LBL_4: %26 = add nuw nsw i32 %sv_2.0.reload, 1 %27 = urem i32 %26, 4 %28 = zext i32 %27 to i64 %29 = or i64 %13, %28 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = icmp eq i8 %31, 103 %33 = icmp eq i1 %32, false br i1 %33, label LBL_7, label LBL_5 LBL_5: %34 = add nuw nsw i32 %sv_2.0.reload, 2 %35 = urem i32 %34, 4 %36 = zext i32 %35 to i64 %37 = or i64 %13, %36 %38 = inttoptr i64 %37 to i8* %39 = load i8, i8* %38, align 1 %40 = icmp eq i8 %39, 103 %41 = icmp eq i1 %40, false br i1 %41, label LBL_7, label LBL_6 LBL_6: %42 = add nuw nsw i32 %sv_2.0.reload, 3 %43 = urem i32 %42, 4 %44 = zext i32 %43 to i64 %45 = or i64 %13, %44 %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = icmp eq i8 %47, 83 store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem store i64 %rcx.0.reload, i64* %rcx.2.reg2mem br i1 %48, label LBL_12, label LBL_7 LBL_7: %49 = icmp eq i32 %sv_2.0.reload, 0 %50 = icmp eq i1 %49, false %51 = load i32, i32* %14, align 8 %52 = icmp eq i32 %51, 0 %or.cond = or i1 %50, %52 store i64 %rcx.0.reload, i64* %rcx.1.reg2mem br i1 %or.cond, label LBL_10, label LBL_8 LBL_8: %53 = load i32, i32* %10, align 4 %54 = icmp slt i32 %53, 1 store i64 %rcx.0.reload, i64* %rcx.1.reg2mem br i1 %54, label LBL_10, label LBL_9 LBL_9: %55 = call i64* @memset(i64* nonnull %sv_3, i32 0, i32 4) %56 = load i32, i32* %10, align 4 %57 = add i32 %56, 4 %58 = zext i32 %57 to i64 %59 = call i64 @FUNC(i64 %3, i64 %58, i64 0) store i32 -1, i32* %10, align 4 store i64 %58, i64* %rcx.1.reg2mem br label LBL_10 LBL_10: %60 = call i64 @FUNC(i64 %3) %61 = call i64 @FUNC(i64 %3) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %63, label LBL_11, label LBL_46 LBL_11: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %64 = add nuw nsw i32 %sv_2.0.reload, 1 %65 = trunc i64 %60 to i8 store i8 %65, i8* %22, align 1 %66 = icmp ult i32 %sv_2.0.reload, 65536 store i32 %64, i32* %sv_2.0.reg2mem store i64 %rcx.1.reload, i64* %rcx.0.reg2mem store i32 %64, i32* %sv_2.1.reg2mem store i64 %rcx.1.reload, i64* %rcx.2.reg2mem br i1 %66, label LBL_3, label LBL_12 LBL_12: %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %67 = icmp slt i32 %sv_2.1.reload, 65536 br i1 %67, label LBL_14, label LBL_13 LBL_13: %68 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.2.reload, i64 %2, i64 %1) store i64 4294967294, i64* %rax.0.reg2mem br label LBL_46 LBL_14: %69 = call i64 @FUNC(i64 %3) %70 = trunc i64 %69 to i32 %71 = icmp eq i32 %70, 0 br i1 %71, label LBL_16, label LBL_15 LBL_15: %72 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.2.reload, i64 %2, i64 %1) store i64 4294967294, i64* %rax.0.reg2mem br label LBL_46 LBL_16: %73 = call i64 @FUNC(i64 %3) %74 = call i64 @FUNC(i64 %3) %75 = call i64 @FUNC(i64 %3) %76 = call i64 @FUNC(i64 %3, i64 8) %77 = call i64 @FUNC(i64 %3) %78 = trunc i64 %77 to i32 %79 = and i64 %75, 4294967295 %80 = call i64 @FUNC(i64 %6, i64 %79) %81 = trunc i64 %80 to i32 %82 = icmp slt i32 %81, 0 %83 = icmp eq i1 %82, false store i32 %81, i32* %sv_1.0.reg2mem br i1 %83, label LBL_22, label LBL_17 LBL_17: %84 = call i64 @FUNC(i64 %6) %85 = trunc i64 %84 to i32 %86 = icmp eq i32 %85, 0 br i1 %86, label LBL_19, label LBL_18 LBL_18: %87 = call i64 @FUNC(i64 %3, i64 %79, i32 %78) store i64 %79, i64* %rcx.3.reg2mem store i64 %87, i64* %storemerge3.in.reg2mem br label LBL_20 LBL_19: %88 = call i64 @FUNC(i64 %3, i64 %79) store i64 %rcx.2.reload, i64* %rcx.3.reg2mem store i64 %88, i64* %storemerge3.in.reg2mem br label LBL_20 LBL_20: %storemerge3.in.reload = load i64, i64* %storemerge3.in.reg2mem %storemerge3 = trunc i64 %storemerge3.in.reload to i32 %89 = icmp slt i32 %storemerge3, 0 %90 = icmp eq i1 %89, false store i32 %storemerge3, i32* %sv_1.0.reg2mem br i1 %90, label LBL_22, label LBL_21 LBL_21: %rcx.3.reload = load i64, i64* %rcx.3.reg2mem %91 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %rcx.3.reload, i64 %2, i64 %1) %92 = and i64 %storemerge3.in.reload, 4294967295 store i64 %92, i64* %rax.0.reg2mem br label LBL_46 LBL_22: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %93 = add i64 %6, 8 %94 = inttoptr i64 %93 to i64* %95 = load i64, i64* %94, align 8 %96 = sext i32 %sv_1.0.reload to i64 %97 = mul nsw i64 %96, 65600 %98 = add i64 %97, %95 %99 = inttoptr i64 %98 to i32* %100 = call i64 @FUNC(i64 %3) %101 = trunc i64 %100 to i32 %102 = add i32 %101, -27 store i32 %102, i32* %99, align 4 store i32 %102, i32* %10, align 4 %103 = add i64 %98, 4 %104 = inttoptr i64 %103 to i32* %105 = load i32, i32* %104, align 4 %106 = icmp slt i32 %105, 1 br i1 %106, label LBL_24, label LBL_23 LBL_23: %107 = zext i32 %sv_1.0.reload to i64 %108 = call i64 @FUNC(i64 %6, i64 %107) br label LBL_24 LBL_24: %109 = add i64 %98, 56 %110 = and i64 %77, 4294967295 %111 = inttoptr i64 %109 to i64* %112 = call i64 @FUNC(i64 %3, i64* %111, i64 %110) %113 = trunc i64 %112 to i32 %114 = icmp sgt i32 %78, %113 br i1 %114, label LBL_25, label LBL_26 LBL_25: %115 = icmp slt i32 %113, 0 %116 = icmp eq i1 %115, false %117 = and i64 %112, 4294967295 %118 = select i1 %116, i64 4294967295, i64 %117 store i64 %118, i64* %rax.0.reg2mem br label LBL_46 LBL_26: %119 = add i64 %98, 8 %120 = inttoptr i64 %119 to i32* store i32 %78, i32* %120, align 4 %121 = add i64 %98, 12 %122 = inttoptr i64 %121 to i32* store i32 0, i32* %122, align 4 %123 = icmp sgt i32 %78, 0 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.04.reg2mem store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %123, label LBL_27, label LBL_28 LBL_27: %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %124 = add i64 %indvars.iv.reload, %109 %125 = inttoptr i64 %124 to i8* %126 = load i8, i8* %125, align 1 %127 = zext i8 %126 to i32 %128 = add i32 %sv_0.04.reload, %127 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %110 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %128, i32* %sv_0.04.reg2mem store i32 %128, i32* %sv_0.0.lcssa.reg2mem br i1 %exitcond, label LBL_28, label LBL_27 LBL_28: %129 = trunc i64 %73 to i32 %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %130 = urem i32 %129, 2 %131 = icmp eq i32 %130, 0 %132 = icmp eq i1 %131, false br i1 %132, label LBL_30, label LBL_29 LBL_29: %133 = add i64 %98, 48 %134 = inttoptr i64 %133 to i32* store i32 1, i32* %134, align 4 br label LBL_30 LBL_30: %135 = and i32 %129, 2 %136 = icmp eq i32 %135, 0 %137 = icmp eq i1 %136, false br i1 %137, label LBL_32, label LBL_31 LBL_31: %138 = add i64 %98, 44 %139 = inttoptr i64 %138 to i32* %140 = load i32, i32* %139, align 4 %141 = icmp eq i32 %140, 0 br i1 %141, label LBL_37, label LBL_32 LBL_32: %142 = load i32, i32* %104, align 4 %143 = icmp eq i32 %142, 0 %144 = icmp eq i1 %143, false br i1 %144, label LBL_38, label LBL_33 LBL_33: %145 = add i64 %98, 52 %146 = inttoptr i64 %145 to i32* br label LBL_35 LBL_34: %147 = add i32 %156, 1 store i32 %147, i32* %122, align 4 %148 = sext i32 %156 to i64 %149 = add i64 %109, %148 %150 = inttoptr i64 %149 to i8* %151 = load i8, i8* %150, align 1 %152 = zext i8 %151 to i32 %153 = load i32, i32* %146, align 4 %154 = add i32 %153, %152 store i32 %154, i32* %146, align 4 %155 = icmp eq i8 %151, -1 br i1 %155, label LBL_35, label LBL_36 LBL_35: %156 = load i32, i32* %122, align 4 %157 = load i32, i32* %120, align 4 %158 = icmp ult i32 %156, %157 br i1 %158, label LBL_34, label LBL_36 LBL_36: %159 = load i32, i32* %99, align 4 %160 = add i64 %98, 65592 %161 = inttoptr i64 %160 to i32* store i32 %159, i32* %161, align 4 br label LBL_38 LBL_37: store i32 0, i32* %104, align 4 %162 = load i32, i32* %99, align 4 %163 = add i64 %98, 65592 %164 = inttoptr i64 %163 to i32* store i32 %162, i32* %164, align 4 br label LBL_38 LBL_38: %165 = add i64 %98, 16 %166 = inttoptr i64 %165 to i32* %167 = load i32, i32* %166, align 4 %168 = add i64 %98, 20 %169 = inttoptr i64 %168 to i32* %170 = load i32, i32* %169, align 4 %171 = sub i32 %167, %170 %172 = zext i32 %171 to i64 %173 = sext i32 %sv_0.0.lcssa.reload to i64 %174 = icmp sgt i64 %173, %172 br i1 %174, label LBL_40, label LBL_38.LBL_42_crit_edge LBL_39: %.pre6 = add i64 %98, 24 %.pre7 = inttoptr i64 %.pre6 to i64* %.pre10 = load i64, i64* %.pre7, align 8 store i64 %.pre10, i64* %.reg2mem store i64* %.pre7, i64** %.pre-phi8.reg2mem store i32 %170, i32* %.reg2mem11 br label LBL_42 LBL_40: %175 = mul i32 %167, 2 store i32 %175, i32* %166, align 4 %176 = add i32 %175, 32 %177 = sext i32 %176 to i64 %178 = call i64 @FUNC(i64 %177) %179 = icmp eq i64 %178, 0 %180 = icmp eq i1 %179, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %180, label LBL_41, label LBL_46 LBL_41: %181 = load i32, i32* %169, align 4 %182 = add i64 %98, 24 %183 = inttoptr i64 %182 to i64* %184 = load i64, i64* %183, align 8 %185 = inttoptr i64 %178 to i64* %186 = inttoptr i64 %184 to i64* %187 = call i64* @memcpy(i64* %185, i64* %186, i32 %181) %188 = load i64, i64* %183, align 8 %189 = call i64 @FUNC(i64 %188) store i64 %178, i64* %183, align 8 %.pre = load i32, i32* %169, align 4 store i64 %178, i64* %.reg2mem store i64* %183, i64** %.pre-phi8.reg2mem store i32 %.pre, i32* %.reg2mem11 br label LBL_42 LBL_42: %.reload12 = load i32, i32* %.reg2mem11 %.reload = load i64, i64* %.reg2mem %190 = sext i32 %.reload12 to i64 %191 = add i64 %.reload, %190 %192 = zext i32 %sv_0.0.lcssa.reload to i64 %193 = inttoptr i64 %191 to i64* %194 = call i64 @FUNC(i64 %3, i64* %193, i64 %192) %195 = trunc i64 %194 to i32 %196 = icmp sgt i32 %sv_0.0.lcssa.reload, %195 br i1 %196, label LBL_43, label LBL_44 LBL_43: %197 = icmp slt i32 %195, 0 %198 = icmp eq i1 %197, false %199 = and i64 %194, 4294967295 %200 = select i1 %198, i64 4294967295, i64 %199 store i64 %200, i64* %rax.0.reg2mem br label LBL_46 LBL_44: %sext = mul i64 %74, 4294967296 %201 = ashr exact i64 %sext, 32 %.pre-phi8.reload = load i64*, i64** %.pre-phi8.reg2mem %202 = load i32, i32* %169, align 4 %203 = add i32 %202, %sv_0.0.lcssa.reload store i32 %203, i32* %169, align 4 %204 = add i64 %98, 32 %205 = inttoptr i64 %204 to i64* store i64 %201, i64* %205, align 8 %206 = add i64 %98, 40 %207 = inttoptr i64 %206 to i32* store i32 %129, i32* %207, align 4 %208 = load i64, i64* %.pre-phi8.reload, align 8 %209 = load i32, i32* %169, align 4 %210 = sext i32 %209 to i64 %211 = add i64 %208, %210 %212 = inttoptr i64 %211 to i64* %213 = call i64* @memset(i64* %212, i32 0, i32 32) %214 = icmp eq i64* %arg2, null store i64 0, i64* %rax.0.reg2mem br i1 %214, label LBL_46, label LBL_45 LBL_45: %215 = bitcast i64* %arg2 to i32* store i32 %sv_1.0.reload, i32* %215, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_46 LBL_46: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %175, { 1, 0 } uselistorder i32* %169, { 1, 3, 2, 0, 4, 5 } uselistorder i32 %156, { 2, 0, 1 } uselistorder i32 %sv_0.0.lcssa.reload, { 3, 0, 1, 2 } uselistorder i32 %129, { 1, 2, 0 } uselistorder i64 %98, { 4, 5, 3, 0, 6, 7, 1, 8, 2, 9, 10, 11, 12, 13, 15, 14 } uselistorder i32 %sv_1.0.reload, { 1, 2, 0 } uselistorder i64 %storemerge3.in.reload, { 1, 0 } uselistorder i64 %79, { 1, 0, 2, 3 } uselistorder i32 %78, { 0, 3, 2, 1 } uselistorder i32 %sv_2.0.reload, { 2, 3, 1, 0, 6, 5, 4, 7 } uselistorder i64 %rcx.0.reload, { 1, 2, 0 } uselistorder i32* %10, { 3, 0, 1, 2 } uselistorder i64* %sv_3, { 0, 2, 1 } uselistorder i64 %3, { 6, 7, 8, 4, 5, 3, 11, 10, 9, 13, 12, 2, 14, 1, 16, 15, 0, 17, 18 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %sv_2.0.reg2mem, { 2, 0, 1 } uselistorder i64* %rcx.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.3.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge3.in.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.04.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 9, 4, 10, 8, 7, 6, 1, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i64 4294967294, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i64 (i64)* @avio_r8, { 3, 2, 1, 0 } uselistorder i64 0, { 1, 0, 19, 2, 10, 11, 12, 13, 16, 14, 15, 17, 3, 4, 5, 6, 7, 8, 9, 18 } uselistorder i32 2, { 0, 2, 1, 3 } uselistorder i32 4, { 4, 5, 0, 1, 2, 3 } uselistorder i32 0, { 5, 7, 8, 9, 10, 11, 12, 0, 1, 4, 13, 14, 15, 16, 17, 18, 19, 6, 3, 20, 21, 2 } uselistorder i32 3, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @avio_read, { 2, 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder i64 8, { 1, 2, 0, 3 } uselistorder label LBL_46, { 2, 1, 4, 3, 5, 6, 7, 8, 0, 9 } uselistorder label LBL_42, { 1, 0 } uselistorder label LBL_36, { 1, 0 } uselistorder label LBL_35, { 1, 0 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
ixgbe_fwd_add_4632
ixgbe_fwd_add
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %5, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i32 %10, %7 %12 = icmp slt i32 %11, 128 store i64 -22, i64* %rax.0.reg2mem br i1 %12, label LBL_1, label LBL_11 LBL_1: %13 = ptrtoint i64* %arg2 to i64 %14 = add i64 %13, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %13, 12 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %16, %19 br i1 %20, label LBL_3, label LBL_2 LBL_2: %21 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %3, i64 %2, i64 %1) store i64 -22, i64* %rax.0.reg2mem br label LBL_11 LBL_3: %22 = icmp slt i32 %16, 5 %23 = icmp eq i32 %16, 0 %24 = icmp eq i1 %23, false %or.cond = icmp eq i1 %22, %24 br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %25 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1) store i64 -22, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %26 = add i64 %5, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = urem i32 %28, 2 %30 = icmp eq i32 %29, 0 %31 = icmp slt i32 %10, 16 %or.cond3.not = or i1 %31, %30 %32 = icmp slt i32 %10, 17 %or.cond4 = icmp eq i1 %32, %or.cond3.not store i64 -16, i64* %rax.0.reg2mem br i1 %or.cond4, label LBL_6, label LBL_11 LBL_6: %33 = call i64 @FUNC(i64 16, i64 0) %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false store i64 -12, i64* %rax.0.reg2mem br i1 %35, label LBL_7, label LBL_11 LBL_7: %36 = add i64 %5, 16 %37 = call i64 @FUNC(i64 %36, i64 32) %38 = load i32, i32* %9, align 4 %39 = add i32 %38, 1 store i32 %39, i32* %9, align 4 %40 = and i64 %37, 4294967295 %41 = call i64 @FUNC(i64 %40, i64 %36) %42 = call i64 @FUNC(i64 %36, i64 32) %43 = load i32, i32* %27, align 4 %44 = or i32 %43, 6 store i32 %44, i32* %27, align 4 %45 = trunc i64 %42 to i32 %46 = add i32 %45, 1 %47 = add i64 %5, 24 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 %49 = load i32, i32* %18, align 4 %50 = add i64 %5, 28 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = call i64 @FUNC(i64 %4) %53 = and i64 %52, 4294967295 %54 = call i64 @FUNC(i64 %4, i64 %53) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false store i64 %54, i64* %sv_0.0.reg2mem store i64 %53, i64* %rsi.0.reg2mem br i1 %57, label LBL_10, label LBL_8 LBL_8: %58 = inttoptr i64 %33 to i32* %59 = trunc i64 %37 to i32 store i32 %59, i32* %58, align 4 %60 = add i64 %33, 8 %61 = inttoptr i64 %60 to i64* store i64 %5, i64* %61, align 8 %62 = call i64 @FUNC(i64 %13, i64 %33) %63 = trunc i64 %62 to i32 %64 = icmp eq i32 %63, 0 %65 = icmp eq i1 %64, false store i64 %62, i64* %sv_0.0.reg2mem store i64 %33, i64* %rsi.0.reg2mem br i1 %65, label LBL_10, label LBL_9 LBL_9: %66 = call i64 @FUNC(i64 %13) store i64 %33, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %67 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i64 %rsi.0.reload, i64 %3, i64 %2, i64 %1) %68 = call i64 @FUNC(i64 %40, i64 %36) %69 = load i32, i32* %9, align 4 %70 = add i32 %69, -1 store i32 %70, i32* %9, align 4 %71 = call i64 @FUNC(i64 %33) %sext = mul i64 %sv_0.0.reload, 4294967296 %72 = ashr exact i64 %sext, 32 store i64 %72, 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 %37, { 1, 0 } uselistorder i64 %36, { 0, 2, 1, 3 } uselistorder i64 %33, { 2, 0, 1, 3, 4, 5, 6 } uselistorder i32* %27, { 1, 0, 2 } uselistorder i64 %13, { 1, 2, 0, 4, 3 } uselistorder i32 %10, { 2, 1, 0 } uselistorder i64 %4, { 1, 3, 2, 5, 4, 0, 6 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 2, 7, 4, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 0, 3 } uselistorder i64 32, { 0, 2, 3, 1 } uselistorder i64 16, { 1, 0 } uselistorder i32 0, { 3, 4, 5, 2, 6, 0, 1 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @netdev_info, { 2, 1, 0 } uselistorder label LBL_11, { 3, 4, 1, 0, 5, 6, 2 } }
0
BinRealVul
raw_recvmsg_13594
raw_recvmsg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i32 %arg5, i32 %arg6, i64* %arg7) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) store i32 -95, i32* %sv_1, align 4 %2 = urem i32 %arg6, 2 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %sv_0.2.reg2mem br i1 %4, label LBL_14, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg3 to i64 %6 = and i32 %arg6, 2 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %0, i64 %5, i64 %arg4) %9 = trunc i64 %8 to i32 store i32 %9, i32* %sv_1, align 4 store i64 0, i64* %sv_0.2.reg2mem br label LBL_14 LBL_3: %10 = call i64 @FUNC(i64 %0, i32 %arg6, i32 %arg5, i32* nonnull %sv_1) %11 = icmp eq i64 %10, 0 store i64 0, i64* %sv_0.2.reg2mem br i1 %11, label LBL_14, label LBL_4 LBL_4: %12 = inttoptr i64 %10 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp ugt i64 %13, %arg4 %15 = icmp eq i1 %14, false store i64 %13, i64* %sv_0.0.reg2mem br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = add i64 %5, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = or i32 %18, 4 store i32 %19, i32* %17, align 4 store i64 %arg4, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %20 = add i64 %5, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %10, i64 0, i64 %22, i64 %sv_0.0.reload) %24 = trunc i64 %23 to i32 store i32 %24, i32* %sv_1, align 4 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %26, label LBL_13, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 %5, i64 %0, i64 %10) %28 = icmp eq i64* %arg3, null br i1 %28, label LBL_9, label LBL_8 LBL_8: %29 = bitcast i64* %arg3 to i16* store i16 2, i16* %29, align 2 %30 = call i64 @FUNC(i64 %10) %31 = add i64 %30, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 store i64 %33, i64* %21, align 8 %34 = add i64 %5, 16 %35 = inttoptr i64 %34 to i16* store i16 0, i16* %35, align 2 %36 = add i64 %5, 18 %37 = inttoptr i64 %36 to i64* %38 = call i64* @memset(i64* %37, i32 0, i32 8) %39 = bitcast i64* %arg7 to i32* store i32 32, i32* %39, align 4 br label LBL_9 LBL_9: %40 = inttoptr i64 %1 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_11, label LBL_10 LBL_10: %43 = call i64 @FUNC(i64 %5, i64 %10) br label LBL_11 LBL_11: %44 = and i32 %arg6, 4 %45 = icmp eq i32 %44, 0 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %45, label LBL_13, label LBL_12 LBL_12: %46 = load i64, i64* %12, align 8 store i64 %46, i64* %sv_0.1.reg2mem br label LBL_13 LBL_13: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %47 = call i64 @FUNC(i64 %0, i64 %10) store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br label LBL_14 LBL_14: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %48 = load i32, i32* %sv_1, align 4 %49 = icmp eq i32 %48, 0 %50 = zext i32 %48 to i64 %storemerge = select i1 %49, i64 %sv_0.2.reload, i64 %50 ret i64 %storemerge uselistorder i64 %10, { 3, 1, 0, 2, 4, 5, 6 } uselistorder i64 %5, { 4, 2, 3, 5, 6, 1, 0 } uselistorder i32* %sv_1, { 1, 2, 0, 3, 4 } uselistorder i64 %0, { 2, 1, 3, 0, 4 } uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i32 2, { 1, 0 } uselistorder i32 %arg6, { 1, 3, 2, 0 } uselistorder label LBL_14, { 2, 0, 3, 1 } uselistorder label LBL_13, { 2, 0, 1 } }
0
BinRealVul
move_huge_pmd_4583
move_huge_pmd
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64* %arg6) local_unnamed_addr { LBL_0: %0 = urem i64 %arg3, 4096 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = urem i64 %arg4, 4096 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false %6 = sub i64 %arg5, %arg3 %7 = icmp ult i64 %6, 2097152 %or.cond = or i1 %5, %7 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %8 = ptrtoint i64* %arg2 to i64 %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = urem i64 %11, 2 %13 = icmp eq i64 %12, 0 %spec.select = zext i1 %13 to i64 ret i64 %spec.select LBL_3: ret i64 0 uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
session_pty_cleanup2_8461
session_pty_cleanup2
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = load i64, i64* %0 %7 = icmp eq i64* %arg1, null %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %6, i64 %2, i64 %1) store i64 %9, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %10 = trunc i64 %3 to i32 %11 = icmp eq i32 %10, -1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_11, label LBL_3 LBL_3: %12 = ptrtoint i64* %arg1 to i64 %13 = add i64 %12, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %12, 32 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %19, i64 %15, i64 %6, i64 %2, i64 %1) %21 = add i64 %12, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = add i64 %12, 24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = load i64, i64* %14, align 8 %31 = zext i32 %23 to i64 %32 = call i64 @FUNC(i64 %31, i64 %30, i64 %29) store i64 %30, i64* %rcx.0.reg2mem br label LBL_5 LBL_5: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %33 = call i32 @getuid() %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_7, label LBL_6 LBL_6: %36 = load i64, i64* %14, align 8 %37 = call i64 @FUNC(i64 %36) br label LBL_7 LBL_7: %38 = add i64 %12, 4 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp eq i32 %40, -1 br i1 %41, label LBL_10, label LBL_8 LBL_8: %42 = call i32 @close(i32 %40) %43 = icmp slt i32 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_10, label LBL_9 LBL_9: %45 = call i32* @__errno_location() %46 = load i32, i32* %45, align 4 %47 = call i8* @strerror(i32 %46) %48 = ptrtoint i8* %47 to i64 %49 = load i32, i32* %39, align 4 %50 = zext i32 %49 to i64 %51 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64 %50, i64 %48, i64 %rcx.0.reload, i64 %2, i64 %1) br label LBL_10 LBL_10: %52 = bitcast i64* %arg1 to i32* store i32 -1, i32* %52, align 4 store i64 %12, 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* %14, { 1, 0, 2 } uselistorder i64 %12, { 0, 1, 3, 2, 5, 4 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 } uselistorder i32 -1, { 2, 0, 1 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_11, { 1, 0, 2 } }
0
BinRealVul
atmci_prepare_data_18894
atmci_prepare_data
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = bitcast i64* %arg2 to i32* store i32 -1, i32* %2, align 4 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 store i64 %5, i64* %arg1, align 8 %6 = add i64 %1, 8 %7 = inttoptr i64 %6 to i64* store i64 %0, i64* %7, align 8 %8 = add i64 %1, 16 %9 = inttoptr i64 %8 to i64* store i64 0, i64* %9, align 8 %10 = add i64 %0, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = mul i32 %15, %12 %17 = icmp sgt i32 %16, 11 %18 = urem i32 %16, 4 %19 = icmp eq i32 %18, 0 %or.cond = icmp eq i1 %17, %19 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %20 = add i64 %1, 24 %21 = inttoptr i64 %20 to i8* store i8 1, i8* %21, align 1 br label LBL_2 LBL_2: %22 = add i64 %1, 28 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 %24 = add i64 %0, 12 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = and i32 %26, 4 %28 = icmp eq i32 %27, 0 %storemerge = select i1 %28, i64 2, i64 1 ret i64 %storemerge uselistorder i32 0, { 1, 2, 0 } uselistorder i32 4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
handle_control_authenticate_3939
handle_control_authenticate
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %r8.1.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i16 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %4 = trunc i64 %arg2 to i16 %sext = mul i64 %arg2, 281474976710656 %5 = ashr exact i64 %sext, 48 %6 = call i64 @FUNC() %7 = icmp eq i16 %4, 32 %8 = icmp eq i1 %7, false %9 = load i32, i32* @gv_0, align 4 %10 = icmp eq i32 %9, 0 %or.cond = or i1 %8, %10 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %11 = trunc i64 %5 to i32 %12 = inttoptr i64 %arg3 to i64* %13 = urem i32 %11, 65536 %14 = call i32 @memcmp(i64* nonnull @gv_1, i64* %12, i32 %13) %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_9, label LBL_2 LBL_2: %16 = inttoptr i64 %6 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_2.LBL_7_crit_edge, label LBL_4 LBL_3: %.pre = trunc i64 %5 to i16 store i16 %.pre, i16* %.pre-phi.reg2mem br label LBL_7 LBL_4: %19 = inttoptr i64 %17 to i8* %20 = call i32 @strlen(i8* %19) %21 = sext i32 %20 to i64 %22 = load i64, i64* %16, align 8 %23 = call i64 @FUNC(i64* nonnull %sv_2, i64 52, i64 %22, i64 %21) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_2, i64 0, i64 0), i64 %22, i64 %21, i64 %2, i64 %1) br label LBL_8 LBL_6: %28 = trunc i64 %5 to i16 %29 = ptrtoint i64* %sv_2 to i64 %30 = call i64 @FUNC(i64* nonnull %sv_1, i64 32, i64 %arg3, i16 %28, i64* nonnull %sv_2) %31 = ptrtoint i64* %sv_1 to i64 %32 = call i32 @memcmp(i64* nonnull %sv_0, i64* nonnull %sv_1, i32 32) %33 = icmp eq i32 %32, 0 store i16 %28, i16* %.pre-phi.reg2mem store i64 %31, i64* %rcx.0.reg2mem store i64 %29, i64* %r8.0.reg2mem store i64 %31, i64* %rcx.1.reg2mem store i64 %29, i64* %r8.1.reg2mem br i1 %33, label LBL_9, label LBL_7 LBL_7: %r8.0.reload = load i64, i64* %r8.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %.pre-phi.reload = load i16, i16* %.pre-phi.reg2mem %34 = icmp eq i16 %.pre-phi.reload, 0 store i64 %rcx.0.reload, i64* %rcx.1.reg2mem store i64 %r8.0.reload, i64* %r8.1.reg2mem br i1 %34, label LBL_9, label LBL_8 LBL_8: %35 = ptrtoint i32* %arg1 to i64 %36 = call i64 @FUNC(i64 %35, i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0)) br label LBL_10 LBL_9: %r8.1.reload = load i64, i64* %r8.1.reg2mem %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %37 = and i64 %3, 4294967295 %38 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_4, i64 0, i64 0), i64 %37, i64 %rcx.1.reload, i64 %r8.1.reload, i64 %1) %39 = ptrtoint i32* %arg1 to i64 %40 = call i64 @FUNC(i64 %39) %41 = add i64 %39, 4 %42 = inttoptr i64 %41 to i32* store i32 2, i32* %42, align 4 br label LBL_10 LBL_10: ret i64 0 uselistorder i64 %5, { 2, 0, 1 } uselistorder i64* %sv_2, { 0, 2, 1 } uselistorder i64* %sv_1, { 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rcx.1.reg2mem, { 0, 2, 1 } uselistorder i64* %r8.1.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @log_fn, { 1, 0 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
migrate_vma_unmap_12052
migrate_vma_unmap
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %rdi.3.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.36.reg2mem = alloca i64 %rdi.47.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i8 %sv_0.0.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i8 %sv_1.0.reg2mem = alloca i8 %sv_0.19.reg2mem = alloca i64 %sv_1.312.reg2mem = alloca i8 %rdi.213.reg2mem = alloca i64 %storemerge114.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC() %5 = icmp eq i64 %3, 0 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %5, label LBL_22, label LBL_1 LBL_1: %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %storemerge114.reg2mem store i64 %0, i64* %rdi.213.reg2mem store i8 1, i8* %sv_1.312.reg2mem store i64 0, i64* %sv_0.19.reg2mem br label LBL_2 LBL_2: %sv_0.19.reload = load i64, i64* %sv_0.19.reg2mem %sv_1.312.reload = load i8, i8* %sv_1.312.reg2mem %rdi.213.reload = load i64, i64* %rdi.213.reg2mem %storemerge114.reload = load i64, i64* %storemerge114.reg2mem %8 = mul i64 %storemerge114.reload, 8 %9 = add i64 %8, %rdi.213.reload %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = icmp eq i64 %12, 0 store i64 %sv_0.19.reload, i64* %sv_0.0.reg2mem store i8 %sv_1.312.reload, i8* %sv_1.2.reg2mem store i64 %11, i64* %rdi.1.reg2mem br i1 %13, label LBL_16, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %12) %15 = trunc i64 %14 to i8 %16 = icmp eq i8 %15, 1 store i8 %sv_1.312.reload, i8* %sv_1.1.reg2mem br i1 %16, label LBL_9, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %12) %18 = trunc i64 %17 to i8 %19 = icmp eq i8 %18, 1 %20 = icmp eq i8 %sv_1.312.reload, 0 %or.cond = or i1 %20, %19 store i8 %sv_1.312.reload, i8* %sv_1.0.reg2mem br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %21 = call i64 @FUNC() store i8 0, i8* %sv_1.0.reg2mem br label LBL_6 LBL_6: %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem %22 = call i64 @FUNC(i64 %12) %23 = trunc i64 %22 to i8 %24 = icmp eq i8 %23, 0 br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = add i64 %12, %8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = and i64 %27, -2 store i64 %28, i64* %26, align 8 %29 = load i64, i64* %7, align 8 %30 = add i64 %29, -1 store i64 %30, i64* %7, align 8 %31 = add i64 %sv_0.19.reload, 1 store i64 %31, i64* %sv_0.0.reg2mem store i8 %sv_1.0.reload, i8* %sv_1.2.reg2mem store i64 %12, i64* %rdi.1.reg2mem br label LBL_16 LBL_8: %32 = call i64 @FUNC(i64 %12) store i8 %sv_1.0.reload, i8* %sv_1.1.reg2mem br label LBL_9 LBL_9: %sv_1.1.reload = load i8, i8* %sv_1.1.reg2mem %33 = call i64 @FUNC(i64 %12) %34 = call i64 @FUNC(i64 %33) %35 = trunc i64 %34 to i8 %36 = icmp eq i8 %35, 0 br i1 %36, label LBL_11, label LBL_10 LBL_10: %37 = call i64 @FUNC(i64 %33, i64 0) br label LBL_11 LBL_11: %38 = call i64 @FUNC(i64 %12) %39 = trunc i64 %38 to i8 %40 = icmp eq i8 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_13, label LBL_12 LBL_12: %42 = call i64 @FUNC(i64 %12) %43 = trunc i64 %42 to i8 %44 = icmp eq i8 %43, 1 store i64 %sv_0.19.reload, i64* %sv_0.0.reg2mem store i8 %sv_1.1.reload, i8* %sv_1.2.reg2mem store i64 %12, i64* %rdi.1.reg2mem br i1 %44, label LBL_16, label LBL_13 LBL_13: %45 = call i64 @FUNC(i64 %12) %46 = trunc i64 %45 to i8 %47 = icmp eq i8 %46, 1 br i1 %47, label LBL_15, label LBL_14 LBL_14: %48 = call i64 @FUNC(i64 %12) %49 = call i64 @FUNC(i64 %12) br label LBL_15 LBL_15: %50 = add i64 %12, %8 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = and i64 %52, -2 store i64 %53, i64* %51, align 8 %54 = load i64, i64* %7, align 8 %55 = add i64 %54, -1 store i64 %55, i64* %7, align 8 %56 = add i64 %sv_0.19.reload, 1 store i64 %56, i64* %sv_0.0.reg2mem store i8 %sv_1.1.reload, i8* %sv_1.2.reg2mem store i64 %12, i64* %rdi.1.reg2mem br label LBL_16 LBL_16: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %sv_1.2.reload = load i8, i8* %sv_1.2.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %57 = add nuw i64 %storemerge114.reload, 1 %exitcond = icmp eq i64 %57, %3 store i64 %57, i64* %storemerge114.reg2mem store i64 %rdi.1.reload, i64* %rdi.213.reg2mem store i8 %sv_1.2.reload, i8* %sv_1.312.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.19.reg2mem br i1 %exitcond, label LBL_17, label LBL_2 LBL_17: %58 = icmp eq i64 %sv_0.0.reload, 0 %59 = icmp eq i1 %58, false store i64 0, i64* %storemerge8.reg2mem store i64 %rdi.1.reload, i64* %rdi.47.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.36.reg2mem store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %59, label LBL_18, label LBL_22 LBL_18: %sv_0.36.reload = load i64, i64* %sv_0.36.reg2mem %rdi.47.reload = load i64, i64* %rdi.47.reg2mem %storemerge8.reload = load i64, i64* %storemerge8.reg2mem %60 = mul i64 %storemerge8.reload, 8 %61 = add i64 %60, %rdi.47.reload %62 = inttoptr i64 %61 to i64* %63 = load i64, i64* %62, align 8 %64 = call i64 @FUNC(i64 %63) %65 = icmp eq i64 %64, 0 store i64 %sv_0.36.reload, i64* %sv_0.2.reg2mem store i64 %63, i64* %rdi.3.reg2mem br i1 %65, label LBL_21, label LBL_19 LBL_19: %66 = add i64 %63, %60 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = urem i64 %68, 2 %70 = icmp eq i64 %69, 0 %71 = icmp eq i1 %70, false store i64 %sv_0.36.reload, i64* %sv_0.2.reg2mem store i64 %63, i64* %rdi.3.reg2mem br i1 %71, label LBL_21, label LBL_20 LBL_20: %72 = call i64 @FUNC(i64 %64) %73 = call i64 @FUNC(i64 %72, i64 %72, i64 0) %74 = add i64 %72, %60 %75 = inttoptr i64 %74 to i64* store i64 0, i64* %75, align 8 %76 = call i64 @FUNC(i64 %72) %77 = call i64 @FUNC(i64 %72) %78 = add i64 %sv_0.36.reload, -1 store i64 %78, i64* %sv_0.2.reg2mem store i64 %72, i64* %rdi.3.reg2mem br label LBL_21 LBL_21: %rdi.3.reload = load i64, i64* %rdi.3.reg2mem %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %79 = add nuw i64 %storemerge8.reload, 1 %80 = icmp ult i64 %79, %3 %81 = icmp eq i64 %sv_0.2.reload, 0 %82 = icmp eq i1 %81, false %or.cond4 = icmp eq i1 %80, %82 store i64 %79, i64* %storemerge8.reg2mem store i64 %rdi.3.reload, i64* %rdi.47.reg2mem store i64 %sv_0.2.reload, i64* %sv_0.36.reg2mem store i64 %79, i64* %storemerge.lcssa.reg2mem br i1 %or.cond4, label LBL_18, label LBL_22 LBL_22: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %sv_0.2.reload, { 1, 0 } uselistorder i64 %72, { 0, 2, 3, 1, 5, 4 } uselistorder i64 %63, { 0, 2, 1, 3 } uselistorder i64 %60, { 2, 1, 0 } uselistorder i64 %sv_0.36.reload, { 2, 0, 1 } uselistorder i8 %sv_1.1.reload, { 1, 0 } uselistorder i8 %sv_1.0.reload, { 1, 0 } uselistorder i64 %12, { 2, 3, 10, 9, 11, 1, 8, 12, 13, 5, 0, 4, 6, 7, 14, 15 } uselistorder i64 %8, { 2, 1, 0 } uselistorder i8 %sv_1.312.reload, { 2, 3, 1, 0 } uselistorder i64 %sv_0.19.reload, { 3, 0, 2, 1 } uselistorder i64* %7, { 1, 0, 2, 3 } uselistorder i64 %3, { 2, 0, 1 } uselistorder i64* %storemerge114.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.213.reg2mem, { 1, 0, 2 } uselistorder i8* %sv_1.312.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.19.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i8* %sv_1.2.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %rdi.1.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %storemerge8.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.47.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.36.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 1, 3, 2 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i64 (i64)* @page_folio, { 1, 0 } uselistorder i64 1, { 1, 2, 3, 4, 0 } uselistorder i8 0, { 2, 3, 4, 0, 1 } uselistorder i64 (i64)* @is_zone_device_page, { 1, 0 } uselistorder i64 (i64)* @migrate_pfn_to_page, { 1, 0 } uselistorder i8 1, { 1, 2, 3, 4, 0 } uselistorder label LBL_22, { 0, 2, 1 } uselistorder label LBL_21, { 2, 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_16, { 1, 2, 3, 0 } }
1
BinRealVul
ras_getcmap_17330
ras_getcmap
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge29.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %.pre-phi24.reg2mem = alloca i32 %indvars.iv12.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i32* %arg2 to i64 %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_18, label LBL_1 LBL_1: %7 = icmp eq i32 %5, 1 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_18, label LBL_2 LBL_2: %9 = ptrtoint i64* %arg3 to i64 %10 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %9, i64 %3, i64 %2, i64 %1) %11 = add i64 %4, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = urem i32 %13, 32 %15 = shl i32 1, %14 %16 = icmp slt i32 %15, 257 br i1 %16, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i32 51, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0)) br label LBL_4 LBL_4: %17 = add i64 %4, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = sdiv i32 %19, 3 %21 = icmp eq i32 %14, 31 store i32 %20, i32* %.pre-phi24.reg2mem store i32 %19, i32* %.reg2mem br i1 %21, label LBL_8, label LBL_5 LBL_5: %22 = sext i32 %15 to i64 store i64 0, i64* %indvars.iv12.reg2mem br label LBL_6 LBL_6: %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %23 = add i64 %indvars.iv12.reload, %9 %24 = inttoptr i64 %23 to i8* store i8 0, i8* %24, align 1 %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1 %25 = icmp slt i64 %indvars.iv.next13, %22 store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem br i1 %25, label LBL_6, label LBL_7 LBL_7: %.pre = load i32, i32* %18, align 4 %.pre23 = sdiv i32 %.pre, 3 store i32 %.pre23, i32* %.pre-phi24.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_8 LBL_8: %.reload = load i32, i32* %.reg2mem %.pre-phi24.reload = load i32, i32* %.pre-phi24.reg2mem %26 = mul i32 %.pre-phi24.reload, 3 %27 = icmp eq i32 %.reload, %26 %28 = icmp eq i1 %27, false %29 = icmp slt i32 %.reload, 0 %or.cond = or i1 %29, %28 %30 = shl i32 3, %14 %31 = icmp ugt i32 %.reload, %30 %or.cond6 = or i1 %31, %or.cond store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond6, label LBL_18, label LBL_9 LBL_9: %32 = ptrtoint i64* %arg1 to i64 %33 = icmp sgt i32 %19, 2 %34 = sext i32 %20 to i64 store i32 0, i32* %storemerge29.reg2mem br label LBL_17 LBL_10: %35 = call i64 @FUNC(i64 %32) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, -1 %38 = icmp eq i1 %37, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %38, label LBL_11, label LBL_18 LBL_11: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.0.reg2mem switch i32 %storemerge29.reload, label LBL_15 [ i32 2, label LBL_14 i32 0, label LBL_12 i32 1, label LBL_13 ] LBL_12: %39 = urem i32 %36, 256 store i32 %39, i32* %sv_0.0.reg2mem br label LBL_15 LBL_13: %40 = udiv i32 %36, 256 %41 = urem i32 %40, 256 store i32 %41, i32* %sv_0.0.reg2mem br label LBL_15 LBL_14: %42 = udiv i32 %36, 65536 %43 = urem i32 %42, 256 store i32 %43, i32* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %44 = add i64 %indvars.iv.reload, %9 %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 %47 = trunc i32 %sv_0.0.reload to i8 %48 = or i8 %46, %47 store i8 %48, i8* %45, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %49 = icmp slt i64 %indvars.iv.next, %34 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %49, label LBL_10, label LBL_16 LBL_16: %50 = add nuw nsw i32 %storemerge29.reload, 1 %51 = icmp ult i32 %50, 3 store i32 %50, i32* %storemerge29.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %51, label LBL_17, label LBL_18 LBL_17: %storemerge29.reload = load i32, i32* %storemerge29.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %33, label LBL_10, label LBL_16 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge29.reload, { 1, 0 } uselistorder i32 %20, { 1, 0 } uselistorder i32 %19, { 1, 0, 2 } uselistorder i32 %14, { 1, 2, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i64 %4, { 2, 3, 0, 1 } uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 5, 4, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 256, { 0, 2, 1, 3 } uselistorder i32 2, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i32 3, { 3, 2, 4, 0, 1 } uselistorder i64 4294967295, { 0, 2, 1 } uselistorder label LBL_18, { 0, 1, 4, 3, 2 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 1, 2, 3, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
netlink_frame_flush_dcache_10175
netlink_frame_flush_dcache
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 32768 %2 = call i64 @FUNC(i64 %1) %factor = mul i64 %0, 2 %3 = add i64 %factor, 32775 %4 = call i64 @FUNC(i64 %3) %5 = icmp ugt i64 %2, %4 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) br label LBL_1 LBL_2: ret i64 %2 uselistorder i64 %2, { 2, 0, 1 } uselistorder i64 (i64)* @pgvec_to_page, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
hbitmap_set_16583
hbitmap_set
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %arg2, -1 %2 = add i64 %1, %arg3 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = urem i64 %5, 64 %7 = lshr i64 %2, %6 %8 = lshr i64 %arg2, %6 %9 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %arg3, i64 %8, i64 %7) %10 = load i64, i64* %4, align 8 %11 = urem i64 %10, 64 %12 = lshr i64 %arg2, %11 %13 = lshr i64 %2, %11 %14 = call i64 @FUNC(i64 %0, i64 %12, i64 %13) %15 = add i64 %0, 1 %16 = sub i64 %15, %14 %17 = sub i64 %16, %12 %18 = add i64 %17, %13 store i64 %18, i64* %arg1, align 8 %19 = call i64 @FUNC(i64 %0, i64 9, i64 %12, i64 %13) ret i64 %19 uselistorder i64 %13, { 1, 0, 2 } uselistorder i64 %12, { 1, 0, 2 } uselistorder i64 %11, { 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3, 4 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 3, 0 } }
1
BinRealVul
GetCode__5634
GetCode_
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i32* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i32 %sv_1.03.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i32 %.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = icmp eq i32 %arg4, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = bitcast i64* %arg2 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i32* store i32 2, i32* %8, align 4 %9 = add i64 %2, 12 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_2: %11 = trunc i64 %1 to i32 %12 = add i32 %11, %arg3 %13 = add i64 %2, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp ult i32 %12, %15 store i32 %12, i32* %.pre-phi.reg2mem store i32 %11, i32* %.reg2mem br i1 %16, label LBL_7, label LBL_3 LBL_3: %17 = add i64 %2, 12 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_4, label LBL_14 LBL_4: %21 = ptrtoint i64* %arg1 to i64 %22 = add i64 %2, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i32 %24, -2 %26 = sext i32 %25 to i64 %27 = add i64 %2, 16 %28 = add i64 %27, %26 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = inttoptr i64 %27 to i8* store i8 %30, i8* %31, align 1 %32 = load i32, i32* %23, align 4 %33 = add i32 %32, -1 %34 = sext i32 %33 to i64 %35 = add i64 %27, %34 %36 = inttoptr i64 %35 to i8* %37 = load i8, i8* %36, align 1 %38 = add i64 %2, 17 %39 = inttoptr i64 %38 to i8* store i8 %37, i8* %39, align 1 %40 = add i64 %2, 18 %41 = ptrtoint i32* %arg5 to i64 %42 = call i64 @FUNC(i64 %21, i64 %40, i64 %41) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 %45 = icmp slt i32 %43, 0 %46 = icmp eq i1 %45, false %47 = icmp eq i1 %44, false %48 = icmp eq i1 %46, %47 br i1 %48, label LBL_6, label LBL_5 LBL_5: store i32 1, i32* %18, align 4 br label LBL_6 LBL_6: %49 = bitcast i64* %rsi to i32* %50 = add i32 %43, 2 store i32 %50, i32* %23, align 4 %51 = load i32, i32* %49, align 8 %52 = load i32, i32* %14, align 4 %53 = add i32 %51, 16 %54 = sub i32 %53, %52 %55 = bitcast i64* %arg2 to i32* store i32 %54, i32* %55, align 4 %56 = mul i32 %43, 8 %57 = add i32 %56, 16 store i32 %57, i32* %14, align 4 %.pre = load i32, i32* %49, align 8 %.pre5 = add i32 %.pre, %arg3 store i32 %.pre5, i32* %.pre-phi.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_7 LBL_7: %.reload = load i32, i32* %.reg2mem %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %58 = icmp slt i32 %.pre-phi.reload, 2049 store i64 4294967295, i64* %sv_0.1.reg2mem br i1 %58, label LBL_8, label LBL_13 LBL_8: %59 = icmp sgt i32 %arg3, 0 store i64 0, i64* %sv_0.1.reg2mem br i1 %59, label LBL_9, label LBL_13 LBL_9: %60 = add i64 %2, 16 store i32 0, i32* %storemerge4.reg2mem store i32 %.reload, i32* %sv_1.03.reg2mem store i32 0, i32* %sv_0.02.reg2mem br label LBL_10 LBL_10: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %61 = sdiv i32 %sv_1.03.reload, 128 %62 = sext i32 %61 to i64 %63 = add i64 %60, %62 %64 = inttoptr i64 %63 to i8* %65 = load i8, i8* %64, align 1 %66 = zext i8 %65 to i64 %67 = urem i32 %sv_1.03.reload, 8 %68 = icmp eq i32 %67, 0 store i64 %66, i64* %rdx.0.reg2mem br i1 %68, label LBL_11, label %69 LBL_11: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %73 = urem i64 %rdx.0.reload, 2 %74 = icmp eq i64 %73, 0 %75 = icmp eq i1 %74, false %76 = zext i1 %75 to i32 %77 = urem i32 %storemerge4.reload, 32 %78 = shl i32 %76, %77 %79 = or i32 %78, %sv_0.02.reload %80 = add i32 %sv_1.03.reload, 1 %81 = add nuw nsw i32 %storemerge4.reload, 1 %exitcond = icmp eq i32 %81, %arg3 store i32 %81, i32* %storemerge4.reg2mem store i32 %80, i32* %sv_1.03.reg2mem store i32 %79, i32* %sv_0.02.reg2mem br i1 %exitcond, label LBL_12, label LBL_10 LBL_12: %phitmp = zext i32 %79 to i64 store i64 %phitmp, i64* %sv_0.1.reg2mem br label LBL_13 LBL_13: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %82 = add i32 %.reload, %arg3 %83 = bitcast i64* %arg2 to i32* store i32 %82, i32* %83, align 4 store i64 %sv_0.1.reload, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %79, { 1, 0 } uselistorder i32 %67, { 1, 0 } uselistorder i32 %sv_1.03.reload, { 0, 2, 1 } uselistorder i32 %.reload, { 1, 0 } uselistorder i32 %43, { 0, 1, 3, 2 } uselistorder i64 %27, { 0, 2, 1 } uselistorder i64 %2, { 5, 3, 4, 8, 9, 7, 6, 0, 1, 2 } uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.03.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 16, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 %arg3, { 0, 3, 4, 1, 2 } uselistorder label LBL_14, { 1, 0, 2 } uselistorder label LBL_11, { 1, 0 } }
0
BinRealVul
esp_dma_enable_9416
esp_dma_enable
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = bitcast i64* %arg1 to i32* store i32 1, i32* %3, align 4 %4 = call i64 @FUNC() %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_4, label LBL_2 LBL_2: store i64 0, i64* %6, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %9 = call i64 @FUNC() %10 = bitcast i64* %arg1 to i32* store i32 0, i32* %10, align 4 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 %0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } }
0
BinRealVul
vp9_receive_compressed_data_18725
vp9_receive_compressed_data
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 48 %2 = inttoptr i64 %1 to i32* store i32 0, i32* %2, align 4 %3 = icmp eq i64 %arg2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = bitcast i64* %rdi to i32* %6 = load i32, i32* %5, align 8 %7 = icmp eq i32 %6, 2147483647 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i32* store i32 1, i32* %11, align 4 br label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %0) %13 = trunc i64 %12 to i32 %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = trunc i64 %0 to i32 %17 = add i32 %16, 56 %18 = insertvalue [8 x i32] undef, i32 %17, 0 %19 = insertvalue %__jmp_buf_tag undef, [8 x i32] %18, 0 %20 = insertvalue [1 x %__jmp_buf_tag] undef, %__jmp_buf_tag %19, 0 %21 = call i32 @_setjmp([1 x %__jmp_buf_tag] %20) %22 = icmp eq i32 %21, 0 %23 = add i64 %0, 256 %24 = inttoptr i64 %23 to i32* br i1 %22, label LBL_10, label LBL_4 LBL_4: store i32 0, i32* %24, align 4 %25 = call i64 @FUNC() %26 = bitcast i64* %rdi to i32* %27 = load i32, i32* %26, align 8 %28 = icmp eq i32 %27, 2147483647 br i1 %28, label LBL_7, label LBL_5 LBL_5: %29 = add i64 %0, 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = inttoptr i64 %31 to i32* store i32 1, i32* %33, align 4 br label LBL_7 LBL_7: %34 = load i32, i32* %15, align 4 %35 = icmp slt i32 %34, 1 store i64 4294967295, i64* %storemerge.reg2mem br i1 %35, label LBL_17, label LBL_8 LBL_8: %36 = sext i32 %34 to i64 %37 = mul i64 %36, 16 %38 = add i64 %0, 280 %39 = add i64 %38, %37 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp slt i32 %41, 1 store i64 4294967295, i64* %storemerge.reg2mem br i1 %42, label LBL_17, label LBL_9 LBL_9: %43 = add i32 %41, -1 store i32 %43, i32* %40, align 4 store i64 4294967295, i64* %storemerge.reg2mem br label LBL_17 LBL_10: %44 = ptrtoint i64* %arg3 to i64 store i32 1, i32* %24, align 4 %45 = add i64 %44, %arg2 %46 = call i64 @FUNC(i64 %0, i64 %44, i64 %45, i64 %44) %47 = call i64 @FUNC(i64 %0) %48 = call i64 @FUNC() %49 = add i64 %0, 20 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = add i64 %0, 28 %53 = inttoptr i64 %52 to i32* store i32 %51, i32* %53, align 4 %54 = add i64 %0, 24 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = add i64 %0, 32 %58 = inttoptr i64 %57 to i32* store i32 %56, i32* %58, align 4 %59 = add i64 %0, 40 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false %.pre = add i64 %0, 36 %.pre1 = inttoptr i64 %.pre to i32* br i1 %63, label LBL_12, label LBL_11 LBL_11: %64 = load i32, i32* %.pre1, align 4 %65 = add i64 %0, 296 %66 = inttoptr i64 %65 to i32* store i32 %64, i32* %66, align 4 br label LBL_12 LBL_12: %67 = load i32, i32* %.pre1, align 4 %68 = icmp eq i32 %67, 0 br i1 %68, label LBL_16, label LBL_13 LBL_13: %69 = load i32, i32* %60, align 4 %70 = icmp eq i32 %69, 0 %71 = icmp eq i1 %70, false br i1 %71, label LBL_15, label LBL_14 LBL_14: %72 = call i64 @FUNC(i64 %0) br label LBL_15 LBL_15: %73 = add i64 %0, 44 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = add i32 %75, 1 store i32 %76, i32* %74, align 4 br label LBL_16 LBL_16: %77 = add i64 %0, 304 %78 = inttoptr i64 %77 to i32* store i32 0, i32* %78, align 4 store i32 0, i32* %24, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_17 LBL_17: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %44, { 1, 2, 0 } uselistorder i32* %24, { 0, 2, 1 } uselistorder i64 %0, { 5, 4, 6, 8, 0, 7, 10, 9, 12, 11, 14, 13, 1, 3, 15, 16, 17, 18, 2, 19 } uselistorder i64* %rdi, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 ()* @vp9_clear_system_state, { 1, 0 } uselistorder label LBL_17, { 3, 2, 1, 0 } uselistorder label LBL_12, { 1, 0 } }
1
BinRealVul
net_l2tpv3_cleanup_16799
net_l2tpv3_cleanup
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, -40 %1 = inttoptr i64 %0 to i32* %2 = call i64 @FUNC(i64 %arg1) %3 = call i64 @FUNC(i64 %0, i64 0) %4 = call i64 @FUNC(i64 %0, i64 0) %5 = load i32, i32* %1, align 4 %6 = icmp slt i32 %5, 1 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i32 @close(i32 %5) br label LBL_2 LBL_2: %8 = add i64 %arg1, -32 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 10, i64 1024) %12 = add i64 %arg1, -24 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %arg1, -16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = add i64 %arg1, -8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) ret i64 %23 uselistorder i64 %0, { 1, 0, 2 } uselistorder i64 (i64)* @g_free, { 2, 1, 0 } uselistorder i64 %arg1, { 0, 1, 2, 3, 5, 4 } }
1
BinRealVul
s_mp_mul_high_digs_fast_12118
s_mp_mul_high_digs_fast
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.025.reg2mem = alloca i64 %storemerge14.in26.reg2mem = alloca i64 %.reg2mem55 = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.028.reg2mem = alloca i32 %sv_2.0.in29.reg2mem = alloca i64 %sv_3.0.in30.reg2mem = alloca i64 %storemerge2231.reg2mem = alloca i32 %sv_1.134.reg2mem = alloca i32 %storemerge21.in35.reg2mem = alloca i64 %storemerge2136.reg2mem = alloca i64 %.reg2mem53 = alloca i32 %.reg2mem51 = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %rdx = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %sv_4 = alloca i64, align 8 %5 = trunc i64 %1 to i32 %6 = trunc i64 %2 to i32 %7 = add i32 %6, %5 %8 = add i64 %4, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = sext i32 %7 to i64 %13 = icmp sgt i64 %12, %11 br i1 %13, label LBL_1, label LBL_3 LBL_1: %14 = zext i32 %7 to i64 %15 = call i64 @FUNC(i64 %4, i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = and i64 %15, 4294967295 store i64 %18, i64* %storemerge.reg2mem br label LBL_15 LBL_3: %19 = ptrtoint i64* %sv_4 to i64 %sext = mul i64 %arg4, 4294967296 %20 = trunc i64 %3 to i32 %storemerge2133 = ashr exact i64 %sext, 32 %21 = trunc i64 %storemerge2133 to i32 %22 = icmp sgt i32 %7, %21 store i32 %20, i32* %.reg2mem55 br i1 %22, label LBL_4, label LBL_11 LBL_4: %23 = bitcast i64* %rdi to i32* %24 = bitcast i64* %rsi to i32* %25 = ptrtoint i32* %arg1 to i64 %26 = add i64 %25, 8 %27 = inttoptr i64 %26 to i64* %28 = ptrtoint i32* %arg2 to i64 %29 = add i64 %28, 8 %30 = inttoptr i64 %29 to i64* %31 = add i64 %19, -464 store i32 %5, i32* %.reg2mem store i32 %6, i32* %.reg2mem51 store i32 %21, i32* %.reg2mem53 store i64 %storemerge2133, i64* %storemerge2136.reg2mem store i64 %sext, i64* %storemerge21.in35.reg2mem store i32 0, i32* %sv_1.134.reg2mem br label LBL_5 LBL_5: %sv_1.134.reload = load i32, i32* %sv_1.134.reg2mem %storemerge21.in35.reload = load i64, i64* %storemerge21.in35.reg2mem %storemerge2136.reload = load i64, i64* %storemerge2136.reg2mem %.reload54 = load i32, i32* %.reg2mem53 %.reload52 = load i32, i32* %.reg2mem51 %.reload = load i32, i32* %.reg2mem %32 = zext i32 %.reload52 to i64 %33 = icmp slt i64 %storemerge2136.reload, %32 %34 = and i64 %storemerge2136.reload, 4294967295 %35 = add i32 %.reload52, -1 %36 = zext i32 %35 to i64 %storemerge24 = select i1 %33, i64 %34, i64 %36 %37 = trunc i64 %storemerge24 to i32 %sext16 = mul i64 %storemerge24, 4294967296 %38 = ashr exact i64 %sext16, 32 %39 = sub i32 %.reload54, %37 %40 = sub i32 %.reload, %39 %41 = zext i32 %40 to i64 %42 = icmp slt i64 %38, %41 %43 = add nsw i64 %38, 1 %storemerge23 = select i1 %42, i64 %43, i64 %41 %44 = trunc i64 %storemerge23 to i32 %45 = icmp sgt i32 %44, 0 store i32 %sv_1.134.reload, i32* %sv_1.0.lcssa.reg2mem br i1 %45, label LBL_6, label LBL_8 LBL_6: %46 = ashr exact i64 %sext16, 30 %47 = load i64, i64* %30, align 8 %48 = add i64 %47, %46 %49 = sext i32 %39 to i64 %50 = mul i64 %49, 4 %51 = load i64, i64* %27, align 8 %52 = add i64 %51, %50 store i32 0, i32* %storemerge2231.reg2mem store i64 %48, i64* %sv_3.0.in30.reg2mem store i64 %52, i64* %sv_2.0.in29.reg2mem store i32 %sv_1.134.reload, i32* %sv_1.028.reg2mem br label LBL_7 LBL_7: %sv_1.028.reload = load i32, i32* %sv_1.028.reg2mem %sv_2.0.in29.reload = load i64, i64* %sv_2.0.in29.reg2mem %sv_3.0.in30.reload = load i64, i64* %sv_3.0.in30.reg2mem %storemerge2231.reload = load i32, i32* %storemerge2231.reg2mem %sv_3.0 = inttoptr i64 %sv_3.0.in30.reload to i32* %sv_2.0 = inttoptr i64 %sv_2.0.in29.reload to i32* %53 = add i64 %sv_2.0.in29.reload, 4 %54 = load i32, i32* %sv_2.0, align 4 %55 = add i64 %sv_3.0.in30.reload, -4 %56 = load i32, i32* %sv_3.0, align 4 %57 = mul i32 %56, %54 %58 = add i32 %57, %sv_1.028.reload %59 = add nuw nsw i32 %storemerge2231.reload, 1 %exitcond = icmp eq i32 %59, %44 store i32 %59, i32* %storemerge2231.reg2mem store i64 %55, i64* %sv_3.0.in30.reg2mem store i64 %53, i64* %sv_2.0.in29.reg2mem store i32 %58, i32* %sv_1.028.reg2mem store i32 %58, i32* %sv_1.0.lcssa.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %60 = urem i32 %sv_1.0.lcssa.reload, 1073741824 %61 = ashr exact i64 %storemerge21.in35.reload, 30 %62 = add i64 %31, %61 %63 = inttoptr i64 %62 to i32* store i32 %60, i32* %63, align 4 %sext20 = add i64 %storemerge21.in35.reload, 4294967296 %storemerge21 = ashr exact i64 %sext20, 32 %64 = trunc i64 %storemerge21 to i32 %65 = icmp sgt i32 %7, %64 br i1 %65, label LBL_8.LBL_5_crit_edge, label LBL_10 LBL_9: %66 = ashr i32 %sv_1.0.lcssa.reload, 30 %.pre = load i32, i32* %24, align 8 %.pre41 = load i32, i32* %23, align 8 store i32 %.pre41, i32* %.reg2mem store i32 %.pre, i32* %.reg2mem51 store i32 %64, i32* %.reg2mem53 store i64 %storemerge21, i64* %storemerge2136.reg2mem store i64 %sext20, i64* %storemerge21.in35.reg2mem store i32 %66, i32* %sv_1.134.reg2mem br label LBL_5 LBL_10: %.phi.trans.insert = bitcast i64* %rdx to i32* %.pre42 = load i32, i32* %.phi.trans.insert, align 8 store i32 %.pre42, i32* %.reg2mem55 br label LBL_11 LBL_11: %.reload56 = load i32, i32* %.reg2mem55 %67 = bitcast i64* %arg3 to i32* store i32 %7, i32* %67, align 4 %68 = add i64 %4, 8 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = ashr exact i64 %sext, 30 %72 = add i64 %70, %71 %73 = trunc i64 %arg4 to i32 %74 = icmp sgt i32 %7, %73 store i64 %72, i64* %sv_0.0.lcssa.reg2mem store i32 %73, i32* %.lcssa.reg2mem br i1 %74, label LBL_12, label LBL_14 LBL_12: %75 = add i64 %19, -464 store i64 %sext, i64* %storemerge14.in26.reg2mem store i64 %72, i64* %sv_0.025.reg2mem br label LBL_13 LBL_13: %sv_0.025.reload = load i64, i64* %sv_0.025.reg2mem %storemerge14.in26.reload = load i64, i64* %storemerge14.in26.reg2mem %76 = add i64 %sv_0.025.reload, 4 %77 = ashr exact i64 %storemerge14.in26.reload, 30 %78 = add i64 %75, %77 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = inttoptr i64 %sv_0.025.reload to i32* store i32 %80, i32* %81, align 4 %sext13 = add i64 %storemerge14.in26.reload, 4294967296 %82 = udiv i64 %sext13, 4294967296 %83 = trunc i64 %82 to i32 %84 = icmp sgt i32 %7, %83 store i64 %sext13, i64* %storemerge14.in26.reg2mem store i64 %76, i64* %sv_0.025.reg2mem store i64 %76, i64* %sv_0.0.lcssa.reg2mem store i32 %83, i32* %.lcssa.reg2mem br i1 %84, label LBL_13, label LBL_14 LBL_14: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %85 = sub i32 %.reload56, %.lcssa.reload %86 = mul i32 %85, 4 %87 = inttoptr i64 %sv_0.0.lcssa.reload to i64* %88 = call i64* @memset(i64* %87, i32 0, i32 %86) %89 = call i64 @FUNC(i64 %4) store i64 0, i64* %storemerge.reg2mem br label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %72, { 1, 0 } uselistorder i64 %sext16, { 1, 0 } uselistorder i32 %sv_1.134.reload, { 1, 0 } uselistorder i64 %sext, { 0, 2, 1, 3 } uselistorder i32 %7, { 2, 3, 1, 0, 4, 5, 6 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem51, { 1, 0, 2 } uselistorder i32* %.reg2mem53, { 1, 0, 2 } uselistorder i64* %storemerge2136.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge21.in35.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.134.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2231.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.0.in30.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.in29.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.028.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem55, { 0, 2, 1 } uselistorder i64* %storemerge14.in26.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.025.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 -4, { 1, 0 } uselistorder i64 30, { 2, 3, 0, 1 } uselistorder i64 8, { 2, 0, 1, 3, 4 } uselistorder i64 32, { 1, 2, 0, 3 } uselistorder i64 4294967296, { 3, 5, 4, 0, 1, 2 } uselistorder i64 4294967295, { 2, 1, 0 } uselistorder i64 %arg4, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
snd_jack_dev_register_18835
snd_jack_dev_register
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i32 %indvars.iv.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 %3, 64 %5 = inttoptr i64 %3 to i8* %6 = inttoptr i64 %4 to i8* %7 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %5, i32 64, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i8* %6) %8 = add i64 %3, 96 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i64* store i64 %3, i64* %11, align 8 %12 = load i64, i64* %9, align 8 %13 = add i64 %12, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_2, label LBL_1 LBL_1: %18 = call i64 @FUNC(i64 %0) store i64 %18, i64* %14, align 8 br label LBL_2 LBL_2: %19 = add i64 %3, 104 %20 = inttoptr i64 %19 to i32* %21 = add i64 %3, 108 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %22 = trunc i64 %indvars.iv.reload to i32 %23 = lshr i32 1, %22 %24 = load i32, i32* %20, align 4 %25 = and i32 %23, %24 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_7, label LBL_4 LBL_4: %27 = mul i64 %indvars.iv.reload, 4 %28 = add i64 %21, %27 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false store i32 %30, i32* %.reg2mem br i1 %32, label LBL_6, label LBL_5 LBL_5: %33 = add i32 %22, 256 store i32 %33, i32* %29, align 4 store i32 %33, i32* %.reg2mem br label LBL_6 LBL_6: %.reload = load i32, i32* %.reg2mem %34 = load i64, i64* %9, align 8 %35 = call i64 @FUNC(i64 %34, i64 1, i32 %.reload) br label LBL_7 LBL_7: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_8, label LBL_3 LBL_8: %36 = load i64, i64* %9, align 8 %37 = call i64 @FUNC(i64 %36) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_10, label LBL_9 LBL_9: %41 = add i64 %3, 140 %42 = inttoptr i64 %41 to i32* store i32 1, i32* %42, align 4 br label LBL_10 LBL_10: %43 = and i64 %37, 4294967295 ret i64 %43 uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %3, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
v9fs_mkdir_966
v9fs_mkdir
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg1 to i64 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %sv_5 = alloca i32, align 4 %sv_6 = alloca i64, align 8 %6 = call i64 @FUNC(i64* nonnull %sv_6) %7 = bitcast i32* %sv_3 to i64* %8 = bitcast i32* %sv_4 to i64* %9 = bitcast i32* %sv_5 to i64* %10 = call i64 @FUNC(i64 %3, i64 7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %8, i64* nonnull %sv_6, i64* nonnull %9, i64* nonnull %7) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 store i32 %11, i32* %sv_0.1.reg2mem br i1 %12, label LBL_7, label LBL_1 LBL_1: %13 = load i32, i32* %sv_3, align 4 %14 = load i32, i32* %sv_5, align 4 %15 = load i64, i64* %sv_6, align 8 %16 = load i32, i32* %sv_4, align 4 %17 = zext i32 %16 to i64 %18 = add i64 %3, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %13 to i64 %22 = zext i32 %14 to i64 %23 = and i64 %2, 4294967295 %sext = mul i64 %10, 4294967296 %24 = ashr exact i64 %sext, 32 %25 = call i64 @FUNC(i64 %23, i32 %20, i64 %17, i64 %15, i64 %22, i64 %21, i64 %24) %26 = load i64, i64* %sv_6, align 8 %27 = call i64 @FUNC(i64 %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 store i32 -2, i32* %sv_0.1.reg2mem br i1 %29, label LBL_2, label LBL_7 LBL_2: %30 = load i32, i32* %sv_4, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %3, i64 %31) %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false store i32 -2, i32* %sv_0.1.reg2mem br i1 %34, label LBL_3, label LBL_7 LBL_3: %35 = inttoptr i64 %32 to i32* %36 = load i32, i32* %sv_3, align 4 %37 = zext i32 %36 to i64 %38 = load i32, i32* %35, align 4 %39 = load i32, i32* %sv_5, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %3, i64 %32, i64* nonnull %sv_6, i64 %40, i32 %38, i64 %37) %42 = trunc i64 %41 to i32 %43 = icmp slt i32 %42, 0 store i32 %42, i32* %sv_0.0.reg2mem br i1 %43, label LBL_6, label LBL_4 LBL_4: %44 = bitcast i32* %sv_1 to i64* %45 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %44) %46 = call i64 @FUNC(i64 %3, i64 7, i64 4202639, i64* nonnull %44) %47 = trunc i64 %46 to i32 %48 = icmp slt i32 %47, 0 store i32 %47, i32* %sv_0.0.reg2mem br i1 %48, label LBL_6, label LBL_5 LBL_5: %49 = add i32 %47, 7 %50 = load i32, i32* %sv_1, align 4 %51 = zext i32 %50 to i64 %52 = load i32, i32* %19, align 4 %53 = zext i32 %49 to i64 %54 = zext i32 %5 to i64 %55 = sext i32 %49 to i64 %56 = call i64 @FUNC(i64 %23, i32 %52, i64 %51, i32 %4, i64 %54, i64 %53, i64 %55) store i32 %49, i32* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %57 = call i64 @FUNC(i64 %3, i64 %32) store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %58 = zext i32 %sv_0.1.reload to i64 %59 = call i64 @FUNC(i64 %3, i64 %58) %60 = call i64 @FUNC(i64* nonnull %sv_6) ret i64 %60 uselistorder i32 %49, { 0, 2, 1 } uselistorder i32 %47, { 1, 0, 2 } uselistorder i64 %23, { 1, 0 } uselistorder i64* %sv_6, { 0, 1, 4, 5, 2, 3 } uselistorder i32* %sv_5, { 1, 0, 2 } uselistorder i32* %sv_4, { 1, 0, 2 } uselistorder i32* %sv_3, { 2, 1, 0 } uselistorder i64 %3, { 5, 1, 0, 2, 3, 4, 6 } uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 1, 2, 4 } uselistorder i32* %1, { 1, 0 } uselistorder label LBL_7, { 3, 0, 1, 2 } uselistorder label LBL_6, { 2, 0, 1 } }
0
BinRealVul
aio_notify_2753
aio_notify
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 4 %7 = call i64 @FUNC(i64 %6) store i64 %7, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
enable_each_ist_13337
enable_each_ist
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = call i64 @FUNC(i64 %0, i64 1) %3 = call i64 @FUNC(i64 %0, i64 2) ret i64 %3 uselistorder i64 (i64, i64)* @set_ist, { 2, 1, 0 } }
1
BinRealVul
dns_HTTPS_add_ipv4hint_6887
dns_HTTPS_add_ipv4hint
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i16, align 2 %1 = call i64 @FUNC(i64 %0) %2 = mul i64 %arg3, 4 %3 = add i64 %2, 4 %4 = and i64 %3, 4294967292 %5 = icmp slt i64 %1, %4 store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_4, label LBL_1 LBL_1: store i16 1, i16* %sv_0, align 2 %6 = call i64 @FUNC(i64 %0, i16* nonnull %sv_0, i64 2) %arg3.tr = trunc i64 %arg3 to i16 %7 = mul i16 %arg3.tr, 4 store i16 %7, i16* %sv_0, align 2 %8 = call i64 @FUNC(i64 %0, i16* nonnull %sv_0, i64 2) %9 = trunc i64 %arg3 to i32 %10 = icmp sgt i32 %9, 0 store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_2, label LBL_4 LBL_2: %11 = ptrtoint i64* %arg2 to i64 %wide.trip.count = and i64 %arg3, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %12 = mul i64 %indvars.iv.reload, 8 %13 = add i64 %12, %11 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i16* %17 = call i64 @FUNC(i64 %0, i16* %16, i64 4) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i16* %sv_0, { 0, 2, 1, 3 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i16*, i64)* @dns_add_rr_nested_memcpy, { 2, 1, 0 } uselistorder i64 4, { 2, 1, 0 } uselistorder i64 %arg3, { 1, 3, 2, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
parse_content_type_18740
parse_content_type
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 %6, i64 0) %8 = call i64 @FUNC(i64* nonnull %sv_0) %9 = call i64 @FUNC(i64 64) %10 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9) %11 = call i64 @FUNC(i64 %9) %12 = call i64 @FUNC(i64 %11) store i64 %12, i64* %arg1, align 8 store i64 %12, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
impeg2d_dec_pic_ext_data_6167
impeg2d_dec_pic_ext_data
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.18.reg2mem = alloca i32 %.reg2mem = alloca i1 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 4) %storemerge6 = trunc i64 %3 to i32 %4 = icmp ne i32 %storemerge6, 181 %5 = icmp eq i32 %storemerge6, 178 %6 = icmp eq i1 %5, false %or.cond7 = icmp eq i1 %4, %6 store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %or.cond7, label LBL_13, label LBL_1 LBL_1: %7 = trunc i64 %1 to i32 %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i32* store i1 %6, i1* %.reg2mem store i32 0, i32* %sv_0.18.reg2mem br label LBL_12 LBL_2: %.reload = load i1, i1* %.reg2mem br i1 %.reload, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_4: %11 = call i64 @FUNC(i64 %2, i64 4) %12 = call i64 @FUNC(i64 %2, i64 2) %13 = trunc i64 %12 to i32 %14 = and i64 %12, 4294967295 store i64 %14, i64* @0, align 8 store i32 1, i32* %sv_0.0.reg2mem store i32 1, i32* %sv_0.0.reg2mem switch i32 %13, label LBL_10 [ i32 0, label LBL_5 i32 1, label LBL_6 i32 2, label LBL_7 i32 3, label LBL_8 i32 4, label LBL_9 i32 5, label LBL_11 i32 6, label LBL_11 ] LBL_5: %15 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_6: %16 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_7: %17 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_8: %18 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_9: %19 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_10: %20 = call i64 @FUNC(i64 %2, i64 2) %21 = call i64 @FUNC(i64 %2) store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %22 = call i64 @FUNC(i64 %2, i64 4) %storemerge = trunc i64 %22 to i32 %23 = icmp ne i32 %storemerge, 181 %24 = icmp eq i32 %storemerge, 178 %25 = icmp eq i1 %24, false %or.cond = icmp eq i1 %23, %25 %26 = icmp eq i32 %sv_0.0.reload, 0 %27 = icmp eq i1 %26, false %or.cond5 = or i1 %27, %or.cond store i1 %25, i1* %.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.18.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %or.cond5, label LBL_13, label LBL_12 LBL_12: %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem %28 = load i32, i32* %9, align 4 %29 = icmp ugt i32 %28, %7 store i32 %sv_0.18.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %29, label LBL_2, label LBL_13 LBL_13: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %30 = zext i32 %sv_0.1.lcssa.reload to i64 ret i64 %30 uselistorder i32 %sv_0.18.reload, { 0, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 %2, { 1, 7, 8, 2, 3, 4, 5, 6, 11, 10, 0, 9, 12 } uselistorder i32* %sv_0.0.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 1, 2, 3 } uselistorder i1* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64)* @impeg2d_bit_stream_flush, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 178, { 1, 0 } uselistorder i32 181, { 1, 0 } uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 2, 1, 0 } uselistorder i64 4, { 0, 1, 3, 2 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 7, 2, 3, 4, 5, 6, 1, 0, 8 } }
0
BinRealVul
tty_ldisc_try_get_5377
tty_ldisc_try_get
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 16, i64 0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 4294967284) store i64 %5, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %sext = mul i64 %arg1, 4294967296 %6 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %7 = inttoptr i64 %2 to i64* store i64 0, i64* %7, align 8 %8 = ashr exact i64 %sext, 29 %9 = add i64 %8, ptrtoint (i64* @gv_1 to i64) %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 store i64 4294967274, i64* %sv_0.0.ph.reg2mem br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = inttoptr i64 %11 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 4294967285, i64* %sv_0.0.ph.reg2mem br i1 %18, label LBL_4, label LBL_5 LBL_4: %19 = add i64 %11, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i32 %21, 1 store i32 %22, i32* %20, align 4 store i64 %11, i64* %7, align 8 %23 = add i64 %2, 8 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 %25 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) store i64 %2, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %26 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %27 = call i64 @FUNC(i64 %2) %28 = call i64 @FUNC(i64 %sv_0.0.ph.reload) store i64 %28, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 2, 0, 1, 3, 4 } uselistorder i64 %1, { 2, 0, 1 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @ERR_PTR, { 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
fill_kobj_path_6781
fill_kobj_path
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i32 %storemerge13.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = trunc i64 %arg3 to i32 %7 = add i32 %6, -1 store i64 %3, i64* %storemerge13.reg2mem store i32 %7, i32* %sv_0.02.reg2mem br label LBL_2 LBL_2: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %8 = call i64 @FUNC(i64 %storemerge13.reload) %9 = inttoptr i64 %8 to i8* %10 = call i32 @strlen(i8* %9) %11 = sub i32 %sv_0.02.reload, %10 %12 = icmp eq i32 %11, 0 %13 = icmp slt i32 %11, 0 %14 = icmp eq i1 %13, false %15 = icmp eq i1 %12, false %16 = icmp eq i1 %14, %15 store i64 4294967274, i64* %storemerge.reg2mem br i1 %16, label LBL_3, label LBL_5 LBL_3: %17 = call i64 @FUNC(i64 %storemerge13.reload) %18 = sext i32 %11 to i64 %19 = add i64 %18, %2 %20 = inttoptr i64 %19 to i64* %21 = inttoptr i64 %17 to i64* %22 = call i64* @memcpy(i64* %20, i64* %21, i32 %10) %23 = add i32 %11, -1 %24 = sext i32 %23 to i64 %25 = add i64 %24, %2 %26 = inttoptr i64 %25 to i8* store i8 47, i8* %26, align 1 %27 = inttoptr i64 %storemerge13.reload to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 %30 = icmp eq i1 %29, false store i64 %28, i64* %storemerge13.reg2mem store i32 %23, i32* %sv_0.02.reg2mem br i1 %30, label LBL_2, label LBL_4 LBL_4: %31 = call i64 @FUNC(i64 %3) %32 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %31, i64 %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %2, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %11, { 0, 1, 3, 2 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 0, 1 } uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kobject_name, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
dvb_usbv2_adapter_exit_10097
dvb_usbv2_adapter_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1) %6 = add i64 %4, 8 store i64 9, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = mul i64 %indvars.iv.reload, 8 %8 = add i64 %6, %7 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %8) %13 = call i64 @FUNC(i64 %8) %14 = call i64 @FUNC(i64 %8) %15 = call i64 @FUNC(i64 %8) br label LBL_3 LBL_3: %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1 %16 = icmp eq i64 %indvars.iv.reload, 0 %17 = icmp eq i1 %16, false store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %17, label LBL_1, label LBL_4 LBL_4: ret i64 0 uselistorder i64 %8, { 3, 2, 1, 0, 4 } uselistorder i64 %indvars.iv.reload, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
del_match_busid_13346
del_match_busid
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %4, label LBL_5, label LBL_1 LBL_1: %sext = mul i64 %2, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = mul nsw i64 %5, 36 %7 = add i64 %6, ptrtoint (i32** @gv_1 to i64) %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 1 %11 = icmp eq i1 %10, false store i32 %9, i32* %.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = add i64 %6, ptrtoint (i64* @gv_2 to i64) %13 = inttoptr i64 %12 to i64* %14 = call i64* @memset(i64* %13, i32 0, i32 32) %.pre = load i32, i32* %8, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_3 LBL_3: %.reload = load i32, i32* %.reg2mem %.off = add i32 %.reload, -1 %switch = icmp ult i32 %.off, 2 store i64 0, i64* %sv_0.0.reg2mem br i1 %switch, label LBL_5, label LBL_4 LBL_4: store i32 3, i32* %8, align 4 store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %15 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %sv_0.0.reload uselistorder i32* %8, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_5, { 2, 0, 1 } }
1
BinRealVul
jbd2_journal_start_reserved_18204
jbd2_journal_start_reserved
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %0) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %10 = load i64, i64* @gv_0, align 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = and i64 %12, 4294967295 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %0) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_7 LBL_4: store i64 0, i64* %arg1, align 8 %18 = call i64 @FUNC(i64 %0, i64 %0, i64 0) %19 = trunc i64 %18 to i32 %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %0) %23 = and i64 %18, 4294967295 store i64 %23, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %24 = trunc i64 %arg2 to i32 %25 = add i64 %0, 12 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = trunc i64 %arg3 to i32 %28 = add i64 %0, 16 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 2, 3, 5, 4, 6, 0, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64)* @jbd2_journal_free_reserved, { 1, 0 } uselistorder i64 4294967291, { 1, 0 } uselistorder i64 (i64)* @WARN_ON, { 1, 0 } }
1
BinRealVul
rose_start_hbtimer_11897
rose_start_hbtimer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %1 to i64* store i64 4198698, i64* %3, align 8 %4 = add i64 %1, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = load i64, i64* @gv_0, align 8 %8 = add i64 %7, %6 %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = call i64 @FUNC(i64 %1) ret i64 %11 }
1
BinRealVul
cbs_h2645_write_nal_unit_17918
cbs_h2645_write_nal_unit
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %.pre-phi1.reg2mem = alloca i64* %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = add i64 %3, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i64* %arg1, null %10 = icmp eq i1 %9, false %.pre = add i64 %3, 8 br i1 %10, label LBL_4, label LBL_1 LBL_1: %11 = inttoptr i64 %.pre to i64* store i64 1048576, i64* %11, align 8 store i64 1048576, i64* %.reg2mem store i64* %11, i64** %.pre-phi1.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %12 = call i64 @FUNC(i64 %3, i64 %.reload) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %.pre-phi1.reload = load i64*, i64** %.pre-phi1.reg2mem %16 = load i64, i64* %.pre-phi1.reload, align 8 %17 = call i64 @FUNC(i64 %16, i64 0, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 %2, i64 %1) %18 = and i64 %12, 4294967295 store i64 %18, i64* %rax.0.reg2mem br label LBL_15 LBL_4: %19 = ptrtoint i64* %arg2 to i64 %20 = inttoptr i64 %.pre to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 %21) %23 = icmp eq i32 %8, 1 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %3, i64 %19, i64* nonnull %sv_0) store i64 %25, i64* %storemerge.in.reg2mem br label LBL_7 LBL_6: %26 = call i64 @FUNC(i64 %3, i64 %19, i64* nonnull %sv_0) store i64 %26, i64* %storemerge.in.reg2mem br label LBL_7 LBL_7: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = trunc i64 %storemerge.in.reload to i32 %27 = icmp eq i32 %storemerge, -28 %28 = icmp eq i1 %27, false br i1 %28, label LBL_9, label LBL_8 LBL_8: %29 = load i64, i64* %20, align 8 %30 = mul i64 %29, 2 store i64 %30, i64* %20, align 8 store i64 %30, i64* %.reg2mem store i64* %20, i64** %.pre-phi1.reg2mem br label LBL_2 LBL_9: %31 = call i64 @FUNC(i64* nonnull %sv_0) %sext = mul i64 %31, 4294967296 %32 = ashr exact i64 %sext, 32 %33 = load i64, i64* %20, align 8 %34 = mul i64 %33, 8 %35 = icmp ule i64 %32, %34 %36 = zext i1 %35 to i64 %37 = call i64 @FUNC(i64 %36) %38 = call i64 @FUNC(i64* nonnull %sv_0) %39 = urem i64 %38, 8 %40 = icmp eq i64 %39, 0 br i1 %40, label LBL_11, label LBL_10 LBL_10: %41 = call i64 @FUNC(i64* nonnull %sv_0) %42 = trunc i64 %41 to i32 %43 = ashr i32 %42, 31 %44 = udiv i32 %43, 536870912 %45 = add i32 %44, %42 %46 = urem i32 %45, 8 %47 = or i32 %44, 8 %48 = sub nsw i32 %47, %46 %49 = add i64 %19, 16 %50 = inttoptr i64 %49 to i32* store i32 %48, i32* %50, align 4 br label LBL_12 LBL_11: %51 = add i64 %19, 16 %52 = inttoptr i64 %51 to i32* store i32 0, i32* %52, align 4 br label LBL_12 LBL_12: %53 = call i64 @FUNC(i64* nonnull %sv_0) %54 = trunc i64 %53 to i32 %55 = sdiv i32 %54, 16384 %56 = sext i32 %55 to i64 %57 = add i64 %19, 8 %58 = inttoptr i64 %57 to i64* store i64 %56, i64* %58, align 8 %59 = call i64 @FUNC(i64* nonnull %sv_0) %60 = load i64, i64* %58, align 8 %61 = call i64 @FUNC(i64 %19, i64 %60) %62 = trunc i64 %61 to i32 %63 = icmp slt i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_14, label LBL_13 LBL_13: %65 = and i64 %61, 4294967295 store i64 %65, i64* %rax.0.reg2mem br label LBL_15 LBL_14: %66 = load i64, i64* %58, align 8 %67 = inttoptr i64 %60 to i64* %68 = trunc i64 %66 to i32 %69 = call i64* @memcpy(i64* %67, i64* %arg2, i32 %68) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %20, { 3, 0, 2, 1, 4 } uselistorder i64 %19, { 1, 2, 3, 0, 4, 5 } uselistorder i64 %16, { 1, 0 } uselistorder i64 %3, { 3, 4, 1, 2, 0, 5 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64** %.pre-phi1.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i64 (i64*)* @put_bits_count, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @av_reallocp, { 1, 0 } uselistorder i64 8, { 3, 1, 0, 2, 4, 5 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
gen_read_xer_14495
gen_read_xer
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = call i64 @FUNC() %2 = call i64 @FUNC() %3 = call i64 @FUNC() %4 = call i64 @FUNC(i64 1) %5 = call i64 @FUNC(i64 2) %6 = call i64 @FUNC(i64 3) %7 = call i64 @FUNC() %8 = call i64 @FUNC() %9 = call i64 @FUNC() %10 = call i64 @FUNC() %11 = call i64 @FUNC() %12 = call i64 @FUNC() ret i64 %12 uselistorder i64 ()* @tcg_temp_free, { 2, 1, 0 } uselistorder i64 ()* @tcg_gen_or_tl, { 2, 1, 0 } uselistorder i64 (i64)* @tcg_gen_shli_tl, { 2, 1, 0 } uselistorder i64 ()* @tcg_temp_new, { 2, 1, 0 } }
1