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_frame_5171
decode_frame
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.112.reg2mem = alloca i32 %sv_1.113.reg2mem = alloca i32 %sv_2.114.reg2mem = alloca i32 %sv_3.0.in15.reg2mem = alloca i64 %sv_4.017.reg2mem = alloca i64 %sv_5.019.reg2mem = alloca i64 %storemerge21.reg2mem = alloca i32 %.reg2mem41 = alloca i32 %.reg2mem39 = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %.reg2mem37 = alloca i32 %.reg2mem35 = alloca i32 %sv_0.06.reg2mem = alloca i32 %sv_1.07.reg2mem = alloca i32 %sv_2.08.reg2mem = alloca i32 %storemerge49.reg2mem = alloca i32 %.reg2mem33 = alloca i64 %rsi.1.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = ptrtoint i64* %arg4 to i64 %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i32 %10, 32 %12 = sext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i32 -12, i32* %rax.0.shrunk.reg2mem br label LBL_20 LBL_2: %17 = ptrtoint i64* %arg2 to i64 %18 = call i64 @FUNC(i64 %4, i64 %17, 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_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %17, i64 %2, i64 %1) %23 = call i64 @FUNC(i64 %13) store i32 %19, i32* %rax.0.shrunk.reg2mem br label LBL_20 LBL_4: %24 = add i64 %17, 36 %25 = inttoptr i64 %24 to i32* store i32 1, i32* %25, align 4 %26 = icmp sgt i32 %10, 8 br i1 %26, label LBL_5, label LBL_7 LBL_5: %wide.trip.count = zext i32 %10 to i64 store i64 8, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %27 = add i64 %indvars.iv.reload, %3 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = add i64 %indvars.iv.reload, %13 %31 = zext i8 %29 to i64 %32 = add i64 %31, ptrtoint (i8** @gv_2 to i64) %33 = inttoptr i64 %32 to i8* %34 = load i8, i8* %33, align 1 %35 = inttoptr i64 %30 to i8* store i8 %34, i8* %35, align 1 %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_7, label LBL_6 LBL_7: %36 = inttoptr i64 %7 to i32* %37 = mul i32 %10, 8 %38 = add i32 %37, -64 %39 = zext i32 %38 to i64 %40 = add i64 %13, 8 %41 = add i64 %7, 8 %42 = call i64 @FUNC(i64 %41, i64 %40, i64 %39) %43 = add i64 %3, 2 %44 = inttoptr i64 %43 to i8* %45 = load i8, i8* %44, align 1 %.mask = and i8 %45, -16 %46 = icmp eq i8 %.mask, 96 %47 = icmp eq i1 %46, false br i1 %47, label LBL_9, label LBL_8 LBL_8: store i32 2, i32* %36, align 4 store i64 %40, i64* %rsi.1.reg2mem br label LBL_13 LBL_9: %48 = udiv i8 %45, 16 %49 = zext i8 %48 to i32 %50 = sub nsw i32 8, %49 store i32 %50, i32* %36, align 4 %51 = icmp slt i32 %50, 5 store i32 %50, i32* %.reg2mem store i64 %40, i64* %rsi.0.reg2mem br i1 %51, label LBL_11, label LBL_10 LBL_10: %52 = load i8, i8* %44, align 1 %53 = udiv i8 %52, 16 %54 = zext i8 %53 to i64 %55 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i64 %54, i64 %40, i64 %2, i64 %1) store i32 4, i32* %36, align 4 store i32 4, i32* %.reg2mem store i64 ptrtoint ([36 x i8]* @gv_3 to i64), i64* %rsi.0.reg2mem br label LBL_11 LBL_11: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %.reload = load i32, i32* %.reg2mem %56 = icmp eq i32 %.reload, 0 %57 = icmp slt i32 %.reload, 0 %58 = icmp eq i1 %57, false %59 = icmp eq i1 %56, false %60 = icmp eq i1 %58, %59 store i64 %rsi.0.reload, i64* %rsi.1.reg2mem br i1 %60, label LBL_13, label LBL_12 LBL_12: %61 = load i8, i8* %44, align 1 %62 = udiv i8 %61, 16 %63 = zext i8 %62 to i64 %64 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i64 %63, i64 %40, i64 %2, i64 %1) store i32 1, i32* %36, align 4 store i64 ptrtoint ([36 x i8]* @gv_3 to i64), i64* %rsi.1.reg2mem br label LBL_13 LBL_13: %65 = add i64 %4, 4 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = icmp eq i32 %67, 0 br i1 %68, label LBL_19, label LBL_14 LBL_14: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %69 = add i64 %17, 16 %70 = inttoptr i64 %69 to i64* %71 = load i64, i64* %70, align 8 %72 = add i64 %17, 8 %73 = inttoptr i64 %72 to i64* %74 = load i64, i64* %73, align 8 %75 = bitcast i64* %rdi to i32* %76 = add i64 %17, 24 %77 = inttoptr i64 %76 to i32* %78 = add i64 %17, 28 %79 = inttoptr i64 %78 to i32* %80 = add i64 %17, 32 %81 = inttoptr i64 %80 to i32* %.pre = load i32, i32* %75, align 8 store i32 %67, i32* %.reg2mem39 store i32 %.pre, i32* %.reg2mem41 store i32 0, i32* %storemerge21.reg2mem store i64 %71, i64* %sv_5.019.reg2mem store i64 %74, i64* %sv_4.017.reg2mem store i64 %rsi.1.reload, i64* %sv_3.0.in15.reg2mem store i32 0, i32* %sv_2.114.reg2mem store i32 0, i32* %sv_1.113.reg2mem store i32 0, i32* %sv_0.112.reg2mem br label LBL_18 LBL_15: %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem %sv_2.08.reload = load i32, i32* %sv_2.08.reg2mem %storemerge49.reload = load i32, i32* %storemerge49.reg2mem %.reload34 = load i64, i64* %.reg2mem33 %82 = zext i32 %sv_0.06.reload to i64 %83 = call i64 @FUNC(i64 %7, i64 %82) %84 = mul i32 %storemerge49.reload, 2 %85 = sext i32 %84 to i64 %86 = add i64 %sv_3.0.in15.reload, %85 %87 = trunc i64 %83 to i8 %88 = inttoptr i64 %86 to i8* store i8 %87, i8* %88, align 1 %89 = zext i32 %sv_1.07.reload to i64 %90 = call i64 @FUNC(i64 %7, i64 %89) %91 = add i64 %.reload34, %sv_4.017.reload %92 = trunc i64 %90 to i8 %93 = inttoptr i64 %91 to i8* store i8 %92, i8* %93, align 1 %94 = trunc i64 %90 to i32 %95 = urem i32 %94, 256 %96 = load i8, i8* %88, align 1 %97 = zext i8 %96 to i64 %98 = call i64 @FUNC(i64 %7, i64 %97) %99 = or i32 %84, 1 %100 = sext i32 %99 to i64 %101 = add i64 %sv_3.0.in15.reload, %100 %102 = trunc i64 %98 to i8 %103 = inttoptr i64 %101 to i8* store i8 %102, i8* %103, align 1 %104 = trunc i64 %98 to i32 %105 = urem i32 %104, 256 %106 = zext i32 %sv_2.08.reload to i64 %107 = call i64 @FUNC(i64 %7, i64 %106) %108 = add i64 %.reload34, %sv_5.019.reload %109 = trunc i64 %107 to i8 %110 = inttoptr i64 %108 to i8* store i8 %109, i8* %110, align 1 %111 = trunc i64 %107 to i32 %112 = urem i32 %111, 256 %113 = add i32 %storemerge49.reload, 1 %114 = load i32, i32* %75, align 8 %115 = icmp slt i32 %114, 0 %116 = zext i1 %115 to i32 %117 = add i32 %114, %116 %118 = ashr i32 %117, 1 %119 = zext i32 %118 to i64 %120 = sext i32 %113 to i64 %121 = icmp slt i64 %120, %119 store i64 %120, i64* %.reg2mem33 store i32 %113, i32* %storemerge49.reg2mem store i32 %112, i32* %sv_2.08.reg2mem store i32 %95, i32* %sv_1.07.reg2mem store i32 %105, i32* %sv_0.06.reg2mem br i1 %121, label LBL_15, label LBL_16 LBL_16: %.pre26 = load i32, i32* %66, align 4 store i32 %.pre26, i32* %.reg2mem35 store i32 %114, i32* %.reg2mem37 store i32 %105, i32* %sv_0.0.lcssa.reg2mem store i32 %95, i32* %sv_1.0.lcssa.reg2mem store i32 %112, i32* %sv_2.0.lcssa.reg2mem br label LBL_17 LBL_17: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %.reload38 = load i32, i32* %.reg2mem37 %.reload36 = load i32, i32* %.reg2mem35 %122 = load i32, i32* %77, align 4 %123 = sext i32 %122 to i64 %124 = add i64 %sv_3.0.in15.reload, %123 %125 = load i32, i32* %79, align 4 %126 = sext i32 %125 to i64 %127 = add i64 %sv_4.017.reload, %126 %128 = load i32, i32* %81, align 4 %129 = sext i32 %128 to i64 %130 = add i64 %sv_5.019.reload, %129 %131 = add i32 %storemerge21.reload, 1 %132 = zext i32 %.reload36 to i64 %133 = sext i32 %131 to i64 %134 = icmp slt i64 %133, %132 store i32 %.reload36, i32* %.reg2mem39 store i32 %.reload38, i32* %.reg2mem41 store i32 %131, i32* %storemerge21.reg2mem store i64 %130, i64* %sv_5.019.reg2mem store i64 %127, i64* %sv_4.017.reg2mem store i64 %124, i64* %sv_3.0.in15.reg2mem store i32 %sv_2.0.lcssa.reload, i32* %sv_2.114.reg2mem store i32 %sv_1.0.lcssa.reload, i32* %sv_1.113.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.112.reg2mem br i1 %134, label LBL_18, label LBL_19 LBL_18: %sv_0.112.reload = load i32, i32* %sv_0.112.reg2mem %sv_1.113.reload = load i32, i32* %sv_1.113.reg2mem %sv_2.114.reload = load i32, i32* %sv_2.114.reg2mem %sv_3.0.in15.reload = load i64, i64* %sv_3.0.in15.reg2mem %sv_4.017.reload = load i64, i64* %sv_4.017.reg2mem %sv_5.019.reload = load i64, i64* %sv_5.019.reg2mem %storemerge21.reload = load i32, i32* %storemerge21.reg2mem %.reload42 = load i32, i32* %.reg2mem41 %.reload40 = load i32, i32* %.reg2mem39 %135 = icmp slt i32 %.reload42, 0 %136 = zext i1 %135 to i32 %137 = add i32 %.reload42, %136 %138 = icmp ugt i32 %137, 1 store i64 0, i64* %.reg2mem33 store i32 0, i32* %storemerge49.reg2mem store i32 %sv_2.114.reload, i32* %sv_2.08.reg2mem store i32 %sv_1.113.reload, i32* %sv_1.07.reg2mem store i32 %sv_0.112.reload, i32* %sv_0.06.reg2mem store i32 %.reload40, i32* %.reg2mem35 store i32 %.reload42, i32* %.reg2mem37 store i32 %sv_0.112.reload, i32* %sv_0.0.lcssa.reg2mem store i32 %sv_1.113.reload, i32* %sv_1.0.lcssa.reg2mem store i32 %sv_2.114.reload, i32* %sv_2.0.lcssa.reg2mem br i1 %138, label LBL_15, label LBL_17 LBL_19: %139 = bitcast i64* %arg3 to i32* store i32 1, i32* %139, align 4 %140 = call i64 @FUNC(i64 %13) store i32 %10, i32* %rax.0.shrunk.reg2mem br label LBL_20 LBL_20: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %.reload42, { 2, 1, 0 } uselistorder i64 %sv_3.0.in15.reload, { 1, 2, 0 } uselistorder i32 %sv_2.114.reload, { 1, 0 } uselistorder i32 %sv_1.113.reload, { 1, 0 } uselistorder i32 %sv_0.112.reload, { 1, 0 } uselistorder i32 %84, { 1, 0 } uselistorder i64 %.reload34, { 1, 0 } uselistorder i32* %75, { 1, 0 } uselistorder i32 %.reload, { 1, 0 } uselistorder i8* %44, { 1, 0, 2 } uselistorder i64 %40, { 3, 2, 1, 0, 4 } uselistorder i32* %36, { 2, 1, 3, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %17, { 1, 2, 3, 4, 5, 6, 0, 7 } uselistorder i64 %13, { 2, 3, 0, 1, 4 } uselistorder i64 %4, { 1, 3, 2, 0, 4, 5, 6 } uselistorder i64 %3, { 2, 0, 1, 3 } uselistorder i64 %2, { 1, 0, 3, 2 } uselistorder i64 %1, { 1, 0, 3, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rsi.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %.reg2mem33, { 1, 2, 0 } uselistorder i32* %storemerge49.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_2.08.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_1.07.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_0.06.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem35, { 1, 0, 2 } uselistorder i32* %.reg2mem37, { 1, 0, 2 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @wnv1_get_code, { 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @av_log_ask_for_sample, { 1, 0 } uselistorder [36 x i8]* @gv_3, { 1, 0 } uselistorder i32 8, { 2, 0, 1 } uselistorder i64 (i64)* @av_free, { 1, 0 } uselistorder i32 0, { 4, 5, 6, 0, 1, 2, 3, 7, 8, 9, 10 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder i64 0, { 0, 2, 3, 8, 4, 5, 9, 10, 6, 7, 12, 1, 11 } uselistorder i64 8, { 1, 2, 3, 0, 4, 5 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
xdr_argsize_check_13853
xdr_argsize_check
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 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %4, %1 %6 = icmp eq i64 %5, %0 %7 = zext i1 %6 to i64 ret i64 %7 }
0
BinRealVul
qemu_get_be16_1253
qemu_get_be16
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = mul i64 %1, 256 %3 = and i64 %2, 65280 %4 = call i64 @FUNC(i64 %0) %5 = urem i64 %4, 256 %6 = or i64 %3, %5 ret i64 %6 uselistorder i64 256, { 1, 0 } uselistorder i64 (i64)* @qemu_get_byte, { 1, 0 } }
0
BinRealVul
pm_update_sci_3379
pm_update_sci
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 = trunc i64 %1 to i32 %6 = urem i32 %5, 16 %7 = and i32 %6, %4 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i1 %9 to i64 %14 = zext i32 %12 to i64 %15 = call i64 @FUNC(i64 %14, i64 %13) %16 = and i32 %5, 8 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_3, label LBL_1 LBL_1: %18 = and i32 %4, 8 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_3, label LBL_2 LBL_2: %21 = add i64 %2, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %23, i64 100, i64 1000) %25 = add i64 %2, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27, i64 %24) store i64 %28, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %29 = add i64 %2, 16 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31) store i64 %32, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %5, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %2, { 2, 1, 0, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
xen_irq_init_7174
xen_irq_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = call i64 @FUNC(i64 40, i64 0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %0, 4294967295 %5 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %4) unreachable LBL_2: %6 = inttoptr i64 %1 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %1, 4 %8 = inttoptr i64 %7 to i32* store i32 -1, i32* %8, align 4 %9 = and i64 %0, 4294967295 %10 = call i64 @FUNC(i64 %9, i64 %1) %11 = add i64 %1, 8 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %1, 24 %14 = call i64 @FUNC(i64 %13, i64* nonnull @gv_1) ret i64 %14 uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
nego_process_negotiation_response_7337
nego_process_negotiation_response
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i16 %storemerge.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = load i16, i16* %1 %6 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0)) %7 = call i64 @FUNC(i64 %3) %8 = icmp ult i64 %7, 7 br i1 %8, label LBL_1, label LBL_2 LBL_1: %9 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) %10 = add i64 %4, 8 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %12 = add i64 %4, 4 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = zext i8 %14 to i64 %16 = call i64 @FUNC(i64 %3, i64 %15) %17 = zext i16 %5 to i64 %18 = call i64 @FUNC(i64 %3, i64 %17) %19 = and i64 %2, 4294967295 %20 = call i64 @FUNC(i64 %3, i64 %19) %21 = add i64 %4, 8 %22 = inttoptr i64 %21 to i32* store i32 1, i32* %22, align 4 store i64 1, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
grub_fshelp_read_file_11627
grub_fshelp_read_file
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7, i64 %arg8, i64 %arg9, i64 %arg10, i64 %arg11) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_0.112.reg2mem = alloca i64 %storemerge613.reg2mem = alloca i64 %0 = trunc i64 %arg11 to i32 %sext = mul i64 %arg11, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = add i32 %0, 9 %3 = urem i32 %2, 32 %4 = shl i32 1, %3 %5 = add i64 %arg7, %arg6 %6 = icmp ugt i64 %5, %arg10 %7 = sub i64 %arg10, %arg6 %spec.select = select i1 %6, i64 %7, i64 %arg7 %8 = sext i32 %4 to i64 %9 = add i64 %arg6, -1 %10 = add i64 %9, %spec.select %11 = add i64 %10, %8 %12 = add nsw i64 %1, 9 %13 = urem i64 %12, 64 %14 = lshr i64 %11, %13 %15 = ashr i64 %arg6, %13 %16 = icmp ult i64 %15, %14 store i64 %spec.select, i64* %rax.0.reg2mem br i1 %16, label LBL_1, label LBL_10 LBL_1: %17 = and i64 %arg5, 4294967295 %18 = add i32 %4, -1 %19 = trunc i64 %arg6 to i32 %20 = and i32 %18, %19 %21 = inttoptr i64 %arg1 to i64* %22 = urem i64 %1, 64 %23 = shl i64 %arg2, %22 %24 = add i64 %14, -1 %25 = trunc i64 %spec.select to i32 %26 = add i32 %25, %19 %27 = and i32 %18, %26 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false %spec.select9 = select i1 %29, i32 %27, i32 %4 %30 = icmp eq i64 %23, 0 %31 = add i64 %arg1, 8 %32 = inttoptr i64 %31 to i64* %33 = mul i64 %23, 512 store i64 %15, i64* %storemerge613.reg2mem store i64 %arg8, i64* %sv_0.112.reg2mem br label LBL_2 LBL_2: %34 = load i32, i32* @gv_0, align 4 %35 = icmp eq i32 %34, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %35, label LBL_3, label LBL_10 LBL_3: %sv_0.112.reload = load i64, i64* %sv_0.112.reg2mem %storemerge613.reload = load i64, i64* %storemerge613.reg2mem %36 = icmp eq i64 %storemerge613.reload, %24 %37 = icmp eq i1 %36, false %spec.select16 = select i1 %37, i32 %4, i32 %spec.select9 %38 = icmp eq i64 %15, %storemerge613.reload %39 = icmp eq i1 %38, false %40 = select i1 %39, i32 0, i32 %20 %spec.select10 = sub i32 %spec.select16, %40 br i1 %30, label LBL_5, label LBL_4 LBL_4: store i64 %arg3, i64* %21, align 8 store i64 %arg4, i64* %32, align 8 store i64 %33, i64* @gv_1, align 8 %41 = call i64 @FUNC(i64 %arg1, i64 %23, i32 %40, i32 %spec.select10, i64 %sv_0.112.reload, i64 %17) store i64 0, i64* %21, align 8 %42 = load i32, i32* @gv_0, align 4 %43 = icmp eq i32 %42, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %43, label LBL_7, label LBL_10 LBL_5: %cond = icmp eq i64 %sv_0.112.reload, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %cond, label LBL_9, label LBL_6 LBL_6: %44 = sext i32 %spec.select10 to i64 %45 = call i64 @FUNC(i64 %sv_0.112.reload, i64 0, i64 %44) br label LBL_8 LBL_7: %46 = icmp eq i64 %sv_0.112.reload, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %46, label LBL_9, label LBL_8 LBL_8: %47 = sub i32 %4, %40 %48 = sext i32 %47 to i64 %49 = add i64 %sv_0.112.reload, %48 store i64 %49, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %50 = add nuw i64 %storemerge613.reload, 1 %51 = icmp ult i64 %50, %14 store i64 %50, i64* %storemerge613.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.112.reg2mem store i64 %spec.select, i64* %rax.0.reg2mem br i1 %51, label LBL_2, label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %spec.select10, { 1, 0 } uselistorder i32 %40, { 1, 0, 2 } uselistorder i64 %sv_0.112.reload, { 4, 2, 3, 0, 1 } uselistorder i64 %23, { 1, 0, 2 } uselistorder i64 %15, { 2, 0, 1 } uselistorder i64 %14, { 2, 1, 0 } uselistorder i64 %13, { 1, 0 } uselistorder i64 %spec.select, { 0, 3, 1, 2 } uselistorder i32 %4, { 2, 0, 1, 3, 4 } uselistorder i64* %storemerge613.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.112.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i1 false, { 0, 2, 1 } uselistorder i64 -1, { 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg10, { 1, 0 } uselistorder i64 %arg7, { 1, 0 } uselistorder i64 %arg6, { 2, 3, 1, 4, 0 } uselistorder label LBL_10, { 2, 1, 0, 3 } uselistorder label LBL_9, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
pending_op_free_13006
pending_op_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1, i64 %arg1) br label LBL_2 LBL_2: %2 = inttoptr i64 %arg1 to i64* call void @free(i64* %2) ret i64 ptrtoint (i32* @0 to i64) uselistorder i64 %arg1, { 1, 2, 0, 3 } }
1
BinRealVul
rac_get_model_sym_15142
rac_get_model_sym
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %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_4.0.reg2mem = alloca i32 %rdi = alloca i64, align 8 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i32* %arg1 to i64 %2 = add i64 %1, 4 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = ashr i32 %4, 16 store i32 %5, i32* %3, align 4 %6 = bitcast i64* %rsi to i32* %7 = load i32, i32* %6, align 8 %8 = ashr i32 %7, 1 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = bitcast i64* %rdi to i32* %13 = load i32, i32* %12, align 8 %14 = zext i32 %13 to i64 store i32 0, i32* %sv_4.0.reg2mem store i32 %4, i32* %sv_3.0.reg2mem store i32 0, i32* %sv_2.0.reg2mem store i32 %8, i32* %sv_1.0.reg2mem store i32 %7, i32* %sv_0.0.reg2mem br label LBL_1 LBL_1: %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 %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %15 = sext i32 %sv_1.0.reload to i64 %16 = mul i64 %15, 4 %17 = add i64 %16, %11 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = mul i32 %19, %5 %21 = sext i32 %20 to i64 %22 = icmp sgt i64 %21, %14 %sv_4.0. = select i1 %22, i32 %sv_4.0.reload, i32 %20 %.stack_var_-16.0 = select i1 %22, i32 %20, i32 %sv_3.0.reload %sv_2.0.stack_var_-24.0 = select i1 %22, i32 %sv_2.0.reload, i32 %sv_1.0.reload %sv_1.0.stack_var_-28.0 = select i1 %22, i32 %sv_1.0.reload, i32 %sv_0.0.reload %23 = add i32 %sv_2.0.stack_var_-24.0, %sv_1.0.stack_var_-28.0 %24 = ashr i32 %23, 1 %25 = icmp eq i32 %24, %sv_2.0.stack_var_-24.0 %26 = icmp eq i1 %25, false store i32 %sv_4.0., i32* %sv_4.0.reg2mem store i32 %.stack_var_-16.0, i32* %sv_3.0.reg2mem store i32 %sv_2.0.stack_var_-24.0, i32* %sv_2.0.reg2mem store i32 %24, i32* %sv_1.0.reg2mem store i32 %sv_1.0.stack_var_-28.0, i32* %sv_0.0.reg2mem br i1 %26, label LBL_1, label LBL_2 LBL_2: %27 = sub i32 %13, %sv_4.0. store i32 %27, i32* %arg1, align 4 %28 = sub i32 %.stack_var_-16.0, %sv_4.0. store i32 %28, i32* %3, align 4 %29 = icmp eq i32 %28, 0 %30 = icmp slt i32 %28, 0 %31 = icmp eq i1 %30, false %32 = icmp eq i1 %29, false %33 = icmp eq i1 %31, %32 br i1 %33, label LBL_4, label LBL_3 LBL_3: %34 = call i64 @FUNC(i64 %1) br label LBL_4 LBL_4: %35 = zext i32 %sv_2.0.stack_var_-24.0 to i64 %36 = call i64 @FUNC(i64 %0, i64 %35) ret i64 %35 uselistorder i32 %sv_2.0.stack_var_-24.0, { 1, 0, 2, 3 } uselistorder i32 %.stack_var_-16.0, { 1, 0 } uselistorder i32 %sv_4.0., { 1, 2, 0 } uselistorder i32 %sv_1.0.reload, { 2, 1, 0 } uselistorder i32* %sv_4.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0, 2 } }
1
reposvul_c_test
serialize_plist_63
serialize_plist
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = add i64 %arg2, 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %2, i64 %arg1) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = call i64* @malloc(i32 8) %7 = ptrtoint i64* %6 to i64 store i64 %arg2, i64* %6, align 8 %8 = load i64, i64* %1, align 8 %9 = call i64 @FUNC(i64 %8, i64 %arg1, i64 %7) %10 = call i64 @FUNC(i64 %arg1, i64 %arg1) %11 = call i64 @FUNC(i64 %arg1) %12 = call i64 @FUNC(i64 %11) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 %12, i64* %.reg2mem br i1 %14, label LBL_2, label LBL_3 LBL_2: %.reload = load i64, i64* %.reg2mem %15 = call i64 @FUNC(i64 %.reload, i64 %arg2) %16 = call i64 @FUNC(i64 %11) %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i64 %16, i64* %.reg2mem br i1 %18, label LBL_2, label LBL_3 LBL_3: %19 = call i64 @FUNC(i64 %11) store i64 %19, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %11, { 1, 2, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @node_iterator_next, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 %arg1, { 2, 3, 1, 0, 4 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
monitor_init_15814
monitor_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4 %1 = icmp eq i32 %0, 0 store i64 0, i64* %indvars.iv.reg2mem br i1 %1, label LBL_3, label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = mul i64 %indvars.iv.reload, 8 %3 = add i64 %2, ptrtoint (i64* @gv_0 to i64) %4 = inttoptr i64 %3 to i64* store i64 0, i64* %4, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: store i32 0, i32* bitcast (i64* @gv_1 to i32*), align 8 br label LBL_3 LBL_3: %5 = ptrtoint i64* %arg1 to i64 store i32 0, i32* %storemerge3.reg2mem br label LBL_4 LBL_4: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %6 = sext i32 %storemerge3.reload to i64 %7 = mul i64 %6, 8 %8 = add i64 %7, ptrtoint (i64* @gv_0 to i64) %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_6, label LBL_5 LBL_5: store i64 %5, i64* %9, align 8 br label LBL_7 LBL_6: %13 = add nuw i32 %storemerge3.reload, 1 %14 = icmp ult i32 %13, 10 store i32 %13, i32* %storemerge3.reg2mem br i1 %14, label LBL_4, label LBL_7 LBL_7: %15 = trunc i64 %arg2 to i32 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 store i32 %17, i32* bitcast (i64* @gv_2 to i32*), align 8 %18 = call i64 @FUNC(i64 %5, i64 4198689, i64 4198696, i64 4198703, i64 0) ret i64 %18 uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64 ptrtoint (i64* @gv_0 to i64), { 1, 0 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
copy_templates_3835
copy_templates
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge5.in.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %0 = ptrtoint i64* %sv_3 to i64 %1 = inttoptr i64 %arg3 to i8* %2 = icmp eq i64 %arg3, 0 %3 = icmp eq i1 %2, false %spec.select = select i1 %3, i8* %1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0) %4 = bitcast i64* %sv_2 to i8* %5 = call i8* @strcpy(i8* nonnull %4, i8* %spec.select) %6 = call i32 @strlen(i8* nonnull %4) %7 = add i32 %6, -1 %8 = sext i32 %7 to i64 %9 = add i64 %0, -8208 %10 = add i64 %9, %8 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 47 store i32 %6, i32* %sv_0.0.reg2mem br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = add i32 %6, 1 %15 = sext i32 %6 to i64 %16 = add i64 %9, %15 %17 = inttoptr i64 %16 to i8* store i8 47, i8* %17, align 1 %18 = sext i32 %14 to i64 %19 = add i64 %9, %18 %20 = inttoptr i64 %19 to i8* store i8 0, i8* %20, align 1 store i32 %14, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %21 = call %__dirstream* @opendir(i8* nonnull %4) %22 = icmp eq %__dirstream* %21, null %23 = icmp eq i1 %22, false br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %25 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i8* %spec.select) store i32 %25, i32* %storemerge5.in.reg2mem br label LBL_5 LBL_4: %sext = mul i64 %arg2, 4294967296 %26 = ashr exact i64 %sext, 32 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %27 = trunc i64 %26 to i32 %28 = inttoptr i64 %arg1 to i64* %29 = call i64* @memcpy(i64* nonnull %sv_1, i64* %28, i32 %27) %30 = add nsw i64 %26, -4112 %31 = add i64 %30, %0 %32 = inttoptr i64 %31 to i8* store i8 0, i8* %32, align 1 %33 = ptrtoint %__dirstream* %21 to i64 %34 = call i64 @FUNC(i64* nonnull %sv_1, i32 %27, i64* nonnull %sv_2, i32 %sv_0.0.reload, i64 %33) %35 = call i32 @closedir(%__dirstream* %21) store i32 %35, i32* %storemerge5.in.reg2mem br label LBL_5 LBL_5: %storemerge5.in.reload = load i32, i32* %storemerge5.in.reg2mem %storemerge5 = sext i32 %storemerge5.in.reload to i64 ret i64 %storemerge5 uselistorder %__dirstream* %21, { 1, 0, 2 } uselistorder i32 %6, { 2, 1, 0, 3 } uselistorder i32* %storemerge5.in.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 2, 0 } uselistorder i8 47, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } }
0
BinRealVul
mszh_decomp_1361
mszh_decomp
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %sv_0.1.ph12.reg2mem = alloca i64 %sv_1.0.ph23.reg2mem = alloca i64 %sv_2.0.in.ph24.reg2mem = alloca i64 %sv_0.1.ph25.reg2mem = alloca i64 %sv_3.0.ph26.reg2mem = alloca i32 %sv_4.0.ph27.reg2mem = alloca i8 %sv_0.019.reg2mem = alloca i64 %sv_5.020.reg2mem = alloca i32 %sv_5.0.ph35.reg2mem = alloca i32 %sv_0.1.ph.be.reg2mem = alloca i64 %sv_2.0.in.ph.be.reg2mem = alloca i64 %sv_1.0.ph.be.reg2mem = alloca i64 %sv_1.014.lcssa.reg2mem = alloca i64 %sv_2.0.in15.lcssa.reg2mem = alloca i64 %sv_3.016.lcssa.reg2mem = alloca i32 %sv_4.017.lcssa.reg2mem = alloca i8 %0 = ptrtoint i64* %arg3 to i64 %1 = and i64 %arg4, 4294967295 %2 = add i64 %1, %0 %3 = trunc i64 %arg2 to i32 %4 = icmp sgt i32 %3, 0 %5 = icmp ugt i64 %2, %0 %or.cond1322 = icmp eq i1 %4, %5 store i64 %0, i64* %sv_0.1.ph12.reg2mem br i1 %or.cond1322, label LBL_1, label LBL_13 LBL_1: %sext = mul i64 %arg2, 4294967296 %6 = ptrtoint i64* %arg1 to i64 store i8 0, i8* %sv_4.0.ph27.reg2mem store i32 0, i32* %sv_3.0.ph26.reg2mem store i64 %0, i64* %sv_0.1.ph25.reg2mem store i64 %sext, i64* %sv_2.0.in.ph24.reg2mem store i64 %6, i64* %sv_1.0.ph23.reg2mem br label LBL_12 LBL_2: %sext3 = add i64 %sv_2.0.in.ph24.reload, -4294967296 %7 = udiv i64 %sext3, 4294967296 %8 = trunc i64 %7 to i32 %9 = icmp sgt i32 %8, 0 store i64 %sv_0.1.ph25.reload, i64* %sv_0.1.ph12.reg2mem br i1 %9, label LBL_3, label LBL_13 LBL_3: %10 = add i64 %sv_1.0.ph23.reload, 1 %11 = inttoptr i64 %sv_1.0.ph23.reload to i8* %12 = load i8, i8* %11, align 1 %13 = sext i8 %12 to i32 store i8 8, i8* %sv_4.017.lcssa.reg2mem store i32 %13, i32* %sv_3.016.lcssa.reg2mem store i64 %sext3, i64* %sv_2.0.in15.lcssa.reg2mem store i64 %10, i64* %sv_1.014.lcssa.reg2mem br label LBL_4 LBL_4: %sv_1.014.lcssa.reload = load i64, i64* %sv_1.014.lcssa.reg2mem %sv_2.0.in15.lcssa.reload = load i64, i64* %sv_2.0.in15.lcssa.reg2mem %sv_3.016.lcssa.reload = load i32, i32* %sv_3.016.lcssa.reg2mem %sv_4.017.lcssa.reload = load i8, i8* %sv_4.017.lcssa.reg2mem %14 = urem i32 %sv_3.016.lcssa.reload, 256 %15 = add i8 %sv_4.017.lcssa.reload, -1 %16 = urem i8 %15, 32 %17 = zext i8 %16 to i32 %18 = shl i32 1, %17 %19 = and i32 %14, %18 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_8, label LBL_5 LBL_5: %22 = add i64 %sv_0.1.ph25.reload, 4 %23 = icmp ult i64 %2, %22 store i64 %sv_0.1.ph25.reload, i64* %sv_0.1.ph12.reg2mem br i1 %23, label LBL_13, label LBL_6 LBL_6: %24 = inttoptr i64 %sv_1.014.lcssa.reload to i32* %25 = load i32, i32* %24, align 4 %26 = inttoptr i64 %sv_0.1.ph25.reload to i32* store i32 %25, i32* %26, align 4 %sext4 = add i64 %sv_2.0.in15.lcssa.reload, -17179869184 %27 = add i64 %sv_1.014.lcssa.reload, 4 store i64 %27, i64* %sv_1.0.ph.be.reg2mem store i64 %sext4, i64* %sv_2.0.in.ph.be.reg2mem store i64 %22, i64* %sv_0.1.ph.be.reg2mem br label LBL_7 LBL_7: %sv_0.1.ph.be.reload = load i64, i64* %sv_0.1.ph.be.reg2mem %sv_2.0.in.ph.be.reload = load i64, i64* %sv_2.0.in.ph.be.reg2mem %sv_1.0.ph.be.reload = load i64, i64* %sv_1.0.ph.be.reg2mem %28 = udiv i64 %sv_2.0.in.ph.be.reload, 4294967296 %29 = trunc i64 %28 to i32 %30 = icmp sgt i32 %29, 0 %31 = icmp ugt i64 %2, %sv_0.1.ph.be.reload %or.cond13 = icmp eq i1 %31, %30 store i8 %15, i8* %sv_4.0.ph27.reg2mem store i32 %sv_3.016.lcssa.reload, i32* %sv_3.0.ph26.reg2mem store i64 %sv_0.1.ph.be.reload, i64* %sv_0.1.ph25.reg2mem store i64 %sv_2.0.in.ph.be.reload, i64* %sv_2.0.in.ph24.reg2mem store i64 %sv_1.0.ph.be.reload, i64* %sv_1.0.ph23.reg2mem store i64 %sv_0.1.ph.be.reload, i64* %sv_0.1.ph12.reg2mem br i1 %or.cond13, label LBL_12, label LBL_13 LBL_8: %32 = add i64 %sv_1.014.lcssa.reload, 1 %33 = inttoptr i64 %sv_1.014.lcssa.reload to i8* %34 = load i8, i8* %33, align 1 %35 = add i64 %sv_1.014.lcssa.reload, 2 %36 = inttoptr i64 %32 to i8* %37 = load i8, i8* %36, align 1 %38 = zext i8 %37 to i32 %39 = udiv i32 %38, 8 %sext5 = add i64 %sv_2.0.in15.lcssa.reload, -8589934592 %40 = mul i32 %39, 4 %41 = add nuw nsw i32 %40, 4 %42 = zext i32 %41 to i64 %43 = add i64 %sv_0.1.ph25.reload, %42 %44 = icmp ult i64 %2, %43 %45 = icmp eq i1 %44, false store i32 %41, i32* %sv_5.0.ph35.reg2mem br i1 %45, label LBL_10, label LBL_9 LBL_9: %46 = sub i64 %2, %sv_0.1.ph25.reload %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false store i64 %35, i64* %sv_1.0.ph.be.reg2mem store i64 %sext5, i64* %sv_2.0.in.ph.be.reg2mem store i64 %sv_0.1.ph25.reload, i64* %sv_0.1.ph.be.reg2mem store i32 %47, i32* %sv_5.0.ph35.reg2mem br i1 %49, label LBL_10, label LBL_7 LBL_10: %50 = zext i8 %34 to i32 %51 = mul i32 %38, 256 %.masked = and i32 %51, 1792 %52 = or i32 %.masked, %50 %sv_5.0.ph35.reload = load i32, i32* %sv_5.0.ph35.reg2mem %53 = zext i32 %52 to i64 store i32 %sv_5.0.ph35.reload, i32* %sv_5.020.reg2mem store i64 %sv_0.1.ph25.reload, i64* %sv_0.019.reg2mem br label LBL_11 LBL_11: %sv_0.019.reload = load i64, i64* %sv_0.019.reg2mem %sv_5.020.reload = load i32, i32* %sv_5.020.reg2mem %54 = sub i64 %sv_0.019.reload, %53 %55 = inttoptr i64 %54 to i8* %56 = load i8, i8* %55, align 1 %57 = inttoptr i64 %sv_0.019.reload to i8* store i8 %56, i8* %57, align 1 %58 = add i64 %sv_0.019.reload, 1 %59 = add i32 %sv_5.020.reload, -1 %60 = icmp eq i32 %59, 0 %61 = icmp eq i1 %60, false store i64 %35, i64* %sv_1.0.ph.be.reg2mem store i64 %sext5, i64* %sv_2.0.in.ph.be.reg2mem store i64 %58, i64* %sv_0.1.ph.be.reg2mem store i32 %59, i32* %sv_5.020.reg2mem store i64 %58, i64* %sv_0.019.reg2mem br i1 %61, label LBL_11, label LBL_7 LBL_12: %sv_1.0.ph23.reload = load i64, i64* %sv_1.0.ph23.reg2mem %sv_2.0.in.ph24.reload = load i64, i64* %sv_2.0.in.ph24.reg2mem %sv_0.1.ph25.reload = load i64, i64* %sv_0.1.ph25.reg2mem %sv_3.0.ph26.reload = load i32, i32* %sv_3.0.ph26.reg2mem %sv_4.0.ph27.reload = load i8, i8* %sv_4.0.ph27.reg2mem %62 = icmp eq i8 %sv_4.0.ph27.reload, 0 %63 = icmp eq i1 %62, false store i8 %sv_4.0.ph27.reload, i8* %sv_4.017.lcssa.reg2mem store i32 %sv_3.0.ph26.reload, i32* %sv_3.016.lcssa.reg2mem store i64 %sv_2.0.in.ph24.reload, i64* %sv_2.0.in15.lcssa.reg2mem store i64 %sv_1.0.ph23.reload, i64* %sv_1.014.lcssa.reg2mem br i1 %63, label LBL_4, label LBL_2 LBL_13: %sv_0.1.ph12.reload = load i64, i64* %sv_0.1.ph12.reg2mem %64 = sub i64 %sv_0.1.ph12.reload, %0 ret i64 %64 uselistorder i8 %sv_4.0.ph27.reload, { 1, 0 } uselistorder i64 %sv_0.1.ph25.reload, { 1, 4, 0, 3, 5, 2, 6, 7 } uselistorder i64 %sv_2.0.in.ph24.reload, { 1, 0 } uselistorder i64 %sv_1.0.ph23.reload, { 2, 1, 0 } uselistorder i64 %sv_0.019.reload, { 0, 2, 1 } uselistorder i64 %sv_1.014.lcssa.reload, { 4, 2, 3, 0, 1 } uselistorder i64 %2, { 4, 3, 1, 2, 0 } uselistorder i64 %0, { 4, 1, 0, 3, 2 } uselistorder i8* %sv_4.017.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.016.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.in15.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.014.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.ph.be.reg2mem, { 1, 2, 0, 3 } uselistorder i64* %sv_2.0.in.ph.be.reg2mem, { 1, 2, 0, 3 } uselistorder i64* %sv_0.1.ph.be.reg2mem, { 1, 2, 0, 3 } uselistorder i32* %sv_5.0.ph35.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_5.020.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.019.reg2mem, { 1, 0, 2 } uselistorder i32 4, { 1, 0 } uselistorder i1 false, { 0, 2, 1, 3, 4 } uselistorder i8 0, { 1, 0 } uselistorder i64 4294967296, { 1, 2, 0 } uselistorder i32 0, { 6, 2, 3, 5, 4, 0, 1 } uselistorder label LBL_13, { 1, 0, 2, 3 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
nfc_llcp_set_remote_gb_9672
nfc_llcp_set_remote_gb
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg3 to i8 %1 = icmp ult i8 %0, 3 store i64 4294967274, i64* %rax.0.reg2mem br i1 %1, label LBL_6, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967277, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %sext = mul i64 %arg3, 72057594037927936 %7 = ashr exact i64 %sext, 56 %8 = inttoptr i64 %3 to i64* %9 = call i64* @memset(i64* %8, i32 0, i32 255) %10 = trunc i64 %7 to i32 %11 = bitcast i32* %arg2 to i64* %12 = urem i32 %10, 256 %13 = call i64* @memcpy(i64* %8, i64* %11, i32 %12) %14 = trunc i64 %7 to i8 %15 = add i64 %3, 255 %16 = inttoptr i64 %15 to i8* store i8 %14, i8* %16, align 1 %17 = call i32 @memcmp(i64* %8, i64* inttoptr (i64 4210748 to i64*), i32 3) %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %20 = load i8, i8* %16, align 1 %21 = add i8 %20, -3 %22 = zext i8 %21 to i64 %23 = add i64 %3, 3 %24 = call i64 @FUNC(i64 %3, i64 %23, i64 %22) store i64 %24, 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 %3, { 1, 0, 2, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i8*)* @pr_err, { 1, 0 } uselistorder i64 0, { 1, 2, 3, 4, 9, 5, 6, 0, 7, 8 } uselistorder i64 4294967274, { 1, 0 } uselistorder label LBL_6, { 1, 2, 3, 0 } }
0
BinRealVul
do_modify_softint_3158
do_modify_softint
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, %2 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: store i32 %2, i32* %arg1, align 4 %5 = ptrtoint i32* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 0 store i64 1, i64* %storemerge.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC() %10 = call i64 @FUNC(i64 %5) %11 = call i64 @FUNC() store i64 1, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
0
BinRealVul
usb_device_supports_lpm_10158
usb_device_supports_lpm
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_14 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp ne i32 %7, 2 %9 = icmp eq i32 %7, 3 %10 = icmp eq i1 %9, false %or.cond = icmp eq i1 %8, %10 %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 br i1 %or.cond, label LBL_5, label LBL_2 LBL_2: %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = inttoptr i64 %15 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19) %21 = and i64 %20, 4 %22 = icmp eq i64 %21, 0 store i64 1, i64* %rax.0.reg2mem br i1 %22, label LBL_4, label LBL_14 LBL_4: store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_5: %23 = add i64 %13, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = add i64 %4, 24 %29 = call i64 @FUNC(i64 %28, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_7: %30 = inttoptr i64 %25 to i8* %31 = load i8, i8* %30, align 1 %32 = icmp eq i8 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_12, label LBL_8 LBL_8: %34 = add i64 %25, 1 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = icmp eq i8 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_12, label LBL_9 LBL_9: %39 = add i64 %4, 16 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = icmp eq i64 %41, 0 %43 = add i64 %4, 24 br i1 %42, label LBL_11, label LBL_10 LBL_10: %44 = call i64 @FUNC(i64 %43, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_11: %45 = call i64 @FUNC(i64 %43, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_2, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_12: %46 = add i64 %4, 16 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = icmp eq i64 %48, 0 store i64 1, i64* %rax.0.reg2mem br i1 %49, label LBL_14, label LBL_13 LBL_13: %50 = inttoptr i64 %48 to i32* %51 = load i32, i32* %50, align 4 %52 = icmp ne i32 %51, 0 %spec.select = zext i1 %52 to i64 ret i64 %spec.select LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %43, { 1, 0 } uselistorder i64 %13, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 6, 7, 4, 5 } uselistorder i64 (i64, i8*)* @dev_info, { 2, 1, 0 } uselistorder i64 1, { 0, 2, 1 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder label LBL_14, { 0, 2, 1, 5, 6, 3, 4 } }
0
BinRealVul
mk_mimetype_add_17600
mk_mimetype_add
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_0.0.be.reg2mem = alloca i64 %.reg2mem13 = alloca i64* %.reg2mem11 = alloca i64 %storemerge15.reg2mem = alloca i64 %.reg2mem9 = alloca i8* %.reg2mem = alloca i8 %0 = ptrtoint i64* %arg1 to i64 %1 = inttoptr i64 %arg2 to i8* %2 = call i32 @strlen(i8* %1) %3 = bitcast i64* %arg1 to i8* %4 = load i8, i8* %3, align 1 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false store i8 %4, i8* %.reg2mem store i8* %3, i8** %.reg2mem9 store i64 %0, i64* %storemerge15.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_1: %storemerge15.reload = load i64, i64* %storemerge15.reg2mem %.reload10 = load i8*, i8** %.reg2mem9 %.reload = load i8, i8* %.reg2mem %7 = sext i8 %.reload to i32 %8 = call i32 @tolower(i32 %7) %9 = trunc i32 %8 to i8 store i8 %9, i8* %.reload10, align 1 %10 = add i64 %storemerge15.reload, 1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 0 %14 = icmp eq i1 %13, false store i8 %12, i8* %.reg2mem store i8* %11, i8** %.reg2mem9 store i64 %10, i64* %storemerge15.reg2mem br i1 %14, label LBL_1, label LBL_2 LBL_2: %15 = add i32 %2, 3 %16 = call i64 @FUNC(i64 48) %17 = call i64 @FUNC(i64 %0) %18 = inttoptr i64 %16 to i64* store i64 %17, i64* %18, align 8 %19 = sext i32 %15 to i64 %20 = call i64 @FUNC(i64 %19) %21 = add i64 %16, 8 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 %23 = add i32 %2, 2 %24 = sext i32 %23 to i64 %25 = add i64 %16, 16 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = load i64, i64* %22, align 8 %28 = inttoptr i64 %27 to i8* %29 = call i8* @strcpy(i8* %28, i8* %1) %30 = load i64, i64* %22, align 8 %31 = inttoptr i64 %30 to i8* %32 = call i32 @strlen(i8* %31) %33 = sext i32 %32 to i64 %34 = add i64 %30, %33 %35 = inttoptr i64 %34 to i16* store i16 2573, i16* %35, align 2 %36 = add i64 %34, 2 %37 = inttoptr i64 %36 to i8* store i8 0, i8* %37, align 1 %38 = load i64, i64* %22, align 8 %39 = add nsw i64 %19, -1 %40 = add i64 %39, %38 %41 = inttoptr i64 %40 to i8* store i8 0, i8* %41, align 1 %42 = load i64, i64* @gv_0, align 8 %43 = icmp eq i64 %42, 0 %44 = icmp eq i1 %43, false store i64 %42, i64* %.reg2mem11 store i64* @gv_0, i64** %.reg2mem13 store i64 0, i64* %sv_1.0.lcssa.reg2mem store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_0.0.lcssa.reg2mem br i1 %44, label LBL_3, label LBL_8 LBL_3: %.reload14 = load i64*, i64** %.reg2mem13 %.reload12 = load i64, i64* %.reg2mem11 %45 = add i64 %.reload12, -24 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = load i64, i64* %18, align 8 %49 = inttoptr i64 %48 to i8* %50 = inttoptr i64 %47 to i8* %51 = call i32 @strcmp(i8* %49, i8* %50) %52 = icmp slt i32 %51, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_6, label LBL_4 LBL_4: %54 = load i64, i64* %.reload14, align 8 store i64 %54, i64* %sv_0.0.be.reg2mem br label LBL_5 LBL_5: %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem %55 = inttoptr i64 %sv_0.0.be.reload to i64* %56 = load i64, i64* %55, align 8 %57 = icmp eq i64 %56, 0 %58 = icmp eq i1 %57, false store i64 %56, i64* %.reg2mem11 store i64* %55, i64** %.reg2mem13 store i64 %.reload12, i64* %sv_1.0.lcssa.reg2mem store i64 %sv_0.0.be.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %58, label LBL_3, label LBL_8 LBL_6: %59 = icmp slt i32 %51, 1 store i64 4294967295, i64* %storemerge.reg2mem br i1 %59, label LBL_9, label LBL_7 LBL_7: %60 = load i64, i64* %.reload14, align 8 %61 = add i64 %60, 8 store i64 %61, i64* %sv_0.0.be.reg2mem br label LBL_5 LBL_8: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %62 = add i64 %16, 24 %63 = call i64 @FUNC(i64 %62, i64 %sv_1.0.lcssa.reload, i64 %sv_0.0.lcssa.reload) %64 = call i64 @FUNC(i64 %62, i64* nonnull @gv_0) %65 = add i64 %16, 40 %66 = call i64 @FUNC(i64 %65, i64* nonnull @gv_1) store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %.reload14, { 1, 0 } uselistorder i64 %34, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i8** %.reg2mem9, { 2, 0, 1 } uselistorder i64* %storemerge15.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem11, { 2, 0, 1 } uselistorder i64** %.reg2mem13, { 2, 0, 1 } uselistorder i64* %sv_0.0.be.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder i64* @gv_0, { 2, 3, 0, 1 } uselistorder i8* (i8*, i8*)* @strcpy, { 1, 0 } uselistorder i1 false, { 3, 2, 1, 4, 0 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i32 (i8*)* @strlen, { 2, 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
get_fb_info_8586
get_fb_info
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp ult i32 %0, 10 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 4294967277) store i64 %2, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = mul i64 %arg1, 8 %5 = and i64 %4, 34359738360 %6 = add i64 %5, ptrtoint (i64* @gv_1 to i64) %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %8) br label LBL_4 LBL_4: %11 = call i64 @FUNC(i64* nonnull @gv_0) store i64 %8, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
fimd_swap_data_2120
fimd_swap_data
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.3.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.14.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = urem i64 %arg1, 2 %2 = icmp eq i64 %1, 0 store i64 0, i64* %indvars.iv.reg2mem store i64 0, i64* %sv_1.14.reg2mem store i64 %0, i64* %sv_0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %sv_1.14.reload = load i64, i64* %sv_1.14.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = lshr i64 -9223372036854775808, %indvars.iv.reload %4 = and i64 %3, %0 %5 = icmp eq i64 %4, 0 %6 = shl i64 1, %indvars.iv.reload %7 = select i1 %5, i64 0, i64 %6 %sv_1.0 = or i64 %7, %sv_1.14.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 64 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %sv_1.0, i64* %sv_1.14.reg2mem store i64 %sv_1.0, i64* %sv_0.0.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %8 = and i64 %arg1, 2 %9 = icmp eq i64 %8, 0 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 %10, i64* %sv_0.1.reg2mem br label LBL_4 LBL_4: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %11 = and i64 %arg1, 4 %12 = icmp eq i64 %11, 0 store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = mul i64 %sv_0.1.reload, 281474976710656 %14 = mul i64 %sv_0.1.reload, 65536 %15 = urem i64 %14, 281470681743361 %16 = udiv i64 %sv_0.1.reload, 65536 %17 = and i64 %16, 4294901760 %18 = udiv i64 %sv_0.1.reload, 281474976710656 %19 = or i64 %18, %13 %20 = or i64 %19, %15 %21 = or i64 %20, %17 store i64 %21, i64* %sv_0.2.reg2mem br label LBL_6 LBL_6: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %22 = and i64 %arg1, 8 %23 = icmp eq i64 %22, 0 store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = mul i64 %sv_0.2.reload, 4294967296 %25 = udiv i64 %sv_0.2.reload, 4294967296 %26 = or i64 %25, %24 store i64 %26, i64* %sv_0.3.reg2mem br label LBL_8 LBL_8: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem store i64 %sv_0.3.reload, i64* %arg2, align 8 ret i64 %0 uselistorder i64 %sv_0.2.reload, { 1, 2, 0 } uselistorder i64 %sv_0.1.reload, { 2, 1, 4, 3, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.14.reg2mem, { 2, 0, 1 } uselistorder i64 4294967296, { 1, 0 } uselistorder i64 65536, { 1, 0 } uselistorder i64 281474976710656, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 %arg1, { 1, 2, 3, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
hmp_drive_mirror_15577
hmp_drive_mirror
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 0) %6 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 0) store i64 0, i64* %sv_0, align 8 %7 = icmp eq i64 %3, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64* nonnull %sv_0, i64 1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %10 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0) store i64 %10, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %11 = trunc i64 %6 to i32 %12 = icmp eq i32 %11, 0 %. = select i1 %12, i64 2, i64 1 %13 = icmp eq i64 %4, 0 %14 = icmp eq i1 %13, false %15 = zext i1 %14 to i64 %16 = call i64 @FUNC(i64 %2, i64 %3, i64 %15, i64 %4, i64 %., i64 1) %17 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0) store i64 %17, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64*)* @hmp_handle_error, { 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64 (i64, i8*, i64)* @qdict_get_try_bool, { 1, 0 } uselistorder i64 (i64, i8*)* @qdict_get_str, { 1, 0 } }
1
BinRealVul
jlink_init_6011
jlink_init
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load [12 x i8]*, [12 x i8]** @gv_0, align 8 %1 = getelementptr inbounds [12 x i8], [12 x i8]* %0, i64 0, i64 0 %2 = call i64* @dlopen(i8* %1, i32 1) %3 = icmp eq i64* %2, null %4 = icmp eq i1 %3, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = call i64* @dlsym(i64* %2, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0)) %6 = ptrtoint i64* %5 to i64 store i64 %6, i64* @gv_2, align 8 %7 = call i64* @dlsym(i64* %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0)) %8 = ptrtoint i64* %7 to i64 store i64 %8, i64* @gv_4, align 8 %9 = call i64* @dlsym(i64* %2, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0)) %10 = ptrtoint i64* %9 to i64 store i64 %10, i64* @gv_6, align 8 %11 = call i64* @dlsym(i64* %2, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_7, i64 0, i64 0)) %12 = ptrtoint i64* %11 to i64 store i64 %12, i64* @gv_8, align 8 %13 = call i64* @dlsym(i64* %2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_9, i64 0, i64 0)) %14 = ptrtoint i64* %13 to i64 store i64 %14, i64* @gv_10, align 8 %15 = call i64* @dlsym(i64* %2, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_11, i64 0, i64 0)) %16 = ptrtoint i64* %15 to i64 store i64 %16, i64* @gv_12, align 8 %17 = call i64* @dlsym(i64* %2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_13, i64 0, i64 0)) %18 = ptrtoint i64* %17 to i64 store i64 %18, i64* @gv_14, align 8 %19 = call i64* @dlsym(i64* %2, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_15, i64 0, i64 0)) %20 = ptrtoint i64* %19 to i64 store i64 %20, i64* @gv_16, align 8 %21 = call i64* @dlsym(i64* %2, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_17, i64 0, i64 0)) %22 = ptrtoint i64* %21 to i64 store i64 %22, i64* @gv_18, align 8 %23 = call i64* @dlsym(i64* %2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_19, i64 0, i64 0)) %24 = ptrtoint i64* %23 to i64 store i64 %24, i64* @gv_20, align 8 %25 = load i64, i64* @gv_2, align 8 %26 = icmp eq i64 %25, 0 %27 = load i64, i64* @gv_4, align 8 %28 = icmp eq i64 %27, 0 %or.cond = or i1 %26, %28 %29 = load i64, i64* @gv_6, align 8 %30 = icmp eq i64 %29, 0 %or.cond3 = or i1 %or.cond, %30 %31 = load i64, i64* @gv_8, align 8 %32 = icmp eq i64 %31, 0 %or.cond5 = or i1 %or.cond3, %32 %33 = load i64, i64* @gv_10, align 8 %34 = icmp eq i64 %33, 0 %or.cond7 = or i1 %or.cond5, %34 %35 = load i64, i64* @gv_12, align 8 %36 = icmp eq i64 %35, 0 %or.cond9 = or i1 %or.cond7, %36 %37 = load i64, i64* @gv_14, align 8 %38 = icmp eq i64 %37, 0 %or.cond11 = or i1 %or.cond9, %38 %39 = load i64, i64* @gv_16, align 8 %40 = icmp eq i64 %39, 0 %or.cond13 = or i1 %or.cond11, %40 %41 = load i64, i64* @gv_18, align 8 %42 = icmp eq i64 %41, 0 %or.cond15 = or i1 %or.cond13, %42 %or.cond15.not = icmp ne i1 %or.cond15, true %43 = icmp eq i64* %23, null %44 = icmp eq i1 %43, false %or.cond17 = icmp eq i1 %44, %or.cond15.not store i64 0, i64* %rax.0.reg2mem br i1 %or.cond17, label LBL_3, label LBL_2 LBL_2: %45 = call i32 @dlclose(i64* %2) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %2, { 0, 2, 1, 4, 3, 6, 5, 8, 7, 9, 10, 11 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* (i64*, i8*)* @dlsym, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967291, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
rfcomm_sock_listen_7930
rfcomm_sock_listen
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge58.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %2, i32 %3) %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 1 store i64 1, i64* %sv_0.2.reg2mem br i1 %7, label LBL_1, label LBL_9 LBL_1: %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 1 store i64 2, i64* %sv_0.2.reg2mem br i1 %11, label LBL_2, label LBL_9 LBL_2: %12 = call i64 @FUNC(i64 %2) %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 0 %16 = icmp eq i1 %15, false store i64 0, i64* %sv_0.1.reg2mem br i1 %16, label LBL_8, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %2) %18 = add i64 %17, 1 %19 = call i64 @FUNC(i64* nonnull @gv_1) %20 = call i64 @FUNC(i64 1, i64 %18) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i8 1, i8* %.lcssa.reg2mem store i32 1, i32* %storemerge58.reg2mem br i1 %23, label LBL_6, label LBL_5 LBL_4: %24 = urem i32 %33, 256 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %25, i64 %18) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i8 %34, i8* %.lcssa.reg2mem store i32 %33, i32* %storemerge58.reg2mem br i1 %29, label LBL_6, label LBL_5 LBL_5: %.lcssa.reload = load i8, i8* %.lcssa.reg2mem %30 = call i64 @FUNC(i64 %2) %31 = inttoptr i64 %30 to i8* store i8 %.lcssa.reload, i8* %31, align 1 store i64 0, i64* %sv_0.0.reg2mem br label LBL_7 LBL_6: %storemerge58.reload = load i32, i32* %storemerge58.reg2mem %32 = mul i32 %storemerge58.reload, 16777216 %sext3 = add i32 %32, 16777216 %33 = ashr exact i32 %sext3, 24 %34 = trunc i32 %33 to i8 %35 = icmp ult i8 %34, 31 store i64 2, i64* %sv_0.0.reg2mem br i1 %35, label LBL_4, label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %36 = call i64 @FUNC(i64* nonnull @gv_1) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %37 = add i64 %2, 8 %38 = inttoptr i64 %37 to i32* store i32 %3, i32* %38, align 4 %39 = add i64 %2, 12 %40 = inttoptr i64 %39 to i32* store i32 0, i32* %40, align 4 %41 = bitcast i64* %arg1 to i32* store i32 2, i32* %41, align 4 store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br label LBL_9 LBL_9: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %42 = call i64 @FUNC(i64 %2) %43 = and i64 %sv_0.2.reload, 4294967295 ret i64 %43 uselistorder i8 %34, { 1, 0 } uselistorder i32 %33, { 2, 1, 0 } uselistorder i64 %18, { 1, 0 } uselistorder i64 %2, { 2, 3, 4, 0, 1, 6, 5, 7, 8 } uselistorder i32* %storemerge58.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.2.reg2mem, { 0, 3, 1, 2 } uselistorder i32 16777216, { 1, 0 } uselistorder i32 0, { 2, 1, 0, 3 } uselistorder i64 (i64, i64)* @__rfcomm_get_listen_sock_by_addr, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i64)* @rfcomm_pi, { 2, 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder label LBL_9, { 2, 0, 1 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
v4l2_encode_init_3368
v4l2_encode_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32*, align 8 %3 = bitcast i32** %sv_0 to i64* %4 = call i64 @FUNC(i64 %2, i64* nonnull %3) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %4, 4294967295 store i64 %8, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %9 = trunc i64 %1 to i32 %10 = load i32*, i32** %sv_0, align 8 %11 = ptrtoint i32* %10 to i64 %12 = add i64 %11, 16 store i32 %9, i32* %10, align 4 %13 = inttoptr i64 %12 to i32* store i32 %9, i32* %13, align 4 %14 = add i64 %2, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %11, 4 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = add i64 %11, 20 %20 = inttoptr i64 %19 to i32* store i32 %16, i32* %20, align 4 %21 = add i64 %11, 24 %22 = inttoptr i64 %21 to i32* store i32 1, i32* %22, align 4 %23 = add i64 %2, 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i64 %11, 28 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 %28 = add i64 %2, 12 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i64 %11, 8 %32 = inttoptr i64 %31 to i32* store i32 %30, i32* %32, align 4 %33 = add i64 %11, 12 %34 = inttoptr i64 %33 to i32* store i32 0, i32* %34, align 4 %35 = call i64 @FUNC(i64 %2) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_4, label LBL_3 LBL_3: %38 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0)) %39 = and i64 %35, 4294967295 store i64 %39, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %40 = load i32*, i32** %sv_0, align 8 %41 = ptrtoint i32* %40 to i64 %42 = call i64 @FUNC(i64 %41) store i64 %42, 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 %11, { 6, 5, 0, 1, 2, 4, 3 } uselistorder i32 %9, { 1, 0 } uselistorder i32** %sv_0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } }
0
BinRealVul
color_string_to_rgba_4720
color_string_to_rgba
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i32 %storemerge5.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %2 = trunc i64 %arg2 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp ult i32 %2, 99 %5 = or i1 %3, %4 store i64 99, i64* %storemerge5.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %sext = mul i64 %arg2, 4294967296 %.op7.op = ashr exact i64 %sext, 32 %phitmp8 = select i1 %3, i64 0, i64 %.op7.op store i64 %phitmp8, i64* %storemerge5.reg2mem br label LBL_2 LBL_2: %6 = trunc i64 %1 to i8 %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %7 = icmp eq i8 %6, 35 %8 = icmp eq i1 %7, false br i1 %8, label LBL_11, label LBL_3 LBL_3: %9 = add i64 %arg1, 1 %10 = trunc i64 %storemerge5.reload to i32 %11 = icmp eq i32 %10, 4 %12 = icmp eq i1 %11, false br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = add i64 %arg1, 3 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = sext i8 %15 to i64 %17 = and i64 %16, 4294967295 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = mul i32 %19, 16 %21 = add i64 %arg1, 2 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = sext i8 %23 to i64 %25 = and i64 %24, 4294967295 %26 = call i64 @FUNC(i64 %25) %27 = trunc i64 %26 to i32 %28 = mul i32 %27, 4096 %29 = inttoptr i64 %9 to i8* %30 = load i8, i8* %29, align 1 %31 = sext i8 %30 to i64 %32 = and i64 %31, 4294967295 %33 = call i64 @FUNC(i64 %32) %34 = trunc i64 %33 to i32 %35 = mul i32 %34, 1048576 %36 = or i32 %20, %28 %37 = or i32 %36, %35 %38 = or i32 %37, -16777216 store i32 %38, i32* %storemerge.in.reg2mem br label LBL_13 LBL_5: %39 = mul i64 %storemerge5.reload, 4294967296 %sext6 = add i64 %39, -4294967296 %40 = udiv i64 %sext6, 4294967296 %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 4 %43 = icmp eq i1 %42, false br i1 %43, label LBL_7, label LBL_6 LBL_6: %44 = add i64 %arg1, 4 %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 %47 = sext i8 %46 to i64 %48 = and i64 %47, 4294967295 %49 = call i64 @FUNC(i64 %48) %50 = trunc i64 %49 to i32 %51 = mul i32 %50, 16 %52 = add i64 %arg1, 3 %53 = inttoptr i64 %52 to i8* %54 = load i8, i8* %53, align 1 %55 = sext i8 %54 to i64 %56 = and i64 %55, 4294967295 %57 = call i64 @FUNC(i64 %56) %58 = trunc i64 %57 to i32 %59 = mul i32 %58, 4096 %60 = or i32 %59, %51 %61 = add i64 %arg1, 2 %62 = inttoptr i64 %61 to i8* %63 = load i8, i8* %62, align 1 %64 = sext i8 %63 to i64 %65 = and i64 %64, 4294967295 %66 = call i64 @FUNC(i64 %65) %67 = trunc i64 %66 to i32 %68 = mul i32 %67, 1048576 %69 = or i32 %60, %68 %70 = inttoptr i64 %9 to i8* %71 = load i8, i8* %70, align 1 %72 = sext i8 %71 to i64 %73 = and i64 %72, 4294967295 %74 = call i64 @FUNC(i64 %73) %75 = trunc i64 %74 to i32 %76 = mul i32 %75, 268435456 %77 = or i32 %69, %76 store i32 %77, i32* %storemerge.in.reg2mem br label LBL_13 LBL_7: %78 = icmp eq i32 %41, 6 %79 = icmp eq i1 %78, false br i1 %79, label LBL_9, label LBL_8 LBL_8: %80 = add i64 %arg1, 6 %81 = inttoptr i64 %80 to i8* %82 = load i8, i8* %81, align 1 %83 = sext i8 %82 to i64 %84 = and i64 %83, 4294967295 %85 = call i64 @FUNC(i64 %84) %86 = trunc i64 %85 to i32 %87 = add i64 %arg1, 5 %88 = inttoptr i64 %87 to i8* %89 = load i8, i8* %88, align 1 %90 = sext i8 %89 to i64 %91 = and i64 %90, 4294967295 %92 = call i64 @FUNC(i64 %91) %93 = trunc i64 %92 to i32 %94 = mul i32 %93, 16 %95 = add i64 %arg1, 4 %96 = inttoptr i64 %95 to i8* %97 = load i8, i8* %96, align 1 %98 = sext i8 %97 to i64 %99 = and i64 %98, 4294967295 %100 = call i64 @FUNC(i64 %99) %101 = trunc i64 %100 to i32 %102 = mul i32 %101, 256 %103 = add i64 %arg1, 3 %104 = inttoptr i64 %103 to i8* %105 = load i8, i8* %104, align 1 %106 = sext i8 %105 to i64 %107 = and i64 %106, 4294967295 %108 = call i64 @FUNC(i64 %107) %109 = trunc i64 %108 to i32 %110 = mul i32 %109, 4096 %111 = add i64 %arg1, 2 %112 = inttoptr i64 %111 to i8* %113 = load i8, i8* %112, align 1 %114 = sext i8 %113 to i64 %115 = and i64 %114, 4294967295 %116 = call i64 @FUNC(i64 %115) %117 = trunc i64 %116 to i32 %118 = mul i32 %117, 65536 %119 = inttoptr i64 %9 to i8* %120 = load i8, i8* %119, align 1 %121 = sext i8 %120 to i64 %122 = and i64 %121, 4294967295 %123 = call i64 @FUNC(i64 %122) %124 = trunc i64 %123 to i32 %125 = mul i32 %124, 1048576 %126 = or i32 %94, %86 %127 = or i32 %126, %102 %128 = or i32 %127, %110 %129 = or i32 %128, %118 %130 = or i32 %129, %125 %131 = or i32 %130, -16777216 store i32 %131, i32* %storemerge.in.reg2mem br label LBL_13 LBL_9: %132 = icmp eq i32 %41, 8 %133 = icmp eq i1 %132, false store i32 -16777216, i32* %storemerge.in.reg2mem br i1 %133, label LBL_13, label LBL_10 LBL_10: %134 = add i64 %arg1, 8 %135 = inttoptr i64 %134 to i8* %136 = load i8, i8* %135, align 1 %137 = sext i8 %136 to i64 %138 = and i64 %137, 4294967295 %139 = call i64 @FUNC(i64 %138) %140 = trunc i64 %139 to i32 %141 = add i64 %arg1, 7 %142 = inttoptr i64 %141 to i8* %143 = load i8, i8* %142, align 1 %144 = sext i8 %143 to i64 %145 = and i64 %144, 4294967295 %146 = call i64 @FUNC(i64 %145) %147 = trunc i64 %146 to i32 %148 = mul i32 %147, 16 %149 = or i32 %148, %140 %150 = add i64 %arg1, 6 %151 = inttoptr i64 %150 to i8* %152 = load i8, i8* %151, align 1 %153 = sext i8 %152 to i64 %154 = and i64 %153, 4294967295 %155 = call i64 @FUNC(i64 %154) %156 = trunc i64 %155 to i32 %157 = mul i32 %156, 256 %158 = or i32 %149, %157 %159 = add i64 %arg1, 5 %160 = inttoptr i64 %159 to i8* %161 = load i8, i8* %160, align 1 %162 = sext i8 %161 to i64 %163 = and i64 %162, 4294967295 %164 = call i64 @FUNC(i64 %163) %165 = trunc i64 %164 to i32 %166 = mul i32 %165, 4096 %167 = or i32 %158, %166 %168 = add i64 %arg1, 4 %169 = inttoptr i64 %168 to i8* %170 = load i8, i8* %169, align 1 %171 = sext i8 %170 to i64 %172 = and i64 %171, 4294967295 %173 = call i64 @FUNC(i64 %172) %174 = trunc i64 %173 to i32 %175 = mul i32 %174, 65536 %176 = or i32 %167, %175 %177 = add i64 %arg1, 3 %178 = inttoptr i64 %177 to i8* %179 = load i8, i8* %178, align 1 %180 = sext i8 %179 to i64 %181 = and i64 %180, 4294967295 %182 = call i64 @FUNC(i64 %181) %183 = trunc i64 %182 to i32 %184 = mul i32 %183, 1048576 %185 = or i32 %176, %184 %186 = add i64 %arg1, 2 %187 = inttoptr i64 %186 to i8* %188 = load i8, i8* %187, align 1 %189 = sext i8 %188 to i64 %190 = and i64 %189, 4294967295 %191 = call i64 @FUNC(i64 %190) %192 = trunc i64 %191 to i32 %193 = mul i32 %192, 16777216 %194 = or i32 %185, %193 %195 = inttoptr i64 %9 to i8* %196 = load i8, i8* %195, align 1 %197 = sext i8 %196 to i64 %198 = and i64 %197, 4294967295 %199 = call i64 @FUNC(i64 %198) %200 = trunc i64 %199 to i32 %201 = mul i32 %200, 268435456 %202 = or i32 %194, %201 store i32 %202, i32* %storemerge.in.reg2mem br label LBL_13 LBL_11: %203 = ptrtoint i64* %sv_1 to i64 %204 = trunc i64 %storemerge5.reload to i32 %205 = bitcast i64* %sv_0 to i8* %206 = inttoptr i64 %arg1 to i8* %207 = call i8* @strncpy(i8* nonnull %205, i8* %206, i32 %204) %208 = add i64 %203, -144 %209 = add i64 %208, %storemerge5.reload %210 = inttoptr i64 %209 to i8* store i8 0, i8* %210, align 1 %211 = call i64* @bsearch(i64* nonnull %sv_0, i64* bitcast ([4 x i8]** @gv_0 to i64*), i32 5, i32 16, i32 (i64*, i64*)* inttoptr (i64 4198837 to i32 (i64*, i64*)*)) %212 = ptrtoint i64* %211 to i64 %sext4 = mul i64 %212, 4294967296 %213 = icmp eq i64 %sext4, 0 %214 = icmp eq i1 %213, false store i32 -16777216, i32* %storemerge.in.reg2mem br i1 %214, label LBL_12, label LBL_13 LBL_12: %215 = ashr exact i64 %sext4, 32 %216 = add nsw i64 %215, 8 %217 = inttoptr i64 %216 to i32* %218 = load i32, i32* %217, align 4 store i32 %218, i32* %storemerge.in.reg2mem br label LBL_13 LBL_13: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = zext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i64 %9, { 3, 2, 1, 0 } uselistorder i64 %storemerge5.reload, { 2, 0, 3, 1 } uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.in.reg2mem, { 0, 6, 7, 4, 5, 3, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder i32 -16777216, { 1, 0, 2, 3 } uselistorder i32 16, { 4, 0, 1, 2, 3 } uselistorder i64 (i64)* @hex_char_to_number, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 4294967296, { 0, 3, 1, 2 } uselistorder i32 0, { 1, 0 } uselistorder i32 1, { 5, 4, 2, 1, 0, 3 } uselistorder i64 %arg1, { 18, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 } uselistorder label LBL_13, { 5, 6, 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
codec_reinit_536
codec_reinit
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg1 to i64 %4 = trunc i64 %arg4 to i32 %sext = mul i64 %arg4, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp slt i32 %4, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = and i64 %5, 4294967295 %11 = call i64 @FUNC(i64 %8, i64 %10) br label LBL_2 LBL_2: %12 = trunc i64 %arg2 to i32 %13 = trunc i64 %arg3 to i32 %14 = inttoptr i64 %8 to i32* %15 = add i32 %12, 1 %16 = and i32 %15, -2 %17 = add i32 %13, 1 %18 = and i32 %17, -2 %19 = load i32, i32* %14, align 4 %20 = icmp eq i32 %16, %19 %21 = icmp eq i1 %20, false br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = add i64 %8, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %18, %24 br i1 %25, label LBL_8, label LBL_4 LBL_4: %26 = zext i32 %18 to i64 %27 = call i64 @FUNC(i64 %26, i32 %16, i64 0, i64 %3) %28 = trunc i64 %27 to i32 %29 = icmp slt i32 %28, 0 %30 = icmp eq i1 %29, false store i64 0, i64* %rax.0.reg2mem br i1 %30, label LBL_5, label LBL_10 LBL_5: store i32 %16, i32* %14, align 4 store i32 %16, i32* %arg1, align 4 %31 = add i64 %8, 4 %32 = inttoptr i64 %31 to i32* store i32 %18, i32* %32, align 4 %33 = add i64 %3, 4 %34 = inttoptr i64 %33 to i32* store i32 %18, i32* %34, align 4 %35 = load i32, i32* %32, align 4 %36 = load i32, i32* %14, align 4 %37 = mul i32 %35, 3 %38 = mul i32 %37, %36 %39 = icmp slt i32 %38, 0 %40 = zext i1 %39 to i32 %41 = add i32 %38, %40 %42 = ashr i32 %41, 1 %43 = sext i32 %42 to i64 %44 = add i64 %8, 24 %45 = add i64 %8, 16 %46 = call i64 @FUNC(i64 %45, i64 %44, i64 %43) %47 = inttoptr i64 %45 to i64* %48 = load i64, i64* %47, align 8 %49 = icmp eq i64 %48, 0 %50 = icmp eq i1 %49, false br i1 %50, label LBL_7, label LBL_6 LBL_6: %51 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %45, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %52 = add i64 %8, 52 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = add i64 %8, 48 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = load i32, i32* %32, align 4 %59 = load i32, i32* %14, align 4 %60 = add i64 %8, 40 %61 = add i64 %8, 32 %62 = zext i32 %58 to i64 %63 = zext i32 %59 to i64 %64 = call i64 @FUNC(i64 %61, i64 %60, i64 %63, i64 %62, i32 %57, i32 %54) store i64 1, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %65 = add i64 %8, 8 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = trunc i64 %5 to i32 %69 = icmp eq i32 %67, %68 store i64 1, i64* %rax.0.reg2mem br i1 %69, label LBL_10, label LBL_9 LBL_9: %70 = add i64 %8, 52 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = add i64 %8, 48 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = add i64 %8, 40 %77 = add i64 %8, 32 %78 = zext i32 %18 to i64 %79 = zext i32 %19 to i64 %80 = call i64 @FUNC(i64 %77, i64 %76, i64 %79, i64 %78, i32 %75, i32 %72) store i64 1, 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 %45, { 1, 0, 2 } uselistorder i32 %18, { 0, 1, 3, 4, 2 } uselistorder i32 %16, { 1, 0, 2, 3 } uselistorder i64 %8, { 7, 8, 9, 10, 11, 0, 1, 2, 3, 4, 5, 6, 12, 14, 13 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 5, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i64 1, { 2, 1, 0, 3 } uselistorder i64 (i64, i64, i64, i64, i32, i32)* @rtjpeg_decode_init, { 1, 0 } uselistorder i64 32, { 1, 2, 0 } uselistorder label LBL_10, { 2, 1, 0, 4, 3 } }
0
BinRealVul
xfrm_aevent_state_notify_8908
xfrm_aevent_state_notify
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = and i64 %2, 4294967295 %4 = call i64 @FUNC(i64 %3, i64 0) %sext = mul i64 %4, 4294967296 %5 = icmp eq i64 %sext, 0 %6 = icmp eq i1 %5, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_4 LBL_1: %7 = ashr exact i64 %sext, 32 %8 = ptrtoint i64* %arg2 to i64 %9 = call i64 @FUNC(i64 %7, i64 %0, i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC() br label LBL_3 LBL_3: %14 = inttoptr i64 %1 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15, i64 %7, i64 0, i64 0, i64 0) store i64 %16, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
mov_get_lpcm_flags_9150
mov_get_lpcm_flags
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = and i64 %0, 4294967295 store i64 %1, i64* @0, align 8 %trunc = trunc i64 %0 to i32 store i64 11, i64* %rax.0.reg2mem store i64 11, i64* %rax.0.reg2mem switch i32 %trunc, label LBL_5 [ i32 0, label LBL_6 i32 1, label LBL_6 i32 2, label LBL_1 i32 3, label LBL_1 i32 4, label LBL_2 i32 5, label LBL_3 i32 6, label LBL_3 i32 7, label LBL_3 i32 8, label LBL_4 i32 9, label LBL_4 i32 10, label LBL_4 i32 11, label LBL_4 ] LBL_1: store i64 9, i64* %rax.0.reg2mem br label LBL_6 LBL_2: store i64 10, i64* %rax.0.reg2mem br label LBL_6 LBL_3: store i64 14, i64* %rax.0.reg2mem br label LBL_6 LBL_4: store i64 12, i64* %rax.0.reg2mem br label LBL_6 LBL_5: store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 1, 2 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_6, { 6, 2, 3, 4, 5, 1, 0 } }
0
BinRealVul
r600_cs_packet_next_reloc_nomm_4831
r600_cs_packet_next_reloc_nomm
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i32, i32* %1 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %sv_0 = alloca i32, align 4 %6 = trunc i64 %2 to i32 %7 = icmp eq i32 %6, -1 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %10 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %9) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_9 LBL_2: store i64 0, i64* %arg2, align 8 %11 = ptrtoint i32* %arg1 to i64 %12 = add i64 %11, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %11, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = bitcast i32* %sv_0 to i64* %19 = call i64 @FUNC(i64 %11, i64* nonnull %18, i32 %17) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = and i64 %19, 4294967295 store i64 %22, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %23 = load i32, i32* %16, align 4 %24 = add i32 %5, 2 %25 = add i32 %24, %23 store i32 %25, i32* %16, align 4 %26 = load i32, i32* %sv_0, align 4 %27 = icmp eq i32 %26, 3 %28 = icmp eq i32 %4, 0 %or.cond = icmp eq i1 %28, %27 br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %29 = zext i32 %3 to i64 %30 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %31 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %30, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i64 %29) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %sext = mul i64 %2, 4294967296 %32 = ashr exact i64 %sext, 28 %33 = add i64 %14, %32 %34 = inttoptr i64 %33 to i32* %35 = add i32 %3, 1 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %11, i64 %36) %38 = trunc i64 %37 to i32 %39 = load i32, i32* %34, align 4 %40 = icmp ugt i32 %39, %38 br i1 %40, label LBL_8, label LBL_7 LBL_7: %41 = zext i32 %39 to i64 %42 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %43 = and i64 %37, 4294967295 %44 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %42, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_3, i64 0, i64 0), i64 %43, i64 %41) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %45 = add i64 %11, 16 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 store i64 %47, i64* %arg2, align 8 %48 = add i64 %33, 8 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = mul i64 %37, 4 %52 = add i64 %51, 12 %53 = and i64 %52, 17179869180 %54 = add i64 %50, %53 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = zext i32 %56 to i64 %58 = mul i64 %57, 4294967296 %59 = inttoptr i64 %36 to i64* store i64 %58, i64* %59, align 8 %60 = load i64, i64* %49, align 8 %61 = and i64 %51, 17179869180 %62 = add i64 %60, %61 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = or i32 %64, %35 %66 = zext i32 %65 to i64 store i64 %66, i64* %59, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %51, { 1, 0 } uselistorder i32* %16, { 1, 0, 2 } uselistorder i64 %11, { 0, 1, 3, 2, 4 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32* %1, { 2, 1, 0 } uselistorder i64 4294967274, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } }
0
BinRealVul
insn_get_code_seg_params_11584
insn_get_code_seg_params
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 131074, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 0) %5 = trunc i64 %4 to i16 %sext6 = mul i64 %4, 281474976710656 %6 = icmp slt i16 %5, 0 %7 = icmp eq i1 %6, false %8 = ashr exact i64 %sext6, 48 store i64 %8, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_7 LBL_2: %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %9) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_7 LBL_3: %13 = inttoptr i64 %10 to i32* %14 = load i32, i32* %13, align 4 %15 = and i32 %14, 8 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_7 LBL_4: %18 = add i64 %10, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = mul i32 %20, 2 %22 = add i64 %10, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = or i32 %24, %21 %26 = icmp eq i32 %25, 2 store i64 524292, i64* %rax.0.reg2mem br i1 %26, label LBL_7, label LBL_5 LBL_5: %27 = icmp sgt i32 %25, 2 store i64 4294967274, i64* %rax.0.reg2mem br i1 %27, label LBL_7, label LBL_6 LBL_6: %switch.selectcmp = icmp eq i32 %25, 1 %switch.select = select i1 %switch.selectcmp, i64 262148, i64 4294967274 %switch.selectcmp4 = icmp eq i32 %25, 0 %switch.select5 = select i1 %switch.selectcmp4, i64 131074, i64 %switch.select store i64 %switch.select5, 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 %8, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 5, 6, 1, 7 } uselistorder i64 8, { 1, 0 } uselistorder i32 2, { 2, 1, 0 } uselistorder i64 4294967274, { 3, 0, 1, 2 } uselistorder i64 131074, { 1, 0 } uselistorder label LBL_7, { 2, 1, 3, 4, 5, 0, 6 } }
1
BinRealVul
usbip_stop_eh_4748
usbip_stop_eh
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 %2 = icmp eq i64 %1, %0 store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = add i64 %0, 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0)) store i64 %5, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
proc_task_readdir_10879
proc_task_readdir
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1.02.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 store i64 4294967294, i64* %sv_0.0.reg2mem br i1 %2, label LBL_14, label LBL_1 LBL_1: %3 = call i64 @FUNC() %4 = call i64 @FUNC(i64 %1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 0, i64* %sv_2.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = inttoptr i64 %1 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) store i64 %8, i64* %sv_2.0.reg2mem br label LBL_3 LBL_3: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %10 = call i64 @FUNC() %11 = call i64 @FUNC(i64 %1) %12 = icmp eq i64 %sv_2.0.reload, 0 store i64 4294967294, i64* %sv_0.0.reg2mem br i1 %12, label LBL_14, label LBL_4 LBL_4: %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 switch i64 %15, label LBL_9 [ i64 0, label LBL_5 i64 1, label LBL_7 ] LBL_5: %16 = trunc i64 %arg2 to i32 %17 = icmp slt i32 %16, 0 br i1 %17, label LBL_13, label LBL_6 LBL_6: store i64 1, i64* %14, align 8 %18 = call i64 @FUNC(i64 %0) br label LBL_8 LBL_7: %.pre = trunc i64 %arg2 to i32 %19 = call i64 @FUNC(i64 %0) %20 = icmp slt i32 %.pre, 0 br i1 %20, label LBL_13, label LBL_8 LBL_8: %21 = load i64, i64* %14, align 8 %22 = add i64 %21, 1 store i64 %22, i64* %14, align 8 br label LBL_9 LBL_9: %23 = add i64 %0, 24 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = add i64 %25, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = add i64 %0, 16 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = trunc i64 %33 to i32 store i64 0, i64* %32, align 8 %35 = load i64, i64* %14, align 8 %36 = add i64 %35, 4294967294 %37 = and i64 %36, 4294967295 %38 = call i64 @FUNC(i64 %sv_2.0.reload, i32 %34, i64 %37, i64 %30) %39 = icmp eq i64 %38, 0 %40 = icmp eq i1 %39, false store i64 %38, i64* %sv_1.02.reg2mem br i1 %40, label LBL_10, label LBL_13 LBL_10: %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem %41 = call i64 @FUNC(i64 %sv_1.02.reload, i64 %30) %42 = and i64 %41, 4294967295 %43 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %arg3, i64 %sv_1.02.reload, i64 %42) %44 = trunc i64 %43 to i32 %45 = icmp slt i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_12, label LBL_11 LBL_11: %sext = mul i64 %41, 4294967296 %47 = ashr exact i64 %sext, 32 store i64 %47, i64* %32, align 8 %48 = call i64 @FUNC(i64 %sv_1.02.reload) br label LBL_13 LBL_12: %49 = call i64 @FUNC(i64 %sv_1.02.reload) %50 = load i64, i64* %14, align 8 %51 = add i64 %50, 1 store i64 %51, i64* %14, align 8 %52 = icmp eq i64 %49, 0 %53 = icmp eq i1 %52, false store i64 %49, i64* %sv_1.02.reg2mem br i1 %53, label LBL_10, label LBL_13 LBL_13: %54 = call i64 @FUNC(i64 %sv_2.0.reload) store i64 0, i64* %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %sv_1.02.reload, { 0, 3, 1, 2 } uselistorder i64* %14, { 4, 3, 5, 1, 0, 2, 6 } uselistorder i64 %sv_2.0.reload, { 1, 2, 0 } uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64 %0, { 1, 2, 3, 4, 0, 5, 6 } uselistorder i64* %sv_1.02.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 (i64)* @parent_ino, { 1, 0 } uselistorder i64 1, { 2, 3, 0, 1 } uselistorder i64 (i64)* @put_task_struct, { 2, 1, 0 } uselistorder i64 4294967294, { 2, 0, 1 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_14, { 2, 0, 1 } uselistorder label LBL_13, { 0, 4, 1, 2, 3 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
jpeg2000_dec_cleanup_11435
jpeg2000_dec_cleanup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rdi.1.reg2mem = alloca i64 %.reg2mem24 = alloca i32 %.reg2mem22 = alloca i32 %.lcssa.reg2mem = alloca i64 %.reg2mem20 = alloca i32 %.reg2mem18 = alloca i64 %rdi.25.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %.reg2mem16 = alloca i64 %.reg2mem14 = alloca i32 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = add i64 %0, 12 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = mul i32 %6, %3 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_8, label LBL_1 LBL_1: %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i32* store i32 %6, i32* %.reg2mem store i32 %3, i32* %.reg2mem14 store i64 0, i64* %.reg2mem16 store i32 0, i32* %storemerge6.reg2mem store i64 %0, i64* %rdi.25.reg2mem br label LBL_2 LBL_2: %rdi.25.reload = load i64, i64* %rdi.25.reg2mem %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %.reload17 = load i64, i64* %.reg2mem16 %.reload15 = load i32, i32* %.reg2mem14 %.reload = load i32, i32* %.reg2mem %11 = mul i64 %.reload17, 16 %12 = add i64 %rdi.25.reload, %11 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 store i32 %.reload, i32* %.reg2mem22 store i32 %.reload15, i32* %.reg2mem24 store i64 %rdi.25.reload, i64* %rdi.1.reg2mem br i1 %15, label LBL_7, label LBL_3 LBL_3: %16 = load i32, i32* %10, align 4 %17 = icmp eq i32 %16, 0 store i64 %12, i64* %.lcssa.reg2mem br i1 %17, label LBL_6, label LBL_4 LBL_4: %18 = add i64 %12, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %14, i64 %20) %22 = load i32, i32* %10, align 4 %23 = icmp ugt i32 %22, 1 %24 = add i64 %14, %11 store i64 %24, i64* %.reg2mem18 store i32 1, i32* %.reg2mem20 store i64 %24, i64* %.lcssa.reg2mem br i1 %23, label LBL_5, label LBL_6 LBL_5: %.reload21 = load i32, i32* %.reg2mem20 %.reload19 = load i64, i64* %.reg2mem18 %.phi.trans.insert = inttoptr i64 %.reload19 to i64* %.pre = load i64, i64* %.phi.trans.insert, align 8 %25 = add i64 %.reload19, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %.pre, i64 %27) %29 = add i32 %.reload21, 1 %30 = load i32, i32* %10, align 4 %31 = zext i32 %30 to i64 %32 = sext i32 %29 to i64 %33 = icmp slt i64 %32, %31 %34 = add i64 %.pre, %11 store i64 %34, i64* %.reg2mem18 store i32 %29, i32* %.reg2mem20 store i64 %34, i64* %.lcssa.reg2mem br i1 %33, label LBL_5, label LBL_6 LBL_6: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %35 = call i64 @FUNC(i64 %.lcssa.reload) %.pre10 = load i32, i32* %2, align 4 %.pre11 = load i32, i32* %5, align 4 store i32 %.pre11, i32* %.reg2mem22 store i32 %.pre10, i32* %.reg2mem24 store i64 %.lcssa.reload, i64* %rdi.1.reg2mem br label LBL_7 LBL_7: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %.reload25 = load i32, i32* %.reg2mem24 %.reload23 = load i32, i32* %.reg2mem22 %36 = add i32 %storemerge6.reload, 1 %37 = mul i32 %.reload25, %.reload23 %38 = zext i32 %37 to i64 %39 = sext i32 %36 to i64 %40 = icmp slt i64 %39, %38 store i32 %.reload23, i32* %.reg2mem store i32 %.reload25, i32* %.reg2mem14 store i64 %39, i64* %.reg2mem16 store i32 %36, i32* %storemerge6.reg2mem store i64 %rdi.1.reload, i64* %rdi.25.reg2mem br i1 %40, label LBL_2, label LBL_8 LBL_8: %41 = call i64 @FUNC(i64 %0) %42 = add i64 %0, 20 %43 = inttoptr i64 %42 to i64* %44 = call i64* @memset(i64* %43, i32 0, i32 40) %45 = add i64 %0, 60 %46 = inttoptr i64 %45 to i64* %47 = call i64* @memset(i64* %46, i32 0, i32 40) %48 = add i64 %0, 100 %49 = inttoptr i64 %48 to i64* %50 = call i64* @memset(i64* %49, i32 0, i32 40) %51 = add i64 %0, 140 %52 = inttoptr i64 %51 to i64* %53 = call i64* @memset(i64* %52, i32 0, i32 4) store i32 0, i32* %5, align 4 store i32 0, i32* %2, align 4 ret i64 %0 uselistorder i32 %.reload23, { 1, 0 } uselistorder i32 %.reload25, { 1, 0 } uselistorder i64 %.pre, { 1, 0 } uselistorder i64 %.reload19, { 1, 0 } uselistorder i64 %12, { 1, 0, 2 } uselistorder i64 %11, { 1, 2, 0 } uselistorder i32* %10, { 2, 0, 1 } uselistorder i32* %5, { 1, 0, 2 } uselistorder i32* %2, { 1, 0, 2 } uselistorder i64 %0, { 1, 3, 2, 7, 8, 9, 0, 4, 6, 5 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem14, { 1, 0, 2 } uselistorder i64* %.reg2mem16, { 1, 0, 2 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.25.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem18, { 2, 0, 1 } uselistorder i32* %.reg2mem20, { 2, 0, 1 } uselistorder i64* (i64*, i32, i32)* @memset, { 0, 1, 3, 2 } uselistorder i64 (i64, i64)* @ff_jpeg2000_cleanup, { 1, 0 } uselistorder i32 0, { 3, 8, 4, 5, 6, 7, 1, 0, 2 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
dfa_read_packet_2464
dfa_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %6, label LBL_1, label LBL_14 LBL_1: %7 = ptrtoint i64* %arg2 to i64 %8 = call i64 @FUNC(i64 %3, i64 %7, i64 12) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 12 store i64 4294967291, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_2, label LBL_14 LBL_2: %11 = add i64 %7, 8 %12 = inttoptr i64 %11 to i32* %13 = add i64 %7, -8 %14 = add i64 %7, -12 store i32 1, i32* %sv_0.1.reg2mem br label LBL_13 LBL_3: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %15 = icmp eq i32 %sv_0.1.reload, 0 %16 = icmp eq i1 %15, false store i32 0, i32* %sv_0.0.reg2mem br i1 %16, label LBL_6, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %3, i64 %7, i64 12) %18 = trunc i64 %17 to i32 %19 = icmp slt i32 %18, 0 %20 = icmp eq i1 %19, false store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = call i64 @FUNC(i64 %7) store i64 %17, i64* %rax.0.shrunk.reg2mem br label LBL_14 LBL_6: %22 = load i32, i32* %12, align 4 %23 = sext i32 %22 to i64 %24 = add i64 %13, %23 %25 = call i64 @FUNC(i64 %24) %26 = trunc i64 %25 to i32 %27 = icmp ult i32 %26, 2147483644 br i1 %27, label LBL_8, label LBL_7 LBL_7: %28 = and i64 %25, 4294967295 %29 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %28, i64 %2, i64 %1) %30 = call i64 @FUNC(i64 %7) store i64 4294967291, i64* %rax.0.shrunk.reg2mem br label LBL_14 LBL_8: %31 = load i32, i32* %12, align 4 %32 = sext i32 %31 to i64 %33 = add i64 %14, %32 %34 = call i64 @FUNC(i64 %33) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 1162823250 %37 = icmp eq i1 %36, false br i1 %37, label LBL_11, label LBL_9 LBL_9: %38 = icmp eq i32 %26, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %38, label LBL_14, label LBL_10 LBL_10: %39 = and i64 %25, 4294967295 %40 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %39, i64 %2, i64 %1) %41 = call i64 @FUNC(i64 %3, i64 %39) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_14 LBL_11: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %42 = and i64 %25, 4294967295 %43 = call i64 @FUNC(i64 %3, i64 %7, i64 %42) %44 = trunc i64 %43 to i32 %45 = icmp slt i32 %44, 0 %46 = icmp eq i1 %45, false store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %46, label LBL_13, label LBL_12 LBL_12: %47 = call i64 @FUNC(i64 %7) store i64 %43, i64* %rax.0.shrunk.reg2mem br label LBL_14 LBL_13: %48 = call i64 @FUNC(i64 %3) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %50, label LBL_3, label LBL_14 LBL_14: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %39, { 1, 0 } uselistorder i64 %25, { 2, 0, 1, 3 } uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i64 %7, { 5, 6, 4, 2, 3, 0, 1, 7, 8 } uselistorder i64 %3, { 5, 4, 2, 3, 1, 0, 6, 7 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 8, 3, 2, 7, 6, 4, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 0, { 0, 2, 5, 6, 1, 9, 7, 8, 3, 4, 10 } uselistorder i64 (i64)* @AV_RL32, { 1, 0 } uselistorder i64 (i64)* @av_packet_unref, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @av_append_packet, { 1, 0 } uselistorder i64 4294967291, { 1, 0 } uselistorder i32 0, { 5, 1, 2, 3, 0, 4, 6 } uselistorder i64 (i64)* @avio_feof, { 1, 0 } uselistorder label LBL_14, { 0, 5, 2, 1, 6, 7, 3, 4 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
net_client_uninit_15464
net_client_uninit
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = add i32 %2, -1 %4 = inttoptr i64 %arg1 to i32* store i32 %3, i32* %4, align 4 %5 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %6 = add i32 %5, -1 store i32 %6, i32* bitcast (i64* @gv_0 to i32*), align 8 %7 = add i64 %arg1, 8 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = add i64 %arg1, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i64* call void @free(i64* %12) ret i64 ptrtoint (i32* @0 to i64) }
1
BinRealVul
neigh_seq_start_8147
neigh_seq_start
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i32* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = trunc i64 %arg4 to i32 store i64 %0, i64* %arg1, align 8 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = and i32 %3, -2 %7 = add i64 %2, 12 %8 = inttoptr i64 %7 to i32* store i32 %6, i32* %8, align 4 %9 = call i64 @FUNC(i64 %0) %10 = add i64 %1, -1 store i64 %10, i64* %sv_0, align 8 %11 = icmp eq i64* %arg2, null store i64 0, i64* %storemerge.reg2mem br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0) store i64 %12, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
vnc_update_client_16315
vnc_update_client
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_1.0.be.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.08.reg2mem = alloca i32 %sext39.reg2mem = alloca i64 %.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %sext = mul i64 %arg3, 72057594037927936 %4 = ashr exact i64 %sext, 56 %5 = trunc i64 %1 to i32 %6 = add i32 %5, %3 %7 = bitcast i64* %arg1 to i32* store i32 %6, i32* %7, align 4 %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 0 br i1 %11, label LBL_18, label LBL_1 LBL_1: %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_18, label LBL_2 LBL_2: %16 = add i64 %2, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %2, 44 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_5, label LBL_3 LBL_3: %23 = add i64 %2, 40 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_5, label LBL_4 LBL_4: %28 = add i64 %2, 24 %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 i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_5, label LBL_22 LBL_5: %33 = icmp eq i32 %5, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_8, label LBL_6 LBL_6: %35 = add i64 %2, 40 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_8, label LBL_7 LBL_7: %40 = add i64 %2, 24 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_8, label LBL_22 LBL_8: %45 = call i64 @FUNC(i64 %2) %46 = inttoptr i64 %18 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 %47) %49 = load i64, i64* %46, align 8 %50 = call i64 @FUNC(i64 %49) %51 = add i64 %2, 32 %52 = and i64 %48, 4294967295 %53 = call i64 @FUNC(i64 %51, i64 %52, i32 0) %sext37 = mul i64 %53, 4294967296 %54 = ashr exact i64 %sext37, 32 %sext5 = mul i64 %48, 4294967296 %55 = ashr exact i64 %sext5, 32 %56 = icmp eq i64 %54, %55 store i32 0, i32* %sv_0.2.reg2mem br i1 %56, label LBL_15, label LBL_9 LBL_9: %57 = trunc i64 %48 to i32 %58 = trunc i64 %50 to i32 %sext6 = mul i64 %50, 4294967296 %59 = ashr exact i64 %sext6, 32 store i64 %54, i64* %.in.reg2mem store i64 %sext37, i64* %sext39.reg2mem store i32 0, i32* %sv_0.08.reg2mem br label LBL_10 LBL_10: %sv_0.08.reload = load i32, i32* %sv_0.08.reg2mem %sext39.reload = load i64, i64* %sext39.reg2mem %.in.reload = load i64, i64* %.in.reg2mem %60 = trunc i64 %.in.reload to i32 %61 = ashr exact i64 %sext39.reload, 29 %62 = add i64 %61, %51 %63 = call i64 @FUNC(i64 %62, i64 1, i64 0) %sext4 = mul i64 %63, 4294967296 %64 = ashr exact i64 %sext4, 32 %65 = inttoptr i64 %62 to i64* %66 = load i64, i64* %65, align 8 %67 = and i64 %64, 4294967295 %68 = call i64 @FUNC(i64 %66, i64 0, i64 %67) %69 = call i64 @FUNC(i64 %2, i32 %60, i32 0, i64 %64, i64 %52) %70 = icmp ugt i64 %64, %59 %71 = select i1 %70, i64 %59, i64 %64 %72 = icmp eq i64 %71, 0 store i32 %sv_0.08.reload, i32* %sv_0.1.reg2mem br i1 %72, label LBL_12, label LBL_11 LBL_11: %73 = and i64 %69, 4294967295 %74 = and i64 %71, 4294967295 %75 = call i64 @FUNC(i64 %45, i32 0, i32 %60, i64 %74, i64 %73) %76 = trunc i64 %75 to i32 %77 = add i32 %sv_0.08.reload, %76 store i32 %77, i32* %sv_0.1.reg2mem br label LBL_12 LBL_12: %78 = trunc i64 %71 to i32 %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %79 = icmp eq i32 %78, %58 %80 = icmp eq i1 %79, false store i32 %60, i32* %sv_1.0.be.reg2mem br i1 %80, label LBL_13, label LBL_14 LBL_13: %sv_1.0.be.reload = load i32, i32* %sv_1.0.be.reg2mem %81 = call i64 @FUNC(i64 %51, i64 %52, i32 %sv_1.0.be.reload) %sext3 = mul i64 %81, 4294967296 %82 = ashr exact i64 %sext3, 32 %83 = icmp eq i64 %82, %55 store i64 %82, i64* %.in.reg2mem store i64 %sext3, i64* %sext39.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.08.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem br i1 %83, label LBL_15, label LBL_10 LBL_14: %84 = trunc i64 %69 to i32 %85 = add i32 %84, %60 %86 = icmp eq i32 %85, %57 store i32 %85, i32* %sv_1.0.be.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem br i1 %86, label LBL_15, label LBL_13 LBL_15: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %87 = call i64 @FUNC(i64 %45) %88 = trunc i64 %4 to i8 %89 = icmp eq i8 %88, 0 br i1 %89, label LBL_17, label LBL_16 LBL_16: %90 = call i64 @FUNC(i64 %2) br label LBL_17 LBL_17: %91 = add i64 %2, 24 %92 = inttoptr i64 %91 to i32* store i32 0, i32* %92, align 4 store i32 0, i32* %7, align 4 %93 = zext i32 %sv_0.2.reload to i64 store i64 %93, i64* %rax.0.reg2mem br label LBL_22 LBL_18: %94 = add i64 %2, 28 %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = icmp eq i32 %96, 0 br i1 %97, label LBL_20, label LBL_19 LBL_19: %98 = call i64 @FUNC(i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_22 LBL_20: %99 = trunc i64 %4 to i8 %100 = icmp eq i8 %99, 0 store i64 0, i64* %rax.0.reg2mem br i1 %100, label LBL_22, label LBL_21 LBL_21: %101 = call i64 @FUNC(i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.1.reload, { 1, 0, 2 } uselistorder i64 %71, { 2, 0, 1 } uselistorder i64 %69, { 1, 0 } uselistorder i64 %64, { 0, 1, 3, 2 } uselistorder i32 %60, { 1, 0, 2, 3 } uselistorder i32 %sv_0.08.reload, { 1, 0 } uselistorder i64 %59, { 1, 0 } uselistorder i64 %55, { 1, 0 } uselistorder i64 %52, { 2, 1, 0 } uselistorder i64 %51, { 2, 0, 1 } uselistorder i64 %48, { 2, 0, 1 } uselistorder i64 %45, { 1, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 13, 14, 12, 6, 5, 4, 7, 8, 3, 2, 1, 0, 10, 11, 9, 15 } uselistorder i64* %.in.reg2mem, { 1, 0, 2 } uselistorder i64* %sext39.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.08.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.be.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 6, 4, 5 } uselistorder i64 (i64)* @vnc_jobs_join, { 1, 0 } uselistorder i64 (i64, i64, i32)* @find_next_bit, { 1, 0 } uselistorder i64 4294967295, { 0, 1, 3, 2, 4, 5 } uselistorder i64 32, { 4, 3, 1, 2, 0, 5 } uselistorder i32 0, { 6, 7, 8, 3, 4, 1, 0, 2, 9, 10, 11, 12, 13, 14, 5 } uselistorder label LBL_22, { 2, 1, 0, 5, 3, 4 } uselistorder label LBL_15, { 1, 0, 2 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
pointer_event_3619
pointer_event
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %.pre-phi7.reg2mem = alloca i32 %.pre-phi11.reg2mem = alloca i32* %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = inttoptr i64 %2 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, %1 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0, i32 %11, i32 %1) store i32 %1, i32* %10, align 4 br label LBL_2 LBL_2: %sext4 = mul i64 %arg3, 4294967296 %14 = ashr exact i64 %sext4, 32 %sext5 = mul i64 %arg4, 4294967296 %15 = ashr exact i64 %sext5, 32 %16 = add i64 %0, 20 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = trunc i64 %5 to i32 %21 = trunc i64 %9 to i32 %22 = trunc i64 %14 to i32 %23 = call i64 @FUNC(i64 %0, i64 0, i32 %22, i32 %20) %24 = trunc i64 %15 to i32 %25 = call i64 @FUNC(i64 %0, i64 1, i32 %24, i32 %21) br label LBL_10 LBL_4: %26 = call i64 @FUNC(i64 %0, i64 1) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_6, label LBL_5 LBL_5: %29 = add nsw i64 %14, 4294934529 %30 = and i64 %29, 4294967295 %31 = call i64 @FUNC(i64 %0, i64 0, i64 %30) %32 = add nsw i64 %15, 4294934529 %33 = and i64 %32, 4294967295 %34 = call i64 @FUNC(i64 %0, i64 1, i64 %33) br label LBL_10 LBL_6: %35 = add i64 %0, 12 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %37, -1 %.pre = trunc i64 %14 to i32 br i1 %38, label LBL_6.LBL_9_crit_edge, label LBL_8 LBL_7: %.pre6 = trunc i64 %15 to i32 %.pre8 = add i64 %0, 16 %.pre10 = inttoptr i64 %.pre8 to i32* store i32* %.pre10, i32** %.pre-phi11.reg2mem store i32 %.pre6, i32* %.pre-phi7.reg2mem br label LBL_9 LBL_8: %39 = sub i32 %.pre, %37 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %0, i64 0, i64 %40) %42 = add i64 %0, 16 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = trunc i64 %15 to i32 %46 = sub i32 %45, %44 %47 = zext i32 %46 to i64 %48 = call i64 @FUNC(i64 %0, i64 1, i64 %47) store i32* %43, i32** %.pre-phi11.reg2mem store i32 %45, i32* %.pre-phi7.reg2mem br label LBL_9 LBL_9: %.pre-phi7.reload = load i32, i32* %.pre-phi7.reg2mem %.pre-phi11.reload = load i32*, i32** %.pre-phi11.reg2mem store i32 %.pre, i32* %36, align 4 store i32 %.pre-phi7.reload, i32* %.pre-phi11.reload, align 4 br label LBL_10 LBL_10: %49 = call i64 @FUNC() ret i64 %49 uselistorder i64 %15, { 3, 0, 2, 1 } uselistorder i64 %14, { 0, 2, 1 } uselistorder i32 %1, { 1, 0, 2 } uselistorder i64 %0, { 6, 7, 8, 0, 9, 5, 4, 11, 3, 2, 10, 1, 12 } uselistorder i64 16, { 1, 0 } uselistorder i64 (i64, i64, i64)* @qemu_input_queue_rel, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i32, i32)* @qemu_input_queue_abs, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
intel_sdvo_detect_hdmi_audio_18255
intel_sdvo_detect_hdmi_audio
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = icmp eq i8 %3, 1 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = call i64 @FUNC(i64 %0) %6 = icmp eq i64 %5, 0 store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = inttoptr i64 %5 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = icmp eq i32 %9, 0 store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %5) %phitmp = urem i64 %11, 256 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder label LBL_4, { 2, 1, 0, 3 } }
1
BinRealVul
silk_is_lpc_stable_15344
silk_is_lpc_stable
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.016.reg2mem = alloca i64 %sv_1.017.reg2mem = alloca i64 %storemerge918.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_2.019.reg2mem = alloca i32 %indvars.iv25.reg2mem = alloca i64 %sv_3 = alloca i64, align 8 %0 = ptrtoint i64* %sv_3 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp sgt i32 %1, 0 br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %wide.trip.count27 = and i64 %arg2, 4294967295 store i64 0, i64* %indvars.iv25.reg2mem store i32 0, i32* %sv_2.019.reg2mem br label LBL_2 LBL_2: %sv_2.019.reload = load i32, i32* %sv_2.019.reg2mem %indvars.iv25.reload = load i64, i64* %indvars.iv25.reg2mem %4 = mul i64 %indvars.iv25.reload, 2 %5 = add i64 %4, %3 %6 = inttoptr i64 %5 to i16* %7 = load i16, i16* %6, align 2 %8 = sext i16 %7 to i32 %9 = add i32 %sv_2.019.reload, %8 %10 = mul i64 %indvars.iv25.reload, 4 %11 = add i64 %10, %0 %12 = mul i32 %8, 4096 %13 = inttoptr i64 %11 to i32* store i32 %12, i32* %13, align 4 %indvars.iv.next26 = add nuw nsw i64 %indvars.iv25.reload, 1 %exitcond28 = icmp eq i64 %indvars.iv.next26, %wide.trip.count27 store i64 %indvars.iv.next26, i64* %indvars.iv25.reg2mem store i32 %9, i32* %sv_2.019.reg2mem br i1 %exitcond28, label LBL_3, label LBL_2 LBL_3: %phitmp = icmp slt i32 %9, 4096 store i64 0, i64* %rax.0.reg2mem br i1 %phitmp, label LBL_4, label LBL_11 LBL_4: %storemerge915 = add i32 %1, -1 %14 = sext i32 %storemerge915 to i64 %15 = mul i64 %14, 4 %16 = add i64 %15, %0 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = sub i32 0, %18 %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false %22 = select i1 %21, i32 %19, i32 %18 %23 = icmp slt i32 %22, 16773023 store i32 %18, i32* %.reg2mem store i32 %storemerge915, i32* %storemerge918.reg2mem store i64 %0, i64* %sv_1.017.reg2mem store i64 1073741824, i64* %sv_0.016.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_11 LBL_5: %sext12 = mul i64 %44, 17179869184 %24 = ashr exact i64 %sext12, 32 %storemerge9 = add i32 %storemerge918.reload, -1 %25 = sext i32 %storemerge9 to i64 %26 = mul i64 %25, 4 %27 = add i64 %59, %26 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = sub i32 0, %29 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false %33 = select i1 %32, i32 %30, i32 %29 %34 = icmp slt i32 %33, 16773023 store i32 %29, i32* %.reg2mem store i32 %storemerge9, i32* %storemerge918.reg2mem store i64 %59, i64* %sv_1.017.reg2mem store i64 %24, i64* %sv_0.016.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %34, label LBL_6, label LBL_11 LBL_6: %sv_0.016.reload = load i64, i64* %sv_0.016.reg2mem %storemerge918.reload = load i32, i32* %storemerge918.reg2mem %.reload = load i32, i32* %.reg2mem %35 = mul i32 %.reload, 128 %36 = sub i32 0, %35 %37 = sext i32 %36 to i64 %38 = mul nsw i64 %37, %37 %39 = udiv i64 %38, 4294967296 %40 = trunc i64 %39 to i32 %41 = sub nsw i32 1073741824, %40 %42 = sext i32 %41 to i64 %43 = mul nsw i64 %sv_0.016.reload, %42 %44 = ashr i64 %43, 32 %45 = icmp eq i32 %storemerge918.reload, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_8, label LBL_7 LBL_7: %47 = mul i64 %44, 4 %48 = trunc i64 %47 to i32 %49 = add i32 %48, -107373 %50 = sub i32 107372, %48 %51 = and i32 %50, %48 %52 = icmp slt i32 %51, 0 %53 = icmp slt i32 %49, 0 %54 = icmp eq i1 %53, %52 %55 = zext i1 %54 to i64 store i64 %55, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %56 = mul i32 %storemerge918.reload, 64 %57 = and i32 %56, 64 %58 = zext i32 %57 to i64 %59 = add i64 %58, %0 %60 = icmp sgt i32 %storemerge918.reload, 0 br i1 %60, label LBL_9, label LBL_5 LBL_9: %sv_1.017.reload = load i64, i64* %sv_1.017.reg2mem %61 = call i32 @llvm.ctlz.i32(i32 %41, i1 true), !range !40 %62 = icmp eq i32 %41, 0 %.op = xor i32 %61, 31 %63 = select i1 %62, i32 0, i32 %.op %64 = add nuw nsw i32 %63, 17 %65 = urem i32 %64, 32 %66 = ashr i32 %41, %65 %67 = udiv i32 536870911, %66 %68 = zext i32 %67 to i64 %69 = xor i32 %63, 31 %70 = shl i32 %41, %69 %71 = sext i32 %70 to i64 %72 = mul nsw i64 %68, %71 %73 = udiv i64 %72, 65536 %74 = mul i64 %73, 4294967296 %sext7 = sub i64 2305843009213693952, %74 %75 = udiv i64 %sext7, 4294967296 %76 = trunc i64 %75 to i32 %77 = mul i32 %67, %76 %78 = ashr i32 %77, 13 %79 = mul i32 %67, 65536 %80 = add i32 %78, %79 %81 = add i64 %sv_1.017.reload, -4 %82 = ashr exact i32 %36, 1 %83 = ashr i32 %80, 1 %wide.trip.count = zext i32 %storemerge918.reload to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %84 = mul i64 %indvars.iv.reload, 4 %85 = add i64 %84, %sv_1.017.reload %86 = inttoptr i64 %85 to i32* %87 = load i32, i32* %86, align 4 %88 = trunc i64 %indvars.iv.reload to i32 %89 = sub i32 %storemerge918.reload, %88 %90 = sext i32 %89 to i64 %91 = mul i64 %90, 4 %92 = add i64 %81, %91 %93 = inttoptr i64 %92 to i32* %94 = load i32, i32* %93, align 4 %95 = add i32 %94, %82 %96 = icmp slt i32 %95, 0 %97 = zext i1 %96 to i32 %98 = add i32 %87, %83 %99 = add i32 %98, %97 %100 = add i64 %84, %59 %101 = ashr i32 %99, %63 %102 = inttoptr i64 %100 to i32* store i32 %101, i32* %102, 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_5, label LBL_10 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %84, { 1, 0 } uselistorder i64 %sv_1.017.reload, { 1, 0 } uselistorder i64 %59, { 2, 1, 0 } uselistorder i32 %48, { 0, 2, 1 } uselistorder i32 %41, { 1, 4, 3, 2, 0 } uselistorder i32 %storemerge918.reload, { 1, 4, 0, 5, 2, 3 } uselistorder i32 %9, { 1, 0 } uselistorder i64 %indvars.iv25.reload, { 0, 2, 1 } uselistorder i64 %0, { 2, 0, 1, 3 } uselistorder i64* %indvars.iv25.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.019.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge918.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.017.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.016.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 64, { 1, 0 } uselistorder i64 4294967296, { 1, 0, 2 } uselistorder i64 32, { 1, 0 } uselistorder i32 16773023, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32 4096, { 1, 0 } uselistorder i32 0, { 1, 6, 8, 5, 9, 10, 11, 7, 12, 13, 3, 4, 0, 2 } uselistorder label LBL_11, { 3, 0, 1, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
io_write_14909
io_write
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 %sv_0 = alloca i8, align 1 %1 = trunc i64 %arg2 to i32 %sext = mul i64 %arg3, 281474976710656 %2 = ashr exact i64 %sext, 48 %3 = trunc i64 %2 to i32 %4 = urem i32 %3, 256 %5 = udiv i64 %arg2, 32 %6 = trunc i64 %5 to i32 %7 = urem i32 %6, 8 %8 = udiv i64 %arg2, 16 %9 = trunc i64 %8 to i32 %10 = urem i32 %9, 16 %11 = urem i32 %1, 32 %12 = xor i32 %11, 1 %13 = mul nuw nsw i32 %10, 24 %14 = zext i32 %13 to i64 %15 = add i64 %14, %0 %16 = mul i32 %7, 2 %17 = or i32 %16, 48 %18 = zext i32 %17 to i64 %19 = add i64 %18, %0 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = add i64 %19, 1 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = zext i32 %12 to i64 store i64 %25, i64* @0, align 8 switch i32 %12, label LBL_11 [ i32 0, label LBL_1 i32 1, label LBL_1 i32 2, label LBL_2 i32 3, label LBL_2 i32 4, label LBL_3 i32 5, label LBL_3 i32 6, label LBL_4 i32 7, label LBL_4 i32 8, label LBL_8 i32 9, label LBL_9 i32 10, label LBL_10 ] LBL_1: %26 = inttoptr i64 %15 to i64* %27 = load i64, i64* %26, align 8 %28 = add i64 %15, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %30 to i64 %32 = add i64 %27, %31 %33 = trunc i64 %2 to i8 %34 = inttoptr i64 %32 to i8* store i8 %33, i8* %34, align 1 %35 = load i32, i32* %29, align 4 %36 = add i32 %35, 1 %37 = trunc i32 %10 to i8 %38 = add nuw nsw i8 %37, 97 %39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i32 %36, i8 %38, i32 %4) store i32 1, i32* %29, align 4 br label LBL_12 LBL_2: %40 = trunc i32 %10 to i8 %41 = add nuw nsw i8 %40, 97 %42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i8 %41, i32 %4) br label LBL_12 LBL_3: %43 = zext i32 %4 to i64 %44 = zext i32 %10 to i64 %45 = call i64 @FUNC(i64 %0, i64 %44, i64 %43) br label LBL_12 LBL_4: %46 = add i64 %15, 12 %47 = inttoptr i64 %46 to i8* %48 = load i8, i8* %47, align 1 %49 = urem i8 %48, 2 %50 = icmp eq i8 %49, 0 %51 = trunc i32 %10 to i8 %52 = add nuw nsw i8 %51, 97 br i1 %50, label LBL_7, label LBL_5 LBL_5: %53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i8 %52, i32 %4) %54 = add i64 %15, 16 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = icmp eq i64 %56, 0 br i1 %57, label LBL_12, label LBL_6 LBL_6: %58 = trunc i64 %2 to i8 store i8 %58, i8* %sv_0, align 1 %59 = call i64 @FUNC(i64 %56, i8* nonnull %sv_0, i64 1) br label LBL_12 LBL_7: %60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0), i8 %52, i32 %4) br label LBL_12 LBL_8: %61 = urem i32 %3, 65536 %62 = trunc i32 %7 to i8 %63 = add nuw nsw i8 %62, 65 %64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0), i8 %63, i32 %61) br label LBL_12 LBL_9: %65 = urem i32 %3, 65536 %66 = trunc i32 %7 to i8 %67 = add nuw nsw i8 %66, 65 %68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0), i8 %67, i32 %65) %69 = trunc i64 %2 to i8 store i8 %69, i8* %23, align 1 br label LBL_12 LBL_10: %70 = urem i32 %3, 65536 %71 = trunc i32 %7 to i8 %72 = add nuw nsw i8 %71, 65 %73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0), i8 %72, i32 %70) br label LBL_12 LBL_11: %74 = urem i32 %3, 65536 %75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_7, i64 0, i64 0), i32 %12, i32 %74) br label LBL_12 LBL_12: %76 = load i8, i8* %20, align 1 %77 = icmp eq i8 %21, %76 %78 = icmp eq i1 %77, false br i1 %78, label LBL_14, label LBL_13 LBL_13: %79 = load i8, i8* %23, align 1 %80 = zext i8 %79 to i64 %81 = icmp eq i8 %24, %79 store i64 %80, i64* %rax.0.reg2mem br i1 %81, label LBL_15, label LBL_14 LBL_14: %82 = zext i32 %7 to i64 %83 = call i64 @FUNC(i64 %0, i64 %82) store i64 %83, 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 i8 %52, { 1, 0 } uselistorder i8* %23, { 1, 0, 2 } uselistorder i64 %19, { 1, 0 } uselistorder i64 %15, { 2, 3, 1, 0 } uselistorder i32 %12, { 0, 2, 1 } uselistorder i32 %10, { 1, 2, 3, 4, 0 } uselistorder i32 %7, { 1, 2, 3, 4, 0 } uselistorder i32 %4, { 1, 0, 4, 2, 3 } uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64 %0, { 3, 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i8 65, { 2, 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 0, 7, 6, 5, 4, 3, 2, 1 } uselistorder i8 97, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder label LBL_12, { 9, 3, 4, 5, 2, 1, 0, 6, 7, 8 } }
1
BinRealVul
musicpal_audio_init_175
musicpal_audio_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 16) %3 = inttoptr i64 %2 to i32* store i32 %0, i32* %3, align 4 %4 = call i64 @FUNC(i64 16) %5 = call i64 @FUNC() %6 = inttoptr i64 %4 to i64* store i64 %5, i64* %6, align 8 %7 = add i64 %4, 8 %8 = inttoptr i64 %7 to i32* store i32 -1, i32* %8, align 4 %9 = load i64, i64* %6, align 8 %10 = call i64 @FUNC(i64 %9, i64 %1) %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = icmp eq i64 %10, 0 %14 = icmp eq i1 %13, false store i64 0, i64* %storemerge.reg2mem br i1 %14, label LBL_1, label LBL_2 LBL_1: %15 = call i64 @FUNC(i64 %10, i64 26) %16 = load i64, i64* %12, align 8 %17 = call i64 @FUNC(i64 %16, i64 4198907, i64 %2) %18 = call i64 @FUNC(i64 0, i64 4198921, i64 4198928, i64 %2) %19 = and i64 %18, 4294967295 %20 = call i64 @FUNC(i64 4096, i64 256, i64 %19) %21 = call i64 @FUNC(i64 4198914, i64 %2) store i64 %4, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 2, 1, 0, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @qemu_mallocz, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
e1000_can_receive_16759
e1000_can_receive
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 2 %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %arg1, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %arg1, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp ne i32 %6, %9 %spec.select = zext i1 %10 to i64 ret i64 %spec.select LBL_2: ret i64 1 uselistorder i64 %arg1, { 1, 0 } }
1
BinRealVul
cd_read_sector_cb_15929
cd_read_sector_cb
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = add i64 %2, 32 %5 = add i64 %2, 24 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %8, i64 %4) %10 = icmp slt i32 %3, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = and i64 %arg2, 4294967295 %13 = call i64 @FUNC(i64 %2, i64 %12) store i64 %13, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %14 = add i64 %2, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 2352 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = add i64 %2, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = and i64 %1, 4294967295 %23 = call i64 @FUNC(i64 %21, i64 %22) br label LBL_4 LBL_4: %24 = trunc i64 %1 to i32 %25 = add i32 %24, 1 %26 = bitcast i64* %arg1 to i32* store i32 %25, i32* %26, align 4 %27 = add i64 %2, 8 %28 = inttoptr i64 %27 to i32* store i32 0, i32* %28, align 4 %29 = add i64 %2, 12 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = and i32 %31, -2 store i32 %32, i32* %30, align 4 %33 = call i64 @FUNC(i64 %2) store i64 %33, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 2, 3, 5, 4, 0, 6, 7 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
test_ide_drive_cd_0_16739
test_ide_drive_cd_0
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = ptrtoint i64* %sv_0 to i64 %1 = call i64 @FUNC(i64* nonnull %sv_0, i64 256) %2 = add i64 %0, -8 %3 = inttoptr i64 %2 to i64* %4 = add i64 %0, -16 %5 = inttoptr i64 %4 to i64* %6 = load i32, i32* @gv_0, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 8 %9 = add i64 %8, ptrtoint (i64* @gv_1 to i64) store i64 %9, i64* @gv_2, align 8 %10 = zext i32 %6 to i64 store i64 4202589, i64* %3, align 8 store i64 %10, i64* %5, align 8 %11 = and i64 %1, 4294967295 %12 = call i64 @FUNC(i64 %11, i64* nonnull %sv_0, i64 256, i64 0, i64 0, i64 0) %13 = call i64 @FUNC(i64 4202590, i64* nonnull %sv_0) %14 = call i64 @FUNC(i64 %13) %15 = call i64 @FUNC() %16 = call i64 @FUNC() ret i64 %16 uselistorder i32 1, { 5, 6, 4, 3, 2, 1, 0 } }
1
BinRealVul
dw_writer_7328
dw_writer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i16 %sv_0.11.reg2mem = alloca i16 %.in.reg2mem = alloca i32 %0 = ptrtoint i64* %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_1, label LBL_7 LBL_1: %6 = add i64 %0, 40 %7 = inttoptr i64 %6 to i32* %8 = add i64 %0, 44 %9 = inttoptr i64 %8 to i32* %10 = add i64 %0, 48 %11 = inttoptr i64 %10 to i32* %12 = add i64 %0, 56 %13 = inttoptr i64 %12 to i64* store i32 %3, i32* %.in.reg2mem store i16 0, i16* %sv_0.11.reg2mem br label LBL_2 LBL_2: %sv_0.11.reload = load i16, i16* %sv_0.11.reg2mem %.in.reload = load i32, i32* %.in.reg2mem %14 = load i32, i32* %7, align 4 %15 = load i32, i32* %9, align 4 %16 = icmp eq i32 %14, %15 store i16 %sv_0.11.reload, i16* %sv_0.0.reg2mem br i1 %16, label LBL_6, label LBL_3 LBL_3: %17 = load i32, i32* %11, align 4 %18 = icmp eq i32 %17, 1 %19 = icmp eq i1 %18, false %20 = load i64, i64* %13, align 8 br i1 %19, label LBL_5, label LBL_4 LBL_4: %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = zext i8 %22 to i16 store i16 %23, i16* %sv_0.0.reg2mem br label LBL_6 LBL_5: %24 = inttoptr i64 %20 to i16* %25 = load i16, i16* %24, align 2 store i16 %25, i16* %sv_0.0.reg2mem br label LBL_6 LBL_6: %26 = add i32 %.in.reload, -1 %sv_0.0.reload = load i16, i16* %sv_0.0.reg2mem %27 = call i64 @FUNC(i64 %0, i64 0, i16 %sv_0.0.reload) %28 = load i64, i64* %13, align 8 %29 = load i32, i32* %11, align 4 %30 = zext i32 %29 to i64 %31 = add i64 %28, %30 store i64 %31, i64* %13, align 8 %32 = icmp eq i32 %26, 0 %33 = icmp eq i1 %32, false store i32 %26, i32* %.in.reg2mem store i16 %sv_0.0.reload, i16* %sv_0.11.reg2mem br i1 %33, label LBL_2, label LBL_7 LBL_7: %34 = call i64 @FUNC(i64 %0) ret i64 %34 uselistorder i16 %sv_0.0.reload, { 1, 0 } uselistorder i64 %20, { 1, 0 } uselistorder i64* %13, { 1, 0, 2 } uselistorder i64 %0, { 3, 0, 5, 4, 2, 1, 6, 7 } uselistorder i32* %.in.reg2mem, { 1, 0, 2 } uselistorder i16* %sv_0.11.reg2mem, { 1, 0, 2 } uselistorder i16* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
nsvg__parseColorRGB_5860
nsvg__parseColorRGB
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 store i32 0, i32* %sv_2, align 4 store i32 0, i32* %sv_1, align 4 store i32 0, i32* %sv_0, align 4 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 (i8*, i8*, ...) @sscanf(i8* %0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i32* nonnull %sv_2, i32* nonnull %sv_1, i32* nonnull %sv_0) %2 = icmp eq i32 %1, 3 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load i32, i32* %sv_1, align 4 %5 = mul i32 %4, 256 %6 = load i32, i32* %sv_2, align 4 %7 = or i32 %5, %6 %8 = load i32, i32* %sv_0, align 4 %9 = mul i32 %8, 65536 %10 = or i32 %7, %9 %11 = zext i32 %10 to i64 store i64 %11, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %12 = call i32 (i8*, i8*, ...) @sscanf(i8* %0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i32* nonnull %sv_2, i32* nonnull %sv_1, i32* nonnull %sv_0) %13 = icmp eq i32 %12, 3 %14 = icmp eq i1 %13, false store i64 8421504, i64* %rax.0.reg2mem br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = load i32, i32* %sv_2, align 4 %16 = mul i32 %15, 255 %17 = zext i32 %16 to i64 %18 = mul nuw nsw i64 %17, 1374389535 %19 = udiv i64 %18, 137438953472 %20 = load i32, i32* %sv_1, align 4 %21 = mul i32 %20, 255 %22 = zext i32 %21 to i64 %23 = mul nuw nsw i64 %22, 1374389535 %24 = udiv i64 %23, 536870912 %25 = and i64 %24, 4294967040 %26 = or i64 %25, %19 %27 = load i32, i32* %sv_0, align 4 %28 = mul i32 %27, 255 %29 = zext i32 %28 to i64 %30 = mul nuw nsw i64 %29, 1374389535 %31 = udiv i64 %30, 2097152 %32 = and i64 %31, 4294901760 %33 = or i64 %26, %32 store i64 %33, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %sv_2, { 2, 0, 3, 1, 4 } uselistorder i32* %sv_1, { 2, 0, 3, 1, 4 } uselistorder i32* %sv_0, { 2, 0, 3, 1, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 (i8*, i8*, ...)* @sscanf, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
r128_cce_vertex_13086
r128_cce_vertex
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %3, i64 %2) %8 = icmp eq i64* %arg1, null %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %11 = call i32 @fwrite(i64* bitcast ([31 x i8]* @gv_1 to i64*), i32 1, i32 30, %_IO_FILE* %10) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %12 = ptrtoint i64* %arg2 to i64 %13 = trunc i64 %1 to i32 %14 = inttoptr i64 %6 to i32* %15 = add i64 %12, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %12, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = call i32 @getpid() %22 = zext i32 %17 to i64 %23 = zext i32 %20 to i64 %24 = and i64 %1, 4294967295 %25 = zext i32 %21 to i64 %26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i64 %25, i64 %24, i64 %23, i64 %22) %27 = icmp sgt i32 %13, -1 %.pre = load i32, i32* %14, align 4 %28 = icmp ugt i32 %.pre, %13 %or.cond = icmp eq i1 %27, %28 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %29 = add i32 %.pre, -1 %30 = zext i32 %29 to i64 %31 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %32 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %31, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %24, i64 %30) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %33 = add i64 %12, 12 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp ult i32 %35, 3 br i1 %36, label LBL_6, label LBL_5 LBL_5: %37 = zext i32 %35 to i64 %38 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %39 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %38, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0), i64 %37) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_11 LBL_6: %40 = call i64 @FUNC(i64 %3) %41 = call i64 @FUNC(i64 %3) %42 = add i64 %6, 8 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %sext = mul i64 %1, 4294967296 %45 = ashr exact i64 %sext, 29 %46 = add i64 %44, %45 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = add i64 %48, 8 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = icmp eq i64 %51, %2 br i1 %52, label LBL_8, label LBL_7 LBL_7: %53 = call i32 @getpid() %54 = zext i32 %53 to i64 %55 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %56 = inttoptr i64 %51 to i64* %57 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %55, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_5, i64 0, i64 0), i64 %54, i64* %56) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %58 = add i64 %48, 16 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = icmp eq i32 %60, 0 br i1 %61, label LBL_10, label LBL_9 LBL_9: %62 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %63 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %62, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_6, i64 0, i64 0), i64 %24) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %64 = inttoptr i64 %48 to i64* %65 = load i64, i64* %64, align 8 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %19, align 4 %68 = add i64 %48, 20 %69 = inttoptr i64 %68 to i32* store i32 %67, i32* %69, align 4 %70 = load i32, i32* %34, align 4 store i32 %70, i32* %66, align 4 %71 = load i32, i32* %16, align 4 %72 = add i64 %65, 4 %73 = inttoptr i64 %72 to i32* store i32 %71, i32* %73, align 4 %74 = call i64 @FUNC(i64 %3, i64 %48) %75 = call i64 @FUNC() store i64 0, 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 %48, { 0, 2, 4, 1, 3 } uselistorder i32 %35, { 1, 0 } uselistorder i64 %24, { 1, 2, 0 } uselistorder i32 %13, { 1, 0 } uselistorder i64 %12, { 0, 2, 1 } uselistorder i64 %3, { 0, 2, 1, 3, 4 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 5, 6, 1 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 3, 2, 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 4294967274, { 2, 1, 3, 4, 0 } uselistorder %_IO_FILE** @gv_0, { 4, 3, 2, 1, 0 } }
1
BinRealVul
xps_select_best_font_encoding_13837
xps_select_best_font_encoding
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %.reg2mem7 = alloca i64 %.reg2mem = alloca i32* %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) %2 = load i32, i32* bitcast (i32** @gv_0 to i32*), align 8 %3 = icmp eq i32 %2, -1 %4 = icmp eq i1 %3, false br i1 %4, label LBL_1, label LBL_9 LBL_1: %5 = trunc i64 %1 to i32 %6 = icmp sgt i32 %5, 0 %7 = bitcast i32* %sv_0 to i64* %8 = bitcast i32* %sv_1 to i64* %sext = mul i64 %1, 4294967296 %9 = ashr exact i64 %sext, 32 store i32* bitcast (i32** @gv_0 to i32*), i32** %.reg2mem store i64 0, i64* %.reg2mem7 store i32 0, i32* %storemerge6.reg2mem br label LBL_7 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %10 = trunc i64 %indvars.iv.reload to i32 %11 = call i64 @FUNC(i64 %0, i32 %10, i64* nonnull %7, i64* nonnull %8) %12 = load i32, i32* %.reload, align 8 %13 = load i32, i32* %sv_0, align 4 %14 = icmp eq i32 %12, %13 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_3 LBL_3: %16 = load i32, i32* %34, align 8 %17 = load i32, i32* %sv_1, align 4 %18 = icmp eq i32 %16, %17 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = call i64 @FUNC(i64 %0, i64 %indvars.iv.reload) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %20, i64* %rax.0.reg2mem br i1 %23, label LBL_10, label LBL_5 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %24 = icmp slt i64 %indvars.iv.next, %9 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %24, label LBL_2, label LBL_6 LBL_6: %25 = add i32 %storemerge6.reload, 1 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 8 %28 = add i64 %27, ptrtoint (i32** @gv_0 to i64) %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 8 %31 = icmp eq i32 %30, -1 %32 = icmp eq i1 %31, false store i32* %29, i32** %.reg2mem store i64 %27, i64* %.reg2mem7 store i32 %25, i32* %storemerge6.reg2mem br i1 %32, label LBL_7, label LBL_9 LBL_7: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem br i1 %6, label LBL_2.lr.ph, label LBL_6 LBL_8: %.reload8 = load i64, i64* %.reg2mem7 %.reload = load i32*, i32** %.reg2mem %33 = add i64 %.reload8, ptrtoint (i32** @gv_1 to i64) %34 = inttoptr i64 %33 to i32* store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_9: %35 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0)) store i64 %35, 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* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder i1 false, { 4, 1, 2, 3, 0 } uselistorder i32 -1, { 1, 0, 2, 3 } uselistorder i32** @gv_0, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
net_client_init_7418
net_client_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.07.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i8* %sv_2.1.lcssa.reg2mem = alloca i8* %sv_3.0.lcssa.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i8* %sv_3.09.reg2mem = alloca i64 %sv_2.110.reg2mem = alloca i8* %.reg2mem = alloca i8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %0 = bitcast i64* %sv_6 to i8* %1 = inttoptr i64 %arg1 to i8* %2 = load i8, i8* %1, align 1 %3 = icmp ne i8 %2, 0 %4 = icmp eq i8 %2, 44 %5 = icmp eq i1 %4, false %or.cond8 = icmp eq i1 %3, %5 store i64 %arg1, i64* %sv_3.0.lcssa.reg2mem store i8* %0, i8** %sv_2.1.lcssa.reg2mem store i8* %1, i8** %.lcssa.reg2mem br i1 %or.cond8, label LBL_1, label LBL_5 LBL_1: %6 = ptrtoint i64* %sv_6 to i64 store i8 %2, i8* %.reg2mem store i8* %0, i8** %sv_2.110.reg2mem store i64 %arg1, i64* %sv_3.09.reg2mem br label LBL_2 LBL_2: %sv_3.09.reload = load i64, i64* %sv_3.09.reg2mem %sv_2.110.reload = load i8*, i8** %sv_2.110.reg2mem %7 = ptrtoint i8* %sv_2.110.reload to i64 %8 = sub i64 %7, %6 %9 = icmp ult i64 %8, 63 store i8* %sv_2.110.reload, i8** %sv_2.0.reg2mem br i1 %9, label LBL_3, label LBL_4 LBL_3: %.reload = load i8, i8* %.reg2mem %10 = add i64 %7, 1 %11 = inttoptr i64 %10 to i8* store i8 %.reload, i8* %sv_2.110.reload, align 1 store i8* %11, i8** %sv_2.0.reg2mem br label LBL_4 LBL_4: %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem %12 = add i64 %sv_3.09.reload, 1 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp ne i8 %14, 0 %16 = icmp eq i8 %14, 44 %17 = icmp eq i1 %16, false %or.cond = icmp eq i1 %15, %17 store i8 %14, i8* %.reg2mem store i8* %sv_2.0.reload, i8** %sv_2.110.reg2mem store i64 %12, i64* %sv_3.09.reg2mem store i64 %12, i64* %sv_3.0.lcssa.reg2mem store i8* %sv_2.0.reload, i8** %sv_2.1.lcssa.reg2mem store i8* %13, i8** %.lcssa.reg2mem br i1 %or.cond, label LBL_2, label LBL_5 LBL_5: %.lcssa.reload = load i8*, i8** %.lcssa.reg2mem %sv_2.1.lcssa.reload = load i8*, i8** %sv_2.1.lcssa.reg2mem %sv_3.0.lcssa.reload = load i64, i64* %sv_3.0.lcssa.reg2mem store i8 0, i8* %sv_2.1.lcssa.reload, align 1 %18 = load i8, i8* %.lcssa.reload, align 1 %19 = icmp eq i8 %18, 44 %20 = zext i1 %19 to i64 %spec.select = add i64 %sv_3.0.lcssa.reload, %20 %21 = call i64 @FUNC(i64* nonnull %sv_5, i64 1024, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %spec.select) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 store i64 0, i64* %sv_1.0.reg2mem br i1 %23, label LBL_7, label LBL_6 LBL_6: %24 = bitcast i64* %sv_5 to i8* %25 = call i32 @strtol(i8* nonnull %24, i8** null, i32 0) %phitmp = zext i32 %25 to i64 store i64 %phitmp, i64* %sv_1.0.reg2mem br label LBL_7 LBL_7: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %26 = call i64 @FUNC(i64 %sv_1.0.reload) %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_9, label LBL_8 LBL_8: %29 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %30 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %29, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %sv_1.0.reload) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_41 LBL_9: %31 = call i32 @strcmp(i8* nonnull %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0)) %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_18, label LBL_10 LBL_10: %34 = load i32, i32* @gv_4, align 4 %35 = icmp slt i32 %34, 16 br i1 %35, label LBL_12, label LBL_11 LBL_11: %36 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %37 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_5 to i64*), i32 1, i32 14, %_IO_FILE* %36) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_41 LBL_12: %38 = sext i32 %34 to i64 %39 = mul nsw i64 %38, 24 %40 = add i64 %39, ptrtoint (i8** @gv_6 to i64) %41 = inttoptr i64 %40 to i8* store i8 82, i8* %41, align 8 %42 = add i64 %39, add (i64 ptrtoint (i8** @gv_6 to i64), i64 1) %43 = inttoptr i64 %42 to i8* store i8 84, i8* %43, align 1 %44 = add i64 %39, add (i64 ptrtoint (i8** @gv_6 to i64), i64 2) %45 = inttoptr i64 %44 to i8* store i8 0, i8* %45, align 2 %46 = add i64 %39, add (i64 ptrtoint (i8** @gv_6 to i64), i64 3) %47 = inttoptr i64 %46 to i8* store i8 18, i8* %47, align 1 %48 = add i64 %39, add (i64 ptrtoint (i8** @gv_6 to i64), i64 4) %49 = inttoptr i64 %48 to i8* store i8 52, i8* %49, align 4 %50 = add i64 %39, add (i64 ptrtoint (i8** @gv_6 to i64), i64 5) %51 = inttoptr i64 %50 to i8* store i8 ptrtoint (i8* @gv_7 to i8), i8* %51, align 1 %52 = call i64 @FUNC(i64* nonnull %sv_5, i64 1024, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_8, i64 0, i64 0), i64 %spec.select) %53 = trunc i64 %52 to i32 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_15, label LBL_13 LBL_13: %55 = call i64 @FUNC(i64 %40, i64* nonnull %sv_5) %56 = trunc i64 %55 to i32 %57 = icmp slt i32 %56, 0 %58 = icmp eq i1 %57, false br i1 %58, label LBL_15, label LBL_14 LBL_14: %59 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %60 = call i32 @fwrite(i64* bitcast ([37 x i8]* @gv_9 to i64*), i32 1, i32 36, %_IO_FILE* %59) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_41 LBL_15: %61 = call i64 @FUNC(i64* nonnull %sv_5, i64 1024, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_10, i64 0, i64 0), i64 %spec.select) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 br i1 %63, label LBL_17, label LBL_16 LBL_16: %64 = bitcast i64* %sv_5 to i8* %65 = call i8* @strdup(i8* nonnull %64) %66 = ptrtoint i8* %65 to i64 %67 = add i64 %39, add (i64 ptrtoint (i8** @gv_6 to i64), i64 8) %68 = inttoptr i64 %67 to i64* store i64 %66, i64* %68, align 8 br label LBL_17 LBL_17: %69 = inttoptr i64 %26 to i32* %70 = add i64 %39, add (i64 ptrtoint (i8** @gv_6 to i64), i64 16) %71 = inttoptr i64 %70 to i64* store i64 %26, i64* %71, align 8 store i32 ptrtoint (i32* @gv_11 to i32), i32* @gv_4, align 4 %72 = load i32, i32* %69, align 4 %73 = add i32 %72, 1 store i32 %73, i32* %69, align 4 store i32 0, i32* %sv_0.07.reg2mem br label LBL_40 LBL_18: %74 = call i32 @strcmp(i8* nonnull %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_12, i64 0, i64 0)) %75 = icmp eq i32 %74, 0 %76 = icmp eq i1 %75, false store i32 0, i32* %sv_0.07.reg2mem br i1 %76, label LBL_19, label LBL_40 LBL_19: %77 = call i32 @strcmp(i8* nonnull %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_13, i64 0, i64 0)) %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_23, label LBL_20 LBL_20: %80 = call i64 @FUNC(i64* nonnull %sv_5, i64 1024, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_14, i64 0, i64 0), i64 %spec.select) %81 = trunc i64 %80 to i32 %82 = icmp eq i32 %81, 0 br i1 %82, label LBL_22, label LBL_21 LBL_21: %83 = call i64 @FUNC(i64* nonnull @gv_15, i64 256, i64* nonnull %sv_5) br label LBL_22 LBL_22: %84 = call i64 @FUNC(i64 %26) %85 = trunc i64 %84 to i32 store i32 %85, i32* %sv_0.0.reg2mem br label LBL_38 LBL_23: %86 = call i32 @strcmp(i8* nonnull %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_16, i64 0, i64 0)) %87 = icmp eq i32 %86, 0 %88 = icmp eq i1 %87, false br i1 %88, label LBL_27, label LBL_24 LBL_24: %89 = call i64 @FUNC(i64* nonnull %sv_4, i64 64, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_17, i64 0, i64 0), i64 %spec.select) %90 = trunc i64 %89 to i32 %91 = icmp eq i32 %90, 0 %92 = icmp slt i32 %90, 0 %93 = icmp eq i1 %92, false %94 = icmp eq i1 %91, false %95 = icmp eq i1 %93, %94 br i1 %95, label LBL_26, label LBL_25 LBL_25: %96 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %97 = call i32 @fwrite(i64* bitcast ([24 x i8]* @gv_18 to i64*), i32 1, i32 23, %_IO_FILE* %96) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_41 LBL_26: %98 = call i64 @FUNC(i64 %26, i64* nonnull %sv_4) %99 = trunc i64 %98 to i32 store i32 %99, i32* %sv_0.0.reg2mem br label LBL_38 LBL_27: %100 = call i32 @strcmp(i8* nonnull %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_19, i64 0, i64 0)) %101 = icmp eq i32 %100, 0 %102 = icmp eq i1 %101, false br i1 %102, label LBL_37, label LBL_28 LBL_28: %103 = call i64 @FUNC(i64* nonnull %sv_5, i64 1024, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_20, i64 0, i64 0), i64 %spec.select) %104 = trunc i64 %103 to i32 %105 = icmp slt i32 %104, 1 br i1 %105, label LBL_30, label LBL_29 LBL_29: %106 = bitcast i64* %sv_5 to i8* %107 = call i32 @strtol(i8* nonnull %106, i8** null, i32 0) %108 = zext i32 %107 to i64 %109 = call i64 @FUNC(i64 %26, i64 %108, i64 1) %110 = trunc i64 %109 to i32 %111 = icmp eq i32 %110, 0 %spec.select6 = sext i1 %111 to i32 store i32 %spec.select6, i32* %sv_0.0.reg2mem br label LBL_38 LBL_30: %112 = call i64 @FUNC(i64* nonnull %sv_5, i64 1024, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_21, i64 0, i64 0), i64 %spec.select) %113 = trunc i64 %112 to i32 %114 = icmp slt i32 %113, 1 br i1 %114, label LBL_32, label LBL_31 LBL_31: %115 = call i64 @FUNC(i64 %26, i64* nonnull %sv_5) %116 = trunc i64 %115 to i32 store i32 %116, i32* %sv_0.0.reg2mem br label LBL_38 LBL_32: %117 = call i64 @FUNC(i64* nonnull %sv_5, i64 1024, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_22, i64 0, i64 0), i64 %spec.select) %118 = trunc i64 %117 to i32 %119 = icmp slt i32 %118, 1 br i1 %119, label LBL_34, label LBL_33 LBL_33: %120 = call i64 @FUNC(i64 %26, i64* nonnull %sv_5) %121 = trunc i64 %120 to i32 store i32 %121, i32* %sv_0.0.reg2mem br label LBL_38 LBL_34: %122 = call i64 @FUNC(i64* nonnull %sv_5, i64 1024, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_23, i64 0, i64 0), i64 %spec.select) %123 = trunc i64 %122 to i32 %124 = icmp slt i32 %123, 1 br i1 %124, label LBL_36, label LBL_35 LBL_35: %125 = call i64 @FUNC(i64 %26, i64* nonnull %sv_5) %126 = trunc i64 %125 to i32 store i32 %126, i32* %sv_0.0.reg2mem br label LBL_38 LBL_36: %127 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %128 = inttoptr i64 %spec.select to i8* %129 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %127, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_24, i64 0, i64 0), i8* %128) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_41 LBL_37: %130 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %131 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %130, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_25, i64 0, i64 0), i64* nonnull %sv_6) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_41 LBL_38: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %132 = icmp slt i32 %sv_0.0.reload, 0 %133 = icmp eq i1 %132, false store i32 %sv_0.0.reload, i32* %sv_0.07.reg2mem br i1 %133, label LBL_40, label LBL_39 LBL_39: %134 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %135 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %134, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_26, i64 0, i64 0), i64* nonnull %sv_6) store i32 %sv_0.0.reload, i32* %sv_0.07.reg2mem br label LBL_40 LBL_40: %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem %136 = zext i32 %sv_0.07.reload to i64 store i64 %136, 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 i32 %sv_0.0.reload, { 1, 0, 2 } uselistorder i32 %90, { 1, 0 } uselistorder i32* %69, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %spec.select, { 4, 5, 6, 7, 8, 3, 2, 0, 1, 9 } uselistorder i8* %sv_2.110.reload, { 2, 0, 1 } uselistorder i8* %0, { 2, 3, 4, 5, 6, 1, 0 } uselistorder i64* %sv_6, { 1, 0, 3, 2 } uselistorder i8* %.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_2.110.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.09.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 6, 5, 4, 1, 3, 2 } uselistorder i32* %sv_0.07.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 7, 6, 4, 3, 2, 1 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 } uselistorder i32* @gv_4, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 5, 4, 3, 2, 1, 0 } uselistorder i32 (i8*, i8**, i32)* @strtol, { 1, 0 } uselistorder i32 0, { 6, 7, 2, 8, 9, 10, 11, 12, 13, 0, 14, 1, 15, 16, 17, 18, 3, 19, 4, 5 } uselistorder i64 (i64*, i64, i8*, i64)* @get_param_value, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i1 false, { 3, 4, 5, 2, 6, 7, 8, 9, 10, 11, 1, 0 } uselistorder i8 44, { 2, 1, 0 } uselistorder i8 0, { 3, 4, 5, 0, 6, 1, 2 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_40, { 2, 3, 0, 1 } uselistorder label LBL_38, { 1, 2, 3, 0, 4, 5 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
iwl_trans_stop_hw_4594
iwl_trans_stop_hw
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i8 %2 = call i64 @FUNC() %3 = icmp eq i8 %1, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 br label LBL_2 LBL_2: %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 ret i64 %0 uselistorder i64 %0, { 1, 2, 0 } }
0
BinRealVul
impeg2d_dec_seq_ext_data_12224
impeg2d_dec_seq_ext_data
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i1 %0 = call i64 @FUNC(i64 %arg1, i64 32) %1 = icmp ne i64 %0, 181 %2 = icmp eq i64 %0, 178 %3 = icmp eq i1 %2, false %or.cond3 = icmp eq i1 %1, %3 store i1 %3, i1* %.reg2mem store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %or.cond3, label LBL_7, label LBL_1 LBL_1: %.reload = load i1, i1* %.reg2mem br i1 %.reload, label LBL_3, label LBL_2 LBL_2: %4 = call i64 @FUNC(i64 %arg1) store i32 0, i32* %sv_0.0.reg2mem br label LBL_6 LBL_3: %5 = call i64 @FUNC(i64 %arg1, i64 32) %6 = call i64 @FUNC(i64 %arg1, i64 8) store i32 1, i32* %sv_0.0.reg2mem switch i64 %6, label LBL_5 [ i64 179, label LBL_4 i64 180, label LBL_6 ] LBL_4: %7 = call i64 @FUNC(i64 %arg1) store i32 0, i32* %sv_0.0.reg2mem br label LBL_6 LBL_5: %8 = call i64 @FUNC(i64 %arg1, i64 8) %9 = call i64 @FUNC(i64 %arg1) store i32 0, i32* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %10 = call i64 @FUNC(i64 %arg1, i64 32) %11 = icmp ne i64 %10, 181 %12 = icmp eq i64 %10, 178 %13 = icmp eq i1 %12, false %or.cond = icmp eq i1 %11, %13 %or.cond.not = icmp ne i1 %or.cond, true %14 = icmp eq i32 %sv_0.0.reload, 0 %or.cond2 = icmp eq i1 %14, %or.cond.not store i1 %13, i1* %.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %or.cond2, label LBL_1, label LBL_7 LBL_7: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %15 = zext i32 %sv_0.1.lcssa.reload to i64 ret i64 %15 uselistorder i64 %10, { 1, 0 } uselistorder i1* %.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64 (i64, i64)* @impeg2d_bit_stream_flush, { 1, 0 } uselistorder i64 178, { 1, 0 } uselistorder i64 181, { 2, 1, 0 } uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 2, 1, 0 } uselistorder i64 %arg1, { 3, 1, 2, 4, 6, 5, 0, 7 } uselistorder label LBL_6, { 1, 2, 0, 3 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
mjpeg_decode_dht_17065
mjpeg_decode_dht
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_1.19.reg2mem = alloca i32 %indvars.iv11.reg2mem = alloca i64 %sv_2.07.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %3 = ptrtoint i64* %sv_5 to i64 %4 = call i64 @FUNC(i64 %2, i64 16) %5 = trunc i64 %4 to i32 %6 = add i32 %5, -2 %7 = add i64 %3, -48 %8 = add i64 %3, -304 %9 = add i64 %2, 8 store i32 %6, i32* %sv_0.0.reg2mem br label LBL_10 LBL_1: %10 = icmp sgt i32 %sv_0.0.reload, 16 store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_11 LBL_2: %11 = call i64 @FUNC(i64 %2, i64 4) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_11 LBL_3: %14 = and i64 %11, 4294967295 %15 = inttoptr i64 %14 to i8* %16 = call i64 @FUNC(i64 %2, i64 4) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 4 store i64 1, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_2.07.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_11 LBL_4: %sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %19 = call i64 @FUNC(i64 %2, i64 8) %20 = trunc i64 %19 to i8 %21 = add i64 %7, %indvars.iv.reload %22 = inttoptr i64 %21 to i8* store i8 %20, i8* %22, align 1 %23 = trunc i64 %19 to i32 %24 = urem i32 %23, 256 %25 = add i32 %24, %sv_2.07.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 17 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %25, i32* %sv_2.07.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %26 = add i32 %sv_0.0.reload, -17 %27 = icmp sge i32 %26, %25 %28 = icmp slt i32 %25, 257 %or.cond = icmp eq i1 %27, %28 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_6, label LBL_11 LBL_6: %29 = icmp sgt i32 %25, 0 store i32 0, i32* %sv_1.1.lcssa.reg2mem br i1 %29, label LBL_7, label LBL_9 LBL_7: %wide.trip.count = zext i32 %25 to i64 store i64 0, i64* %indvars.iv11.reg2mem store i32 0, i32* %sv_1.19.reg2mem br label LBL_8 LBL_8: %sv_1.19.reload = load i32, i32* %sv_1.19.reg2mem %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem %30 = call i64 @FUNC(i64 %2, i64 8) %31 = trunc i64 %30 to i32 %32 = icmp slt i32 %sv_1.19.reload, %31 %spec.select = select i1 %32, i32 %31, i32 %sv_1.19.reload %33 = trunc i64 %30 to i8 %34 = add i64 %8, %indvars.iv11.reload %35 = inttoptr i64 %34 to i8* store i8 %33, i8* %35, align 1 %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1 %exitcond13 = icmp eq i64 %indvars.iv.next12, %wide.trip.count store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem store i32 %spec.select, i32* %sv_1.19.reg2mem store i32 %spec.select, i32* %sv_1.1.lcssa.reg2mem br i1 %exitcond13, label LBL_9, label LBL_8 LBL_9: %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %36 = sub i32 %26, %25 %sext5 = mul i64 %16, 4294967296 %37 = ashr exact i64 %sext5, 32 %sext = mul i64 %11, 4294967296 %38 = ashr exact i64 %sext, 30 %39 = add nsw i64 %37, %38 %40 = mul i64 %39, 8 %41 = add i64 %9, %40 %42 = call i64 @FUNC(i64 %41) %43 = add i32 %sv_1.1.lcssa.reload, 1 %44 = zext i32 %43 to i64 %45 = and i64 %16, 4294967295 %46 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_0 to i32), i8* %15, i64 %45, i64 %44, i64 %1) %47 = call i64 @FUNC(i64 %41, i64* nonnull %sv_3, i64* nonnull %sv_4, i64 %44) %48 = trunc i64 %47 to i32 %49 = icmp slt i32 %48, 0 %50 = icmp eq i1 %49, false store i32 %36, i32* %sv_0.0.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %50, label LBL_10, label LBL_11 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %51 = icmp eq i32 %sv_0.0.reload, 0 %52 = icmp slt i32 %sv_0.0.reload, 0 %53 = icmp eq i1 %52, false %54 = icmp eq i1 %51, false %55 = icmp eq i1 %53, %54 store i64 0, i64* %rax.0.reg2mem br i1 %55, label LBL_1, label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 1, 2, 0, 3 } uselistorder i32 %25, { 1, 5, 2, 4, 3, 0 } uselistorder i64 %16, { 1, 0, 2 } uselistorder i64 %2, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.07.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv11.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.19.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 2, 0, 1 } uselistorder i32 0, { 5, 6, 4, 1, 0, 3, 2 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 4294967295, { 0, 5, 1, 2, 6, 3, 4 } uselistorder i64 8, { 0, 2, 3, 1 } uselistorder i64 (i64, i64)* @get_bits, { 4, 3, 2, 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
rhashtable_rehash_18874
rhashtable_rehash
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rdi.0.lcssa.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %0) %2 = inttoptr i64 %1 to i32* %3 = add i64 %arg2, 8 %4 = call i64 @FUNC(i64 %3, i64 8) %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7, i64 %arg2) %9 = load i32, i32* %2, align 4 %10 = icmp eq i32 %9, 0 store i64 0, i64* %indvars.iv.reg2mem store i64 %7, i64* %rdi.0.lcssa.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %11 = call i64 @FUNC(i64 %0, i64 %indvars.iv.reload) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %12 = load i32, i32* %2, align 4 %13 = zext i32 %12 to i64 %14 = icmp ult i64 %indvars.iv.next, %13 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %0, i64* %rdi.0.lcssa.reg2mem br i1 %14, label LBL_1, label LBL_2 LBL_2: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %15 = call i64 @FUNC(i64 %rdi.0.lcssa.reload, i64 %arg2) %16 = call i64 @FUNC() %17 = call i64 @FUNC(i64 %1) ret i64 %17 uselistorder i32* %2, { 1, 0 } uselistorder i64 %0, { 0, 1, 2, 4, 3 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64)* @rcu_assign_pointer, { 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
freelist_11570
freelist
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem3 = alloca i64* %.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_3, label LBL_1 LBL_1: %1 = inttoptr i64 %arg1 to i64* %2 = load i64, i64* %1, align 8 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 %2, i64* %.reg2mem store i64* %1, i64** %.reg2mem3 store i32 0, i32* %storemerge1.reg2mem store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_3 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload4 = load i64*, i64** %.reg2mem3 %.reload = load i64, i64* %.reg2mem %5 = inttoptr i64 %.reload to i64* call void @free(i64* %5) store i64 0, i64* %.reload4, align 8 %6 = add i32 %storemerge1.reload, 1 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 8 %9 = add i64 %8, %arg1 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %.reg2mem store i64* %10, i64** %.reg2mem3 store i32 %6, i32* %storemerge1.reg2mem store i64 %11, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64** %.reg2mem3, { 2, 0, 1 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
check_hwrena_14581
check_hwrena
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = urem i32 %2, 2 %4 = zext i32 %3 to i64 %5 = icmp eq i32 %3, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = ptrtoint i32* %arg1 to i64 %8 = add i64 %7, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = trunc i64 %arg2 to i32 %12 = urem i32 %11, 32 %13 = lshr i32 %10, %12 %14 = urem i32 %13, 2 %15 = zext i32 %14 to i64 %16 = icmp eq i32 %14, 0 %17 = icmp eq i1 %16, false store i64 %15, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = call i64 @FUNC() %19 = and i64 %18, 4294967295 %20 = call i64 @FUNC(i64 %7, i64 2, i64 %19) store i64 %20, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %14, { 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
meson_sar_adc_lock_17663
meson_sar_adc_lock
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = add i64 %1, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 0, i64 1, i64 1) %12 = bitcast i32* %sv_1 to i64* store i32 10000, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %13 = call i64 @FUNC(i64 1) %14 = load i64, i64* %9, align 8 %15 = call i64 @FUNC(i64 %14, i64 0, i64* nonnull %12) %16 = load i32, i32* %sv_1, align 4 %17 = and i32 %16, 2 %18 = icmp eq i32 %17, 0 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = add i32 %sv_0.0.reload, -1 %20 = icmp eq i32 %sv_0.0.reload, 0 %21 = icmp eq i1 %20, false store i32 %19, i32* %sv_0.0.reg2mem store i32 %19, i32* %sv_0.1.reg2mem br i1 %21, label LBL_2, label LBL_4 LBL_4: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %22 = icmp slt i32 %sv_0.1.reload, 0 %23 = icmp eq i1 %22, false store i64 1, i64* %storemerge.reg2mem br i1 %23, label LBL_5, label LBL_6 LBL_5: store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.0.reload, { 1, 2, 0 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 0, 1, 3, 2 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
__hw_perf_event_init_4350
__hw_perf_event_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %rdi = alloca i64, align 8 %sv_0 = alloca i32, align 4 store i32 -1, i32* %sv_0, align 4 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i8 %2 = icmp eq i8 %1, 1 store i64 19, i64* %rax.0.shrunk.reg2mem br i1 %2, label LBL_1, label LBL_16 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 store i64 22, i64* %rax.0.shrunk.reg2mem br i1 %7, label LBL_2, label LBL_16 LBL_2: %8 = call i64 @FUNC(i64* nonnull @gv_0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_7, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64* nonnull @gv_1) %13 = call i64 @FUNC(i64* nonnull @gv_0) %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_4 LBL_4: %17 = call i64 @FUNC() %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_5, label LBL_6 LBL_5: %20 = call i64 @FUNC(i64* nonnull @gv_0) %21 = call i64 @FUNC(i64* nonnull @gv_1) br label LBL_7 LBL_6: %22 = call i64 @FUNC(i64* nonnull @gv_1) store i64 16, i64* %rax.0.shrunk.reg2mem br label LBL_16 LBL_7: %23 = add i64 %3, 16 %24 = inttoptr i64 %23 to i64* store i64 4198902, i64* %24, align 8 %25 = bitcast i64* %rdi to i32* %26 = load i32, i32* %25, align 8 %27 = icmp eq i32 %26, 2 br i1 %27, label LBL_12, label LBL_8 LBL_8: %28 = icmp sgt i32 %26, 2 br i1 %28, label LBL_14, label LBL_9 LBL_9: switch i32 %26, label LBL_14 [ i32 0, label LBL_10 i32 1, label LBL_11 ] LBL_10: %29 = add i64 %3, 4 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = load i64, i64* @gv_2, align 8 %33 = add i64 %32, 16 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = and i32 %35, %31 store i32 %36, i32* %sv_0, align 4 br label LBL_14 LBL_11: %37 = add i64 %3, 4 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %40, i32* nonnull %sv_0) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 store i64 %41, i64* %rax.0.shrunk.reg2mem br i1 %43, label LBL_14, label LBL_16 LBL_12: %44 = add i64 %3, 4 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = load i64, i64* @gv_2, align 8 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = icmp ult i32 %46, %49 store i64 22, i64* %rax.0.shrunk.reg2mem br i1 %50, label LBL_13, label LBL_16 LBL_13: store i32 %46, i32* %sv_0, align 4 br label LBL_14 LBL_14: %51 = load i32, i32* %sv_0, align 4 %52 = icmp eq i32 %51, -1 %53 = icmp eq i1 %52, false store i64 22, i64* %rax.0.shrunk.reg2mem br i1 %53, label LBL_15, label LBL_16 LBL_15: %54 = add i64 %3, 12 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = or i32 %56, %51 store i32 %57, i32* %55, align 4 store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_16 LBL_16: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %3, { 0, 3, 1, 2, 4, 5 } uselistorder i32* %sv_0, { 1, 2, 0, 3, 4 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 7, 1, 2, 3, 4, 5, 6 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 } uselistorder i64* @gv_1, { 1, 0, 2 } uselistorder i1 false, { 1, 2, 3, 4, 0 } uselistorder i32 0, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder label LBL_16, { 6, 1, 2, 3, 0, 4, 5 } uselistorder label LBL_14, { 2, 1, 3, 0, 4 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
php_iconv_string_18341
php_iconv_string
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i8* %arg5, i8* %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i8* %arg5 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 store i64 %arg1, i64* %sv_3, align 8 %3 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 store i64 %4, i64* %sv_2, align 8 %5 = mul i32 %3, 4 %6 = add i32 %5, 16 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %7) store i64 %8, i64* %arg3, align 8 store i64 %8, i64* %sv_1, align 8 store i32 %6, i32* %sv_0, align 4 %9 = ptrtoint i8* %arg6 to i64 %10 = call i64 @FUNC(i64 %9, i64 %2) %11 = icmp eq i64 %10, -1 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 %9, i64 %2, i64 %9) %14 = call i64 @FUNC(i64 %8) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %15 = bitcast i64* %sv_2 to i32* %16 = call i64 @FUNC(i64 %10, i64* nonnull %sv_3, i32* nonnull %15, i64* nonnull %sv_1, i32* nonnull %sv_0) %17 = icmp eq i64 %16, -1 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = call i64 @FUNC(i64 %8) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %20 = ptrtoint i64* %arg3 to i64 %21 = load i32, i32* %sv_0, align 4 %22 = sub i32 %6, %21 %23 = bitcast i64* %arg4 to i32* store i32 %22, i32* %23, align 4 %24 = mul i64 %1, 8 %25 = and i64 %24, 34359738360 %26 = add i64 %25, %20 %27 = inttoptr i64 %26 to i64* store i64 0, i64* %27, align 8 %28 = call i64 @FUNC(i64 %10) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %9, { 1, 0, 2 } uselistorder i64 %8, { 1, 0, 2, 3 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64* %arg3, { 1, 0 } }
1
BinRealVul
bdrv_all_can_snapshot_660
bdrv_all_can_snapshot
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_0.15.reg2mem = alloca i32 %storemerge6.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_1) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %storemerge6.reg2mem store i32 1, i32* %sv_0.15.reg2mem store i64 %0, i64* %storemerge3.reg2mem store i32 1, i32* %sv_0.2.reg2mem br i1 %2, label LBL_1, label LBL_7 LBL_1: %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem %storemerge6.reload = load i64, i64* %storemerge6.reg2mem %3 = call i64 @FUNC(i64 %storemerge6.reload) store i64 %3, i64* %sv_1, align 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %storemerge6.reload) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 0 store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %storemerge6.reload) %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 1 store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %storemerge6.reload) %12 = trunc i64 %11 to i32 %sext = mul i32 %12, 16777216 %13 = ashr exact i32 %sext, 24 store i32 %13, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %14 = load i64, i64* %sv_1, align 8 %15 = call i64 @FUNC(i64 %14) %16 = trunc i32 %sv_0.0.reload to i8 %17 = icmp eq i8 %16, 1 br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64* nonnull %sv_1) store i64 %storemerge6.reload, i64* %storemerge3.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br label LBL_7 LBL_6: %19 = call i64 @FUNC(i64* nonnull %sv_1) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64 %19, i64* %storemerge6.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem store i64 %19, i64* %storemerge3.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %21, label LBL_1, label LBL_7 LBL_7: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %storemerge3.reload = load i64, i64* %storemerge3.reg2mem store i64 %storemerge3.reload, i64* %arg1, align 8 %22 = urem i32 %sv_0.2.reload, 256 %23 = zext i32 %22 to i64 ret i64 %23 uselistorder i32 %sv_0.0.reload, { 0, 3, 1, 2 } uselistorder i64 %storemerge6.reload, { 0, 1, 2, 4, 3 } uselistorder i64* %sv_1, { 0, 1, 3, 4, 2 } uselistorder i64* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.15.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge3.reg2mem, { 0, 1, 3, 2 } uselistorder i32* %sv_0.2.reg2mem, { 0, 1, 3, 2 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_7, { 0, 2, 1 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
ReadMTVImage_7884
ReadMTVImage
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %rbx.08.reg2mem = alloca i64 %r12.09.reg2mem = alloca i64 %storemerge210.reg2mem = alloca i64 %storemerge11.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %rsi.3.reg2mem = alloca i64 %rsi.2.reg2mem = alloca i64 %rsi.1.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false store i64 %3, i64* %rsi.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 196, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([46 x i8]* @gv_1 to i64), i64* %rsi.0.reg2mem br label LBL_2 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %7 = add i64 %6, 48 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 305419896 store i64 %rsi.0.reload, i64* %rsi.1.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 197, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([46 x i8]* @gv_1 to i64), i64* %rsi.1.reg2mem br label LBL_4 LBL_4: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %11 = add i64 %6, 40 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 store i64 %rsi.1.reload, i64* %rsi.2.reg2mem br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = add i64 %6, 32 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC() %19 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i64 %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i64 %17, i64 %2, i64 %1) store i64 %18, i64* %rsi.2.reg2mem br label LBL_6 LBL_6: %rsi.2.reload = load i64, i64* %rsi.2.reg2mem %20 = icmp eq i64* %arg2, null %21 = icmp eq i1 %20, false store i64 %rsi.2.reload, i64* %rsi.3.reg2mem br i1 %21, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 201, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([46 x i8]* @gv_1 to i64), i64* %rsi.3.reg2mem br label LBL_8 LBL_8: %rsi.3.reload = load i64, i64* %rsi.3.reg2mem %22 = icmp eq i64 %rsi.3.reload, 305419896 br i1 %22, label LBL_10, label LBL_9 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 202, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_10 LBL_10: %23 = call i64 @FUNC(i64 %6) %24 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4 %25 = call i64 @FUNC(i64 %6, i64 %23, i32 %24, i64 %3) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_12, label LBL_11 LBL_11: %29 = call i64 @FUNC(i64 %23) store i64 0, i64* %rax.0.reg2mem br label LBL_43 LBL_12: %30 = call i64 @FUNC(i64 %23, i64* nonnull %sv_3) %31 = bitcast i64* %sv_3 to i8* %32 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %31, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_2) %33 = icmp eq i32 %32, 0 %34 = icmp slt i32 %32, 0 %35 = icmp eq i1 %34, false %36 = icmp eq i1 %33, false %37 = icmp eq i1 %35, %36 br i1 %37, label LBL_13, label LBL_14 LBL_13: %38 = add i64 %6, 24 %39 = inttoptr i64 %38 to i32* %40 = add i64 %6, 28 %41 = inttoptr i64 %40 to i32* %42 = add i64 %6, 20 %43 = inttoptr i64 %42 to i32* store i64 %23, i64* %sv_0.0.reg2mem br label LBL_15 LBL_14: %44 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_10, i64 0, i64 0)) unreachable LBL_15: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %45 = load i64, i64* %sv_1, align 8 %46 = add i64 %sv_0.0.reload, 8 %47 = inttoptr i64 %46 to i64* store i64 %45, i64* %47, align 8 %48 = load i64, i64* %sv_2, align 8 %49 = add i64 %sv_0.0.reload, 16 %50 = inttoptr i64 %49 to i64* store i64 %48, i64* %50, align 8 %51 = add i64 %sv_0.0.reload, 48 %52 = inttoptr i64 %51 to i32* store i32 8, i32* %52, align 4 %53 = load i32, i32* %39, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_18, label LBL_16 LBL_16: %55 = load i32, i32* %41, align 4 %56 = icmp eq i32 %55, 0 br i1 %56, label LBL_18, label LBL_17 LBL_17: %57 = add i64 %sv_0.0.reload, 24 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = load i32, i32* %43, align 4 %61 = add i32 %55, -1 %62 = add i32 %61, %60 %63 = icmp ult i32 %59, %62 store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem br i1 %63, label LBL_18, label LBL_42 LBL_18: %64 = load i64, i64* %50, align 8 %65 = load i64, i64* %47, align 8 %66 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %65, i64 %64) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_20, label LBL_19 LBL_19: %70 = add i64 %sv_0.0.reload, 32 %71 = call i64 @FUNC(i64 %3, i64 %70) %72 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 %72, i64* %rax.0.reg2mem br label LBL_43 LBL_20: %73 = load i64, i64* %47, align 8 %74 = call i64 @FUNC(i64 %73, i64 3) %75 = icmp eq i64 %74, 0 %76 = icmp eq i1 %75, false br i1 %76, label LBL_21, label LBL_23 LBL_21: %77 = load i64, i64* %50, align 8 %78 = icmp sgt i64 %77, 0 br i1 %78, label LBL_22, label LBL_33 LBL_22: %79 = add i64 %sv_0.0.reload, 40 %80 = inttoptr i64 %79 to i64* store i64 0, i64* %storemerge11.reg2mem br label LBL_24 LBL_23: %81 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_11, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_12, i64 0, i64 0)) unreachable LBL_24: %82 = load i64, i64* %47, align 8 %83 = mul i64 %82, 3 %84 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %83, i64 %74) %85 = load i64, i64* %47, align 8 %86 = mul i64 %85, 3 %87 = icmp eq i64 %86, %84 br i1 %87, label LBL_26, label LBL_25 LBL_25: %88 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_13, i64 0, i64 0)) unreachable LBL_26: %storemerge11.reload = load i64, i64* %storemerge11.reg2mem %89 = call i64 @FUNC(i64 %sv_0.0.reload, i64 0, i64 %storemerge11.reload, i64 %85, i64 1, i64 %3) %90 = icmp eq i64 %89, 0 br i1 %90, label LBL_33, label LBL_27 LBL_27: %91 = load i64, i64* %47, align 8 %92 = icmp sgt i64 %91, 0 store i64 0, i64* %storemerge210.reg2mem store i64 %74, i64* %r12.09.reg2mem store i64 %89, i64* %rbx.08.reg2mem br i1 %92, label LBL_28, label LBL_29 LBL_28: %rbx.08.reload = load i64, i64* %rbx.08.reg2mem %r12.09.reload = load i64, i64* %r12.09.reg2mem %storemerge210.reload = load i64, i64* %storemerge210.reg2mem %93 = add i64 %r12.09.reload, 1 %94 = inttoptr i64 %r12.09.reload to i8* %95 = load i8, i8* %94, align 1 %96 = zext i8 %95 to i64 %97 = call i64 @FUNC(i64 %96) %98 = urem i64 %97, 256 %99 = call i64 @FUNC(i64 %rbx.08.reload, i64 %98) %100 = add i64 %r12.09.reload, 2 %101 = inttoptr i64 %93 to i8* %102 = load i8, i8* %101, align 1 %103 = zext i8 %102 to i64 %104 = call i64 @FUNC(i64 %103) %105 = urem i64 %104, 256 %106 = call i64 @FUNC(i64 %rbx.08.reload, i64 %105) %107 = add i64 %r12.09.reload, 3 %108 = inttoptr i64 %100 to i8* %109 = load i8, i8* %108, align 1 %110 = zext i8 %109 to i64 %111 = call i64 @FUNC(i64 %110) %112 = urem i64 %111, 256 %113 = call i64 @FUNC(i64 %rbx.08.reload, i64 %112) %114 = call i64 @FUNC(i64 %rbx.08.reload, i64 0) %115 = add i64 %rbx.08.reload, 4 %116 = add nuw nsw i64 %storemerge210.reload, 1 %117 = load i64, i64* %47, align 8 %118 = icmp slt i64 %116, %117 store i64 %116, i64* %storemerge210.reg2mem store i64 %107, i64* %r12.09.reg2mem store i64 %115, i64* %rbx.08.reg2mem br i1 %118, label LBL_28, label LBL_29 LBL_29: %119 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %3) %120 = trunc i64 %119 to i32 %121 = icmp eq i32 %120, 0 br i1 %121, label LBL_33, label LBL_30 LBL_30: %122 = load i64, i64* %80, align 8 %123 = icmp eq i64 %122, 0 %124 = icmp eq i1 %123, false br i1 %124, label LBL_32, label LBL_31 LBL_31: %125 = load i64, i64* %50, align 8 %126 = call i64 @FUNC(i64 %sv_0.0.reload, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_14, i64 0, i64 0), i64 %storemerge11.reload, i64 %125) %127 = trunc i64 %126 to i32 %128 = icmp eq i32 %127, 0 br i1 %128, label LBL_33, label LBL_32 LBL_32: %129 = add nuw nsw i64 %storemerge11.reload, 1 %130 = load i64, i64* %50, align 8 %131 = icmp slt i64 %129, %130 store i64 %129, i64* %storemerge11.reg2mem br i1 %131, label LBL_24, label LBL_33 LBL_33: %132 = call i64 @FUNC(i64 %74) %133 = call i64 @FUNC(i64 %sv_0.0.reload) %134 = trunc i64 %133 to i32 %135 = icmp eq i32 %134, 0 br i1 %135, label LBL_35, label LBL_34 LBL_34: %136 = add i64 %sv_0.0.reload, 56 %137 = inttoptr i64 %136 to i64* %138 = load i64, i64* %137, align 8 %139 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_15, i64 0, i64 0), i64 %138) unreachable LBL_35: %140 = load i32, i32* %41, align 4 %141 = icmp eq i32 %140, 0 br i1 %141, label LBL_37, label LBL_36 LBL_36: %142 = add i64 %sv_0.0.reload, 24 %143 = inttoptr i64 %142 to i32* %144 = load i32, i32* %143, align 4 %145 = load i32, i32* %43, align 4 %146 = add i32 %140, -1 %147 = add i32 %146, %145 %148 = icmp ult i32 %144, %147 store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem br i1 %148, label LBL_37, label LBL_42 LBL_37: store i64 0, i64* %sv_3, align 8 %149 = call i64 @FUNC(i64 %sv_0.0.reload, i64* nonnull %sv_3) %150 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %31, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_2) %151 = icmp slt i32 %150, 1 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %151, label LBL_41, label LBL_38 LBL_38: %152 = call i64 @FUNC(i64 %6, i64 %sv_0.0.reload) %153 = call i64 @FUNC(i64 %sv_0.0.reload) %154 = icmp eq i64 %153, 0 %155 = icmp eq i1 %154, false br i1 %155, label LBL_40, label LBL_39 LBL_39: %156 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 0, i64* %rax.0.reg2mem br label LBL_43 LBL_40: %157 = call i64 @FUNC(i64 %sv_0.0.reload) %158 = call i64 @FUNC(i64 %157) %159 = call i64 @FUNC(i64 %157) %160 = call i64 @FUNC(i64 %157, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_16, i64 0, i64 0), i64 %159, i64 %158) %161 = trunc i64 %160 to i32 %162 = icmp eq i32 %161, 0 store i64 %157, i64* %sv_0.1.reg2mem store i64 %157, i64* %sv_0.2.reg2mem br i1 %162, label LBL_42, label LBL_41 LBL_41: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %163 = icmp eq i32 %150, 0 %164 = icmp slt i32 %150, 0 %165 = icmp eq i1 %164, false %166 = icmp eq i1 %163, false %167 = icmp eq i1 %165, %166 store i64 %sv_0.1.reload, i64* %sv_0.0.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br i1 %167, label LBL_15, label LBL_42 LBL_42: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %168 = call i64 @FUNC(i64 %sv_0.2.reload) %169 = call i64 @FUNC(i64 %sv_0.2.reload) store i64 %169, i64* %rax.0.reg2mem br label LBL_43 LBL_43: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.2.reload, { 1, 0 } uselistorder i64 %r12.09.reload, { 3, 2, 0, 1 } uselistorder i64 %rbx.08.reload, { 2, 1, 0, 3, 4 } uselistorder i64 %storemerge11.reload, { 2, 0, 1 } uselistorder i64 %74, { 2, 0, 1, 3 } uselistorder i64* %50, { 2, 1, 0, 3, 4 } uselistorder i64* %47, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64 %sv_0.0.reload, { 13, 22, 12, 11, 2, 10, 1, 14, 21, 9, 16, 15, 8, 7, 17, 20, 19, 6, 0, 18, 5, 4, 3 } uselistorder i64 %6, { 0, 3, 2, 1, 5, 4, 7, 6, 8 } uselistorder i64* %sv_3, { 0, 3, 1, 2 } uselistorder i64* %sv_2, { 0, 2, 1 } uselistorder i64* %sv_1, { 0, 2, 1 } uselistorder i64 %3, { 3, 2, 4, 1, 5, 0 } uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge210.reg2mem, { 2, 0, 1 } uselistorder i64* %r12.09.reg2mem, { 2, 0, 1 } uselistorder i64* %rbx.08.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.2.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64)* @SetImageProgress, { 1, 0 } uselistorder i64 (i64)* @ScaleCharToQuantum, { 2, 1, 0 } uselistorder i64 3, { 2, 0, 1, 3 } uselistorder i64 (i8*, i8*)* @ThrowReaderException, { 2, 1, 0 } uselistorder i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_9, i64 0, i64 0), { 1, 0, 2 } uselistorder i32 (i8*, i8*, ...)* @sscanf, { 1, 0 } uselistorder i64 (i64, i64*)* @ReadBlobString, { 1, 0 } uselistorder i32 0, { 0, 1, 4, 5, 6, 7, 8, 9, 10, 11, 2, 3, 12, 13, 14, 15 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 3, 0, 2 } uselistorder [46 x i8]* @gv_1, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_42, { 3, 0, 1, 2 } uselistorder label LBL_33, { 0, 3, 2, 1, 4 } uselistorder label LBL_28, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_15, { 1, 0 } }
1
BinRealVul
mov_read_keys_14847
mov_read_keys
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp ult i32 %arg3, 8 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_11, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = call i64 @FUNC(i64 %4, i64 4) %6 = call i64 @FUNC(i64 %4) %7 = trunc i64 %6 to i32 %8 = icmp ult i32 %7, 536870912 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = and i64 %6, 4294967295 %10 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_3: %11 = ptrtoint i64* %arg1 to i64 %12 = add i32 %7, 1 %13 = add i64 %11, 8 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = zext i32 %12 to i64 %16 = mul i64 %15, 8 %17 = call i64 @FUNC(i64 %16) %18 = add i64 %11, 16 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 %20 = icmp eq i64 %17, 0 %21 = icmp eq i1 %20, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %21, label LBL_4, label LBL_11 LBL_4: %22 = icmp eq i32 %7, 0 store i32 1, i32* %storemerge2.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_11, label LBL_5 LBL_5: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %23 = call i64 @FUNC(i64 %4) %24 = trunc i64 %23 to i32 %25 = call i64 @FUNC(i64 %4) %26 = icmp ult i32 %24, 8 br i1 %26, label LBL_6, label LBL_7 LBL_6: %27 = and i64 %23, 4294967295 %28 = zext i32 %storemerge2.reload to i64 %29 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i64 %28, i64 %27, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %30 = trunc i64 %25 to i32 %31 = add i32 %24, -8 %32 = icmp eq i32 %30, 1835299937 br i1 %32, label LBL_9, label LBL_8 LBL_8: %33 = zext i32 %31 to i64 %34 = call i64 @FUNC(i64 %4, i64 %33) br label LBL_9 LBL_9: %35 = add i64 %23, 4294967289 %36 = and i64 %35, 4294967295 %37 = load i64, i64* %19, align 8 %38 = zext i32 %storemerge2.reload to i64 %39 = mul i64 %38, 8 %40 = add i64 %37, %39 %41 = call i64 @FUNC(i64 %36) %42 = inttoptr i64 %40 to i64* store i64 %41, i64* %42, align 8 %43 = load i64, i64* %19, align 8 %44 = add i64 %43, %39 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 %48 = icmp eq i1 %47, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %48, label LBL_10, label LBL_11 LBL_10: %49 = call i64 @FUNC(i64 %4, i64 %46, i32 %31) %50 = add i32 %storemerge2.reload, 1 %51 = icmp ugt i32 %50, %7 store i32 %50, i32* %storemerge2.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %51, label LBL_11, label LBL_5 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %39, { 1, 0 } uselistorder i64 %23, { 1, 0, 2 } uselistorder i32 %7, { 1, 0, 2, 3 } uselistorder i64 %4, { 2, 1, 3, 5, 4, 0, 7, 6 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 7, 3, 4, 6, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @av_mallocz, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 (i64)* @avio_rb32, { 1, 0 } uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 } uselistorder i64 0, { 0, 12, 9, 5, 6, 1, 13, 10, 7, 8, 2, 3, 4, 11 } uselistorder label LBL_11, { 1, 0, 5, 2, 3, 6, 4 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
AllocateDataSet_11808
AllocateDataSet
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) %7 = inttoptr i64 %6 to i8* %8 = call i32 @atoi(i8* %7) %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0)) %12 = inttoptr i64 %11 to i8* %13 = call i32 @atoi(i8* %12) %14 = add i64 %1, 12 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = load i32, i32* %10, align 4 %17 = add i32 %16, 1 %18 = add i32 %13, 1 %19 = mul i32 %17, %18 %20 = zext i32 %19 to i64 %21 = mul i64 %20, 8 %22 = call i64 @FUNC(i64 %0, i64 %21) store i64 %22, i64* %2, align 8 %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false store i64 %22, i64* %rax.0.reg2mem br i1 %24, label LBL_3, label LBL_2 LBL_2: %25 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0)) store i64 %25, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 (i8*)* @atoi, { 1, 0 } uselistorder i64 (i64, i8*)* @cmsIT8GetProperty, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
1
BinRealVul
lpfc_rq_adjust_repost_3916
lpfc_rq_adjust_repost
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 29 %3 = add i64 %2, ptrtoint (i64* @gv_0 to i64) %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = udiv i32 %7, 8 %9 = icmp ult i32 %7, 8 %10 = icmp eq i1 %9, false %spec.select = select i1 %10, i32 %8, i32 1 %11 = bitcast i64* %arg2 to i32* store i32 %spec.select, i32* %11, align 4 store i64 %1, 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* %arg2, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
pc_q35_2_4_machine_options_1551
pc_q35_2_4_machine_options
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 1, i64* %arg1, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
nvmet_req_init_17682
nvmet_req_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.in.in.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* store i64 %4, i64* %7, align 8 %8 = add i64 %5, 16 %9 = inttoptr i64 %8 to i64* store i64 %3, i64* %9, align 8 %10 = add i64 %5, 24 %11 = inttoptr i64 %10 to i64* store i64 %2, i64* %11, align 8 %12 = add i64 %5, 32 %13 = inttoptr i64 %12 to i64* store i64 0, i64* %13, align 8 %14 = add i64 %5, 40 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = add i64 %5, 44 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %5, 48 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i16* store i16 0, i16* %21, align 2 %22 = urem i64 %1, 4 %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false %25 = zext i1 %24 to i64 %26 = call i64 @FUNC(i64 %25) %27 = trunc i64 %26 to i8 %28 = icmp eq i8 %27, 0 store i32 96, i32* %sv_0.1.reg2mem br i1 %28, label LBL_1, label LBL_13 LBL_1: %29 = call i64 @FUNC(i64 1) %30 = trunc i64 %29 to i8 %31 = icmp eq i8 %30, 0 store i32 96, i32* %sv_0.1.reg2mem br i1 %31, label LBL_2, label LBL_13 LBL_2: %32 = load i64, i64* %9, align 8 %33 = add i64 %32, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = icmp eq i64 %35, 0 %37 = zext i1 %36 to i64 %38 = call i64 @FUNC(i64 %37) %39 = trunc i64 %38 to i8 %40 = icmp eq i8 %39, 0 br i1 %40, label LBL_4, label LBL_3 LBL_3: %41 = call i64 @FUNC(i64 %5) store i64 %41, i64* %sv_0.0.in.in.in.reg2mem br label LBL_11 LBL_4: %42 = load i64, i64* %9, align 8 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false %47 = zext i1 %46 to i64 %48 = call i64 @FUNC(i64 %47) %49 = trunc i64 %48 to i8 %50 = icmp eq i8 %49, 0 br i1 %50, label LBL_6, label LBL_5 LBL_5: %51 = call i64 @FUNC(i64 %5) store i64 %51, i64* %sv_0.0.in.in.in.reg2mem br label LBL_11 LBL_6: %52 = select i1 %46, i8* inttoptr (i64 2 to i8*), i8* inttoptr (i64 1 to i8*) %53 = load i8, i8* %52, align 1 %54 = icmp eq i8 %53, 1 %55 = icmp eq i1 %54, false br i1 %55, label LBL_8, label LBL_7 LBL_7: %56 = call i64 @FUNC(i64 %5) store i64 %56, i64* %sv_0.0.in.in.in.reg2mem br label LBL_11 LBL_8: %57 = load i64, i64* %9, align 8 %58 = add i64 %57, 8 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = icmp eq i32 %64, 128 %66 = icmp eq i1 %65, false br i1 %66, label LBL_10, label LBL_9 LBL_9: %67 = call i64 @FUNC(i64 %5) store i64 %67, i64* %sv_0.0.in.in.in.reg2mem br label LBL_11 LBL_10: %68 = call i64 @FUNC(i64 %5) store i64 %68, i64* %sv_0.0.in.in.in.reg2mem br label LBL_11 LBL_11: %sv_0.0.in.in.in.reload = load i64, i64* %sv_0.0.in.in.in.reg2mem %sv_0.0.in.in = trunc i64 %sv_0.0.in.in.in.reload to i32 %sv_0.0.in = mul i32 %sv_0.0.in.in, 65536 %sv_0.0 = ashr exact i32 %sv_0.0.in, 16 %69 = trunc i32 %sv_0.0 to i16 %70 = icmp eq i16 %69, 0 %71 = icmp eq i1 %70, false store i32 %sv_0.0, i32* %sv_0.1.reg2mem br i1 %71, label LBL_13, label LBL_12 LBL_12: %72 = add i64 %3, 16 %73 = call i64 @FUNC(i64 %72) %74 = urem i64 %73, 256 %75 = icmp eq i64 %74, 0 %76 = zext i1 %75 to i64 %77 = call i64 @FUNC(i64 %76) %78 = trunc i64 %77 to i8 %79 = icmp eq i8 %78, 0 store i32 96, i32* %sv_0.1.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %79, label LBL_14, label LBL_13 LBL_13: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %80 = urem i32 %sv_0.1.reload, 65536 %81 = zext i32 %80 to i64 %82 = call i64 @FUNC(i64 %5, i64 %81) store i64 0, i64* %storemerge.reg2mem br label LBL_14 LBL_14: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 1, 4, 3, 2, 0, 5, 6, 7, 8, 9, 10, 11, 12 } uselistorder i64* %sv_0.0.in.in.in.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 65536, { 1, 0 } uselistorder i64 (i64)* @unlikely, { 3, 2, 1, 0 } uselistorder i64 0, { 0, 7, 9, 6, 10, 1, 2, 3, 4, 5, 8 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 0, 3, 1, 2 } }
1
BinRealVul
opt_new_stream_3304
opt_new_stream
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 %2 = icmp slt i32 %0, 0 %3 = icmp eq i1 %2, false %4 = icmp eq i1 %1, false %5 = icmp eq i1 %3, %4 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %7 = call i32 @fwrite(i64* bitcast ([44 x i8]* @gv_2 to i64*), i32 1, i32 43, %_IO_FILE* %6) %8 = call i64 @FUNC(i64 1) unreachable LBL_2: %9 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4 %10 = add i32 %9, -1 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 8 %13 = add i64 %12, ptrtoint (i64* @gv_3 to i64) %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %arg1 to i8* %17 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0)) %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = zext i32 %10 to i64 %21 = call i64 @FUNC(i64 %15, i64 %20) br label LBL_9 LBL_4: %22 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0)) %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = zext i32 %10 to i64 %26 = call i64 @FUNC(i64 %15, i64 %25) br label LBL_9 LBL_6: %27 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_6, i64 0, i64 0)) %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_8, label LBL_7 LBL_7: %30 = zext i32 %10 to i64 %31 = call i64 @FUNC(i64 %15, i64 %30) br label LBL_9 LBL_8: %32 = call i64 @FUNC(i64 0) br label LBL_9 LBL_9: ret i64 0 uselistorder i64 %15, { 2, 1, 0 } uselistorder i32 %10, { 2, 1, 0, 3 } uselistorder i32 %0, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 } }
0
BinRealVul
__fsnotify_parent_12988
__fsnotify_parent
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = icmp eq i64* %arg2, null %3 = icmp eq i1 %2, false %spec.select = select i1 %3, i64 %0, i64 %1 %4 = add i64 %spec.select, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = urem i32 %6, 2 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %storemerge.reg2mem br i1 %9, label LBL_1, label LBL_8 LBL_1: %10 = call i64 @FUNC(i64 %spec.select) %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_3, label LBL_2 LBL_2: %17 = call i64 @FUNC(i64 %12) store i64 0, i64* %sv_0.0.reg2mem br label LBL_7 LBL_3: %18 = inttoptr i64 %12 to i32* %19 = load i32, i32* %18, align 4 %20 = and i32 %19, %arg3 %21 = icmp eq i32 %20, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %21, label LBL_7, label LBL_4 LBL_4: %22 = or i32 %arg3, 2 %23 = icmp eq i64* %arg1, null %24 = add i64 %spec.select, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 br i1 %23, label LBL_6, label LBL_5 LBL_5: %27 = call i64 @FUNC(i64 %12, i32 %22, i64 %1, i64 3, i64 %26, i64 0) store i64 %27, i64* %sv_0.0.reg2mem br label LBL_7 LBL_6: %28 = inttoptr i64 %spec.select to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %12, i32 %22, i64 %29, i64 4, i64 %26, i64 0) store i64 %30, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %31 = call i64 @FUNC(i64 %10) %32 = and i64 %sv_0.0.reload, 4294967295 store i64 %32, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %26, { 1, 0 } uselistorder i32 %22, { 1, 0 } uselistorder i64 %12, { 0, 1, 3, 2, 4 } uselistorder i64 %spec.select, { 2, 3, 0, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i32, i64, i64, i64, i64)* @fsnotify, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32 %arg3, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
tls1_mac_7886
tls1_mac
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i32 %storemerge4.in.reg2mem = alloca i64* %storemerge3.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge6.in.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %3 = icmp eq i32 %arg4, 0 %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 16 br i1 %3, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %5) %7 = add i64 %4, 32 store i64 %6, i64* %sv_1.0.reg2mem store i64 %7, i64* %storemerge6.in.in.reg2mem br label LBL_3 LBL_2: %8 = call i64 @FUNC(i64 %5) %9 = add i64 %4, 40 store i64 %8, i64* %sv_1.0.reg2mem store i64 %9, i64* %storemerge6.in.in.reg2mem br label LBL_3 LBL_3: %10 = trunc i64 %1 to i32 %storemerge7.in.v = select i1 %3, i32 2, i32 1 %storemerge7.in = and i32 %storemerge7.in.v, %10 %storemerge6.in.in.reload = load i64, i64* %storemerge6.in.in.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %storemerge6.in = inttoptr i64 %storemerge6.in.in.reload to i64* %storemerge6 = load i64, i64* %storemerge6.in, align 8 %11 = call i64 @FUNC(i64 %storemerge6) %12 = icmp sgt i64 %11, -1 %13 = zext i1 %12 to i64 %14 = call i64 @FUNC(i64 %13) %sext = mul i64 %11, 4294967296 %15 = ashr exact i64 %sext, 32 store i64 %15, i64* %sv_4, align 8 %16 = icmp eq i32 %storemerge7.in, 0 store i64 0, i64* %sv_0.0.reg2mem store i64 %storemerge6, i64* %storemerge5.reg2mem br i1 %16, label LBL_4, label LBL_6 LBL_4: %17 = call i64 @FUNC() %18 = icmp eq i64 %17, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_30, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 %17, i64 %storemerge6) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i64 %17, i64* %sv_0.0.reg2mem store i64 %17, i64* %storemerge5.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %22, label LBL_6, label LBL_30 LBL_6: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %23 = call i64 @FUNC(i64 %4) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_11, label LBL_7 LBL_7: br i1 %3, label LBL_9, label LBL_8 LBL_8: %26 = call i64 @FUNC(i64 %5) store i64 %26, i64* %storemerge3.reg2mem br label LBL_10 LBL_9: %27 = call i64 @FUNC(i64 %5) store i64 %27, i64* %storemerge3.reg2mem br label LBL_10 LBL_10: %28 = ptrtoint i64* %sv_3 to i64 %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %29 = and i64 %storemerge3.reload, 4294967295 %30 = call i64 @FUNC(i64 %29, i64 %28) %31 = add i64 %sv_1.0.reload, 2 %32 = inttoptr i64 %31 to i64* %33 = call i64* @memcpy(i64* nonnull %sv_3, i64* %32, i32 6) store i64* %sv_3, i64** %storemerge4.in.reg2mem br label LBL_12 LBL_11: %34 = inttoptr i64 %sv_1.0.reload to i64* store i64* %34, i64** %storemerge4.in.reg2mem br label LBL_12 LBL_12: %35 = ptrtoint i64* %arg3 to i64 %storemerge4.in.reload = load i64*, i64** %storemerge4.in.reg2mem %storemerge4 = load i64, i64* %storemerge4.in.reload, align 8 store i64 %storemerge4, i64* %sv_2, align 8 %36 = icmp eq i1 %3, false br i1 %36, label LBL_18, label LBL_13 LBL_13: %37 = call i64 @FUNC(i64 %4) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_18, label LBL_14 LBL_14: %41 = add i64 %4, 48 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 1 %47 = icmp eq i1 %46, false br i1 %47, label LBL_18, label LBL_15 LBL_15: %48 = call i64 @FUNC(i64 %storemerge5.reload) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 br i1 %50, label LBL_18, label LBL_16 LBL_16: %sext9 = mul i64 %2, 4294967296 %51 = ashr exact i64 %sext9, 32 %52 = load i64, i64* %sv_4, align 8 %53 = add i64 %52, %51 %54 = ptrtoint i32* %arg2 to i64 %55 = add i64 %54, 16 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = call i64 @FUNC(i64 %storemerge5.reload, i64 %35, i64* nonnull %sv_4, i64* nonnull %sv_2, i64 %57, i64 %53) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 %61 = icmp slt i32 %59, 0 %62 = icmp eq i1 %61, false %63 = icmp eq i1 %60, false %64 = icmp eq i1 %62, %63 br i1 %64, label LBL_27, label LBL_17 LBL_17: %65 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_30 LBL_18: %66 = call i64 @FUNC(i64 %storemerge5.reload, i64* nonnull %sv_2, i64 13) %67 = trunc i64 %66 to i32 %68 = icmp slt i32 %67, 1 br i1 %68, label LBL_21, label LBL_19 LBL_19: %sext10 = mul i64 %2, 4294967296 %69 = ashr exact i64 %sext10, 32 %70 = ptrtoint i32* %arg2 to i64 %71 = add i64 %70, 16 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = inttoptr i64 %73 to i64* %75 = call i64 @FUNC(i64 %storemerge5.reload, i64* %74, i64 %69) %76 = trunc i64 %75 to i32 %77 = icmp slt i32 %76, 1 br i1 %77, label LBL_21, label LBL_20 LBL_20: %78 = call i64 @FUNC(i64 %storemerge5.reload, i64 %35, i64* nonnull %sv_4) %79 = trunc i64 %78 to i32 %80 = icmp eq i32 %79, 0 %81 = icmp slt i32 %79, 0 %82 = icmp eq i1 %81, false %83 = icmp eq i1 %80, false %84 = icmp eq i1 %82, %83 br i1 %84, label LBL_22, label LBL_21 LBL_21: %85 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_30 LBL_22: br i1 %36, label LBL_27, label LBL_23 LBL_23: %86 = call i64 @FUNC(i64 %4) %87 = trunc i64 %86 to i32 %88 = icmp eq i32 %87, 0 %89 = icmp eq i1 %88, false br i1 %89, label LBL_27, label LBL_24 LBL_24: %90 = call i64 @FUNC() %91 = trunc i64 %90 to i32 %92 = icmp eq i32 %91, 0 br i1 %92, label LBL_27, label LBL_25 LBL_25: %93 = trunc i64 %2 to i32 %94 = add i64 %70, 24 %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = load i64, i64* %72, align 8 %98 = add i64 %4, 48 %99 = inttoptr i64 %98 to i64* %100 = load i64, i64* %99, align 8 %101 = zext i32 %96 to i64 %102 = call i64 @FUNC(i64 %100, i64 %storemerge5.reload, i64 %97, i32 %93, i64 %101) %103 = trunc i64 %102 to i32 %104 = icmp eq i32 %103, 0 %105 = icmp eq i1 %104, false br i1 %105, label LBL_27, label LBL_26 LBL_26: %106 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_30 LBL_27: %107 = call i64 @FUNC(i64 %sv_0.0.reload) %108 = call i64 @FUNC(i64 %4) %109 = trunc i64 %108 to i32 %110 = icmp eq i32 %109, 0 %111 = icmp eq i1 %110, false store i32 7, i32* %storemerge8.reg2mem br i1 %111, label LBL_29, label LBL_28 LBL_28: %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %112 = sext i32 %storemerge8.reload to i64 %113 = add i64 %sv_1.0.reload, %112 %114 = inttoptr i64 %113 to i8* %115 = load i8, i8* %114, align 1 %116 = add i8 %115, 1 store i8 %116, i8* %114, align 1 %117 = icmp eq i8 %116, 0 %118 = add i32 %storemerge8.reload, -1 %119 = icmp slt i32 %118, 0 %120 = icmp eq i1 %119, false %or.cond = icmp eq i1 %117, %120 store i32 %118, i32* %storemerge8.reg2mem br i1 %or.cond, label LBL_28, label LBL_29 LBL_29: %121 = load i64, i64* %sv_4, align 8 store i64 %121, i64* %rax.0.reg2mem br label LBL_30 LBL_30: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %79, { 1, 0 } uselistorder i32 %59, { 1, 0 } uselistorder i64 %35, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 2, 0, 3 } uselistorder i64 %storemerge5.reload, { 3, 2, 1, 0, 5, 4 } uselistorder i64 %storemerge6, { 1, 0, 2 } uselistorder i64 %sv_1.0.reload, { 2, 0, 1 } uselistorder i64 %5, { 0, 1, 3, 2 } uselistorder i64 %4, { 2, 3, 4, 0, 1, 5, 7, 6, 8 } uselistorder i1 %3, { 1, 0, 3, 2 } uselistorder i64* %sv_4, { 2, 0, 1, 3, 4 } uselistorder i64* %sv_2, { 1, 2, 0 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge6.in.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i64** %storemerge4.in.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge8.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 6, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @EVP_DigestSignUpdate, { 1, 0 } uselistorder i64 (i64)* @EVP_MD_CTX_free, { 3, 2, 1, 0 } uselistorder i64 (i64)* @SSL_USE_ETM, { 1, 0 } uselistorder i64 (i64)* @SSL_IS_DTLS, { 1, 0 } uselistorder i1 false, { 0, 3, 4, 5, 6, 1, 7, 2, 8, 9, 10, 11, 12 } uselistorder i64 32, { 1, 2, 3, 4, 5, 0 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_30, { 2, 3, 4, 5, 1, 0 } uselistorder label LBL_28, { 1, 0 } }
1
BinRealVul
put_page_type_6048
put_page_type
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0, i64 0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %4) ret i64 %5 }
0
BinRealVul
callback_token_received_fn_4225
callback_token_received_fn
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %0 = call i32 @pthread_mutex_lock(i64* nonnull @gv_0) %1 = load i32, i32* @gv_1, align 4 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0) br label LBL_5 LBL_2: %5 = call i64 @FUNC() %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0) br label LBL_5 LBL_4: store i32 0, i32* %sv_1, align 4 store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8 %10 = ptrtoint i32* %sv_1 to i64 store i64 %10, i64* %sv_0, align 8 %11 = call i64 @FUNC(i64* nonnull %sv_0, i64 3, i64 0) store i32 0, i32* @gv_1, align 4 store i32 0, i32* bitcast (i64* @gv_3 to i32*), align 8 %12 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0) br label LBL_5 LBL_5: ret i64 0 uselistorder i32 (i64*)* @pthread_mutex_unlock, { 2, 1, 0 } uselistorder i32 0, { 2, 3, 4, 1, 5, 6, 0 } uselistorder i32* @gv_1, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } }
0
BinRealVul
qemu_chr_open_tty_2504
qemu_chr_open_tty
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, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %2 = inttoptr i64 %1 to i8* %3 = call i32 (i8*, i32, ...) @open(i8* %2, i32 2050) %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = zext i32 %3 to i64 %7 = call i64 @FUNC(i64 %6, i64 115200, i64 78, i64 8, i64 1) %8 = call i64 @FUNC(i64 %6, i64 %6) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i32 @close(i32 %3) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %12 = inttoptr i64 %8 to i64* store i64 4198828, i64* %12, align 8 %13 = add i64 %8, 8 %14 = inttoptr i64 %13 to i64* store i64 4198835, i64* %14, align 8 store i64 %8, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
print_sdp_15515
print_sdp
define i64 @FUNC() local_unnamed_addr { LBL_0: %.reg2mem5 = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem3 = alloca i64 %.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = load i32, i32* @gv_0, align 4 %1 = sext i32 %0 to i64 %2 = mul i64 %1, 8 %3 = call i64 @FUNC(i64 %2) store i64 %3, i64* %sv_1, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = load i32, i32* @gv_0, align 4 %7 = icmp eq i32 %6, 0 store i64 %3, i64* %.reg2mem5 br i1 %7, label LBL_5, label LBL_2 LBL_2: %8 = zext i32 %6 to i64 store i64 %3, i64* %.reg2mem store i64 0, i64* %.reg2mem3 store i32 0, i32* %storemerge1.reg2mem br label LBL_4 LBL_3: call void @exit(i32 1) unreachable LBL_4: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload4 = load i64, i64* %.reg2mem3 %.reload = load i64, i64* %.reg2mem %9 = load i64, i64* @gv_1, align 8 %10 = mul i64 %.reload4, 8 %11 = add i64 %9, %10 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %10, %.reload %15 = inttoptr i64 %13 to i64* %16 = load i64, i64* %15, align 8 %17 = inttoptr i64 %14 to i64* store i64 %16, i64* %17, align 8 %18 = add i32 %storemerge1.reload, 1 %19 = sext i32 %18 to i64 %20 = icmp slt i64 %19, %8 %.pre = load i64, i64* %sv_1, align 8 store i64 %.pre, i64* %.reg2mem store i64 %19, i64* %.reg2mem3 store i32 %18, i32* %storemerge1.reg2mem store i64 %.pre, i64* %.reg2mem5 br i1 %20, label LBL_4, label LBL_5 LBL_5: %.reload6 = load i64, i64* %.reg2mem5 %21 = call i64 @FUNC(i64 %.reload6, i32 %6, i64* nonnull %sv_0, i64 16384) %22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0) %23 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %24 = call i32 @fflush(%_IO_FILE* %23) %25 = call i64 @FUNC(i64* nonnull %sv_1) ret i64 %25 uselistorder i64 %10, { 1, 0 } uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem3, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } }
1
BinRealVul
arch_seccomp_spec_mitigate_6143
arch_seccomp_spec_mitigate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = load i32, i32* @gv_0, align 4 %2 = icmp eq i32 %1, 1 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 0) br label LBL_2 LBL_2: %5 = load i32, i32* @gv_1, align 4 %6 = icmp eq i32 %5, 1 br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %8 = zext i32 %7 to i64 %9 = icmp eq i32 %7, 1 %10 = icmp eq i1 %9, false store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = call i64 @FUNC(i64 %0, i64 0) store i64 %11, 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* %rax.0.reg2mem, { 0, 2, 1 } }
0
BinRealVul
copy_packet_data_3245
copy_packet_data
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* store i64 0, i64* %3, align 8 %4 = add i64 %1, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_7 LBL_2: store i64 %11, i64* %5, align 8 %14 = inttoptr i64 %11 to i64* %15 = load i64, i64* %14, align 8 store i64 %15, i64* %arg1, align 8 br label LBL_3 LBL_3: %16 = add i64 %1, 32 %17 = inttoptr i64 %16 to i64* store i64 4198739, i64* %17, align 8 %18 = add i64 %1, 28 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 %22 = icmp eq i32 %arg3, 0 %or.cond = or i1 %22, %21 store i32 %20, i32* %.reg2mem br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %23 = add i64 %0, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 store i64 %25, i64* %3, align 8 %.pre = load i32, i32* %19, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem %26 = icmp eq i32 %.reload, 0 %27 = icmp eq i1 %22, false %or.cond3 = or i1 %27, %26 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond3, label LBL_7, label LBL_6 LBL_6: %28 = call i64 @FUNC(i64 %1, i64 %0) store i64 %28, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %22, { 1, 0 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_7, { 2, 0, 1 } }
0
BinRealVul
pgx_getsgnd_8872
pgx_getsgnd
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 br label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, -1 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_9 LBL_2: %5 = call i16** @__ctype_b_loc() %6 = load i16*, i16** %5, align 8 %7 = ptrtoint i16* %6 to i64 %sext = mul i64 %1, 4294967296 %8 = ashr exact i64 %sext, 31 %9 = add i64 %8, %7 %10 = inttoptr i64 %9 to i16* %11 = load i16, i16* %10, align 2 %12 = and i16 %11, 8192 %13 = icmp eq i16 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_1, label LBL_3 LBL_3: %15 = icmp ne i32 %2, 43 %16 = icmp eq i32 %2, 45 %17 = icmp eq i1 %16, false %or.cond = icmp eq i1 %15, %17 br i1 %or.cond, label LBL_7, label LBL_4 LBL_4: %18 = zext i1 %16 to i8 %19 = bitcast i64* %arg2 to i8* store i8 %18, i8* %19, align 1 br label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %0) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, -1 br i1 %22, label LBL_8, label LBL_6 LBL_6: %23 = call i16** @__ctype_b_loc() %24 = load i16*, i16** %23, align 8 %25 = ptrtoint i16* %24 to i64 %sext1 = mul i64 %20, 4294967296 %26 = ashr exact i64 %sext1, 31 %27 = add i64 %26, %25 %28 = inttoptr i64 %27 to i16* %29 = load i16, i16* %28, align 2 %30 = and i16 %29, 8192 %31 = icmp eq i16 %30, 0 store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_5, label LBL_9 LBL_7: %32 = bitcast i64* %arg2 to i8* store i8 0, i8* %32, align 1 %33 = ashr exact i64 %sext, 32 %34 = and i64 %0, 4294967295 %35 = call i64 @FUNC(i64 %34, i64 %33) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 0, i64* %rax.0.reg2mem br i1 %38, label LBL_8, label LBL_9 LBL_8: store i64 4294967295, 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 %sext, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i16** ()* @__ctype_b_loc, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i64 (i64)* @pgx_getc, { 1, 0 } uselistorder label LBL_9, { 3, 2, 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
on_read_19216
on_read
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %0) store i64 %4, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0) %7 = add i64 %0, 8 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %7) %12 = call i64 @FUNC(i64 %0) store i64 %12, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 2, 5, 4, 3, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } }
1
BinRealVul
httpClientSetMethod_11233
httpClientSetMethod
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp ne i64* %arg1, null %1 = icmp eq i8* %arg2, null %2 = icmp eq i1 %1, false %or.cond = icmp eq i1 %0, %2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_6 LBL_1: %3 = ptrtoint i8* %arg2 to i64 %4 = call i64 @FUNC(i64 %3) %.off = add i64 %4, -1 %5 = icmp ult i64 %.off, 10 store i64 4294967294, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_6 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 1024 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp ult i64 %9, 1025 store i64 4294967293, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_6 LBL_3: %11 = add i64 %9, %6 %12 = inttoptr i64 %11 to i8* store i8 0, i8* %12, align 1 %13 = bitcast i64* %arg1 to i8* %14 = call i8* @strchr(i8* %13, i32 32) %15 = icmp eq i8* %14, null %16 = icmp eq i1 %15, false store i64 4294967293, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_6 LBL_4: %17 = ptrtoint i8* %14 to i64 %18 = sub i64 %6, %17 %19 = load i64, i64* %8, align 8 %20 = add i64 %18, %4 %21 = add i64 %19, %20 %22 = icmp ult i64 %21, 1025 store i64 4294967292, i64* %rax.0.reg2mem br i1 %22, label LBL_5, label LBL_6 LBL_5: %23 = add i64 %18, 1 %24 = add i64 %23, %19 %25 = add i64 %4, %6 %26 = call i64 @FUNC(i64 %25, i64 %17, i64 %24) %27 = call i64 @FUNC(i64 %6, i64 %3, i64 %4) %28 = load i64, i64* %8, align 8 %29 = add i64 %28, %20 store i64 %29, i64* %8, align 8 %30 = add i64 %6, 1032 %31 = call i64 @FUNC(i64 %30, i64 %3) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %19, { 1, 0 } uselistorder i64 %18, { 1, 0 } uselistorder i64 %17, { 1, 0 } uselistorder i8* %14, { 1, 0 } uselistorder i64* %8, { 1, 0, 2, 3 } uselistorder i64 %6, { 3, 4, 0, 2, 1, 5 } uselistorder i64 %4, { 3, 0, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 } uselistorder i1 false, { 1, 0 } uselistorder i8* null, { 1, 0 } uselistorder i8* %arg2, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_6, { 5, 0, 1, 2, 3, 4 } }
1
BinRealVul
ljpeg_decode_rgb_scan_29
ljpeg_decode_rgb_scan
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge16.reg2mem = alloca i64 %.reg2mem104 = alloca i32 %storemerge1350.reg2mem = alloca i32 %.reg2mem102 = alloca i64 %indvars.iv67.reg2mem = alloca i64 %.reg2mem100 = alloca i32 %storemerge1149.reg2mem = alloca i32 %.reg2mem98 = alloca i64 %storemerge1048.reg2mem = alloca i32 %.reg2mem96 = alloca i64 %.reg2mem94 = alloca i32 %storemerge946.reg2mem = alloca i32 %.reg2mem92 = alloca i64 %indvars.iv64.reg2mem = alloca i64 %.reg2mem90 = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %.reg2mem88 = alloca i32 %storemerge19.reg2mem = alloca i32 %indvars.iv62.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %indvars.iv59.reg2mem = alloca i64 %sv_1.139.reg2mem = alloca i32 %sv_0.140.reg2mem = alloca i32 %storemerge1541.reg2mem = alloca i32 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i64 %sv_1.252.reg2mem = alloca i32 %sv_0.253.reg2mem = alloca i32 %storemerge754.reg2mem = alloca i32 %indvars.iv71.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %1 = add i64 %0, 56 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = urem i32 %6, 32 %notmask = shl nsw i32 -1, %7 %8 = add i64 %0, 12 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = bitcast i64* %rdi to i32* %14 = load i32, i32* %13, align 8 %15 = mul i32 %14, 8 %16 = zext i32 %15 to i64 %17 = add i64 %0, 72 %18 = add i64 %0, 64 %19 = call i64 @FUNC(i64 %18, i64 %17, i64 %16) %20 = inttoptr i64 %18 to i64* %21 = load i64, i64* %20, align 8 store i64 0, i64* %indvars.iv71.reg2mem br label LBL_1 LBL_1: %indvars.iv71.reload = load i64, i64* %indvars.iv71.reg2mem %22 = load i32, i32* %5, align 4 %23 = add i32 %22, 31 %24 = urem i32 %23, 32 %25 = shl i32 1, %24 %26 = trunc i32 %25 to i16 %27 = mul i64 %indvars.iv71.reload, 2 %28 = add i64 %27, %21 %29 = inttoptr i64 %28 to i16* store i16 %26, i16* %29, align 2 %indvars.iv.next72 = add nuw nsw i64 %indvars.iv71.reload, 1 %exitcond73 = icmp eq i64 %indvars.iv.next72, 4 store i64 %indvars.iv.next72, i64* %indvars.iv71.reg2mem br i1 %exitcond73, label LBL_2, label LBL_1 LBL_2: %30 = add i64 %0, 4 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 store i64 0, i64* %storemerge16.reg2mem br i1 %33, label LBL_44, label LBL_3 LBL_3: %phitmp = xor i32 %notmask, 65535 %34 = ptrtoint i64* %sv_4 to i64 %35 = icmp eq i32 %7, 0 %storemerge = select i1 %35, i32 0, i32 %phitmp %sext5 = mul i64 %arg3, 4294967296 %36 = add i64 %0, 48 %37 = inttoptr i64 %36 to i64* %38 = add i64 %0, 24 %39 = inttoptr i64 %38 to i32* %40 = add i64 %0, 20 %41 = inttoptr i64 %40 to i32* %42 = ashr i32 %3, 1 %43 = add i64 %34, -128 %44 = add i64 %34, -96 %45 = add i64 %34, -112 %46 = ashr exact i64 %sext5, 32 %47 = trunc i64 %arg2 to i32 %48 = icmp sgt i32 %47, 0 %49 = add i64 %0, 40 %50 = inttoptr i64 %49 to i64* %51 = trunc i64 %arg4 to i32 %52 = urem i32 %51, 32 %53 = add i64 %0, 80 %54 = add i64 %0, 28 %55 = inttoptr i64 %54 to i32* %56 = add i64 %0, 32 %57 = inttoptr i64 %56 to i64* %58 = add i64 %0, 88 %59 = inttoptr i64 %58 to i32* %60 = add i64 %0, 92 %61 = inttoptr i64 %60 to i32* %sext74 = mul i64 %arg2, 4294967296 %62 = ashr exact i64 %sext74, 32 %wide.trip.count = and i64 %arg2, 4294967295 store i32 0, i32* %storemerge754.reg2mem store i32 0, i32* %sv_0.253.reg2mem store i32 0, i32* %sv_1.252.reg2mem br label LBL_4 LBL_4: %sv_1.252.reload = load i32, i32* %sv_1.252.reg2mem %sv_0.253.reload = load i32, i32* %sv_0.253.reg2mem %storemerge754.reload = load i32, i32* %storemerge754.reg2mem %63 = load i64, i64* %37, align 8 %64 = mul i32 %storemerge754.reload, %3 %65 = sext i32 %64 to i64 %66 = add i64 %63, %65 %67 = load i32, i32* %39, align 4 %68 = icmp eq i32 %67, 0 store i64 %66, i64* %sv_3.0.reg2mem br i1 %68, label LBL_6, label LBL_5 LBL_5: %69 = load i32, i32* %41, align 4 %70 = icmp eq i32 %69, 0 %narrow = select i1 %70, i32 0, i32 %42 %71 = sext i32 %narrow to i64 %spec.select = add i64 %66, %71 store i64 %spec.select, i64* %sv_3.0.reg2mem br label LBL_6 LBL_6: %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %72 = mul i64 %indvars.iv.reload, 2 %73 = add i64 %72, %21 %74 = inttoptr i64 %73 to i16* %75 = load i16, i16* %74, align 2 %76 = zext i16 %75 to i32 %77 = mul i64 %indvars.iv.reload, 4 %78 = add i64 %77, %43 %79 = inttoptr i64 %78 to i32* store i32 %76, i32* %79, align 4 %80 = add i64 %77, %44 %81 = inttoptr i64 %80 to i32* store i32 %76, i32* %81, align 4 %82 = add i64 %77, %45 %83 = inttoptr i64 %82 to i32* store i32 %76, i32* %83, align 4 %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_8, label LBL_7 LBL_8: %84 = load i32, i32* %13, align 8 %85 = icmp eq i32 %84, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1541.reg2mem store i32 %sv_0.253.reload, i32* %sv_0.140.reg2mem store i32 %sv_1.252.reload, i32* %sv_1.139.reg2mem store i32 0, i32* %.reg2mem88 store i32 %sv_1.252.reload, i32* %sv_1.1.lcssa.reg2mem store i32 %sv_0.253.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %85, label LBL_26, label LBL_9 LBL_9: %sv_1.139.reload = load i32, i32* %sv_1.139.reg2mem %sv_0.140.reload = load i32, i32* %sv_0.140.reg2mem %storemerge1541.reload = load i32, i32* %storemerge1541.reg2mem %.reload = load i64, i64* %.reg2mem %86 = load i32, i32* %9, align 4 %87 = icmp eq i32 %86, 0 store i32 %sv_1.139.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.140.reload, i32* %sv_0.0.reg2mem br i1 %87, label LBL_13, label LBL_10 LBL_10: %88 = load i32, i32* %12, align 4 %89 = icmp eq i32 %88, 0 %90 = icmp eq i1 %89, false store i32 %sv_1.139.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.140.reload, i32* %sv_0.0.reg2mem br i1 %90, label LBL_13, label LBL_11 LBL_11: store i32 %86, i32* %12, align 4 store i64 0, i64* %indvars.iv59.reg2mem br label LBL_12 LBL_12: %indvars.iv59.reload = load i64, i64* %indvars.iv59.reg2mem %91 = load i32, i32* %5, align 4 %92 = add i32 %91, 31 %93 = urem i32 %92, 32 %94 = shl i32 1, %93 %95 = mul i64 %indvars.iv59.reload, 4 %96 = add i64 %95, %43 %97 = inttoptr i64 %96 to i32* store i32 %94, i32* %97, align 4 %98 = add i64 %95, %44 %99 = inttoptr i64 %98 to i32* store i32 %94, i32* %99, align 4 %100 = add i64 %95, %45 %101 = inttoptr i64 %100 to i32* store i32 %94, i32* %101, align 4 %indvars.iv.next60 = add nuw nsw i64 %indvars.iv59.reload, 1 %exitcond61 = icmp eq i64 %indvars.iv.next60, 4 store i64 %indvars.iv.next60, i64* %indvars.iv59.reg2mem store i32 %storemerge754.reload, i32* %sv_1.0.reg2mem store i32 %storemerge1541.reload, i32* %sv_0.0.reg2mem br i1 %exitcond61, label LBL_13, label LBL_12 LBL_13: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %102 = icmp eq i32 %storemerge754.reload, %sv_1.0.reload br i1 %102, label LBL_15, label LBL_14 LBL_14: %103 = add i32 %sv_1.0.reload, 1 %104 = icmp ne i32 %storemerge754.reload, %103 %105 = icmp sge i32 %storemerge1541.reload, %sv_0.0.reload %or.cond.not = or i1 %105, %104 %106 = icmp eq i32 %storemerge1541.reload, 0 %107 = icmp eq i1 %106, false %or.cond28 = icmp eq i1 %107, %or.cond.not store i64 %46, i64* %sv_2.0.reg2mem br i1 %or.cond28, label LBL_16, label LBL_15 LBL_15: store i64 1, i64* %sv_2.0.reg2mem br label LBL_16 LBL_16: br i1 %48, label LBL_17, label LBL_22 LBL_17: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %108 = mul i64 %.reload, 8 %109 = add i64 %108, %21 %110 = trunc i64 %sv_2.0.reload to i32 %111 = icmp eq i32 %110, 1 %112 = icmp eq i1 %111, false store i64 0, i64* %indvars.iv62.reg2mem br label LBL_18 LBL_18: %indvars.iv62.reload = load i64, i64* %indvars.iv62.reg2mem %113 = mul i64 %indvars.iv62.reload, 4 %114 = add i64 %113, %34 %115 = add i64 %114, -112 %116 = inttoptr i64 %115 to i32* %117 = load i32, i32* %116, align 4 %118 = add i64 %114, -128 %119 = inttoptr i64 %118 to i32* store i32 %117, i32* %119, align 4 %120 = mul i64 %indvars.iv62.reload, 2 %121 = add i64 %109, %120 %122 = inttoptr i64 %121 to i16* %123 = load i16, i16* %122, align 2 %124 = zext i16 %123 to i32 store i32 %124, i32* %116, align 4 store i32 %124, i32* %storemerge19.reg2mem br i1 %112, label LBL_19, label LBL_20 LBL_19: %125 = add i64 %113, %44 %126 = inttoptr i64 %125 to i32* %127 = load i32, i32* %126, align 4 %128 = load i32, i32* %119, align 4 %129 = sub i32 %127, %124 %130 = add i32 %129, %128 store i32 %130, i32* %storemerge19.reg2mem br label LBL_20 LBL_20: %131 = load i64, i64* %50, align 8 %132 = add i64 %131, %113 %133 = inttoptr i64 %132 to i32* %134 = load i32, i32* %133, align 4 %135 = zext i32 %134 to i64 %136 = call i64 @FUNC(i64 %0, i64 %135) %137 = trunc i64 %136 to i32 %138 = icmp eq i32 %137, 65535 %139 = icmp eq i1 %138, false store i64 4294967295, i64* %storemerge16.reg2mem br i1 %139, label LBL_21, label LBL_44 LBL_21: %storemerge19.reload = load i32, i32* %storemerge19.reg2mem %140 = shl i32 %137, %52 %141 = add i32 %140, %storemerge19.reload %142 = and i32 %141, %storemerge %143 = trunc i32 %142 to i16 store i16 %143, i16* %122, align 2 %144 = urem i32 %142, 65536 %145 = add i64 %113, %44 %146 = inttoptr i64 %145 to i32* store i32 %144, i32* %146, align 4 %indvars.iv.next63 = add nuw nsw i64 %indvars.iv62.reload, 1 %147 = icmp slt i64 %indvars.iv.next63, %62 store i64 %indvars.iv.next63, i64* %indvars.iv62.reg2mem br i1 %147, label LBL_18, label LBL_22 LBL_22: %148 = load i32, i32* %9, align 4 %149 = icmp eq i32 %148, 0 br i1 %149, label LBL_25, label LBL_23 LBL_23: %150 = load i32, i32* %12, align 4 %151 = add i32 %150, -1 store i32 %151, i32* %12, align 4 %152 = icmp eq i32 %151, 0 %153 = icmp eq i1 %152, false br i1 %153, label LBL_25, label LBL_24 LBL_24: %154 = call i64 @FUNC(i64 %53) %155 = call i64 @FUNC(i64 %53, i64 16) br label LBL_25 LBL_25: %156 = add i32 %storemerge1541.reload, 1 %157 = load i32, i32* %13, align 8 %158 = zext i32 %157 to i64 %159 = sext i32 %156 to i64 %160 = icmp slt i64 %159, %158 store i64 %159, i64* %.reg2mem store i32 %156, i32* %storemerge1541.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.140.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.139.reg2mem store i32 %157, i32* %.reg2mem88 store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %160, label LBL_9, label LBL_26 LBL_26: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %.reload89 = load i32, i32* %.reg2mem88 %161 = load i32, i32* %55, align 4 %162 = icmp eq i32 %161, 4 %163 = icmp eq i1 %162, false br i1 %163, label LBL_32, label LBL_27 LBL_27: store i32 %.reload89, i32* %.reg2mem90 store i64 0, i64* %indvars.iv64.reg2mem br i1 %48, label LBL_28, label LBL_43 LBL_28: %indvars.iv64.reload = load i64, i64* %indvars.iv64.reg2mem %.reload91 = load i32, i32* %.reg2mem90 %164 = load i64, i64* %57, align 8 %165 = mul i64 %indvars.iv64.reload, 4 %166 = add i64 %164, %165 %167 = inttoptr i64 %166 to i32* %168 = load i32, i32* %167, align 4 %169 = icmp eq i32 %.reload91, 0 store i32 0, i32* %.reg2mem94 br i1 %169, label LBL_31, label LBL_29 LBL_29: %170 = mul i64 %indvars.iv64.reload, 2 %171 = add i64 %170, %21 store i64 0, i64* %.reg2mem92 store i32 0, i32* %storemerge946.reg2mem br label LBL_30 LBL_30: %storemerge946.reload = load i32, i32* %storemerge946.reg2mem %.reload93 = load i64, i64* %.reg2mem92 %172 = mul i64 %.reload93, 8 %173 = add i64 %171, %172 %174 = inttoptr i64 %173 to i16* %175 = load i16, i16* %174, align 2 %176 = mul i32 %storemerge946.reload, 4 %177 = or i32 %176, 3 %178 = sub i32 %177, %168 %179 = sext i32 %178 to i64 %180 = add i64 %sv_3.0.reload, %179 %181 = trunc i16 %175 to i8 %182 = inttoptr i64 %180 to i8* store i8 %181, i8* %182, align 1 %183 = add i32 %storemerge946.reload, 1 %184 = load i32, i32* %13, align 8 %185 = zext i32 %184 to i64 %186 = sext i32 %183 to i64 %187 = icmp slt i64 %186, %185 store i64 %186, i64* %.reg2mem92 store i32 %183, i32* %storemerge946.reg2mem store i32 %184, i32* %.reg2mem94 br i1 %187, label LBL_30, label LBL_31 LBL_31: %.reload95 = load i32, i32* %.reg2mem94 %indvars.iv.next65 = add nuw nsw i64 %indvars.iv64.reload, 1 %exitcond66 = icmp eq i64 %indvars.iv.next65, %wide.trip.count store i32 %.reload95, i32* %.reg2mem90 store i64 %indvars.iv.next65, i64* %indvars.iv64.reg2mem br i1 %exitcond66, label LBL_43, label LBL_28 LBL_32: %188 = load i32, i32* %59, align 4 %189 = icmp eq i32 %188, 0 br i1 %189, label LBL_35, label LBL_33 LBL_33: %190 = icmp eq i32 %.reload89, 0 store i64 0, i64* %.reg2mem96 store i32 0, i32* %storemerge1048.reg2mem br i1 %190, label LBL_43, label LBL_34 LBL_34: %storemerge1048.reload = load i32, i32* %storemerge1048.reg2mem %.reload97 = load i64, i64* %.reg2mem96 %191 = mul i64 %.reload97, 8 %192 = add i64 %191, %21 %193 = inttoptr i64 %192 to i16* %194 = load i16, i16* %193, align 2 %195 = zext i16 %194 to i32 %196 = add i64 %192, 2 %197 = inttoptr i64 %196 to i16* %198 = load i16, i16* %197, align 2 %199 = add i64 %192, 4 %200 = inttoptr i64 %199 to i16* %201 = load i16, i16* %200, align 2 %202 = zext i16 %201 to i32 %203 = zext i16 %198 to i32 %204 = add nuw nsw i32 %203, 512 %205 = add nuw nsw i32 %204, %202 %206 = udiv i32 %205, 4 %207 = mul i32 %storemerge1048.reload, 3 %208 = sext i32 %207 to i64 %209 = add i64 %sv_3.0.reload, %208 %210 = add i64 %209, 1 %211 = sub nsw i32 %195, %206 %212 = trunc i32 %211 to i8 %213 = inttoptr i64 %210 to i8* store i8 %212, i8* %213, align 1 %214 = load i16, i16* %197, align 2 %215 = trunc i16 %214 to i8 %216 = add i8 %212, %215 %217 = inttoptr i64 %209 to i8* store i8 %216, i8* %217, align 1 %218 = load i16, i16* %200, align 2 %219 = trunc i16 %218 to i8 %220 = load i8, i8* %213, align 1 %221 = add i64 %209, 2 %222 = add i8 %220, %219 %223 = inttoptr i64 %221 to i8* store i8 %222, i8* %223, align 1 %224 = add i32 %storemerge1048.reload, 1 %225 = load i32, i32* %13, align 8 %226 = zext i32 %225 to i64 %227 = sext i32 %224 to i64 %228 = icmp slt i64 %227, %226 store i64 %227, i64* %.reg2mem96 store i32 %224, i32* %storemerge1048.reg2mem br i1 %228, label LBL_34, label LBL_43 LBL_35: %229 = load i32, i32* %61, align 4 %230 = icmp eq i32 %229, 0 br i1 %230, label LBL_37, label LBL_36 LBL_36: %231 = icmp eq i32 %.reload89, 0 store i64 0, i64* %.reg2mem98 store i32 0, i32* %storemerge1149.reg2mem br i1 %231, label LBL_43, label LBL_38 LBL_37: store i32 %.reload89, i32* %.reg2mem100 store i64 0, i64* %indvars.iv67.reg2mem br i1 %48, label LBL_39, label LBL_43 LBL_38: %storemerge1149.reload = load i32, i32* %storemerge1149.reg2mem %.reload99 = load i64, i64* %.reg2mem98 %232 = mul i64 %.reload99, 8 %233 = add i64 %232, %21 %234 = inttoptr i64 %233 to i16* %235 = load i16, i16* %234, align 2 %236 = zext i16 %235 to i32 %237 = add i64 %233, 2 %238 = inttoptr i64 %237 to i16* %239 = load i16, i16* %238, align 2 %240 = add i64 %233, 4 %241 = inttoptr i64 %240 to i16* %242 = load i16, i16* %241, align 2 %243 = zext i16 %242 to i32 %244 = zext i16 %239 to i32 %245 = add nuw nsw i32 %243, %244 %246 = udiv i32 %245, 4 %247 = mul i32 %storemerge1149.reload, 3 %248 = sext i32 %247 to i64 %249 = add i64 %sv_3.0.reload, %248 %250 = add i64 %249, 1 %251 = sub nsw i32 %236, %246 %252 = trunc i32 %251 to i8 %253 = inttoptr i64 %250 to i8* store i8 %252, i8* %253, align 1 %254 = load i16, i16* %238, align 2 %255 = trunc i16 %254 to i8 %256 = add i8 %252, %255 %257 = inttoptr i64 %249 to i8* store i8 %256, i8* %257, align 1 %258 = load i16, i16* %241, align 2 %259 = trunc i16 %258 to i8 %260 = load i8, i8* %253, align 1 %261 = add i64 %249, 2 %262 = add i8 %260, %259 %263 = inttoptr i64 %261 to i8* store i8 %262, i8* %263, align 1 %264 = add i32 %storemerge1149.reload, 1 %265 = load i32, i32* %13, align 8 %266 = zext i32 %265 to i64 %267 = sext i32 %264 to i64 %268 = icmp slt i64 %267, %266 store i64 %267, i64* %.reg2mem98 store i32 %264, i32* %storemerge1149.reg2mem br i1 %268, label LBL_38, label LBL_43 LBL_39: %indvars.iv67.reload = load i64, i64* %indvars.iv67.reg2mem %.reload101 = load i32, i32* %.reg2mem100 %269 = icmp eq i32 %.reload101, 0 store i32 0, i32* %.reg2mem104 br i1 %269, label LBL_42, label LBL_40 LBL_40: %270 = load i64, i64* %57, align 8 %271 = mul i64 %indvars.iv67.reload, 4 %272 = add i64 %270, %271 %273 = inttoptr i64 %272 to i32* %274 = load i32, i32* %273, align 4 %275 = mul i64 %indvars.iv67.reload, 2 %276 = add i64 %275, %21 %277 = sub i32 2, %274 store i64 0, i64* %.reg2mem102 store i32 0, i32* %storemerge1350.reg2mem br label LBL_41 LBL_41: %storemerge1350.reload = load i32, i32* %storemerge1350.reg2mem %.reload103 = load i64, i64* %.reg2mem102 %278 = mul i64 %.reload103, 8 %279 = add i64 %276, %278 %280 = inttoptr i64 %279 to i16* %281 = load i16, i16* %280, align 2 %282 = mul i32 %storemerge1350.reload, 3 %283 = add i32 %277, %282 %284 = sext i32 %283 to i64 %285 = add i64 %sv_3.0.reload, %284 %286 = trunc i16 %281 to i8 %287 = inttoptr i64 %285 to i8* store i8 %286, i8* %287, align 1 %288 = add i32 %storemerge1350.reload, 1 %289 = load i32, i32* %13, align 8 %290 = zext i32 %289 to i64 %291 = sext i32 %288 to i64 %292 = icmp slt i64 %291, %290 store i64 %291, i64* %.reg2mem102 store i32 %288, i32* %storemerge1350.reg2mem store i32 %289, i32* %.reg2mem104 br i1 %292, label LBL_41, label LBL_42 LBL_42: %.reload105 = load i32, i32* %.reg2mem104 %indvars.iv.next68 = add nuw nsw i64 %indvars.iv67.reload, 1 %exitcond70 = icmp eq i64 %indvars.iv.next68, %wide.trip.count store i32 %.reload105, i32* %.reg2mem100 store i64 %indvars.iv.next68, i64* %indvars.iv67.reg2mem br i1 %exitcond70, label LBL_43, label LBL_39 LBL_43: %293 = add i32 %storemerge754.reload, 1 %294 = load i32, i32* %31, align 4 %295 = zext i32 %294 to i64 %296 = sext i32 %293 to i64 %297 = icmp slt i64 %296, %295 store i32 %293, i32* %storemerge754.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %sv_0.253.reg2mem store i32 %sv_1.1.lcssa.reload, i32* %sv_1.252.reg2mem store i64 0, i64* %storemerge16.reg2mem br i1 %297, label LBL_4, label LBL_44 LBL_44: %storemerge16.reload = load i64, i64* %storemerge16.reg2mem ret i64 %storemerge16.reload uselistorder i64 %indvars.iv67.reload, { 0, 2, 1 } uselistorder i64 %indvars.iv64.reload, { 0, 2, 1 } uselistorder i32 %.reload89, { 0, 3, 2, 1 } uselistorder i32 %124, { 1, 0, 2 } uselistorder i64 %113, { 3, 2, 1, 0 } uselistorder i64 %indvars.iv62.reload, { 0, 2, 1 } uselistorder i32 %sv_1.0.reload, { 0, 3, 1, 2 } uselistorder i32 %sv_0.0.reload, { 0, 2, 1 } uselistorder i64 %95, { 2, 1, 0 } uselistorder i32 %storemerge1541.reload, { 3, 2, 1, 0 } uselistorder i64 %77, { 2, 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %sv_3.0.reload, { 3, 2, 1, 0 } uselistorder i64 %66, { 1, 0 } uselistorder i32 %storemerge754.reload, { 3, 2, 1, 0, 4 } uselistorder i32* %31, { 1, 0 } uselistorder i32* %13, { 4, 3, 2, 1, 5, 0, 6 } uselistorder i32* %12, { 3, 2, 1, 0, 4 } uselistorder i64 %0, { 6, 3, 2, 0, 1, 4, 5, 8, 7, 10, 9, 12, 11, 14, 13, 15, 16 } uselistorder i64* %indvars.iv71.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge754.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.253.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.252.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge1541.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.140.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.139.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv59.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv62.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge19.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem90, { 2, 0, 1 } uselistorder i64* %indvars.iv64.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem92, { 1, 0, 2 } uselistorder i32* %storemerge946.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem96, { 2, 0, 1 } uselistorder i32* %storemerge1048.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem98, { 2, 0, 1 } uselistorder i32* %storemerge1149.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem100, { 2, 0, 1 } uselistorder i64* %indvars.iv67.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem102, { 1, 0, 2 } uselistorder i32* %storemerge1350.reg2mem, { 1, 0, 2 } uselistorder i32 4, { 1, 2, 0, 3 } uselistorder i1 false, { 5, 3, 1, 2, 0, 4 } uselistorder i64 32, { 0, 3, 1, 2 } uselistorder i32 65535, { 1, 0 } uselistorder i32 0, { 1, 0, 12, 2, 13, 21, 3, 14, 22, 5, 4, 15, 23, 24, 19, 25, 26, 6, 7, 16, 11, 27, 28, 8, 9, 10, 17, 20, 29, 18 } uselistorder i64 4, { 0, 8, 9, 1, 2, 6, 3, 7, 4, 10, 5 } uselistorder i64 1, { 2, 7, 8, 3, 4, 0, 5, 6, 1 } uselistorder i64 2, { 0, 5, 7, 6, 8, 1, 2, 3, 4 } uselistorder i32 31, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_43, { 3, 2, 7, 6, 1, 5, 0, 4 } uselistorder label LBL_41, { 1, 0 } uselistorder label LBL_39, { 1, 0 } uselistorder label LBL_38, { 1, 0 } uselistorder label LBL_34, { 1, 0 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_28, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
libxenvchan_data_ready_12164
libxenvchan_data_ready
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = sub i64 %2, %3 %5 = and i64 %4, 4294967295 ret i64 %5 }
1
BinRealVul
getComment_19269
getComment
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg2, null store i64 0, i64* %storemerge1.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = bitcast i64* %arg2 to i8* %4 = call i32 @strlen(i8* %3) %5 = sext i32 %4 to i64 store i64 %5, i64* %storemerge1.reg2mem br label LBL_2 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %7 = urem i64 %1, 256 %8 = add nsw i64 %storemerge1.reload, %7 %9 = add nsw i64 %8, 1 %10 = call i64 @reallocarray(i64 %6, i64 %9, i64 1) %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = ptrtoint i64* %arg1 to i64 %13 = trunc i64 %1 to i32 %14 = urem i32 %13, 256 %15 = add i64 %12, 1 %16 = add i64 %10, %storemerge1.reload %17 = inttoptr i64 %16 to i64* %18 = inttoptr i64 %15 to i64* %19 = call i64* @memcpy(i64* %17, i64* %18, i32 %14) %20 = add i64 %10, %8 %21 = inttoptr i64 %20 to i8* store i8 0, i8* %21, align 1 store i64 %10, i64* %arg2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %22 = add i64 %6, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = inttoptr i64 %24 to i32* store i32 1, i32* %25, align 4 store i64 4294967295, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %10, { 1, 2, 0, 3 } uselistorder i64 %storemerge1.reload, { 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64* %arg2, { 0, 3, 1, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
vnc_client_io_error_2119
vnc_client_io_error
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = icmp eq i64 %arg2, 0 %1 = icmp slt i64 %arg2, 0 %2 = icmp eq i1 %1, false %3 = icmp eq i1 %0, false %4 = icmp eq i1 %2, %3 store i64 %arg2, i64* %storemerge1.reg2mem br i1 %4, label LBL_9, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg3 to i64 %6 = ptrtoint i64* %arg1 to i64 br i1 %3, label LBL_3, label LBL_2 LBL_2: %7 = call i32 @puts(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0)) %8 = call i64 @FUNC(i64 %6) store i64 %5, i64* %rdx.0.reg2mem br label LBL_7 LBL_3: %9 = icmp eq i64 %arg2, -1 store i64 %5, i64* %rdx.0.reg2mem br i1 %9, label LBL_7, label LBL_4 LBL_4: %10 = icmp eq i64* %arg3, null store i64 ptrtoint ([8 x i8]* @gv_1 to i64), i64* %storemerge.reg2mem br i1 %10, label LBL_6, label LBL_5 LBL_5: %11 = call i64 @FUNC(i64 %5) store i64 %11, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem %12 = inttoptr i64 %storemerge.reload to i8* %13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %arg2, i8* %12) %14 = call i64 @FUNC(i64 %6) store i64 %storemerge.reload, i64* %rdx.0.reg2mem br label LBL_7 LBL_7: %15 = icmp eq i64* %arg3, null store i64 0, i64* %storemerge1.reg2mem br i1 %15, label LBL_9, label LBL_8 LBL_8: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %16 = call i64 @FUNC(i64 %rdx.0.reload) store i64 0, i64* %arg3, align 8 store i64 0, i64* %storemerge1.reg2mem br label LBL_9 LBL_9: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem ret i64 %storemerge1.reload uselistorder i64 %6, { 1, 0 } uselistorder i64 %5, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 3, 2, 1 } uselistorder i64* null, { 1, 0 } uselistorder i64 (i64)* @vnc_disconnect_start, { 1, 0 } uselistorder i32 (i8*)* @puts, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64* %arg3, { 1, 2, 0, 3 } uselistorder i64 %arg2, { 1, 2, 0, 4, 3 } uselistorder label LBL_9, { 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
mxf_read_packet_17201
mxf_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i8 %rax.0.reg2mem = alloca i64 %.pre9.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = load i8, i8* %1 %6 = load i8, i8* %1 %sv_0 = alloca i8, align 1 %7 = load i64, i64* %0 %8 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %9 = trunc i64 %4 to i32 %10 = icmp eq i32 %9, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_1, label LBL_18 LBL_1: %11 = call i64 @FUNC(i64* nonnull %sv_1, i64 %4) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %14, label LBL_2, label LBL_18 LBL_2: %15 = ptrtoint i64* %arg2 to i64 %16 = ptrtoint i64* %sv_1 to i64 %17 = bitcast i8* %sv_0 to i64* %18 = add i64 %4, 8 %19 = inttoptr i64 %18 to i64* %20 = trunc i64 %16 to i32 %21 = icmp eq i32 %20, 0 br label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1) %23 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %8, i64 %3, i64 %2) %24 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull @gv_2) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_6, label LBL_4 LBL_4: %27 = call i64 @FUNC(i64 %4, i64 %15, i64* nonnull %sv_1) %28 = trunc i64 %27 to i32 %29 = icmp slt i32 %28, 0 %30 = icmp eq i1 %29, false store i64 0, i64* %rax.0.reg2mem br i1 %30, label LBL_18, label LBL_5 LBL_5: %31 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i64 %15, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_18 LBL_6: %32 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull @gv_4) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_16, label LBL_7 LBL_7: %35 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1) %36 = trunc i64 %35 to i32 %37 = icmp slt i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_9, label LBL_8 LBL_8: %39 = call i64 @FUNC(i64* nonnull %17) %40 = and i64 %39, 4294967295 %41 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_5, i64 0, i64 0), i64 %40, i64 %3, i64 %2) br label LBL_15 LBL_9: %42 = load i64, i64* %19, align 8 %sext = mul i64 %35, 4294967296 %43 = ashr exact i64 %sext, 29 %44 = add i64 %42, %43 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = icmp eq i32 %48, 1 br i1 %49, label LBL_15, label LBL_10 LBL_10: %50 = load i8, i8* %sv_0, align 1 %51 = icmp eq i8 %50, 6 %52 = icmp eq i8 %6, 1 %53 = icmp eq i1 %52, %51 %54 = icmp eq i8 %5, 16 %55 = icmp eq i1 %54, %53 br i1 %55, label LBL_11, label LBL_13 LBL_11: %56 = call i64 @FUNC(i64 %4, i64 %46, i64 %15, i64 %7) %57 = trunc i64 %56 to i32 %58 = icmp slt i32 %57, 0 %59 = icmp eq i1 %58, false br i1 %59, label LBL_14, label LBL_12 LBL_12: %60 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_6, i64 0, i64 0), i64 %7, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_18 LBL_13: %61 = call i64 @FUNC(i64 %4, i64 %15, i64 %7) br label LBL_14 LBL_14: %62 = bitcast i64* %arg2 to i32* store i32 %36, i32* %62, align 4 %63 = add i64 %15, 8 %64 = inttoptr i64 %63 to i64* store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_15: %65 = call i64 @FUNC(i64 %4, i64 %7) store i64 %4, i64* %.pre9.reg2mem br label LBL_16.dec_label_pc_4012bb_crit_edge LBL_16: %66 = call i64 @FUNC(i64 %16, i64 %7) store i64 %16, i64* %.pre9.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %21, label LBL_16.dec_label_pc_4012bb_crit_edge, label LBL_18 LBL_17: %.pre9.reload = load i64, i64* %.pre9.reg2mem %67 = call i64 @FUNC(i64* nonnull %sv_1, i64 %.pre9.reload) %68 = trunc i64 %67 to i32 %69 = icmp slt i32 %68, 0 %70 = icmp eq i1 %69, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %70, label LBL_3, label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %15, { 3, 4, 2, 0, 1 } uselistorder i64* %sv_1, { 6, 1, 2, 3, 4, 5, 7, 0 } uselistorder i64 %7, { 0, 5, 1, 4, 2, 3 } uselistorder i64 %4, { 0, 2, 3, 9, 4, 8, 11, 6, 7, 13, 12, 10, 1, 5 } uselistorder i64 %3, { 3, 2, 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 8, 7, 6, 5, 1, 4 } uselistorder i8* %1, { 1, 0 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i64 (i64*, i64*)* @IS_KLV_KEY, { 1, 0 } uselistorder i1 false, { 4, 1, 2, 3, 0 } uselistorder i64 (i64*, i64)* @klv_read_packet, { 1, 0 } uselistorder label LBL_18, { 2, 1, 5, 6, 7, 4, 0, 3 } uselistorder label LBL_16.dec_label_pc_4012bb_crit_edge, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
push_leaf_left_18051
push_leaf_left
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %sv_0 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i64 %3, 0 %9 = or i1 %8, %7 %10 = icmp eq i1 %9, false store i64 1, i64* %rax.0.reg2mem br i1 %10, label LBL_1, label LBL_7 LBL_1: %11 = call i64 @FUNC(i64 %0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 1, i64* %rax.0.reg2mem br i1 %14, label LBL_2, label LBL_7 LBL_2: %15 = ptrtoint i64* %arg2 to i64 %16 = load i64, i64* %2, align 8 %17 = call i64 @FUNC(i64 %16) %18 = add i32 %6, -1 %19 = zext i32 %18 to i64 %20 = add nuw nsw i64 %19, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %15, i64 %22, i64 %19) store i64 %23, i64* %sv_0, align 8 %24 = call i64 @FUNC(i64 %23) %25 = call i64 @FUNC(i64 %23) %26 = call i64 @FUNC(i64 %15, i64 %23) %27 = trunc i64 %26 to i32 %28 = trunc i64 %arg5 to i32 %29 = icmp slt i32 %27, %28 br i1 %29, label LBL_6, label LBL_3 LBL_3: %30 = ptrtoint i64* %arg1 to i64 %31 = add i64 %23, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %sext = mul i64 %26, 4294967296 %34 = ashr exact i64 %sext, 32 %35 = call i64 @FUNC(i64 %30, i64 %15, i64 %23, i64 %33, i64 %19, i64* nonnull %sv_0, i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_4, label LBL_6 LBL_4: %38 = load i64, i64* %sv_0, align 8 %39 = call i64 @FUNC(i64 %15, i64 %38) %40 = trunc i64 %39 to i32 %41 = icmp slt i32 %40, %28 br i1 %41, label LBL_6, label LBL_5 LBL_5: %42 = load i64, i64* %sv_0, align 8 %43 = trunc i64 %arg6 to i32 %44 = trunc i64 %arg4 to i32 %45 = call i64 @FUNC(i64 %30, i64 %15, i64 %0, i32 %44, i32 %43, i64 %42) store i64 %45, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %46 = load i64, i64* %sv_0, align 8 %47 = call i64 @FUNC(i64 %46) %48 = load i64, i64* %sv_0, align 8 %49 = call i64 @FUNC(i64 %48) store i64 1, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %23, { 0, 2, 1, 3, 4, 5 } uselistorder i64 %19, { 0, 2, 1 } uselistorder i64* %sv_0, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 (i64, i64)* @btrfs_leaf_free_space, { 1, 0 } uselistorder i64 1, { 2, 0, 1, 3 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_7, { 2, 3, 0, 1 } }
1
BinRealVul
read_motion_values_16080
read_motion_values
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = add i64 %4, 1 %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp ugt i64 %5, %8 br i1 %9, label LBL_1, label LBL_2 LBL_1: %10 = ptrtoint i64* %arg1 to i64 %11 = call i64 @FUNC(i64 %10, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %12 = call i64* @memset(i64* inttoptr (i32 1 to i64*), i32 -1, i32 1) store i64 2, i64* %arg3, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } }
1
BinRealVul
test_lifecycle_442
test_lifecycle
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i32, align 4 store i32 0, i32* %sv_0, align 4 %0 = bitcast i32* %sv_0 to i8* %1 = call i64 @FUNC(i64 4198757, i8* nonnull %0) %2 = call i64 @FUNC(i64 %1) %3 = load i32, i32* %sv_0, align 4 %4 = urem i32 %3, 256 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %5) store i32 0, i32* %sv_0, align 4 %7 = call i64 @FUNC(i64 4198757, i8* nonnull %0) %8 = call i64 @FUNC(i64 %7) %9 = load i32, i32* %sv_0, align 4 %10 = urem i32 %9, 256 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11) ret i64 %12 uselistorder i32* %sv_0, { 3, 2, 1, 4, 0 } uselistorder i64 (i64)* @g_assert, { 1, 0 } uselistorder i64 (i64)* @qemu_coroutine_enter, { 1, 0 } uselistorder i64 (i64, i8*)* @qemu_coroutine_create, { 1, 0 } uselistorder i32 1, { 3, 1, 2, 0 } }
0
BinRealVul
sas_init_disc_19309
sas_init_disc
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = bitcast i64* %arg1 to i32* store i32 0, i32* %2, align 4 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = mul i64 %indvars.iv.reload, 8 %4 = add i64 %3, ptrtoint (i64* @gv_0 to i64) %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = mul i64 %indvars.iv.reload, 16 %8 = add i64 %7, %1 %9 = add i64 %8, 8 %10 = call i64 @FUNC(i64 %9, i64 %6) %11 = add i64 %8, 16 %12 = inttoptr i64 %11 to i64* store i64 %0, i64* %12, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 6 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: ret i64 %0 uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 16, { 1, 0 } uselistorder i64 8, { 1, 0 } }
1
BinRealVul
visit_type_str_243
visit_type_str
define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 ret i64 %0 }
0
BinRealVul
qemu_file_mode_is_not_valid_1524
qemu_file_mode_is_not_valid
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 br i1 %2, label LBL_4, label LBL_1 LBL_1: %3 = trunc i64 %1 to i8 %4 = icmp ne i8 %3, 114 %5 = icmp eq i8 %3, 119 %6 = icmp eq i1 %5, false %or.cond = icmp eq i1 %4, %6 br i1 %or.cond, label LBL_4, label LBL_2 LBL_2: %7 = add i64 %arg1, 1 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = icmp eq i8 %9, 98 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = add i64 %arg1, 2 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 0 store i64 0, i64* %storemerge.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %17 = call i32 @fwrite(i64* bitcast ([44 x i8]* @gv_1 to i64*), i32 1, i32 43, %_IO_FILE* %16) store i64 1, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8 %3, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 0, { 0, 2, 1 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0, 3 } }
0
BinRealVul
put_float64_2561
put_float64
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %1, i64 %2) ret i64 %3 }
0
BinRealVul
ksmbd_smb2_check_message_7845
ksmbd_smb2_check_message
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.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* %arg1 to i64 %sv_1 = alloca i32, align 4 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %5, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_2, label LBL_1 LBL_1: %17 = load i32, i32* %11, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 store i32 %20, i32* %sv_0.0.reg2mem br label LBL_3 LBL_2: %21 = trunc i64 %9 to i32 %22 = add i64 %4, 16 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = sub i32 %21, %24 store i32 %25, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %26 = call i64 @FUNC(i64 %5) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 store i64 1, i64* %rax.0.reg2mem br i1 %28, label LBL_4, label LBL_24 LBL_4: %29 = inttoptr i64 %5 to i16* %30 = load i16, i16* %29, align 2 %31 = icmp eq i16 %30, 64 br i1 %31, label LBL_6, label LBL_5 LBL_5: %32 = zext i16 %30 to i64 %33 = call i64 @FUNC(i64 %32) %34 = urem i64 %33, 65536 %35 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %34, i64 %3, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_24 LBL_6: %36 = add i64 %5, 2 %37 = inttoptr i64 %36 to i16* %38 = load i16, i16* %37, align 2 %39 = zext i16 %38 to i64 %40 = call i64 @FUNC(i64 %39) %41 = trunc i64 %40 to i32 %42 = urem i32 %41, 65536 %43 = icmp ult i32 %42, 256 br i1 %43, label LBL_8, label LBL_7 LBL_7: %44 = zext i32 %42 to i64 %45 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %44, i64 %3, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_24 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %46 = mul i32 %42, 4 %47 = zext i32 %46 to i64 %48 = add i64 %47, ptrtoint (i32** @gv_2 to i64) %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = add i64 %5, 24 %52 = inttoptr i64 %51 to i16* %53 = load i16, i16* %52, align 2 %54 = zext i16 %53 to i32 %55 = icmp eq i32 %50, %54 br i1 %55, label LBL_16, label LBL_9 LBL_9: %56 = icmp eq i32 %42, 9 %57 = add i64 %5, 8 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 br i1 %56, label LBL_12, label LBL_10 LBL_10: %60 = icmp ne i32 %59, 0 %61 = icmp eq i16 %53, 32 %or.cond4 = icmp eq i1 %61, %60 br i1 %or.cond4, label LBL_16, label LBL_11 LBL_11: %62 = zext i16 %53 to i64 %63 = call i64 @FUNC(i64 %62) %64 = zext i32 %42 to i64 %65 = urem i64 %63, 65536 %66 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0), i64 %65, i64 %64, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_24 LBL_12: %67 = icmp eq i32 %59, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_16, label LBL_13 LBL_13: %69 = zext i16 %53 to i64 %70 = call i64 @FUNC(i64 %69) %71 = trunc i64 %70 to i16 %72 = icmp eq i16 %71, 20 br i1 %72, label LBL_16, label LBL_14 LBL_14: %73 = load i16, i16* %52, align 2 %74 = zext i16 %73 to i64 %75 = call i64 @FUNC(i64 %74) %76 = trunc i64 %75 to i16 %77 = icmp eq i16 %76, 21 br i1 %77, label LBL_16, label LBL_15 LBL_15: %78 = load i16, i16* %52, align 2 %79 = zext i16 %78 to i64 %80 = call i64 @FUNC(i64 %79) %81 = urem i64 %80, 65536 %82 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_4, i64 0, i64 0), i64 %81, i64 %3, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_24 LBL_16: %83 = bitcast i32* %sv_1 to i64* %84 = call i64 @FUNC(i64 %5, i64* nonnull %83) %85 = trunc i64 %84 to i32 %86 = icmp eq i32 %85, 0 store i64 1, i64* %rax.0.reg2mem br i1 %86, label LBL_17, label LBL_24 LBL_17: %87 = load i32, i32* %sv_1, align 4 %88 = icmp eq i32 %sv_0.0.reload, %87 %89 = add i32 %sv_0.0.reload, 1 %90 = icmp eq i32 %89, %87 %or.cond6 = or i1 %88, %90 br i1 %or.cond6, label LBL_21, label LBL_18 LBL_18: %91 = add i32 %87, 7 %92 = and i32 %91, -8 %93 = icmp eq i32 %sv_0.0.reload, %92 %94 = icmp eq i32 %42, 0 %or.cond = or i1 %94, %93 br i1 %or.cond, label LBL_21, label LBL_19 LBL_19: %95 = icmp ugt i32 %sv_0.0.reload, %87 %96 = sub i32 %sv_0.0.reload, %87 %97 = icmp ult i32 %96, 9 %or.cond8 = icmp eq i1 %95, %97 br i1 %or.cond8, label LBL_21, label LBL_20 LBL_20: %98 = add i64 %5, 16 %99 = inttoptr i64 %98 to i64* %100 = load i64, i64* %99, align 8 %101 = call i64 @FUNC(i64 %100) %102 = load i32, i32* %sv_1, align 4 %103 = zext i32 %102 to i64 %104 = zext i32 %sv_0.0.reload to i64 %105 = call i64 @FUNC(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_5, i64 0, i64 0), i64 %104, i64 %103, i32 %42, i64 %101, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_24 LBL_21: %106 = add i64 %5, 8 %107 = inttoptr i64 %106 to i64* %108 = load i64, i64* %107, align 8 %109 = inttoptr i64 %108 to i32* %110 = load i32, i32* %109, align 4 %111 = urem i32 %110, 2 %112 = icmp eq i32 %111, 0 br i1 %112, label LBL_23, label LBL_22 LBL_22: %113 = call i64 @FUNC(i64 %5, i64 %5) %114 = trunc i64 %113 to i32 %115 = icmp eq i32 %114, 0 store i64 1, i64* %rax.0.reg2mem br i1 %115, label LBL_23, label LBL_24 LBL_23: store i64 0, i64* %rax.0.reg2mem br label LBL_24 LBL_24: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %87, { 0, 2, 3, 1, 4 } uselistorder i32 %59, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 3, 5, 0, 1, 4, 2 } uselistorder i32 %42, { 5, 4, 6, 3, 0, 2, 1 } uselistorder i64 %5, { 0, 3, 2, 1, 4, 5, 8, 6, 9, 7, 10 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 0, 4, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 1, 8, 2, 7, 6, 5, 4, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @ksmbd_debug, { 3, 2, 1, 0 } uselistorder i64 (i64)* @le16_to_cpu, { 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 0, 7, 1, 6, 5, 4, 3, 2 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6, 7 } uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 } uselistorder label LBL_24, { 3, 0, 4, 1, 5, 6, 7, 8, 2 } uselistorder label LBL_16, { 1, 2, 3, 0, 4 } }
1
BinRealVul
vga_hw_screen_dump_17010
vga_hw_screen_dump
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 ret i64 %0 }
1
BinRealVul
gen_write_xer_15257
gen_write_xer
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %2 = and i64 %arg1, 4294967295 %3 = zext i32 %1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2, i64 4294967288) %5 = load i32, i32* @gv_1, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6, i32 %0, i64 0, i64 1) %8 = load i32, i32* @gv_2, align 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9, i32 %0, i64 1, i64 1) %11 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12, i32 %0, i64 2, i64 1) ret i64 %13 uselistorder i64 (i64, i32, i64, i64)* @tcg_gen_extract_tl, { 2, 1, 0 } uselistorder i64 1, { 0, 2, 1, 3 } }
1
BinRealVul
nand_getio_14606
nand_getio
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i32 %.in.reg2mem = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i32 %5, i32* %.reg2mem br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = add i64 %2, 12 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i32 %5, i32* %.reg2mem br i1 %12, label LBL_5, label LBL_2 LBL_2: %13 = trunc i64 %1 to i32 %14 = add i64 %2, 20 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = urem i32 %16, 32 %18 = icmp eq i32 %17, 0 %notmask = shl nsw i32 -1, %17 %19 = sub i32 0, %notmask %phitmp = sub i32 %19, 1 %storemerge = select i1 %18, i32 0, i32 %phitmp %20 = and i32 %storemerge, %13 %21 = add i64 %2, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i32 %20, %23 store i32 0, i32* %22, align 4 %25 = add i64 %2, 32 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 %29 = add i64 %2, 24 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = urem i32 %31, 32 %33 = shl i32 1, %32 br i1 %28, label LBL_4, label LBL_3 LBL_3: %34 = sub i32 %33, %24 store i32 %34, i32* %4, align 4 store i32 %34, i32* %.reg2mem br label LBL_5 LBL_4: %35 = add i64 %2, 28 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = urem i32 %37, 32 %39 = shl i32 1, %38 %40 = sub i32 %33, %24 %41 = add i32 %39, %40 store i32 %41, i32* %4, align 4 store i32 %41, i32* %.reg2mem br label LBL_5 LBL_5: %42 = add i64 %2, 36 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false store i64 0, i64* %storemerge2.reg2mem br i1 %46, label LBL_13, label LBL_6 LBL_6: %.reload = load i32, i32* %.reg2mem %47 = icmp eq i32 %.reload, 0 %48 = icmp slt i32 %.reload, 0 %49 = icmp eq i1 %48, false %50 = icmp eq i1 %47, false %51 = icmp eq i1 %49, %50 store i64 0, i64* %storemerge2.reg2mem br i1 %51, label LBL_7, label LBL_13 LBL_7: %52 = add i64 %2, 16 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = icmp eq i32 %54, 0 %56 = icmp eq i1 %55, false store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %56, label LBL_8, label LBL_11 LBL_8: %57 = add i64 %2, 40 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 store i32 %54, i32* %.in.reg2mem store i32 0, i32* %sv_0.06.reg2mem br label LBL_9 LBL_9: %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem %.in.reload = load i32, i32* %.in.reg2mem %60 = add i32 %.in.reload, -1 %61 = sext i32 %60 to i64 %62 = mul i64 %61, 4 %63 = add i64 %62, %59 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = mul i32 %60, 8 %67 = and i32 %66, 24 %68 = shl i32 %65, %67 %69 = or i32 %68, %sv_0.06.reload %70 = icmp eq i32 %60, 0 %71 = icmp eq i1 %70, false store i32 %60, i32* %.in.reg2mem store i32 %69, i32* %sv_0.06.reg2mem br i1 %71, label LBL_9, label LBL_10 LBL_10: %phitmp7 = zext i32 %69 to i64 store i64 %phitmp7, i64* %sv_0.0.lcssa.reg2mem br label LBL_11 LBL_11: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %72 = add i64 %2, 12 %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = icmp eq i32 %74, 112 store i64 %sv_0.0.lcssa.reload, i64* %storemerge2.reg2mem br i1 %75, label LBL_13, label LBL_12 LBL_12: %76 = bitcast i64* %rdi to i32* %77 = load i32, i32* %76, align 8 %78 = add i32 %77, %54 %79 = bitcast i64* %arg1 to i32* store i32 %78, i32* %79, align 4 %80 = add i64 %2, 40 %81 = inttoptr i64 %80 to i64* %82 = load i64, i64* %81, align 8 %83 = load i32, i32* %53, align 4 %84 = sext i32 %83 to i64 %85 = mul i64 %84, 4 %86 = add i64 %85, %82 store i64 %86, i64* %81, align 8 %87 = load i32, i32* %4, align 4 %88 = load i32, i32* %53, align 4 %89 = sub i32 %87, %88 store i32 %89, i32* %4, align 4 store i64 %sv_0.0.lcssa.reload, i64* %storemerge2.reg2mem br label LBL_13 LBL_13: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem ret i64 %storemerge2.reload uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0 } uselistorder i32 %69, { 1, 0 } uselistorder i32 %60, { 0, 3, 1, 2 } uselistorder i32 %54, { 1, 0, 2 } uselistorder i32 %.reload, { 1, 0 } uselistorder i32 %5, { 1, 0, 2 } uselistorder i32* %4, { 3, 2, 1, 0, 4 } uselistorder i64 %2, { 5, 7, 6, 9, 8, 0, 1, 2, 4, 3, 10, 11 } uselistorder i32* %.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32* %.in.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 40, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i1 false, { 2, 0, 3, 1, 4, 5, 6 } uselistorder i32 0, { 4, 0, 2, 5, 6, 7, 8, 9, 3, 1, 10, 11, 12 } uselistorder label LBL_13, { 1, 0, 3, 2 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
qtrle_decode_1bpp_2391
qtrle_decode_1bpp
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %rax.0.in.be.reg2mem = alloca i32 %sv_0.2.be.reg2mem = alloca i32 %sv_0.19.reg2mem = alloca i32 %sv_1.110.reg2mem = alloca i32 %sv_0.06.reg2mem = alloca i32 %sv_1.07.reg2mem = alloca i32 %storemerge.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i64 %sv_3.114.reg2mem = alloca i64 %sv_2.115.reg2mem = alloca i64 %sv_0.216.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext2 = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext2, 32 %4 = trunc i64 %1 to i32 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = mul i32 %14, %4 %rax.013 = zext i32 %15 to i64 %16 = trunc i64 %3 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 %rax.013, i64* %rax.1.reg2mem br i1 %18, label LBL_1, label LBL_13 LBL_1: %19 = add i64 %2, 24 %sext = mul i64 %arg2, 4294967296 %20 = ashr exact i64 %sext, 32 store i32 0, i32* %sv_0.216.reg2mem store i64 %20, i64* %sv_2.115.reg2mem store i64 %3, i64* %sv_3.114.reg2mem br label LBL_2 LBL_2: %21 = call i64 @FUNC(i64 %19) %22 = call i64 @FUNC(i64 %19) %sext3 = mul i64 %22, 72057594037927936 %23 = ashr exact i64 %sext3, 56 %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 store i64 %23, i64* %rax.1.reg2mem br i1 %25, label LBL_13, label LBL_3 LBL_3: %sv_3.114.reload = load i64, i64* %sv_3.114.reg2mem %sv_2.115.reload = load i64, i64* %sv_2.115.reg2mem %26 = trunc i64 %21 to i32 %27 = trunc i64 %21 to i8 %28 = icmp sgt i8 %27, -1 br i1 %28, label LBL_5, label LBL_4 LBL_4: %29 = mul i64 %sv_3.114.reload, 4294967296 %sext4 = add i64 %29, -4294967296 %30 = ashr exact i64 %sext4, 32 %31 = trunc i64 %sv_2.115.reload to i32 %32 = add i32 %31, %4 %33 = sext i32 %32 to i64 %34 = mul i32 %26, 2 %35 = and i32 %34, 254 %36 = add i32 %35, %32 store i64 %30, i64* %sv_3.0.reg2mem store i64 %33, i64* %sv_2.0.reg2mem store i32 %36, i32* %storemerge.reg2mem br label LBL_6 LBL_5: %sv_0.216.reload = load i32, i32* %sv_0.216.reg2mem %37 = mul i32 %26, 2 %38 = add i32 %37, %sv_0.216.reload store i64 %sv_3.114.reload, i64* %sv_3.0.reg2mem store i64 %sv_2.115.reload, i64* %sv_2.0.reg2mem store i32 %38, i32* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i32, i32* %storemerge.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %39 = icmp slt i32 %24, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_9, label LBL_7 LBL_7: %41 = call i64 @FUNC(i64 %19) %42 = trunc i64 %41 to i8 %43 = call i64 @FUNC(i64 %19) %44 = trunc i64 %43 to i8 %45 = sub i32 0, %24 store i32 %45, i32* %sv_1.07.reg2mem store i32 %storemerge.reload, i32* %sv_0.06.reg2mem br label LBL_8 LBL_8: %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem %46 = add i32 %sv_1.07.reload, -1 %47 = add i32 %sv_0.06.reload, 1 %48 = sext i32 %sv_0.06.reload to i64 %49 = add i64 %9, %48 %50 = inttoptr i64 %49 to i8* store i8 %42, i8* %50, align 1 %51 = add i32 %sv_0.06.reload, 2 %52 = sext i32 %47 to i64 %53 = add i64 %9, %52 %54 = inttoptr i64 %53 to i8* store i8 %44, i8* %54, align 1 %55 = icmp eq i32 %46, 0 %56 = icmp eq i1 %55, false store i32 %46, i32* %sv_1.07.reg2mem store i32 %51, i32* %sv_0.06.reg2mem store i32 %51, i32* %sv_0.2.be.reg2mem store i32 %46, i32* %rax.0.in.be.reg2mem br i1 %56, label LBL_8, label LBL_11 LBL_9: %57 = ashr exact i64 %sext3, 55 %58 = trunc i64 %57 to i32 %59 = icmp eq i32 %58, 0 %60 = icmp eq i1 %59, false store i32 %58, i32* %sv_1.110.reg2mem store i32 %storemerge.reload, i32* %sv_0.19.reg2mem store i32 %storemerge.reload, i32* %sv_0.2.be.reg2mem store i32 %58, i32* %rax.0.in.be.reg2mem br i1 %60, label LBL_10, label LBL_11 LBL_10: %sv_0.19.reload = load i32, i32* %sv_0.19.reg2mem %sv_1.110.reload = load i32, i32* %sv_1.110.reg2mem %61 = add i32 %sv_1.110.reload, -1 %62 = call i64 @FUNC(i64 %19) %63 = add i32 %sv_0.19.reload, 1 %64 = sext i32 %sv_0.19.reload to i64 %65 = add i64 %9, %64 %66 = trunc i64 %62 to i8 %67 = inttoptr i64 %65 to i8* store i8 %66, i8* %67, align 1 %68 = icmp eq i32 %61, 0 %69 = icmp eq i1 %68, false store i32 %61, i32* %sv_1.110.reg2mem store i32 %63, i32* %sv_0.19.reg2mem store i32 %63, i32* %sv_0.2.be.reg2mem store i32 %61, i32* %rax.0.in.be.reg2mem br i1 %69, label LBL_10, label LBL_11 LBL_11: %sv_0.2.be.reload = load i32, i32* %sv_0.2.be.reg2mem %70 = trunc i64 %sv_3.0.reload to i32 %71 = icmp eq i32 %70, 0 %72 = icmp eq i1 %71, false store i32 %sv_0.2.be.reload, i32* %sv_0.216.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.115.reg2mem store i64 %sv_3.0.reload, i64* %sv_3.114.reg2mem br i1 %72, label LBL_2, label LBL_12 LBL_12: %rax.0.in.be.reload = load i32, i32* %rax.0.in.be.reg2mem %rax.0.le = zext i32 %rax.0.in.be.reload to i64 store i64 %rax.0.le, i64* %rax.1.reg2mem br label LBL_13 LBL_13: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %sv_0.19.reload, { 1, 0 } uselistorder i32 %sv_0.06.reload, { 2, 1, 0 } uselistorder i64 %sv_3.0.reload, { 1, 0 } uselistorder i32 %24, { 1, 0, 2 } uselistorder i64 %sext3, { 1, 0 } uselistorder i64 %19, { 2, 1, 0, 3, 4 } uselistorder i32* %sv_0.216.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.115.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.114.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.07.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.110.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.19.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.2.be.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %rax.0.in.be.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.1.reg2mem, { 0, 3, 1, 2 } uselistorder i32 2, { 2, 0, 1 } uselistorder i64 (i64)* @bytestream2_get_byte, { 4, 3, 2, 1, 0 } uselistorder i1 false, { 5, 2, 1, 3, 4, 0 } uselistorder i32 0, { 8, 3, 2, 4, 5, 6, 7, 0, 1 } uselistorder i64 32, { 0, 2, 1 } uselistorder label LBL_13, { 1, 0, 2 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
get_migration_pass_15870
get_migration_pass
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %sv_0.0.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_1: %7 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i64 0) %9 = call i64 @FUNC(i64 %1) store i64 %8, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder i64 (i64, i8*)* @qdict_get_qdict, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
alloc_mem_4501
alloc_mem
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg3) store i64 %0, i64* %arg1, align 8 %1 = icmp eq i64 %arg3, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: %4 = call i64 @FUNC(i64 %arg3) store i64 %4, i64* %arg2, align 8 %5 = icmp eq i64* %arg2, null %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_4: %8 = trunc i64 %arg3 to i32 %9 = call i64* @memset(i64* nonnull %arg2, i32 0, i32 %8) %10 = ptrtoint i64* %9 to i64 ret i64 %10 uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i64 (i8*)* @die, { 1, 0 } uselistorder i64 (i64)* @zalloc, { 1, 0 } }
0
BinRealVul
ReadNextFunctionHandle_18989
ReadNextFunctionHandle
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i32, align 4 store i32 1, i32* %sv_0, align 4 %1 = bitcast i32* %sv_0 to i64* %2 = call i64 @FUNC(i64 %0, i64* nonnull %1) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* store i64 8, i64* %4, align 8 %5 = load i32, i32* %sv_0, align 4 %6 = sext i32 %5 to i64 %7 = call i64 @FUNC(i64 %0, i64 %6, i64 8) %8 = or i64 %7, %2 %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_1, label LBL_7 LBL_1: %11 = call i64* @malloc(i32 %5) %12 = ptrtoint i64* %11 to i64 %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = icmp eq i64* %11, null br i1 %15, label LBL_6, label LBL_2 LBL_2: %16 = ptrtoint i64* %arg1 to i64 %17 = load i32, i32* %sv_0, align 4 %18 = icmp eq i32 %17, 0 store i64 0, i64* %storemerge2.reg2mem br i1 %18, label LBL_7, label LBL_3 LBL_3: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %19 = mul i64 %storemerge2.reload, 8 %20 = add i64 %19, %12 %21 = call i64 @FUNC(i64 %16) %22 = inttoptr i64 %20 to i64* store i64 %21, i64* %22, align 8 %23 = icmp eq i64 %21, 0 %24 = icmp eq i1 %23, false %25 = icmp eq i1 %24, false br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = add nuw i64 %storemerge2.reload, 1 %27 = load i32, i32* %sv_0, align 4 %28 = sext i32 %27 to i64 %29 = icmp ult i64 %26, %28 store i64 %26, i64* %storemerge2.reg2mem br i1 %29, label LBL_3, label LBL_7 LBL_5: %30 = load i64, i64* %14, align 8 %31 = inttoptr i64 %30 to i64* call void @free(i64* %31) store i64 0, i64* %14, align 8 store i64 0, i64* %4, align 8 store i64 0, i64* %arg2, align 8 br label LBL_7 LBL_6: store i64 0, i64* %4, align 8 store i64 0, i64* %arg2, align 8 br label LBL_7 LBL_7: ret i64 0 uselistorder i64* %14, { 1, 0, 2 } uselistorder i64* %4, { 1, 0, 2 } uselistorder i32* %sv_0, { 3, 0, 2, 4, 1 } uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64* (i32)* @malloc, { 1, 0 } uselistorder label LBL_7, { 3, 2, 0, 1, 4 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
cirrus_bitblt_videotovideo_copy_5641
cirrus_bitblt_videotovideo_copy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = add i64 %0, 56 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = add i64 %0, 36 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %0, 32 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 br i1 %9, label LBL_3, label LBL_2 LBL_2: %16 = add i64 %0, 28 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %0, 52 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = sub i32 %18, %21 %23 = add i64 %0, 24 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = sub i32 %25, %21 %27 = zext i32 %15 to i64 %28 = zext i32 %22 to i64 %29 = call i64 @FUNC(i64 %0, i32 %26, i64 %28, i64 %27, i32 %12) store i64 1, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %30 = add i64 %0, 40 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = add i64 %0, 24 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = zext i32 %12 to i64 %37 = call i64 @FUNC(i64 %0, i32 %35, i32 %32, i32 %15, i64 %36) store i64 1, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %15, { 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i64 %0, { 7, 5, 6, 9, 8, 4, 3, 1, 2, 0, 10 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
print_ipcp_config_options_7482
print_ipcp_config_options
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.110.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %sv_1.06.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp sgt i32 %arg3, 1 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %3, label LBL_1, label LBL_29 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = add i64 %4, 1 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = zext i8 %7 to i32 %9 = icmp sgt i32 %8, %arg3 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %9, label LBL_29, label LBL_2 LBL_2: %10 = trunc i64 %2 to i32 %11 = urem i32 %10, 256 %12 = icmp ugt i8 %7, 1 %13 = load i64, i64* bitcast ([3 x i8*]* @gv_0 to i64*), align 16 %14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i32 %11) %15 = bitcast i32* %arg1 to i8* %16 = trunc i64 %14 to i32 br i1 %12, label LBL_4, label LBL_3 LBL_3: %17 = call i32 (i8*, ...) @printf(i8* %15, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @gv_2, i64 0, i64 0), i32 %16, i32 %11) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_4: %18 = trunc i64 %2 to i8 %19 = trunc i64 %1 to i32 %20 = call i32 (i8*, ...) @printf(i8* %15, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_3, i64 0, i64 0), i32 %16, i32 %11) %21 = icmp ugt i8 %18, 8 br i1 %21, label LBL_25, label LBL_5 LBL_5: %22 = icmp ugt i8 %18, 2 br i1 %22, label LBL_21, label LBL_6 LBL_6: switch i8 %18, label LBL_25 [ i8 1, label LBL_7 i8 2, label LBL_11 ] LBL_7: %23 = icmp eq i8 %7, 10 br i1 %23, label LBL_9, label LBL_8 LBL_8: %24 = call i32 (i8*, ...) @printf(i8* %15) store i32 %8, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_9: %25 = icmp sgt i32 %arg3, 3 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %25, label LBL_10, label LBL_29 LBL_10: %26 = add i64 %4, 6 %27 = ptrtoint i32* %arg1 to i64 %28 = call i64 @FUNC(i64 %27, i64 %26) %29 = add i64 %4, 2 %30 = call i64 @FUNC(i64 %27, i64 %29) %31 = inttoptr i64 %30 to i8* %32 = call i32 (i8*, ...) @printf(i8* %15, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i8* %31) store i64 %4, i64* %sv_0.1.reg2mem br label LBL_27 LBL_11: %33 = icmp ugt i8 %7, 3 br i1 %33, label LBL_13, label LBL_12 LBL_12: %34 = call i32 (i8*, ...) @printf(i8* %15) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_13: %35 = add i64 %4, 2 %36 = inttoptr i64 %35 to i16* %37 = load i16, i16* %36, align 2 %38 = zext i16 %37 to i32 %39 = load i64, i64* bitcast ([2 x i8*]* @gv_5 to i64*), align 8 %40 = call i64 @FUNC(i64 %39, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i32 %38) %41 = trunc i64 %40 to i32 %42 = call i32 (i8*, ...) @printf(i8* %15, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i32 %41) %43 = icmp eq i16 %37, 1 %44 = icmp eq i16 %37, 2 %45 = icmp eq i1 %44, false %or.cond4 = or i1 %43, %45 store i64 %4, i64* %sv_0.1.reg2mem br i1 %or.cond4, label LBL_27, label LBL_14 LBL_14: %46 = icmp ugt i8 %7, 7 br i1 %46, label LBL_16, label LBL_15 LBL_15: %47 = call i32 (i8*, ...) @printf(i8* %15, i32 ptrtoint (i32* @gv_8 to i32)) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_16: %48 = icmp sgt i32 %arg3, 7 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %48, label LBL_17, label LBL_29 LBL_17: %49 = add i64 %4, 10 %50 = inttoptr i64 %49 to i16* %51 = load i16, i16* %50, align 2 %52 = add i64 %4, 8 %53 = inttoptr i64 %52 to i16* %54 = load i16, i16* %53, align 2 %55 = add i64 %4, 6 %56 = inttoptr i64 %55 to i16* %57 = load i16, i16* %56, align 2 %58 = add i64 %4, 4 %59 = inttoptr i64 %58 to i16* %60 = load i16, i16* %59, align 2 %61 = zext i16 %51 to i32 %62 = zext i16 %54 to i32 %63 = zext i16 %60 to i32 %64 = zext i16 %57 to i32 %65 = call i32 (i8*, ...) @printf(i8* %15, i32 ptrtoint (i32* @gv_9 to i32), i32 %63, i32 %64, i32 %62, i32 %61) %66 = icmp ult i8 %7, 9 store i64 %4, i64* %sv_0.1.reg2mem br i1 %66, label LBL_27, label LBL_18 LBL_18: %67 = add nsw i32 %8, -8 %68 = call i32 (i8*, ...) @printf(i8* %15, i32 ptrtoint (i32* @gv_10 to i32)) %69 = icmp ult i32 %67, 2 store i32 %67, i32* %sv_1.06.reg2mem store i64 %52, i64* %sv_0.05.reg2mem store i64 %52, i64* %sv_0.1.reg2mem br i1 %69, label LBL_27, label LBL_19 LBL_19: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %70 = inttoptr i64 %sv_0.05.reload to i8* %71 = load i8, i8* %70, align 1 %72 = add i64 %sv_0.05.reload, 1 %73 = inttoptr i64 %72 to i8* %74 = load i8, i8* %73, align 1 %75 = icmp eq i8 %71, 0 %76 = icmp eq i8 %74, 0 %or.cond = or i1 %75, %76 store i64 %sv_0.05.reload, i64* %sv_0.1.reg2mem br i1 %or.cond, label LBL_27, label LBL_20 LBL_20: %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %77 = zext i8 %71 to i32 %78 = zext i8 %74 to i32 %79 = load [32 x i8]*, [32 x i8]** @gv_11, align 8 %80 = ptrtoint [32 x i8]* %79 to i64 %81 = call i64 @FUNC(i64 %80, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i32 %77) %82 = trunc i64 %81 to i32 %83 = call i32 (i8*, ...) @printf(i8* %15, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_12, i64 0, i64 0), i32 %82, i32 %77) %84 = sub i32 %sv_1.06.reload, %78 %85 = zext i8 %74 to i64 %86 = add i64 %sv_0.05.reload, %85 %87 = icmp ult i32 %84, 2 store i32 %84, i32* %sv_1.06.reg2mem store i64 %86, i64* %sv_0.05.reg2mem store i64 %86, i64* %sv_0.1.reg2mem br i1 %87, label LBL_27, label LBL_19 LBL_21: %88 = icmp eq i8 %7, 6 br i1 %88, label LBL_23, label LBL_22 LBL_22: %89 = call i32 (i8*, ...) @printf(i8* %15) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_23: %90 = icmp sgt i32 %arg3, 3 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %90, label LBL_24, label LBL_29 LBL_24: %91 = add i64 %4, 2 %92 = ptrtoint i32* %arg1 to i64 %93 = call i64 @FUNC(i64 %92, i64 %91) %94 = call i32 (i8*, ...) @printf(i8* %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_13, i64 0, i64 0)) store i64 %4, i64* %sv_0.1.reg2mem br label LBL_27 LBL_25: %95 = icmp sgt i32 %19, 1 store i64 %4, i64* %sv_0.110.reg2mem br i1 %95, label LBL_28, label LBL_26 LBL_26: %96 = add nsw i32 %8, -2 %97 = add i64 %4, 2 %98 = ptrtoint i32* %arg1 to i64 %99 = zext i32 %96 to i64 %100 = call i64 @FUNC(i64 %98, i64 %97, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_14, i64 0, i64 0), i64 %99) store i32 %8, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_27: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %101 = icmp slt i32 %19, 2 store i64 %sv_0.1.reload, i64* %sv_0.110.reg2mem store i32 %8, i32* %rax.0.shrunk.reg2mem br i1 %101, label LBL_29, label LBL_28 LBL_28: %sv_0.110.reload = load i64, i64* %sv_0.110.reg2mem %102 = add nsw i32 %8, -2 %103 = add i64 %sv_0.110.reload, 2 %104 = ptrtoint i32* %arg1 to i64 %105 = zext i32 %102 to i64 %106 = call i64 @FUNC(i64 %104, i64 %103, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_14, i64 0, i64 0), i64 %105) store i32 %8, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_29: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %77, { 1, 0 } uselistorder i8 %74, { 0, 2, 1 } uselistorder i8 %71, { 1, 0 } uselistorder i64 %sv_0.05.reload, { 3, 0, 2, 1 } uselistorder i8 %18, { 2, 1, 0 } uselistorder i32 %16, { 1, 0 } uselistorder i8* %15, { 9, 8, 2, 3, 4, 1, 5, 0, 7, 6, 11, 10 } uselistorder i32 %11, { 1, 2, 0 } uselistorder i32 %8, { 2, 7, 1, 0, 6, 5, 3, 4 } uselistorder i8 %7, { 0, 2, 3, 4, 1, 5, 6 } uselistorder i64 %4, { 13, 0, 4, 12, 1, 7, 8, 6, 5, 2, 9, 3, 11, 10, 14 } uselistorder i32* %sv_1.06.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 7, 1, 2, 3, 4, 5, 6 } uselistorder i64* %sv_0.110.reg2mem, { 0, 2, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1, 4, 13, 5, 11, 10, 6, 12, 9, 7, 8 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64)* @print_unknown_data, { 1, 0 } uselistorder i32 2, { 2, 1, 0 } uselistorder i64 (i64, i64)* @ipaddr_string, { 2, 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 8, 2, 3, 6, 10, 7, 9, 11, 1, 4, 5, 0 } uselistorder i64 (i64, i8*, i32)* @tok2str, { 2, 1, 0 } uselistorder i32 0, { 0, 8, 1, 7, 6, 2, 5, 3, 4, 9, 10, 11, 12, 13, 14 } uselistorder i32 %arg3, { 3, 1, 2, 0, 4 } uselistorder i32* %arg1, { 3, 2, 1, 0, 4 } uselistorder label LBL_29, { 2, 1, 0, 3, 8, 4, 9, 10, 5, 11, 12, 6, 7 } uselistorder label LBL_28, { 1, 0 } uselistorder label LBL_27, { 5, 0, 1, 2, 3, 4, 6 } uselistorder label LBL_19, { 1, 0 } }
1
BinRealVul
isa_ne2000_init_15283
isa_ne2000_init
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = trunc i64 %arg1 to i32 %2 = trunc i64 %arg2 to i32 %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) %4 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) %5 = inttoptr i64 %4 to i64* store i64 %0, i64* %5, align 8 %6 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i32 %1) %7 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i32 %2) %8 = call i64 @FUNC(i64 %4) ret i64 %8 uselistorder i64 (i64, i8*, i32)* @qdev_prop_set_uint32, { 1, 0 } }
1