dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
br_parse_ip_options_11258
br_parse_ip_options
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = inttoptr i64 %0 to i8* %2 = call i64 @FUNC(i64 %arg1) %3 = load i8, i8* %1, align 1 %4 = urem i8 %3, 16 %5 = icmp ult i8 %4, 5 br i1 %5, label LBL_15, label LBL_1 LBL_1: %6 = and i8 %3, -16 %7 = icmp eq i8 %6, 64 %8 = icmp eq i1 %7, false br i1 %8, label LBL_15, label LBL_2 LBL_2: %9 = mul i8 %3, 4 %10 = and i8 %9, 60 %11 = zext i8 %10 to i64 %12 = call i64 @FUNC(i64 %arg1, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_15, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %arg1) %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = urem i8 %17, 16 %19 = zext i8 %18 to i64 %20 = call i64 @FUNC(i64 %15, i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false %24 = icmp eq i1 %23, false %25 = icmp eq i1 %24, false br i1 %25, label LBL_15, label LBL_4 LBL_4: %26 = add i64 %15, 2 %27 = inttoptr i64 %26 to i16* %28 = load i16, i16* %27, align 2 %29 = call i16 @ntohs(i16 %28) %30 = zext i16 %29 to i32 %31 = add i64 %arg1, 8 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp ult i32 %33, %30 br i1 %34, label LBL_5, label LBL_6 LBL_5: %35 = call i64 @FUNC(i64 %arg1) %36 = call i64 @FUNC(i64 %35, i64 0) br label LBL_16 LBL_6: %37 = load i8, i8* %16, align 1 %38 = mul i8 %37, 4 %39 = and i8 %38, 60 %40 = zext i8 %39 to i32 %41 = icmp ult i32 %30, %40 br i1 %41, label LBL_15, label LBL_7 LBL_7: %42 = zext i16 %29 to i64 %43 = call i64 @FUNC(i64 %arg1, i64 %42) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 br i1 %45, label LBL_9, label LBL_8 LBL_8: %46 = call i64 @FUNC(i64 %arg1) %47 = call i64 @FUNC(i64 %46, i64 1) br label LBL_16 LBL_9: %48 = load i8, i8* %16, align 1 %49 = urem i8 %48, 16 %50 = icmp eq i8 %49, 5 %51 = icmp eq i1 %50, false br i1 %51, label LBL_11, label LBL_10 LBL_10: %52 = call i64 @FUNC(i64 %arg1) %53 = inttoptr i64 %52 to i64* %54 = call i64* @memset(i64* %53, i32 0, i32 8) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_11: %55 = inttoptr i64 %2 to i32* %56 = mul i8 %48, 4 %57 = and i8 %56, 60 %58 = zext i8 %57 to i32 %59 = add nsw i32 %58, -20 store i32 %59, i32* %55, align 4 %60 = call i64 @FUNC(i64 %arg1) %61 = call i64 @FUNC(i64 %60, i64 %2, i64 %arg1) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_15, label LBL_12 LBL_12: %65 = add i64 %2, 4 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false %70 = icmp eq i1 %69, false store i64 0, i64* %rax.0.reg2mem br i1 %70, label LBL_17, label LBL_13 LBL_13: %71 = call i64 @FUNC(i64 %arg1) %72 = icmp eq i64 %71, 0 %73 = icmp eq i1 %72, false br i1 %73, label LBL_16, label LBL_14 LBL_14: %74 = call i64 @FUNC(i64 %arg1) %75 = trunc i64 %74 to i32 %76 = icmp eq i32 %75, 0 %77 = icmp eq i1 %76, false store i64 0, i64* %rax.0.reg2mem br i1 %77, label LBL_16, label LBL_17 LBL_15: %78 = call i64 @FUNC(i64 %arg1) %79 = call i64 @FUNC(i64 %78, i64 2) br label LBL_16 LBL_16: store i64 4294967295, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %15, { 0, 2, 1 } uselistorder i8 %3, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64)* @IP_INC_STATS_BH, { 2, 1, 0 } uselistorder i64 (i64)* @dev_net, { 3, 2, 1, 0 } uselistorder i1 false, { 2, 3, 0, 4, 5, 6, 7, 1, 8, 9 } uselistorder i64 (i64)* @IPCB, { 1, 0 } uselistorder i64 (i64)* @ip_hdr, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 11, 2, 3, 4, 5, 1, 0, 8, 6, 7, 9, 10, 12, 13 } uselistorder label LBL_17, { 2, 1, 0, 3 } uselistorder label LBL_16, { 2, 0, 1, 3, 4 } uselistorder label LBL_15, { 0, 1, 2, 3, 5, 4 } }
1
BinRealVul
fourxm_read_packet_7627
fourxm_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.be8.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %.lcssa10.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = ptrtoint i64* %sv_2 to i64 %6 = bitcast i64* %rdi to i32* %7 = bitcast i64* %arg1 to i32* %8 = add i64 %1, 4 %9 = inttoptr i64 %8 to i32* %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* %12 = add i64 %0, 12 %13 = inttoptr i64 %12 to i32* %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i32* %16 = inttoptr i64 %2 to i32* %17 = add i64 %1, 16 %18 = inttoptr i64 %17 to i64* %19 = call i64 @FUNC(i64 %4, i64 %5, i32 8) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false store i64 %19, i64* %.lcssa10.reg2mem br i1 %22, label LBL_2, label LBL_1 LBL_1: %.lcssa10.reload = load i64, i64* %.lcssa10.reg2mem %23 = and i64 %.lcssa10.reload, 4294967295 store i64 %23, i64* %rax.0.reg2mem br label LBL_32 LBL_2: %24 = call i64 @FUNC(i64* nonnull %sv_2) %25 = call i64 @FUNC(i64* nonnull %sv_1) %26 = call i64 @FUNC(i64 %4) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 store i64 4294967291, i64* %rax.0.reg2mem br i1 %28, label LBL_3, label LBL_32 LBL_3: %29 = trunc i64 %24 to i32 %30 = trunc i64 %25 to i32 %31 = icmp eq i32 %29, 1936614432 br i1 %31, label LBL_23, label LBL_4 LBL_4: %32 = icmp ult i32 %29, 1936614433 br i1 %32, label LBL_5, label LBL_30 LBL_5: %33 = icmp eq i32 %29, 1885762145 br i1 %33, label LBL_19, label LBL_6 LBL_6: %34 = icmp ult i32 %29, 1885762146 br i1 %34, label LBL_7, label LBL_30 LBL_7: %35 = icmp eq i32 %29, 1885762098 br i1 %35, label LBL_19, label LBL_8 LBL_8: %36 = icmp ult i32 %29, 1885762099 br i1 %36, label LBL_9, label LBL_30 LBL_9: %37 = icmp eq i32 %29, 1768321633 br i1 %37, label LBL_19, label LBL_10 LBL_10: %38 = icmp ult i32 %29, 1768321634 br i1 %38, label LBL_11, label LBL_30 LBL_11: %39 = icmp eq i32 %29, 1768321586 br i1 %39, label LBL_19, label LBL_12 LBL_12: %40 = icmp ult i32 %29, 1768321587 br i1 %40, label LBL_13, label LBL_30 LBL_13: %41 = icmp eq i32 %29, 1668444769 br i1 %41, label LBL_19, label LBL_14 LBL_14: %42 = icmp ult i32 %29, 1668444770 br i1 %42, label LBL_15, label LBL_30 LBL_15: switch i32 %29, label LBL_30 [ i32 1279873876, label LBL_16 i32 1668444722, label LBL_19 ] LBL_16: %43 = load i32, i32* %6, align 8 %44 = add i32 %43, 1 store i32 %44, i32* %7, align 4 %45 = call i64 @FUNC(i64 %4) br label LBL_17.dec_label_pc_4012b9_crit_edge LBL_17: %storemerge.reload = load i32, i32* %storemerge.reg2mem %46 = add i64 %103, %99 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = add i32 %48, %storemerge.reload store i32 %49, i32* %47, align 4 store i64 %89, i64* %sv_0.1.be8.reg2mem br label LBL_31 LBL_18: %.pre = load i64, i64* %3, align 8 %50 = call i64 @FUNC(i64 %.pre, i64 %5, i32 8) %51 = trunc i64 %50 to i32 %52 = icmp slt i32 %51, 0 %53 = icmp eq i1 %52, false store i64 %50, i64* %.lcssa10.reg2mem br i1 %53, label LBL_2, label LBL_1 LBL_19: %54 = icmp ult i32 %30, -8 store i64 4294967291, i64* %rax.0.reg2mem br i1 %54, label LBL_20, label LBL_32 LBL_20: %55 = add i64 %25, 8 %56 = and i64 %55, 4294967295 %57 = call i64 @FUNC(i64 %0, i64 %56) %58 = trunc i64 %57 to i32 %59 = icmp eq i32 %58, 0 store i64 4294967291, i64* %rax.0.reg2mem br i1 %59, label LBL_21, label LBL_32 LBL_21: %60 = load i32, i32* %9, align 4 store i32 %60, i32* %11, align 4 %61 = load i32, i32* %6, align 8 store i32 %61, i32* %13, align 4 %62 = load i64, i64* %3, align 8 %63 = call i64 @FUNC(i64 %62) %64 = trunc i64 %63 to i32 store i32 %64, i32* %15, align 4 %65 = load i64, i64* %sv_2, align 8 %66 = inttoptr i64 %56 to i64* store i64 %65, i64* %66, align 8 %67 = add nuw nsw i64 %56, 8 %68 = load i64, i64* %3, align 8 %69 = call i64 @FUNC(i64 %68, i64 %67, i32 %30) %70 = trunc i64 %69 to i32 %71 = icmp slt i32 %70, 0 %72 = icmp eq i1 %71, false store i64 %69, i64* %sv_0.1.be8.reg2mem br i1 %72, label LBL_31, label LBL_22 LBL_22: %73 = call i64 @FUNC(i64 %0) br label LBL_17.dec_label_pc_4012b9_crit_edge LBL_23: %74 = call i64 @FUNC(i64 %4) %75 = trunc i64 %74 to i32 %76 = call i64 @FUNC(i64 %4, i64 4) %77 = add i32 %30, -8 %78 = load i32, i32* %16, align 4 %79 = icmp ugt i32 %78, %75 %80 = icmp eq i1 %79, false br i1 %80, label LBL_17.thread9, label LBL_24 LBL_24: %81 = load i64, i64* %18, align 8 %82 = and i64 %74, 4294967295 %83 = mul nuw nsw i64 %82, 20 %84 = add i64 %81, %83 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = icmp eq i32 %86, 0 br i1 %87, label LBL_17.thread9, label LBL_25 LBL_25: %88 = load i64, i64* %3, align 8 %89 = call i64 @FUNC(i64 %88, i64 %0, i32 %77) %90 = trunc i64 %89 to i32 %91 = icmp slt i32 %90, 0 %92 = icmp eq i1 %91, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %92, label LBL_26, label LBL_32 LBL_26: %93 = load i64, i64* %18, align 8 %94 = add nuw nsw i64 %83, 4 %95 = add i64 %94, %93 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 store i32 %97, i32* %11, align 4 %98 = load i64, i64* %18, align 8 %99 = add nuw nsw i64 %83, 8 %100 = add i64 %98, %99 %101 = inttoptr i64 %100 to i32* %102 = load i32, i32* %101, align 4 store i32 %102, i32* %13, align 4 %103 = load i64, i64* %18, align 8 %104 = add i64 %103, %83 %105 = add i64 %104, 12 %106 = inttoptr i64 %105 to i32* %107 = load i32, i32* %106, align 4 %108 = icmp eq i32 %107, 0 %.pre6 = inttoptr i64 %104 to i32* %109 = load i32, i32* %.pre6, align 4 br i1 %108, label LBL_28, label LBL_27 LBL_27: %110 = mul i32 %109, 2 %111 = sub i32 %77, %110 %112 = udiv i32 %111, %109 %113 = mul i32 %112, 2 store i32 %113, i32* %storemerge.reg2mem br label LBL_17 LBL_28: %114 = udiv i32 %77, %109 %115 = add i64 %104, 16 %116 = inttoptr i64 %115 to i32* %117 = load i32, i32* %116, align 4 %118 = udiv i32 %117, 8 %119 = udiv i32 %114, %118 store i32 %119, i32* %storemerge.reg2mem br label LBL_17 LBL_29: %120 = zext i32 %77 to i64 %121 = call i64 @FUNC(i64 %4, i64 %120) br label LBL_17.dec_label_pc_4012b9_crit_edge LBL_30: %122 = and i64 %25, 4294967295 %123 = call i64 @FUNC(i64 %4, i64 %122) br label LBL_17.dec_label_pc_4012b9_crit_edge LBL_31: %sv_0.1.be8.reload = load i64, i64* %sv_0.1.be8.reg2mem %124 = and i64 %sv_0.1.be8.reload, 4294967295 store i64 %124, i64* %rax.0.reg2mem br label LBL_32 LBL_32: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %109, { 2, 1, 0 } uselistorder i64 %104, { 1, 0, 2 } uselistorder i64 %103, { 1, 0 } uselistorder i64 %99, { 1, 0 } uselistorder i64 %89, { 1, 0 } uselistorder i32 %77, { 3, 0, 1, 2 } uselistorder i64 %56, { 2, 1, 0 } uselistorder i32 %30, { 2, 0, 1 } uselistorder i32 %29, { 0, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 %25, { 1, 0, 2 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 1, 3, 5, 4, 2, 6, 0 } uselistorder i64* %3, { 3, 1, 2, 0, 4 } uselistorder i64* %sv_2, { 1, 0, 2 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 5, 0, 4, 1, 2, 3 } uselistorder i64* %.lcssa10.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge.reg2mem, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3, 6 } uselistorder i64 (i64, i64)* @avio_skip, { 2, 1, 0 } uselistorder i64 (i64)* @avio_rl32, { 1, 0 } uselistorder i64 4294967291, { 3, 0, 1, 2 } uselistorder i64 (i64*)* @AV_RL32, { 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 7, 6, 0 } uselistorder i64 (i64, i64, i32)* @avio_read, { 4, 3, 0, 2, 1 } uselistorder i32 8, { 0, 2, 1 } uselistorder i64 8, { 0, 2, 1, 3, 4 } uselistorder label LBL_32, { 5, 3, 0, 1, 2, 4 } uselistorder label LBL_17.thread9, { 1, 0 } uselistorder label LBL_17.dec_label_pc_4012b9_crit_edge, { 0, 3, 2, 1 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
gen_check_sr_16764
gen_check_sr
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = mul i64 %arg2, 16 %6 = and i64 %5, 68719476720 %7 = add i64 %6, ptrtoint (i32** @gv_0 to i64) %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 8 %10 = zext i32 %9 to i64 %11 = and i64 %3, 4294967295 %12 = call i64 @FUNC(i64 %11, i64 %10) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_1 LBL_1: %16 = add i64 %6, ptrtoint ([4 x i8]** @gv_1 to i64) %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %18, i64 %10, i64 %4, i64 %2, i64 %1) br label LBL_4 LBL_3: %21 = and i64 %arg2, 4294967295 %22 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 %21, i64 %10, i64 %4, i64 %2, i64 %1) br label LBL_4 LBL_4: %23 = ptrtoint i32* %arg1 to i64 %24 = call i64 @FUNC(i64 %23, i64 1) store i64 %24, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %25 = add i64 %6, ptrtoint (i32** @gv_4 to i64) %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 8 %28 = trunc i64 %arg3 to i32 %29 = and i32 %27, %28 %30 = zext i32 %29 to i64 %31 = icmp eq i32 %29, 0 %32 = icmp eq i1 %31, false store i64 %30, i64* %rax.0.reg2mem br i1 %32, label LBL_10, label LBL_6 LBL_6: %33 = icmp ult i32 %28, 3 %34 = mul i64 %arg3, 8 %35 = and i64 %34, 34359738360 %36 = add i64 %35, ptrtoint ([3 x i8*]* @gv_5 to i64) %37 = inttoptr i64 %36 to i64* br i1 %33, label LBL_7, label LBL_8 LBL_7: %38 = load i64, i64* %37, align 8 %39 = icmp eq i64 %38, 0 %40 = icmp eq i1 %39, false store i64 %38, i64* %.reg2mem br i1 %40, label LBL_9, label LBL_8 LBL_8: call void @__assert_fail(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_7, i64 0, i64 0), i32 57, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_8, i64 0, i64 0)) %.pre = load i64, i64* %37, align 8 store i64 %.pre, i64* %.reg2mem store i64 ptrtoint ([13 x i8]* @gv_8 to i64), i64* %rcx.0.reg2mem br label LBL_9 LBL_9: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %.reload = load i64, i64* %.reg2mem %41 = add i64 %6, ptrtoint ([4 x i8]** @gv_1 to i64) %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_9, i64 0, i64 0), i64 %43, i64 %.reload, i64 %rcx.0.reload, i64 %2, i64 %1) %45 = ptrtoint i32* %arg1 to i64 %46 = call i64 @FUNC(i64 %45, i64 1) store i64 %46, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %28, { 1, 0 } uselistorder i64 %10, { 1, 0, 2 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder [13 x i8]* @gv_8, { 1, 0 } uselistorder i64 (i64, i64)* @gen_exception_cause, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @qemu_log, { 2, 1, 0 } uselistorder i32 0, { 6, 7, 8, 0, 1, 2, 3, 4, 5 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i64 %arg2, { 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
qcrypto_tls_creds_x509_unload_1094
qcrypto_tls_creds_x509_unload
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 br label LBL_2 LBL_2: %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %5) store i64 0, i64* %4, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 2, 1 } }
0
BinRealVul
output_frame_12906
output_frame
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %4, 4294967295 store i64 %8, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %9 = ptrtoint i32* %arg1 to i64 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %3, 40 %12 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 0) %13 = add i64 %2, 48 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_8 LBL_3: %18 = trunc i64 %1 to i32 %19 = bitcast i64* %rdi to i32* %20 = add i64 %9, 4 %21 = inttoptr i64 %20 to i32* %22 = add i64 %2, 52 %23 = inttoptr i64 %22 to i32* %24 = add i64 %9, 8 %25 = inttoptr i64 %24 to i32* %26 = add i64 %2, 56 %27 = inttoptr i64 %26 to i32* %28 = add i64 %3, 16 store i32 %18, i32* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem %29 = icmp eq i64 %indvars.iv.reload, 0 store i32 0, i32* %storemerge2.reg2mem br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = load i32, i32* %21, align 4 store i32 %30, i32* %storemerge2.reg2mem br label LBL_6 LBL_6: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %31 = load i32, i32* %23, align 4 %.op = urem i32 %.reload, 32 %32 = icmp eq i32 %.op, 0 %33 = or i1 %29, %32 %34 = select i1 %33, i32 0, i32 %.op %spec.select = ashr i32 %31, %34 %35 = load i32, i32* %25, align 4 %36 = urem i32 %35, 32 %37 = shl i32 %spec.select, %36 %38 = load i32, i32* %27, align 4 %39 = urem i32 %storemerge2.reload, 32 %40 = ashr i32 %38, %39 %41 = mul i64 %indvars.iv.reload, 4 %42 = add i64 %41, %3 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = mul i32 %44, %40 %46 = add i32 %45, %37 %47 = mul i64 %indvars.iv.reload, 8 %48 = add i64 %28, %47 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = sext i32 %46 to i64 %52 = add i64 %50, %51 store i64 %52, i64* %49, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 0, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_8, label LBL_6.LBL_4_crit_edge LBL_7: %.pre = load i32, i32* %19, align 8 store i32 %.pre, i32* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br label LBL_4 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.op, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 } uselistorder i64 %9, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 0, 3, 4 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
follow_dotdot_6547
follow_dotdot
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* br label LBL_3 LBL_3: %11 = load i64, i64* %8, align 8 %12 = icmp eq i64 %11, %0 %13 = icmp eq i1 %12, false %.pre = load i64, i64* %10, align 8 br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = load i64, i64* %2, align 8 %15 = icmp eq i64 %.pre, %14 br i1 %15, label LBL_8, label LBL_5 LBL_5: %16 = inttoptr i64 %.pre to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, %0 br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = call i64 @FUNC(i64 %0) store i64 %19, i64* %arg1, align 8 %20 = call i64 @FUNC(i64 %0) %21 = call i64 @FUNC(i64 %0) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = zext i1 %23 to i64 %25 = call i64 @FUNC(i64 %24) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 store i64 4294967294, i64* %storemerge.reg2mem br i1 %27, label LBL_8, label LBL_9 LBL_7: %28 = call i64 @FUNC(i64 %0) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_8, label LBL_3 LBL_8: %31 = call i64 @FUNC(i64 %0) %32 = add i64 %0, 32 %33 = inttoptr i64 %32 to i64* store i64 %0, i64* %33, align 8 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 %0, { 6, 7, 5, 8, 4, 3, 2, 0, 1, 10, 9, 11, 12 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
check_decode_result_16389
check_decode_result
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %.pre.pre-phi.reg2mem = alloca i32 %1 = load i64, i64* %0 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre2 = trunc i64 %2 to i32 store i32 %.pre2, i32* %.pre.pre-phi.reg2mem br label LBL_3 LBL_2: %6 = and i64 %1, 4294967295 %7 = trunc i64 %2 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false store i32 %7, i32* %.pre.pre-phi.reg2mem store i32 %7, i32* %.pre-phi.reg2mem store i64 %6, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %.pre.pre-phi.reload = load i32, i32* %.pre.pre-phi.reg2mem %10 = icmp slt i64 %sext, 0 %11 = zext i1 %10 to i64 %12 = mul i64 %11, 4 %13 = or i64 %12, ptrtoint (i32** @gv_0 to i64) %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i32 %15, 1 store i32 %16, i32* %14, align 4 store i32 %.pre.pre-phi.reload, i32* %.pre-phi.reg2mem store i64 %11, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %17 = icmp slt i32 %.pre-phi.reload, 0 %18 = icmp eq i1 %17, false store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %18, label LBL_7, label LBL_5 LBL_5: %19 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %20 = icmp eq i32 %19, 0 store i64 0, i64* %rax.1.reg2mem br i1 %20, label LBL_7, label LBL_6 LBL_6: %21 = call i64 @FUNC(i64 1) unreachable LBL_7: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %2, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
udf_get_filename_13401
udf_get_filename
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 16, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_12 LBL_1: %3 = call i64 @FUNC(i64 16, i64 0) %4 = icmp eq i64 %3, 0 store i64 0, i64* %sv_0.1.reg2mem br i1 %4, label LBL_11, label LBL_2 LBL_2: %5 = ptrtoint i64* %arg2 to i64 %6 = trunc i64 %arg3 to i32 %7 = call i64 @FUNC(i64 %3, i64 %5, i32 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %sv_0.0.reg2mem br i1 %10, label LBL_10, label LBL_3 LBL_3: %11 = ptrtoint i64* %arg1 to i64 %12 = call i64 @FUNC(i64 %11, i64 1) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_6, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %0, i64 %3) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_9, label LBL_5 LBL_5: %19 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %5) store i64 0, i64* %sv_0.0.reg2mem br label LBL_10 LBL_6: %20 = call i64 @FUNC(i64 %11, i64 2) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %22, label LBL_10, label LBL_7 LBL_7: %23 = call i64 @FUNC(i64 %11) %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25, i64 %0, i64 %3) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_9, label LBL_8 LBL_8: %30 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %5) store i64 0, i64* %sv_0.0.reg2mem br label LBL_10 LBL_9: %31 = ptrtoint i64* %arg4 to i64 %32 = add i64 %3, 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = inttoptr i64 %3 to i64* %36 = load i64, i64* %35, align 8 %37 = add i64 %0, 8 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = inttoptr i64 %0 to i64* %41 = load i64, i64* %40, align 8 %42 = trunc i64 %arg5 to i32 %43 = zext i32 %34 to i64 %44 = call i64 @FUNC(i64 %31, i32 %42, i64 %41, i32 %39, i64 %36, i64 %43) store i64 %44, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %45 = call i64 @FUNC(i64 %3) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_11 LBL_11: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %46 = call i64 @FUNC(i64 %0) %47 = and i64 %sv_0.1.reload, 4294967295 store i64 %47, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %3, { 4, 2, 1, 3, 0, 5, 6 } uselistorder i64 %0, { 4, 2, 1, 3, 0, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 1, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 (i8*, i64)* @udf_debug, { 1, 0 } uselistorder i64 (i64, i64)* @UDF_QUERY_FLAG, { 1, 0 } uselistorder i64 1, { 6, 1, 4, 2, 3, 5, 0 } uselistorder i32 0, { 3, 4, 5, 6, 7, 0, 1, 2 } uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 2, 3, 0, 4, 1 } }
0
BinRealVul
ff_avio_child_class_next_14548
ff_avio_child_class_next
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false %. = select i1 %1, i64 0, i64 ptrtoint ([14 x i8]** @gv_0 to i64) ret i64 %. }
1
BinRealVul
TIFFFdOpen_8572
TIFFFdOpen
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i32 store i32 0, i32* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i32, i32* %storemerge.reg2mem %0 = sext i32 %storemerge.reload to i64 %1 = add i64 %0, %arg3 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = icmp eq i8 %3, 0 %5 = icmp eq i8 %3, 117 %6 = or i1 %4, %5 %7 = icmp eq i1 %6, false %8 = add i32 %storemerge.reload, 1 store i32 %8, i32* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_2: %sext = mul i64 %arg1, 4294967296 %9 = load i64, i64* @gv_0, align 8 %10 = load i64, i64* @gv_1, align 8 %11 = load i64, i64* @gv_2, align 8 %12 = ashr exact i64 %sext, 32 %13 = call i64 @FUNC(i64 %arg2, i64 %arg3, i64 %12, i64 %11, i64 %10, i64 %9) %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = inttoptr i64 %13 to i32* %16 = trunc i64 %arg1 to i32 store i32 %16, i32* %15, align 4 br label LBL_4 LBL_4: ret i64 %13 uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg1, { 1, 0 } }
0
BinRealVul
r128_cce_flip_4284
r128_cce_flip
define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 4202515) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %2) ret i64 0 uselistorder i64 %2, { 1, 0 } }
0
BinRealVul
hw_perf_counter_init_4334
hw_perf_counter_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_12 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp slt i64 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_12 LBL_2: %9 = add i64 %3, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %3, i64* %sv_1.0.reg2mem br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = inttoptr i64 %0 to i32* %15 = load i32, i32* %14, align 4 %16 = sext i32 %15 to i64 %17 = icmp ult i64 %3, %16 %18 = icmp eq i1 %17, false store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_12, label LBL_4 LBL_4: %19 = mul i64 %3, 8 %20 = add i64 %19, 8 %21 = add i64 %20, %0 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %sv_1.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_5, label LBL_12 LBL_5: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %26 = add i64 %3, 32 %27 = inttoptr i64 %26 to i64* store i64 %sv_1.0.reload, i64* %27, align 8 %28 = add i64 %3, 48 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 %30 = call i64 @FUNC(i64 1) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = add i64 %3, 24 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 br label LBL_7 LBL_7: %36 = add i64 %3, 64 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = icmp eq i64 %38, %3 store i32 0, i32* %sv_0.0.reg2mem br i1 %39, label LBL_9, label LBL_8 LBL_8: %40 = load i64, i64* @gv_0, align 8 %41 = add i64 %40, 88 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = add i32 %43, -1 %45 = zext i32 %44 to i64 %46 = call i64 @FUNC(i64 %38, i64 %45, i64* nonnull %sv_2, i64* nonnull %sv_3) %47 = trunc i64 %46 to i32 %48 = icmp slt i32 %47, 0 %49 = icmp eq i1 %48, false store i32 %47, i32* %sv_0.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %49, label LBL_9, label LBL_12 LBL_9: %50 = ptrtoint i64* %sv_4 to i64 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %51 = trunc i64 %sv_1.0.reload to i32 %52 = sext i32 %sv_0.0.reload to i64 %53 = mul i64 %52, 4 %54 = add i64 %50, -144 %55 = add i64 %54, %53 %56 = inttoptr i64 %55 to i32* store i32 %51, i32* %56, align 4 %57 = mul i64 %52, 8 %58 = add i64 %50, -96 %59 = add i64 %58, %57 %60 = inttoptr i64 %59 to i64* store i64 %3, i64* %60, align 8 %61 = zext i32 %sv_0.0.reload to i64 %62 = call i64 @FUNC(i64* nonnull %sv_2, i64 %61, i64 1) %63 = trunc i64 %62 to i32 %64 = icmp eq i32 %63, 0 store i64 0, i64* %rax.0.reg2mem br i1 %64, label LBL_10, label LBL_12 LBL_10: %65 = add i32 %sv_0.0.reload, 1 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i64* nonnull %sv_3, i64 %66) %68 = trunc i64 %67 to i32 %69 = icmp eq i32 %68, 0 store i64 0, i64* %rax.0.reg2mem br i1 %69, label LBL_11, label LBL_12 LBL_11: %70 = load i32, i32* %56, align 4 %71 = zext i32 %70 to i64 %72 = add i64 %3, 40 %73 = inttoptr i64 %72 to i64* store i64 %71, i64* %73, align 8 %74 = load i64, i64* %5, align 8 %75 = add i64 %3, 56 %76 = call i64 @FUNC(i64 %75, i64 %74) store i64 ptrtoint ([27 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 2, 1, 0 } uselistorder i64 %38, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %3, { 4, 5, 6, 2, 7, 3, 8, 9, 1, 11, 0, 10, 12 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 1, 2, 3, 5, 4, 6, 7 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6 } uselistorder label LBL_12, { 7, 0, 1, 2, 4, 3, 5, 6 } }
0
BinRealVul
message_decoder_parse_cte_18739
message_decoder_parse_cte
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 64) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64* nonnull %sv_1, i64 64, i64 %4, i64 0) %6 = call i64 @FUNC(i64* nonnull %sv_1) %7 = call i64 @FUNC(i64* nonnull %sv_1, i64 %1) %8 = call i64 @FUNC(i64 %1) %9 = icmp eq i64 %8, 16 br i1 %9, label LBL_8, label LBL_1 LBL_1: %10 = icmp ult i64 %8, 17 store i64 0, i64* %sv_0.0.reg2mem br i1 %10, label LBL_2, label LBL_9 LBL_2: store i64 0, i64* %sv_0.0.reg2mem switch i64 %8, label LBL_9 [ i64 4, label LBL_3 i64 6, label LBL_6 ] LBL_3: %11 = call i64 @FUNC(i64 %1) %12 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 4) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %1) %16 = call i64 @FUNC(i64 %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 4) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 0, i64* %sv_0.0.reg2mem br i1 %19, label LBL_9, label LBL_5 LBL_5: store i64 1, i64* %sv_0.0.reg2mem br label LBL_9 LBL_6: %20 = call i64 @FUNC(i64 %1) %21 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 6) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 2, i64* %sv_0.0.reg2mem br i1 %24, label LBL_7, label LBL_9 LBL_7: %25 = call i64 @FUNC(i64 %1) %26 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 6) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false %spec.select = select i1 %29, i64 0, i64 3 ret i64 %spec.select LBL_8: %30 = call i64 @FUNC(i64 %1) %31 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i64 16) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false %spec.select1 = select i1 %34, i64 0, i64 4 store i64 %spec.select1, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %1, { 4, 0, 1, 2, 3, 5, 6 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 2, 6, 5, 3, 4 } uselistorder i64 (i64, i8*, i64)* @i_memcasecmp, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @str_data, { 4, 3, 2, 1, 0 } uselistorder i64 6, { 1, 2, 0 } uselistorder i64 4, { 0, 2, 3, 1 } uselistorder i64 16, { 1, 0 } uselistorder label LBL_9, { 0, 1, 4, 3, 2, 5 } }
1
BinRealVul
merge_context_after_encode_1966
merge_context_after_encode
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i32, i32* @gv_0, align 4 %3 = zext i32 %2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = load i32, i32* @gv_1, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = load i32, i32* @gv_2, align 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = load i32, i32* @gv_3, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = load i32, i32* @gv_4, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15) %17 = load i32, i32* @gv_5, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18) %20 = load i32, i32* @gv_6, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21) %23 = load i32, i32* @gv_7, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %24) %26 = load i32, i32* @gv_8, align 4 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27) %29 = load i32, i32* @gv_9, align 4 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %30) %32 = load i32, i32* @gv_10, align 4 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i64 %33) %35 = load i32, i32* @gv_11, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36) %38 = load i32, i32* @gv_12, align 4 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 %39) %41 = load i32, i32* @gv_13, align 4 %42 = zext i32 %41 to i64 %43 = call i64 @FUNC(i64 %42) %44 = load i32, i32* @gv_14, align 4 %45 = zext i32 %44 to i64 %46 = call i64 @FUNC(i64 %45) %47 = trunc i64 %1 to i32 %48 = icmp eq i32 %47, 0 store i64 0, i64* %indvars.iv.reg2mem br i1 %48, label LBL_2, label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %49 = mul i64 %indvars.iv.reload, 4 %50 = add i64 %49, ptrtoint (i32** @gv_15 to i64) %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = zext i32 %52 to i64 %54 = call i64 @FUNC(i64 %53) %55 = add i64 %49, add (i64 ptrtoint (i32** @gv_15 to i64), i64 256) %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = zext i32 %57 to i64 %59 = call i64 @FUNC(i64 %58) %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 br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %60 = ptrtoint i64* %arg2 to i64 %61 = add i64 %60, 8 %62 = call i64 @FUNC(i64 %61) %63 = urem i64 %62, 8 %64 = icmp eq i64 %63, 0 br i1 %64, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_16, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_17, i64 0, i64 0), i32 67, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_18, i64 0, i64 0)) br label LBL_4 LBL_4: %65 = ptrtoint i64* %arg1 to i64 %66 = add i64 %65, 8 %67 = call i64 @FUNC(i64 %66) %68 = urem i64 %67, 8 %69 = icmp eq i64 %68, 0 br i1 %69, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_19, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_17, i64 0, i64 0), i32 68, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_18, i64 0, i64 0)) br label LBL_6 LBL_6: %70 = call i64 @FUNC(i64 %61) %71 = and i64 %70, 4294967295 %72 = inttoptr i64 %61 to i64* %73 = load i64, i64* %72, align 8 %74 = call i64 @FUNC(i64 %66, i64 %73, i64 %71) %75 = call i64 @FUNC(i64 %66) ret i64 %75 uselistorder i64 %66, { 1, 0, 2 } uselistorder i64 %61, { 1, 0, 2 } uselistorder i64 %49, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i64 (i64)* @put_bits_count, { 2, 1, 0 } uselistorder i64 8, { 0, 2, 1, 3 } uselistorder i64 (i64)* @MERGE, { 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
find_pte_13985
find_pte
define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg2 to i64 %1 = trunc i64 %arg4 to i32 %2 = and i64 %arg3, 4294967295 %3 = call i64 @FUNC(i64 %0, i64 %2, i32 %1) ret i64 %3 }
1
BinRealVul
jsi_ParentFuncToValue_10318
jsi_ParentFuncToValue
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = icmp eq i64* %arg4, null store i64 4294967295, i64* %rax.0.reg2mem br i1 %0, label LBL_1, label LBL_7 LBL_1: %1 = ptrtoint i64* %arg3 to i64 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %6, %arg5 store i64 %7, i64* %sv_0, align 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %3, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %13 = icmp eq i64* %arg1, null %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) store i64 %15, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %16 = icmp eq i64* %arg2, null store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_7, label LBL_6 LBL_6: %17 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %2) %18 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 4, 3 } uselistorder label LBL_7, { 1, 0, 3, 4, 2 } }
0
BinRealVul
zstream_run_func_18089
zstream_run_func
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_1, label LBL_9 LBL_1: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = trunc i64 %7 to i32 %sext = mul i64 %7, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = add nsw i64 %9, 32 %11 = inttoptr i64 %10 to i32* %12 = icmp eq i32 %8, 1 %13 = icmp eq i1 %12, false %14 = icmp ne i32 %8, 0 %15 = icmp eq i32 %8, -5 %16 = icmp eq i1 %15, false %or.cond = icmp eq i1 %14, %16 br label LBL_2 LBL_2: br i1 %13, label LBL_4, label LBL_3 LBL_3: %17 = add nsw i64 %9, 116 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = and i32 %19, -4 %21 = or i32 %20, 2 store i32 %21, i32* %18, align 4 store i32 %8, i32* %sv_0.1.reg2mem br label LBL_9 LBL_4: %22 = load i32, i32* %11, align 4 store i32 %8, i32* %sv_0.1.reg2mem br i1 %or.cond, label LBL_9, label LBL_5 LBL_5: %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_7, label LBL_6 LBL_6: %24 = add nsw i64 %9, 116 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = or i32 %26, 1 store i32 %27, i32* %25, align 4 store i32 %8, i32* %sv_0.1.reg2mem br label LBL_9 LBL_7: %28 = call i64 @FUNC(i64 %9) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false store i32 -4, i32* %sv_0.1.reg2mem br i1 %31, label LBL_8, label LBL_9 LBL_8: %32 = load i32, i32* %2, align 4 %33 = icmp eq i32 %32, 0 store i32 %8, i32* %sv_0.1.reg2mem br i1 %33, label LBL_2, label LBL_9 LBL_9: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %34 = zext i32 %sv_0.1.reload to i64 ret i64 %34 uselistorder i64 %9, { 2, 0, 1, 3 } uselistorder i32 %8, { 0, 3, 1, 2, 4, 5, 6 } uselistorder i32* %2, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 3, 5, 2, 4 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_9, { 0, 2, 4, 1, 5, 3 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
cpuidle_play_dead_18494
cpuidle_play_dead
define i64 @FUNC() local_unnamed_addr { LBL_0: %.reg2mem9 = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.15.reg2mem = alloca i32 %sv_0.16.reg2mem = alloca i32 %storemerge37.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC() %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_5.thread, label LBL_1 LBL_1: %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = zext i32 %4 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge37.reg2mem store i32 -1, i32* %sv_0.16.reg2mem store i32 -1, i32* %sv_1.15.reg2mem br label LBL_2 LBL_2: %sv_1.15.reload = load i32, i32* %sv_1.15.reg2mem %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %storemerge37.reload = load i32, i32* %storemerge37.reg2mem %.reload = load i64, i64* %.reg2mem %10 = mul i64 %.reload, 16 %11 = add i64 %10, %8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = sext i32 %sv_0.16.reload to i64 %16 = icmp sgt i64 %15, %14 store i32 %sv_1.15.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %16, label LBL_3, label LBL_4 LBL_3: %17 = add i64 %11, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 %spec.select = select i1 %20, i32 %sv_1.15.reload, i32 %storemerge37.reload %spec.select4 = select i1 %20, i32 %sv_0.16.reload, i32 %13 store i32 %spec.select, i32* %sv_1.0.reg2mem store i32 %spec.select4, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %21 = add i32 %storemerge37.reload, 1 %22 = sext i32 %21 to i64 %23 = icmp slt i64 %22, %9 store i64 %22, i64* %.reg2mem store i32 %21, i32* %storemerge37.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.15.reg2mem br i1 %23, label LBL_2, label LBL_5 LBL_5: %24 = icmp eq i32 %sv_1.0.reload, -1 store i64 %1, i64* %.reg2mem9 br i1 %24, label LBL_5.thread, label %25 LBL_6: store i64 4294967277, i64* %.reg2mem9 br label %25 uselistorder i32 %storemerge37.reload, { 1, 0 } uselistorder i32 %sv_0.16.reload, { 1, 0, 2 } uselistorder i32 %sv_1.15.reload, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge37.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.15.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem9, { 0, 2, 1 } uselistorder i32 -1, { 2, 0, 1 } uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label %25, { 1, 0 } uselistorder label LBL_5.thread, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
opt_preset_14119
opt_preset
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca %_IO_FILE* %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rdi = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %0 = ptrtoint i64* %sv_5 to i64 %1 = ptrtoint i64* %sv_4 to i64 store i64 %arg2, i64* %sv_4, align 8 %2 = call i8* @getenv(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i8* %2, null %4 = add i64 %0, -3088 %5 = bitcast i64* %sv_3 to i8* %6 = bitcast i64* %rdi to i8* %7 = add i64 %1, -16 %8 = inttoptr i64 %7 to i64* %9 = zext i1 %3 to i64 store i64 %9, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %10 = icmp eq i64 %indvars.iv.reload, 0 %. = select i1 %10, i64 ptrtoint (i64* @gv_1 to i64), i64 ptrtoint (i8** @gv_2 to i64) %11 = mul i64 %indvars.iv.reload, 8 %12 = add i64 %4, %11 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = load i64, i64* %sv_4, align 8 %16 = inttoptr i64 %14 to i8* %17 = inttoptr i64 %. to i8* %18 = inttoptr i64 %15 to i8* %19 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 1000, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i8* %16, i8* %17, i8* %18) %20 = call %_IO_FILE* @fopen(i8* nonnull %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0)) %21 = icmp eq %_IO_FILE* %20, null %22 = icmp eq i1 %21, false store %_IO_FILE* %20, %_IO_FILE** %sv_0.0.reg2mem br i1 %22, label LBL_8, label LBL_2 LBL_2: %23 = load i8, i8* %6, align 8 %24 = icmp eq i8 %23, 118 br i1 %24, label LBL_6, label LBL_3 LBL_3: %25 = icmp eq i8 %23, 97 %26 = icmp eq i1 %25, false br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = load i64, i64* bitcast ([2 x i8*]* @gv_5 to i64*), align 8 store i64 %27, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %28 = load [9 x i8]*, [9 x i8]** @gv_6, align 8 %29 = ptrtoint [9 x i8]* %28 to i64 store i64 %29, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %30 = load [8 x i8]*, [8 x i8]** @gv_7, align 8 %31 = ptrtoint [8 x i8]* %30 to i64 store i64 %31, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem %32 = inttoptr i64 %rax.0.reload to i8* %33 = load i64, i64* %13, align 8 %34 = load i64, i64* %sv_4, align 8 store i64 %34, i64* %8, align 8 %35 = inttoptr i64 %33 to i8* %36 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 1000, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_8, i64 0, i64 0), i8* %35, i8* %17, i8* %32, i8* %32) %37 = call %_IO_FILE* @fopen(i8* nonnull %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0)) store %_IO_FILE* %37, %_IO_FILE** %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load %_IO_FILE*, %_IO_FILE** %sv_0.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %38 = icmp ult i64 %indvars.iv.next, 3 %39 = icmp eq %_IO_FILE* %sv_0.0.reload, null %or.cond = icmp eq i1 %38, %39 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %or.cond, label LBL_1, label LBL_9 LBL_9: %40 = icmp eq i1 %39, false br i1 %40, label LBL_10, label LBL_12 LBL_10: %41 = call i32 @feof(%_IO_FILE* %sv_0.0.reload) %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_11, label LBL_24 LBL_11: %43 = bitcast i64* %sv_2 to i8* br label LBL_13 LBL_12: %44 = load %_IO_FILE*, %_IO_FILE** @gv_9, align 8 %45 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_10 to i64*), i32 1, i32 22, %_IO_FILE* %44) %46 = call i64 @FUNC(i64 1) unreachable LBL_13: %47 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %sv_0.0.reload, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_11, i64 0, i64 0), i64* nonnull %sv_2) %48 = add i32 %47, -1 %49 = load i64, i64* %sv_2, align 8 %50 = trunc i64 %49 to i8 %51 = icmp eq i8 %50, 35 %52 = icmp eq i32 %48, 0 %53 = icmp eq i1 %52, %51 br i1 %53, label LBL_18, label LBL_14 LBL_14: %54 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %43, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_12, i64 0, i64 0), i64* nonnull %sv_3, i64* nonnull %sv_1) %55 = add i32 %54, -2 %56 = or i32 %55, %48 %57 = icmp eq i32 %56, 0 br i1 %57, label LBL_16, label LBL_15 LBL_15: %58 = load %_IO_FILE*, %_IO_FILE** @gv_9, align 8 %59 = call i32 @fwrite(i64* bitcast ([21 x i8]* @gv_13 to i64*), i32 1, i32 20, %_IO_FILE* %58) %60 = call i64 @FUNC(i64 1) unreachable LBL_16: %61 = call i32 @strcmp(i8* nonnull %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_14, i64 0, i64 0)) %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_19, label LBL_17 LBL_17: %64 = call i64 @FUNC(i64* nonnull %sv_1) br label LBL_18 LBL_18: %65 = call i32 @feof(%_IO_FILE* %sv_0.0.reload) %66 = icmp eq i32 %65, 0 br i1 %66, label LBL_13, label LBL_24 LBL_19: %67 = call i32 @strcmp(i8* nonnull %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_15, i64 0, i64 0)) %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_21, label LBL_20 LBL_20: %70 = call i64 @FUNC(i64* nonnull %sv_1) br label LBL_18 LBL_21: %71 = call i32 @strcmp(i8* nonnull %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_16, i64 0, i64 0)) %72 = icmp eq i32 %71, 0 %73 = icmp eq i1 %72, false br i1 %73, label LBL_23, label LBL_22 LBL_22: %74 = call i64 @FUNC(i64* nonnull %sv_1) br label LBL_18 LBL_23: %75 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %sv_1) br label LBL_18 LBL_24: %76 = call i32 @fclose(%_IO_FILE* %sv_0.0.reload) ret i64 0 uselistorder i1 %39, { 1, 0 } uselistorder %_IO_FILE* %sv_0.0.reload, { 4, 3, 2, 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i8* %5, { 2, 1, 0, 3, 4, 5, 6 } uselistorder i64* %sv_2, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 (i8*, i8*)* @strcmp, { 2, 0, 1 } uselistorder i64 (i64)* @av_exit, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder i32 (%_IO_FILE*)* @feof, { 1, 0 } uselistorder i32 0, { 6, 7, 10, 8, 9, 1, 0, 2, 3, 4, 5 } uselistorder %_IO_FILE* (i8*, i8*)* @fopen, { 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 } uselistorder label LBL_18, { 3, 2, 1, 0, 4 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
reposvul_c_test
gf_avc_get_profile_name_232
gf_avc_get_profile_name
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = urem i64 %arg1, 256 %1 = icmp eq i64 %0, 244 store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem br i1 %1, label LBL_14, label LBL_1 LBL_1: %2 = trunc i64 %0 to i32 %3 = icmp ugt i32 %2, 244 br i1 %3, label LBL_13, label LBL_2 LBL_2: %4 = icmp ugt i32 %2, 122 br i1 %4, label LBL_5, label LBL_3 LBL_3: %5 = icmp ult i32 %2, 66 br i1 %5, label LBL_13, label LBL_4 LBL_4: %6 = add nuw nsw i64 %0, 4294967230 %7 = and i64 %6, 4294967295 store i64 %7, i64* @0, align 8 %trunc = trunc i64 %6 to i32 store i64 ptrtoint ([9 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem switch i32 %trunc, label LBL_13 [ i32 0, label LBL_14 i32 11, label LBL_6 i32 17, label LBL_7 i32 20, label LBL_8 i32 22, label LBL_9 i32 34, label LBL_10 i32 44, label LBL_11 i32 56, label LBL_12 ] LBL_5: %8 = icmp eq i32 %2, 144 store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem br i1 %8, label LBL_14, label LBL_13 LBL_6: store i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem br label LBL_14 LBL_7: store i64 ptrtoint ([18 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem br label LBL_14 LBL_8: store i64 ptrtoint ([14 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem br label LBL_14 LBL_9: store i64 ptrtoint ([9 x i8]* @gv_5 to i64), i64* %rax.0.reg2mem br label LBL_14 LBL_10: store i64 ptrtoint ([5 x i8]* @gv_6 to i64), i64* %rax.0.reg2mem br label LBL_14 LBL_11: store i64 ptrtoint ([8 x i8]* @gv_7 to i64), i64* %rax.0.reg2mem br label LBL_14 LBL_12: store i64 ptrtoint ([11 x i8]* @gv_8 to i64), i64* %rax.0.reg2mem br label LBL_14 LBL_13: store i64 ptrtoint ([8 x i8]* @gv_9 to i64), i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %2, { 3, 0, 1, 2 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 11, 10, 9, 8, 7, 6, 5, 4, 2, 3, 1 } uselistorder i64 ptrtoint ([11 x i8]* @gv_0 to i64), { 1, 0 } uselistorder label LBL_14, { 10, 3, 4, 5, 6, 7, 8, 9, 1, 2, 0 } }
0
BinRealVul
mirror_set_speed_5118
mirror_set_speed
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp slt i64 %arg2, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg3 to i64 %3 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) store i64 %3, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 %arg2, i64 1000) store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
spapr_vio_send_crq_15938
spapr_vio_send_crq
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i8, align 1 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %6 = call i32 @fwrite(i64* bitcast ([44 x i8]* @gv_1 to i64*), i32 1, i32 43, %_IO_FILE* %5) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %7, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i32 %13, %10 %15 = zext i32 %14 to i64 %16 = bitcast i8* %sv_0 to i64* %17 = call i64 @FUNC(i64 %7, i64 %15, i64* nonnull %16, i64 1) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 store i64 %17, i64* %rax.0.shrunk.reg2mem br i1 %19, label LBL_3, label LBL_8 LBL_3: %20 = load i8, i8* %sv_0, align 1 %21 = icmp eq i8 %20, 0 store i64 1, i64* %rax.0.shrunk.reg2mem br i1 %21, label LBL_4, label LBL_8 LBL_4: %22 = ptrtoint i64* %arg2 to i64 %23 = add i64 %22, 8 %24 = load i32, i32* %9, align 4 %25 = load i32, i32* %12, align 4 %26 = add i32 %24, 8 %27 = add i32 %26, %25 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %7, i64 %28, i64 %23, i64 8) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 store i64 %29, i64* %rax.0.shrunk.reg2mem br i1 %31, label LBL_5, label LBL_8 LBL_5: %32 = call i64 @FUNC() %33 = load i32, i32* %9, align 4 %34 = load i32, i32* %12, align 4 %35 = add i32 %34, %33 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %7, i64 %36, i64 %22, i64 8) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 store i64 %37, i64* %rax.0.shrunk.reg2mem br i1 %39, label LBL_6, label LBL_8 LBL_6: %40 = load i32, i32* %12, align 4 %41 = add i32 %40, 16 %42 = urem i32 %41, %2 store i32 %42, i32* %12, align 4 %43 = add i64 %7, 12 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = urem i32 %45, 2 %47 = icmp eq i32 %46, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %47, label LBL_8, label LBL_7 LBL_7: %48 = add i64 %7, 16 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = call i64 @FUNC(i64 %50) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_8: %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 i32* %12, { 1, 0, 2, 3, 4 } uselistorder i64 %7, { 1, 0, 2, 3, 6, 5, 4 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 4, 5, 6, 7 } uselistorder i64 (i64, i64, i64, i64)* @spapr_tce_dma_write, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder label LBL_8, { 1, 0, 2, 3, 4, 5, 6 } }
1
BinRealVul
set_debug_reg_defaults_8998
set_debug_reg_defaults
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 4 %2 = inttoptr i64 %1 to i32* store i32 0, i32* %2, align 4 %3 = bitcast i64* %arg1 to i32* store i32 0, i32* %3, align 4 %4 = add i64 %0, 12 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = add i64 %0, 20 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %0, 28 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = add i64 %0, 32 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %0, 36 %19 = inttoptr i64 %18 to i32* store i32 15, i32* %19, align 4 %20 = add i64 %0, 40 %21 = inttoptr i64 %20 to i32* store i32 48, i32* %21, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 } uselistorder i32 0, { 4, 0, 5, 1, 6, 2, 7, 3, 8 } }
0
BinRealVul
av_packet_ref_3483
av_packet_ref
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i64* %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = ptrtoint i32* %arg2 to i64 %4 = call i64 @FUNC(i64 %2, i64 %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_12 LBL_2: %9 = add i64 %3, 16 %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 br i1 %13, label LBL_8, label LBL_3 LBL_3: %14 = add i64 %2, 16 %15 = and i64 %1, 4294967295 %16 = call i64 @FUNC(i64 %14, i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 store i64 %16, i64* %sv_0.0.reg2mem br i1 %18, label LBL_11, label LBL_4 LBL_4: %19 = trunc i64 %1 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_4.LBL_7_crit_edge, label LBL_6 LBL_5: %.pre2 = inttoptr i64 %14 to i64* store i64* %.pre2, i64** %.pre-phi3.reg2mem br label LBL_7 LBL_6: %21 = add i64 %3, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %14 to i64* %25 = load i64, i64* %24, align 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i64* %29 = inttoptr i64 %23 to i64* %30 = call i64* @memcpy(i64* %28, i64* %29, i32 %19) store i64* %24, i64** %.pre-phi3.reg2mem br label LBL_7 LBL_7: %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem %31 = load i64, i64* %.pre-phi3.reload, align 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = add i64 %2, 8 %35 = inttoptr i64 %34 to i64* store i64 %33, i64* %35, align 8 br label LBL_10 LBL_8: %36 = call i64 @FUNC(i64 %11) %37 = add i64 %2, 16 %38 = inttoptr i64 %37 to i64* store i64 %36, i64* %38, align 8 %39 = icmp eq i64 %36, 0 %40 = icmp eq i1 %39, false store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %40, label LBL_9, label LBL_11 LBL_9: %41 = add i64 %3, 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = add i64 %2, 8 %45 = inttoptr i64 %44 to i64* store i64 %43, i64* %45, align 8 br label LBL_10 LBL_10: %.pre-phi = bitcast i64* %rsi to i32* %46 = load i32, i32* %.pre-phi, align 8 %47 = bitcast i64* %arg1 to i32* store i32 %46, i32* %47, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %48 = call i64 @FUNC(i64 %2) %49 = and i64 %sv_0.0.reload, 4294967295 store i64 %49, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %14, { 1, 0, 2 } uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64 %2, { 2, 3, 4, 0, 1, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 4294967295, { 1, 0, 2, 3, 4 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
mem_read_8623
mem_read
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rdi.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 %2 = icmp slt i32 %1, 0 %3 = icmp eq i1 %2, false store i64 %0, i64* %rdi.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([9 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %4 = icmp eq i64* %arg2, null %5 = icmp eq i1 %4, false store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %5, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i32 22, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64* %rdi.1.reg2mem br label LBL_4 LBL_4: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %0, 12 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = sub i32 %8, %11 %13 = sub i32 %1, %12 %14 = xor i32 %12, %1 %15 = xor i32 %13, %1 %16 = and i32 %15, %14 %17 = icmp slt i32 %16, 0 %18 = icmp eq i32 %13, 0 %19 = icmp slt i32 %13, 0 %20 = icmp ne i1 %19, %17 %21 = or i1 %18, %20 %22 = select i1 %21, i32 %1, i32 %12 %23 = sext i32 %11 to i64 %24 = add i64 %rdi.1.reload, %23 %25 = inttoptr i64 %24 to i64* %26 = call i64* @memcpy(i64* %arg2, i64* %25, i32 %22) %27 = load i32, i32* %10, align 4 %28 = add i32 %22, %27 store i32 %28, i32* %10, align 4 %29 = zext i32 %22 to i64 ret i64 %29 uselistorder i32 %22, { 2, 0, 1 } uselistorder i32 %13, { 1, 2, 0 } uselistorder i32 %12, { 1, 0, 2 } uselistorder i32 %1, { 3, 0, 1, 2, 4 } uselistorder i64 %0, { 2, 1, 0 } uselistorder [4 x i8]* @gv_3, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder [9 x i8]* @gv_0, { 1, 0 } }
0
BinRealVul
atalk_proc_exit_5650
atalk_proc_exit
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %0) ret i64 %1 }
0
BinRealVul
my_log2_1393
my_log2
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i32 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = trunc i64 %0 to i32 store i32 0, i32* %storemerge2.reg2mem br label LBL_1 LBL_1: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %2 = urem i32 %storemerge2.reload, 32 %3 = icmp eq i32 %2, 0 %4 = lshr i32 %1, %2 %5 = zext i32 %4 to i64 %storemerge = select i1 %3, i64 %0, i64 %5 %6 = trunc i64 %storemerge to i32 %7 = icmp ult i32 %6, 2 %8 = add i32 %storemerge2.reload, 1 store i32 %8, i32* %storemerge2.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_2: %9 = zext i32 %storemerge2.reload to i64 ret i64 %9 uselistorder i32 %2, { 1, 0 } uselistorder i32 %storemerge2.reload, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 1, 0 } uselistorder i32 1, { 1, 0 } }
0
BinRealVul
gen_arm_shift_im_16899
gen_arm_shift_im
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi9.reg2mem = alloca i64 %.pre-phi11.reg2mem = alloca i64 %.pre-phi15.reg2mem = alloca i64 %.pre-phi13.reg2mem = alloca i64 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = trunc i64 %arg2 to i32 %sext5 = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext5, 32 %sext6 = mul i64 %arg4, 4294967296 %3 = ashr exact i64 %sext6, 32 %4 = icmp eq i32 %1, 3 br i1 %4, label LBL_20, label LBL_1 LBL_1: %5 = icmp sgt i32 %1, 3 br i1 %5, label LBL_28, label LBL_2 LBL_2: switch i32 %1, label LBL_28 [ i32 2, label LBL_16 i32 0, label LBL_3 i32 1, label LBL_8 ] LBL_3: %6 = trunc i64 %2 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_28, label LBL_4 LBL_4: %8 = trunc i64 %3 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4.LBL_7_crit_edge, label LBL_6 LBL_5: %.pre12 = and i64 %0, 4294967295 store i64 %.pre12, i64* %.pre-phi13.reg2mem br label LBL_7 LBL_6: %10 = sub nsw i64 32, %2 %11 = and i64 %10, 4294967295 %12 = and i64 %0, 4294967295 %13 = call i64 @FUNC(i64 %12, i64 %11) store i64 %12, i64* %.pre-phi13.reg2mem br label LBL_7 LBL_7: %.pre-phi13.reload = load i64, i64* %.pre-phi13.reg2mem %14 = call i64 @FUNC(i64 %.pre-phi13.reload, i64 %.pre-phi13.reload, i32 %6) store i64 %14, i64* %rax.0.reg2mem br label LBL_28 LBL_8: %15 = trunc i64 %2 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false %18 = trunc i64 %3 to i32 %19 = icmp eq i32 %18, 0 br i1 %17, label LBL_12, label LBL_9 LBL_9: %.pre16 = and i64 %0, 4294967295 br i1 %19, label LBL_11, label LBL_10 LBL_10: %20 = call i64 @FUNC(i64 %.pre16, i64 %.pre16, i64 31) %21 = call i64 @FUNC(i64 %.pre16) br label LBL_11 LBL_11: %22 = call i64 @FUNC(i64 %.pre16, i64 0) store i64 %22, i64* %rax.0.reg2mem br label LBL_28 LBL_12: br i1 %19, label LBL_12.LBL_15_crit_edge, label LBL_14 LBL_13: %.pre14 = and i64 %0, 4294967295 store i64 %.pre14, i64* %.pre-phi15.reg2mem br label LBL_15 LBL_14: %23 = add nsw i64 %2, 4294967295 %24 = and i64 %23, 4294967295 %25 = and i64 %0, 4294967295 %26 = call i64 @FUNC(i64 %25, i64 %24) store i64 %25, i64* %.pre-phi15.reg2mem br label LBL_15 LBL_15: %.pre-phi15.reload = load i64, i64* %.pre-phi15.reg2mem %27 = and i64 %2, 4294967295 %28 = call i64 @FUNC(i64 %.pre-phi15.reload, i64 %.pre-phi15.reload, i64 %27) store i64 %28, i64* %rax.0.reg2mem br label LBL_28 LBL_16: %29 = trunc i64 %2 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false %spec.select = select i1 %31, i64 %2, i64 32 %32 = trunc i64 %3 to i32 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_16.LBL_19_crit_edge, label LBL_18 LBL_17: %.pre10 = and i64 %0, 4294967295 store i64 %.pre10, i64* %.pre-phi11.reg2mem br label LBL_19 LBL_18: %34 = add nsw i64 %spec.select, 4294967295 %35 = and i64 %34, 4294967295 %36 = and i64 %0, 4294967295 %37 = call i64 @FUNC(i64 %36, i64 %35) store i64 %36, i64* %.pre-phi11.reg2mem br label LBL_19 LBL_19: %.pre-phi11.reload = load i64, i64* %.pre-phi11.reg2mem %38 = trunc i64 %spec.select to i32 %39 = icmp eq i32 %38, 32 %40 = icmp eq i1 %39, false %41 = select i1 %40, i32 %38, i32 31 %42 = call i64 @FUNC(i64 %.pre-phi11.reload, i64 %.pre-phi11.reload, i32 %41) store i64 %42, i64* %rax.0.reg2mem br label LBL_28 LBL_20: %43 = trunc i64 %2 to i32 %44 = icmp eq i32 %43, 0 br i1 %44, label LBL_25, label LBL_21 LBL_21: %45 = trunc i64 %3 to i32 %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_21.LBL_24_crit_edge, label LBL_23 LBL_22: %.pre8 = and i64 %0, 4294967295 store i64 %.pre8, i64* %.pre-phi9.reg2mem br label LBL_24 LBL_23: %47 = add nsw i64 %2, 4294967295 %48 = and i64 %47, 4294967295 %49 = and i64 %0, 4294967295 %50 = call i64 @FUNC(i64 %49, i64 %48) store i64 %49, i64* %.pre-phi9.reg2mem br label LBL_24 LBL_24: %.pre-phi9.reload = load i64, i64* %.pre-phi9.reg2mem %51 = call i64 @FUNC(i64 %.pre-phi9.reload, i64 %.pre-phi9.reload, i32 %43) store i64 %51, i64* %rax.0.reg2mem br label LBL_28 LBL_25: %52 = call i64 @FUNC(i64 0) %53 = trunc i64 %3 to i32 %54 = icmp eq i32 %53, 0 %.pre = and i64 %0, 4294967295 br i1 %54, label LBL_27, label LBL_26 LBL_26: %55 = call i64 @FUNC(i64 %.pre, i64 0) br label LBL_27 LBL_27: %56 = trunc i64 %52 to i32 %57 = call i64 @FUNC(i64 %.pre, i64 %.pre, i64 1) %58 = and i64 %52, 4294967295 %59 = call i64 @FUNC(i64 %58, i64 %58, i32 31) %60 = call i64 @FUNC(i64 %.pre, i64 %.pre, i32 %56) %61 = call i64 @FUNC(i64 %58) store i64 %61, i64* %rax.0.reg2mem br label LBL_28 LBL_28: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.pre, { 0, 1, 3, 2, 4 } uselistorder i64 %.pre-phi9.reload, { 1, 0 } uselistorder i64 %.pre-phi11.reload, { 1, 0 } uselistorder i64 %.pre-phi15.reload, { 1, 0 } uselistorder i64 %.pre16, { 0, 3, 1, 2 } uselistorder i1 %19, { 1, 0 } uselistorder i64 %.pre-phi13.reload, { 1, 0 } uselistorder i64 %3, { 1, 4, 0, 2, 3 } uselistorder i64 %2, { 8, 7, 0, 6, 1, 3, 2, 5, 4 } uselistorder i64 %0, { 5, 9, 4, 8, 3, 6, 1, 0, 7, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 2, 1, 3 } uselistorder i32 31, { 1, 0 } uselistorder i32 32, { 5, 0, 1, 2, 3, 4 } uselistorder i64 (i64, i64, i64)* @tcg_gen_shri_i32, { 2, 1, 0 } uselistorder i64 (i64, i64, i32)* @tcg_gen_shli_i32, { 1, 0 } uselistorder i64 (i64, i64)* @shifter_out_im, { 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 6, 5, 8, 9, 10, 4, 11, 12, 13, 3, 16, 17, 18, 19, 1, 0, 14, 15, 2, 20, 21, 7, 22, 23, 24, 25 } uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 0, 11, 1, 12, 13, 14, 15 } uselistorder i32 3, { 1, 0 } uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_28, { 3, 4, 5, 6, 7, 2, 1, 0, 8 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
XFormSampler16_9295
XFormSampler16
define i64 @FUNC(i16* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %xmm0.04.reg2mem = alloca i128 %indvars.iv6.reg2mem = alloca i64 %rdx = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg3 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %3 = ptrtoint i64* %sv_2 to i64 %4 = trunc i64 %1 to i32 %5 = icmp ult i32 %4, 16 %6 = zext i1 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp ult i32 %10, 16 %12 = zext i1 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = icmp eq i32 %4, 0 br i1 %14, label LBL_3, label LBL_1 LBL_1: %15 = ptrtoint i16* %arg1 to i64 %16 = bitcast i64* %rdx to i32* %17 = add i64 %3, -96 store i64 0, i64* %indvars.iv6.reg2mem br label LBL_2 LBL_2: %xmm0.04.reload = load i128, i128* %xmm0.04.reg2mem %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem %18 = mul i64 %indvars.iv6.reload, 2 %19 = add i64 %18, %15 %20 = inttoptr i64 %19 to i16* %21 = load i16, i16* %20, align 2 %22 = call i128 @FUNC(i128 %xmm0.04.reload, i128 %xmm0.04.reload) %23 = zext i16 %21 to i32 %24 = call i128 @FUNC(i32 %23) %25 = call i128 @FUNC(i64 4679239875398991872) %26 = call i128 @FUNC(i128 %24, i128 %25) %27 = call i128 @FUNC(i128 %26) %28 = call i64 @__asm_movss.1(i128 %27) %29 = mul i64 %indvars.iv6.reload, 4 %30 = add i64 %17, %29 %31 = trunc i64 %28 to i32 %32 = inttoptr i64 %30 to i32* store i32 %31, i32* %32, align 4 %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1 %33 = load i32, i32* %16, align 8 %34 = zext i32 %33 to i64 %35 = icmp ult i64 %indvars.iv.next7, %34 store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem store i128 %27, i128* %xmm0.04.reg2mem br i1 %35, label LBL_2, label LBL_3 LBL_3: %36 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_1, i64 %2) %37 = load i32, i32* %9, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_6, label LBL_4 LBL_4: %39 = ptrtoint i64* %arg2 to i64 %40 = add i64 %3, -160 store i64 0, i64* %indvars.iv.reg2mem br label LBL_5 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %41 = mul i64 %indvars.iv.reload, 4 %42 = add i64 %40, %41 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = call i128 @FUNC(i32 %44) %46 = call i128 @FUNC(i32 1199570688) %47 = call i128 @FUNC(i128 %45, i128 %46) %48 = call i32 @FUNC(i128 %47) %49 = mul i64 %indvars.iv.reload, 2 %50 = add i64 %49, %39 %51 = call i128 @__asm_movd.2(i32 %48) %52 = call i64 @FUNC() %53 = trunc i64 %52 to i16 %54 = inttoptr i64 %50 to i16* store i16 %53, i16* %54, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %55 = load i32, i32* %9, align 4 %56 = zext i32 %55 to i64 %57 = icmp ult i64 %indvars.iv.next, %56 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %57, label LBL_5, label LBL_6 LBL_6: ret i64 1 uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %indvars.iv6.reload, { 0, 2, 1 } uselistorder i128 %xmm0.04.reload, { 1, 0 } uselistorder i32* %9, { 1, 0, 2 } uselistorder i64* %indvars.iv6.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm0.04.reg2mem, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i128 (i32)* @__asm_movss, { 1, 2, 3, 4, 0 } uselistorder i64 (i128)* @__asm_movss.1, { 1, 2, 3, 0 } uselistorder i64 4, { 0, 1, 3, 2, 4 } uselistorder i64 (i64)* @_cmsAssert, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
vhost_user_reset_device_15128
vhost_user_reset_device
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 store i32 1, i32* %sv_0, align 4 %1 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0, i64 0, i64 0) ret i64 0 }
1
BinRealVul
decode_iccp_chunk_17296
decode_iccp_chunk
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %4 = ptrtoint i64* %sv_3 to i64 %5 = add i64 %3, 8 %6 = add i64 %4, -112 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = call i64 @FUNC(i64 %5) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %8 = trunc i64 %7 to i8 %9 = add i64 %6, %indvars.iv.reload %10 = inttoptr i64 %9 to i8* store i8 %8, i8* %10, align 1 %11 = icmp ne i8 %8, 0 %12 = icmp ult i64 %indvars.iv.next, 81 %or.cond = icmp eq i1 %12, %11 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_2: %13 = and i64 %7, 4294967295 br i1 %12, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %15 = call i64 @FUNC(i64 %5) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_6: %19 = trunc i64 %indvars.iv.next to i32 %20 = trunc i64 %arg2 to i32 %21 = sub i32 %20, %19 %22 = icmp sgt i32 %21, 0 %23 = select i1 %22, i32 %21, i32 0 %24 = icmp slt i32 %23, 1 %.op = add nsw i32 %23, -1 %25 = select i1 %24, i32 0, i32 %.op %26 = sext i32 %25 to i64 %27 = inttoptr i64 %5 to i64* %28 = load i64, i64* %27, align 8 %29 = add i64 %28, %26 %30 = bitcast i32* %sv_2 to i64* %31 = call i64 @FUNC(i64* nonnull %30, i64 %28, i64 %29) %32 = trunc i64 %31 to i32 %33 = icmp slt i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_8, label LBL_7 LBL_7: %35 = and i64 %31, 4294967295 store i64 %35, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %36 = ptrtoint i64* %arg3 to i64 %37 = call i64 @FUNC(i64* nonnull %30, i64* nonnull %sv_1) %38 = load i32, i32* %sv_2, align 4 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 %36, i64 1, i64 %39) %41 = icmp eq i64 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_10, label LBL_9 LBL_9: %43 = load i64, i64* %sv_1, align 8 %44 = call i64 @FUNC(i64 %43) br label LBL_10 LBL_10: %45 = add i64 %40, 16 %46 = call i64 @FUNC(i64 %45, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0, i64 0) %47 = load i32, i32* %sv_2, align 4 %48 = load i64, i64* %sv_1, align 8 %49 = inttoptr i64 %40 to i64* %50 = load i64, i64* %49, align 8 %51 = inttoptr i64 %50 to i64* %52 = inttoptr i64 %48 to i64* %53 = call i64* @memcpy(i64* %51, i64* %52, i32 %47) %54 = load i64, i64* %sv_1, align 8 %55 = call i64 @FUNC(i64 %54) %56 = add nsw i64 %26, 4 %57 = and i64 %56, 4294967295 %58 = call i64 @FUNC(i64 %5, i64 %57) 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 %40, { 1, 0, 2 } uselistorder i64 %28, { 1, 0 } uselistorder i64 %26, { 1, 0 } uselistorder i64 %13, { 1, 0 } uselistorder i1 %12, { 1, 0 } uselistorder i64 %indvars.iv.next, { 1, 0, 2 } uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i64 %5, { 0, 1, 3, 2, 4, 5 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i64* %sv_1, { 1, 2, 3, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @av_free, { 1, 0 } uselistorder i32 0, { 3, 0, 1, 2, 4 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 4294967295, { 4, 3, 1, 0, 2 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64 (i64)* @bytestream2_get_byte, { 1, 0 } }
1
BinRealVul
twin_decode_close_2883
twin_decode_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %1 = mul i64 %indvars.iv.reload, 8 %2 = add i64 %1, %0 %3 = add i64 %2, 56 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %2, 32 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %9 = call i64 @FUNC(i64 %7) %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = add i64 %0, 24 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20) ret i64 0 uselistorder i64 %0, { 1, 3, 2, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @av_free, { 3, 2, 1, 0, 4 } uselistorder i64 8, { 1, 0 } }
0
BinRealVul
suggest_default_idmap_7542
suggest_default_idmap
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i8*, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %sv_5 = alloca i32, align 4 store i32 0, i32* %sv_5, align 4 store i32 0, i32* %sv_4, align 4 store i32 0, i32* %sv_3, align 4 store i32 0, i32* %sv_2, align 4 store i64 0, i64* %sv_1, align 8 store i8* null, i8** %sv_0, align 8 %0 = call i64 @FUNC() %1 = icmp eq i64 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_31, label LBL_1 LBL_1: %2 = call i64 @FUNC() %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_2 LBL_2: %5 = inttoptr i64 %0 to i64* call void @free(i64* %5) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_31 LBL_3: %6 = load i64, i64* bitcast ([3 x i8*]* @gv_0 to i64*), align 16 %7 = inttoptr i64 %6 to i8* %8 = call %_IO_FILE* @fopen(i8* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0)) %9 = icmp eq %_IO_FILE* %8, null %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_5 LBL_4: %11 = inttoptr i64 %0 to i8* %12 = bitcast i64* %sv_1 to i32* %13 = call i32 @getline(i8** nonnull %sv_0, i32* nonnull %12, %_IO_FILE* %8) %14 = icmp eq i32 %13, -1 %15 = icmp eq i1 %14, false br i1 %15, label LBL_6, label LBL_15 LBL_5: %16 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %17 = call i32 @fwrite(i64* bitcast ([44 x i8]* @gv_3 to i64*), i32 1, i32 43, %_IO_FILE* %16) %18 = inttoptr i64 %2 to i64* call void @free(i64* %18) %19 = inttoptr i64 %0 to i64* call void @free(i64* %19) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_31 LBL_6: %20 = load i8*, i8** %sv_0, align 8 %21 = call i8* @strchr(i8* %20, i32 58) %22 = load i8*, i8** %sv_0, align 8 %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 35 %25 = icmp eq i8* %21, null %26 = or i1 %25, %24 %27 = icmp eq i1 %26, false br i1 %27, label LBL_7, label LBL_13 LBL_7: store i8 0, i8* %21, align 1 %28 = load i8*, i8** %sv_0, align 8 %29 = call i32 @strcmp(i8* %28, i8* %11) %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_8, label LBL_13 LBL_8: %31 = ptrtoint i8* %21 to i64 %32 = add i64 %31, 1 %33 = inttoptr i64 %32 to i8* %34 = call i8* @strchr(i8* %33, i32 58) %35 = icmp eq i8* %34, null %36 = icmp eq i1 %35, false br i1 %36, label LBL_9, label LBL_13 LBL_9: store i8 0, i8* %34, align 1 %37 = ptrtoint i8* %34 to i64 %38 = add i64 %37, 1 %39 = inttoptr i64 %38 to i8* %40 = load i8, i8* %39, align 1 %41 = icmp eq i8 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_10, label LBL_13 LBL_10: %43 = call i32 @strcspn(i8* %39, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0)) %44 = sext i32 %43 to i64 %45 = add i64 %38, %44 %46 = inttoptr i64 %45 to i8* store i8 0, i8* %46, align 1 %47 = call i64 @FUNC(i64 %32, i32* nonnull %sv_5) %48 = trunc i64 %47 to i32 %49 = icmp slt i32 %48, 0 %50 = icmp eq i1 %49, false br i1 %50, label LBL_12, label LBL_11 LBL_11: %51 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %52 = call i32 @fwrite(i64* bitcast ([30 x i8]* @gv_5 to i64*), i32 1, i32 29, %_IO_FILE* %51) br label LBL_12 LBL_12: %53 = call i64 @FUNC(i64 %38, i32* nonnull %sv_4) %54 = trunc i64 %53 to i32 %55 = icmp slt i32 %54, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_13, label LBL_14 LBL_13: %57 = call i32 @getline(i8** nonnull %sv_0, i32* nonnull %12, %_IO_FILE* %8) %58 = icmp eq i32 %57, -1 %59 = icmp eq i1 %58, false br i1 %59, label LBL_6, label LBL_15 LBL_14: %60 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %61 = call i32 @fwrite(i64* bitcast ([36 x i8]* @gv_6 to i64*), i32 1, i32 35, %_IO_FILE* %60) br label LBL_13 LBL_15: %62 = call i32 @fclose(%_IO_FILE* %8) %63 = load i64, i64* bitcast ([2 x i8*]* @gv_7 to i64*), align 8 %64 = inttoptr i64 %63 to i8* %65 = call %_IO_FILE* @fopen(i8* %64, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0)) %66 = icmp eq %_IO_FILE* %65, null %67 = icmp eq i1 %66, false br i1 %67, label LBL_16, label LBL_17 LBL_16: %68 = call i32 @getline(i8** nonnull %sv_0, i32* nonnull %12, %_IO_FILE* %65) %69 = icmp eq i32 %68, -1 %70 = icmp eq i1 %69, false br i1 %70, label LBL_18, label LBL_27 LBL_17: %71 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %72 = call i32 @fwrite(i64* bitcast ([44 x i8]* @gv_8 to i64*), i32 1, i32 43, %_IO_FILE* %71) %73 = inttoptr i64 %2 to i64* call void @free(i64* %73) %74 = inttoptr i64 %0 to i64* call void @free(i64* %74) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_31 LBL_18: %75 = load i8*, i8** %sv_0, align 8 %76 = call i8* @strchr(i8* %75, i32 58) %77 = load i8*, i8** %sv_0, align 8 %78 = load i8, i8* %77, align 1 %79 = icmp eq i8 %78, 35 %80 = icmp eq i8* %76, null %81 = or i1 %80, %79 %82 = icmp eq i1 %81, false br i1 %82, label LBL_19, label LBL_25 LBL_19: store i8 0, i8* %76, align 1 %83 = load i8*, i8** %sv_0, align 8 %84 = call i32 @strcmp(i8* %83, i8* %11) %85 = icmp eq i32 %84, 0 br i1 %85, label LBL_20, label LBL_25 LBL_20: %86 = ptrtoint i8* %76 to i64 %87 = add i64 %86, 1 %88 = inttoptr i64 %87 to i8* %89 = call i8* @strchr(i8* %88, i32 58) %90 = icmp eq i8* %89, null %91 = icmp eq i1 %90, false br i1 %91, label LBL_21, label LBL_25 LBL_21: store i8 0, i8* %89, align 1 %92 = ptrtoint i8* %89 to i64 %93 = add i64 %92, 1 %94 = inttoptr i64 %93 to i8* %95 = load i8, i8* %94, align 1 %96 = icmp eq i8 %95, 0 %97 = icmp eq i1 %96, false br i1 %97, label LBL_22, label LBL_25 LBL_22: %98 = call i32 @strcspn(i8* %94, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0)) %99 = sext i32 %98 to i64 %100 = add i64 %93, %99 %101 = inttoptr i64 %100 to i8* store i8 0, i8* %101, align 1 %102 = call i64 @FUNC(i64 %87, i32* nonnull %sv_3) %103 = trunc i64 %102 to i32 %104 = icmp slt i32 %103, 0 %105 = icmp eq i1 %104, false br i1 %105, label LBL_24, label LBL_23 LBL_23: %106 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %107 = call i32 @fwrite(i64* bitcast ([30 x i8]* @gv_9 to i64*), i32 1, i32 29, %_IO_FILE* %106) br label LBL_24 LBL_24: %108 = call i64 @FUNC(i64 %93, i32* nonnull %sv_2) %109 = trunc i64 %108 to i32 %110 = icmp slt i32 %109, 0 %111 = icmp eq i1 %110, false br i1 %111, label LBL_25, label LBL_26 LBL_25: %112 = call i32 @getline(i8** nonnull %sv_0, i32* nonnull %12, %_IO_FILE* %65) %113 = icmp eq i32 %112, -1 %114 = icmp eq i1 %113, false br i1 %114, label LBL_18, label LBL_27 LBL_26: %115 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %116 = call i32 @fwrite(i64* bitcast ([36 x i8]* @gv_10 to i64*), i32 1, i32 35, %_IO_FILE* %115) br label LBL_25 LBL_27: %117 = call i32 @fclose(%_IO_FILE* %65) %118 = load i8*, i8** %sv_0, align 8 %119 = bitcast i8* %118 to i64* call void @free(i64* %119) %120 = load i32, i32* %sv_4, align 4 %121 = icmp eq i32 %120, 0 br i1 %121, label LBL_29, label LBL_28 LBL_28: %122 = load i32, i32* %sv_2, align 4 %123 = icmp eq i32 %122, 0 %124 = icmp eq i1 %123, false br i1 %124, label LBL_30, label LBL_29 LBL_29: %125 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %126 = call i32 @fwrite(i64* bitcast ([46 x i8]* @gv_11 to i64*), i32 1, i32 45, %_IO_FILE* %125) %127 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %128 = call i32 @fwrite(i64* bitcast ([53 x i8]* @gv_12 to i64*), i32 1, i32 52, %_IO_FILE* %127) %129 = inttoptr i64 %0 to i64* call void @free(i64* %129) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_31 LBL_30: %130 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %131 = call i32 @fwrite(i64* bitcast ([53 x i8]* @gv_13 to i64*), i32 1, i32 52, %_IO_FILE* %130) %132 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %133 = call i32 @fwrite(i64* bitcast ([54 x i8]* @gv_14 to i64*), i32 1, i32 53, %_IO_FILE* %132) %134 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %135 = call i32 @fwrite(i64* bitcast ([29 x i8]* @gv_15 to i64*), i32 1, i32 28, %_IO_FILE* %134) %136 = load [13 x i8]*, [13 x i8]** @gv_16, align 8 %137 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %138 = getelementptr inbounds [13 x i8], [13 x i8]* %136, i64 0, i64 0 %139 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %137, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_17, i64 0, i64 0), i8* %138) %140 = load i32, i32* %sv_4, align 4 %141 = load i32, i32* %sv_5, align 4 %142 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %143 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %142, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_18, i64 0, i64 0), i32 %141, i32 %140) %144 = load i32, i32* %sv_2, align 4 %145 = load i32, i32* %sv_3, align 4 %146 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %147 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %146, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_19, i64 0, i64 0), i32 %145, i32 %144) %148 = inttoptr i64 %2 to i64* call void @free(i64* %148) %149 = inttoptr i64 %0 to i64* call void @free(i64* %149) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_31 LBL_31: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %93, { 1, 0, 2 } uselistorder i8* %89, { 1, 0, 2 } uselistorder i8* %76, { 2, 1, 0 } uselistorder %_IO_FILE* %65, { 1, 2, 0, 3 } uselistorder i64 %38, { 1, 0, 2 } uselistorder i8* %34, { 1, 0, 2 } uselistorder i8* %21, { 2, 1, 0 } uselistorder i32* %12, { 0, 1, 3, 2 } uselistorder %_IO_FILE* %8, { 1, 2, 0, 3 } uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64 %0, { 0, 1, 2, 3, 5, 4, 6 } uselistorder i32* %sv_5, { 1, 0, 2 } uselistorder i32* %sv_4, { 1, 2, 0, 3 } uselistorder i32* %sv_3, { 1, 0, 2 } uselistorder i32* %sv_2, { 1, 2, 0, 3 } uselistorder i8** %sv_0, { 9, 11, 8, 7, 6, 1, 10, 5, 4, 3, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 2, 1, 6 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0, 2 } uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 } uselistorder i32 35, { 1, 0 } uselistorder i32 29, { 1, 0 } uselistorder i64 (i64, i32*)* @lxc_safe_uint, { 3, 2, 1, 0 } uselistorder i32 (i8*, i8*)* @strcspn, { 1, 0 } uselistorder i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0), { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 } uselistorder i8 35, { 1, 0 } uselistorder i8* (i8*, i32)* @strchr, { 1, 3, 2, 0 } uselistorder i32 58, { 2, 3, 0, 1 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 10, 4, 9, 1, 3, 8, 2, 5, 7, 6, 0 } uselistorder %_IO_FILE** @gv_2, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 -1, { 2, 1, 3, 0 } uselistorder i32 (i8**, i32*, %_IO_FILE*)* @getline, { 3, 1, 2, 0 } uselistorder i64 ptrtoint (i32* @0 to i64), { 3, 4, 2, 1, 0 } uselistorder void (i64*)* @free, { 0, 8, 7, 5, 4, 3, 2, 1, 6 } uselistorder i1 false, { 8, 9, 4, 5, 6, 7, 3, 1, 14, 15, 10, 11, 12, 13, 2, 0, 16, 17 } uselistorder i8* null, { 3, 0, 2, 1, 4 } uselistorder i32 0, { 13, 14, 10, 11, 12, 15, 16, 17, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5 } uselistorder i32 1, { 6, 7, 8, 9, 10, 4, 5, 11, 2, 3, 12, 19, 18, 17, 16, 15, 13, 0, 14, 1 } uselistorder label LBL_31, { 1, 2, 3, 4, 5, 0 } uselistorder label LBL_25, { 1, 0, 5, 4, 3, 2 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_13, { 1, 0, 5, 4, 3, 2 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
scsi_bus_legacy_handle_cmdline_16526
scsi_bus_legacy_handle_cmdline
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = ptrtoint i32* %arg1 to i64 store i32 0, i32* %storemerge2.reg2mem br label LBL_1 LBL_1: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %4 = call i64 @FUNC(i64 1, i64 %2, i32 %storemerge2.reload) %5 = icmp eq i64 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %3, i64 %4, i32 %storemerge2.reload) store i64 %6, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %7 = add nuw nsw i32 %storemerge2.reload, 1 %exitcond = icmp eq i32 %7, 8 store i32 %7, i32* %storemerge2.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge2.reload, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
unescape_quotes_17687
unescape_quotes
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.reg2mem9 = alloca i8* %sv_0.0.reg2mem = alloca i8 %sv_1.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %.reg2mem7 = alloca i8 %.reg2mem = alloca i8* %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 9, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = bitcast i64* %arg1 to i8* %3 = call i32 @strlen(i8* %2) %4 = add i32 %3, 1 %5 = call i64* @calloc(i32 1, i32 %4) %6 = icmp eq i64* %5, null %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: call void @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_4: %8 = bitcast i64* %5 to i8* %9 = load i8, i8* %2, align 1 %10 = icmp eq i8 %9, 0 %11 = icmp eq i1 %10, false store i8* %8, i8** %.reg2mem9 br i1 %11, label LBL_5, label LBL_11 LBL_5: %12 = ptrtoint i64* %arg1 to i64 %13 = trunc i64 %arg3 to i32 %14 = trunc i64 %arg2 to i32 store i8* %8, i8** %.reg2mem store i8 %9, i8* %.reg2mem7 store i64 %12, i64* %storemerge5.reg2mem br label LBL_6 LBL_6: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %.reload8 = load i8, i8* %.reg2mem7 %.reload = load i8*, i8** %.reg2mem %15 = sext i8 %.reload8 to i32 %16 = icmp eq i32 %13, %15 %17 = icmp eq i1 %16, false br i1 %17, label LBL_9, label LBL_7 LBL_7: %18 = add i64 %storemerge5.reload, 1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 0 br i1 %21, label LBL_9, label LBL_8 LBL_8: %22 = sext i8 %20 to i32 %23 = icmp eq i32 %14, %22 %24 = icmp eq i1 %23, false store i64 %18, i64* %sv_1.0.reg2mem store i8 %20, i8* %sv_0.0.reg2mem br i1 %24, label LBL_9, label LBL_10 LBL_9: store i64 %storemerge5.reload, i64* %sv_1.0.reg2mem store i8 %.reload8, i8* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem store i8 %sv_0.0.reload, i8* %.reload, align 1 %25 = ptrtoint i8* %.reload to i64 %26 = add i64 %25, 1 %27 = inttoptr i64 %26 to i8* %28 = add i64 %sv_1.0.reload, 1 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = icmp eq i8 %30, 0 %32 = icmp eq i1 %31, false store i8* %27, i8** %.reg2mem store i8 %30, i8* %.reg2mem7 store i64 %28, i64* %storemerge5.reg2mem store i8* %27, i8** %.reg2mem9 br i1 %32, label LBL_6, label LBL_11 LBL_11: %.reload10 = load i8*, i8** %.reg2mem9 store i8 0, i8* %.reload10, align 1 %33 = call i8* @strcpy(i8* %2, i8* %8) %34 = ptrtoint i8* %33 to i64 ret i64 %34 uselistorder i8* %8, { 2, 1, 0 } uselistorder i64* %5, { 1, 0 } uselistorder i8* %2, { 1, 0, 2 } uselistorder i8** %.reg2mem, { 1, 0, 2 } uselistorder i8* %.reg2mem7, { 1, 0, 2 } uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i8* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 2, 3, 1, 0 } uselistorder i1 false, { 3, 1, 2, 0, 4, 5 } uselistorder i64* %arg1, { 2, 0, 1 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
nbd_client_close_15052
nbd_client_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4, i64 0, i64 0, i64 0, i64 0) %6 = call i32 @close(i32 %3) %7 = bitcast i64* %arg1 to i32* store i32 -1, i32* %7, align 4 %8 = call i64 @FUNC(i64 %2) ret i64 %8 uselistorder i64 %1, { 1, 0 } }
1
BinRealVul
rose_stop_timer_11895
rose_stop_timer
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %0) ret i64 %1 }
1
BinRealVul
patch_instruction_11473
patch_instruction
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %2 = load i32, i32* %0 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %1) store i64 0, i64* %sv_4, align 8 store i64 0, i64* %sv_3, align 8 store i32 0, i32* %sv_2, align 4 %4 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %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_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %1, i64* nonnull %sv_4, i64* nonnull %sv_3, i32* nonnull %sv_2) br label LBL_2 LBL_2: %10 = ptrtoint i64* %arg1 to i64 %11 = icmp eq i32 %4, 1 %12 = icmp eq i1 %11, false %13 = add i64 %10, 88 %storemerge = select i1 %12, i64 %13, i64 %10 %14 = call i64 @FUNC() %15 = bitcast i32* %sv_1 to i64* %16 = call i64 @FUNC(i64 %3, i64 %arg3, i64* nonnull %15, i64 2, i64 0) %17 = load i32, i32* %sv_1, align 4 %trunc = trunc i32 %17 to i8 switch i8 %trunc, label LBL_3 [ i8 -1, label LBL_14 i8 -57, label LBL_13 ] LBL_3: %18 = urem i32 %17, 256 %19 = icmp ugt i32 %18, 199 br i1 %19, label LBL_15, label LBL_4 LBL_4: %20 = icmp eq i32 %18, 163 br i1 %20, label LBL_12, label LBL_5 LBL_5: %21 = icmp ugt i32 %18, 163 br i1 %21, label LBL_15, label LBL_6 LBL_6: %22 = icmp eq i32 %18, 161 br i1 %22, label LBL_11, label LBL_7 LBL_7: %23 = icmp ugt i32 %18, 161 br i1 %23, label LBL_15, label LBL_8 LBL_8: switch i8 %trunc, label LBL_15 [ i8 -119, label LBL_9 i8 -117, label LBL_10 ] LBL_9: %24 = urem i32 %2, 256 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %25) %27 = add i64 %26, 80 %28 = urem i64 %27, 256 %29 = call i64 @FUNC(i64 %1, i64 %arg3, i64 %28) %30 = inttoptr i64 %storemerge to i64* %31 = load i64, i64* %30, align 8 %32 = add i64 %arg3, 1 %33 = call i64 @FUNC(i64 %10, i64 %1, i64 %32, i64 %31) br label LBL_16 LBL_10: %34 = call i64 @FUNC(i64 %1, i64 %arg3, i64 144) %35 = urem i32 %2, 256 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36) %38 = mul i64 %37, 8 %39 = and i64 %38, 2040 %40 = add i64 %storemerge, 8 %41 = add i64 %40, %39 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = add i64 %arg3, 1 %45 = call i64 @FUNC(i64 %10, i64 %1, i64 %44, i64 %43) br label LBL_16 LBL_11: %46 = add i64 %storemerge, 8 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = call i64 @FUNC(i64 %10, i64 %1, i64 %arg3, i64 %48) br label LBL_16 LBL_12: %50 = add i64 %storemerge, 72 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = call i64 @FUNC(i64 %10, i64 %1, i64 %arg3, i64 %52) br label LBL_16 LBL_13: %54 = call i64 @FUNC(i64 %1, i64 %arg3, i64 104) %55 = add i64 %arg3, 6 %56 = call i64 @FUNC(i64 %3, i64 %55, i64* nonnull %sv_0, i64 4, i64 0) %57 = add i64 %arg3, 1 %58 = call i64 @FUNC(i64 %3, i64 %57, i64* nonnull %sv_0, i64 4, i64 1) %59 = inttoptr i64 %storemerge to i64* %60 = load i64, i64* %59, align 8 %61 = add i64 %arg3, 5 %62 = call i64 @FUNC(i64 %10, i64 %1, i64 %61, i64 %60) br label LBL_16 LBL_14: %63 = call i64 @FUNC(i64 %1, i64 %arg3, i64 80) %64 = add i64 %storemerge, 80 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = add i64 %arg3, 1 %68 = call i64 @FUNC(i64 %10, i64 %1, i64 %67, i64 %66) br label LBL_16 LBL_15: call void @abort() unreachable LBL_16: %69 = call i64 @FUNC() %70 = call i64 @FUNC() %71 = trunc i64 %70 to i32 %72 = icmp eq i32 %71, 0 %73 = icmp eq i1 %72, false store i64 %70, i64* %rax.0.reg2mem br i1 %73, label LBL_18, label LBL_17 LBL_17: %74 = load i32, i32* %sv_2, align 4 %75 = load i64, i64* %sv_3, align 8 %76 = load i64, i64* %sv_4, align 8 %77 = call i64 @FUNC(i64 %3, i64 %76, i64 %75, i32 %74, i64 1) %78 = call i64 @FUNC(i64 %3, i64 0) store i64 %78, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %18, { 4, 1, 3, 0, 2 } uselistorder i64 %storemerge, { 5, 4, 3, 2, 0, 1 } uselistorder i64 %10, { 5, 4, 3, 2, 0, 1, 7, 6 } uselistorder i64 %3, { 3, 2, 1, 0, 4 } uselistorder i64* %sv_4, { 1, 0, 2 } uselistorder i64* %sv_3, { 1, 0, 2 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i32 %2, { 1, 0 } uselistorder i64 %1, { 9, 10, 7, 8, 6, 5, 1, 2, 4, 3, 0, 11 } uselistorder i64 8, { 3, 4, 0, 2, 1 } uselistorder i64 (i64, i64, i64, i64)* @patch_call, { 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 0, 2, 1, 3, 4, 5 } uselistorder i64 (i64, i64, i64)* @patch_byte, { 3, 2, 1, 0 } uselistorder i64 80, { 2, 1, 0 } uselistorder i64 (i64)* @modrm_reg, { 1, 0 } uselistorder i64 (i64, i64, i64*, i64, i64)* @cpu_memory_rw_debug, { 2, 1, 0 } uselistorder i1 false, { 0, 2, 1 } uselistorder i64 ()* @kvm_enabled, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 %arg3, { 10, 11, 6, 9, 8, 7, 5, 4, 0, 1, 3, 2, 12 } }
1
BinRealVul
array_free_1346
array_free
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i64* store i64 0, i64* %3, align 8 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
0
BinRealVul
qemu_fopen_14349
qemu_fopen
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = call i64 @FUNC(i64 16) %5 = bitcast i64* %arg2 to i8* %6 = call %_IO_FILE* @fopen(i8* %arg1, i8* %5) %7 = ptrtoint %_IO_FILE* %6 to i64 %8 = inttoptr i64 %4 to i64* store i64 %7, i64* %8, align 8 %9 = icmp eq %_IO_FILE* %6, null br i1 %9, label LBL_5, label LBL_2 LBL_2: %10 = bitcast i64* %rsi to i8* %11 = load i8, i8* %10, align 8 %12 = icmp eq i8 %11, 119 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %4, i64* nonnull @gv_0) %15 = add i64 %4, 8 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 store i64 %14, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %17 = call i64 @FUNC(i64 %4, i64* nonnull @gv_1) %18 = add i64 %4, 8 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 store i64 %17, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %20 = call i64 @FUNC(i64 %4) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 4, 1, 0, 2, 3, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 (i64, i64*)* @qemu_fopen_ops, { 1, 0 } uselistorder i8 119, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i32 1, { 3, 1, 2, 0 } uselistorder label LBL_6, { 3, 1, 0, 2 } }
1
BinRealVul
jsvArrayPush_9718
jsvArrayPush
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = call i64 @FUNC(i64 %arg1) %5 = and i64 %4, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %6, i64 %arg2) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %storemerge.reg2mem br i1 %9, label LBL_3, label LBL_4 LBL_3: %10 = call i64 @FUNC(i64 %arg1, i64 %7) %11 = call i64 @FUNC(i64 %7) %12 = call i64 @FUNC(i64 %arg1) store i64 %12, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %7, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @jsvGetArrayLength, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
virtio_irq_15882
virtio_irq
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0, i64 1) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %0, i64 %6) ret i64 %7 uselistorder i64 %0, { 3, 0, 2, 1 } }
1
BinRealVul
close_slaves_984
close_slaves
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa3.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem23 = alloca i32 %.reg2mem21 = alloca i64 %storemerge24.reg2mem = alloca i64 %.reg2mem19 = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem17 = alloca i32 %.reg2mem = alloca i64 %indvars.iv10.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %.lcssa3.reg2mem br i1 %3, label LBL_8, label LBL_1 LBL_1: %4 = bitcast i64* %rdi to i32* %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %indvars.iv10.reg2mem br label LBL_2 LBL_2: %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem %8 = load i64, i64* %7, align 8 %9 = mul nuw nsw i64 %indvars.iv10.reload, 24 %10 = add i64 %8, %9 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %12, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 store i64 %8, i64* %.reg2mem store i32 %15, i32* %.reg2mem17 store i64 0, i64* %indvars.iv.reg2mem store i64 %10, i64* %.reg2mem19 store i64 %10, i64* %.lcssa.reg2mem br i1 %16, label LBL_7, label LBL_3 LBL_3: %.reload20 = load i64, i64* %.reg2mem19 %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload18 = load i32, i32* %.reg2mem17 %.reload = load i64, i64* %.reg2mem %17 = add i64 %.reload20, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = mul i64 %indvars.iv.reload, 8 %21 = add i64 %19, %20 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %storemerge24.reg2mem store i64 %.reload, i64* %.reg2mem21 store i32 %.reload18, i32* %.reg2mem23 br i1 %25, label LBL_4, label LBL_6 LBL_4: %storemerge24.reload = load i64, i64* %storemerge24.reg2mem %26 = inttoptr i64 %storemerge24.reload to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %storemerge24.reload) %29 = icmp eq i64 %27, 0 %30 = icmp eq i1 %29, false store i64 %27, i64* %storemerge24.reg2mem br i1 %30, label LBL_4, label LBL_5 LBL_5: %.pre = load i32, i32* %14, align 4 %.pre12 = load i64, i64* %7, align 8 store i64 %.pre12, i64* %.reg2mem21 store i32 %.pre, i32* %.reg2mem23 br label LBL_6 LBL_6: %.reload24 = load i32, i32* %.reg2mem23 %.reload22 = load i64, i64* %.reg2mem21 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %31 = zext i32 %.reload24 to i64 %32 = icmp ult i64 %indvars.iv.next, %31 %33 = add i64 %.reload22, %9 store i64 %.reload22, i64* %.reg2mem store i32 %.reload24, i32* %.reg2mem17 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %33, i64* %.reg2mem19 store i64 %33, i64* %.lcssa.reg2mem br i1 %32, label LBL_3, label LBL_7 LBL_7: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %34 = add i64 %.lcssa.reload, 16 %35 = call i64 @FUNC(i64 %34) %36 = load i64, i64* %7, align 8 %37 = add nuw nsw i64 %9, 8 %38 = add i64 %37, %36 %39 = call i64 @FUNC(i64 %38) %40 = add i64 %12, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %42) store i64 0, i64* %41, align 8 %44 = call i64 @FUNC(i64 %12) %45 = load i64, i64* %7, align 8 %46 = add i64 %45, %9 %47 = inttoptr i64 %46 to i64* store i64 0, i64* %47, align 8 %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1 %48 = load i32, i32* %4, align 8 %49 = zext i32 %48 to i64 %50 = icmp ult i64 %indvars.iv.next11, %49 store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem store i64 %49, i64* %.lcssa3.reg2mem br i1 %50, label LBL_2, label LBL_8 LBL_8: %.lcssa3.reload = load i64, i64* %.lcssa3.reg2mem ret i64 %.lcssa3.reload uselistorder i64 %.reload22, { 1, 0 } uselistorder i32 %.reload24, { 1, 0 } uselistorder i64 %storemerge24.reload, { 1, 0 } uselistorder i64 %9, { 0, 3, 1, 2 } uselistorder i64* %7, { 1, 2, 0, 3 } uselistorder i64* %indvars.iv10.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem17, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem19, { 2, 0, 1 } uselistorder i64* %storemerge24.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem21, { 0, 2, 1 } uselistorder i32* %.reg2mem23, { 0, 2, 1 } uselistorder i64 (i64)* @av_freep, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 8, { 3, 1, 0, 2, 4 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
cirrus_init_common_7382
cirrus_init_common
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.pre-phi5.reg2mem = alloca i32* %indvars.iv.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_4, label LBL_1 LBL_1: store i32 1, i32* @gv_0, align 4 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = mul i64 %indvars.iv.reload, 4 %4 = add i64 %3, ptrtoint (i32** @gv_1 to i64) %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: store i32 0, i32* bitcast (i32** @gv_1 to i32*), align 8 store i32 1, i32* bitcast (i64* @gv_2 to i32*), align 8 store i32 2, i32* bitcast (i64* @gv_3 to i32*), align 8 store i32 3, i32* bitcast (i64* @gv_4 to i32*), align 8 store i32 4, i32* bitcast (i64* @gv_5 to i32*), align 8 store i32 5, i32* bitcast (i64* @gv_6 to i32*), align 8 store i32 6, i32* bitcast (i64* @gv_7 to i32*), align 8 store i32 7, i32* bitcast (i64* @gv_8 to i32*), align 8 store i32 8, i32* bitcast (i64* @gv_9 to i32*), align 8 store i32 9, i32* bitcast (i64* @gv_10 to i32*), align 8 store i32 10, i32* bitcast (i64* @gv_11 to i32*), align 8 store i32 11, i32* bitcast (i64* @gv_12 to i32*), align 8 store i32 12, i32* bitcast (i64* @gv_13 to i32*), align 8 store i32 13, i32* bitcast (i64* @gv_14 to i32*), align 8 store i32 14, i32* bitcast (i64* @gv_15 to i32*), align 8 store i32 15, i32* bitcast (i64* @gv_16 to i32*), align 8 br label LBL_4 LBL_4: %6 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = call i64 @FUNC(i64 960, i64 16, i64 1, i64 4198996, i64 %6) %9 = call i64 @FUNC(i64 948, i64 2, i64 1, i64 4198996, i64 %6) %10 = call i64 @FUNC(i64 980, i64 2, i64 1, i64 4198996, i64 %6) %11 = call i64 @FUNC(i64 954, i64 1, i64 1, i64 4198996, i64 %6) %12 = call i64 @FUNC(i64 986, i64 1, i64 1, i64 4198996, i64 %6) %13 = call i64 @FUNC(i64 960, i64 16, i64 1, i64 4199003, i64 %6) %14 = call i64 @FUNC(i64 948, i64 2, i64 1, i64 4199003, i64 %6) %15 = call i64 @FUNC(i64 980, i64 2, i64 1, i64 4199003, i64 %6) %16 = call i64 @FUNC(i64 954, i64 1, i64 1, i64 4199003, i64 %6) %17 = call i64 @FUNC(i64 986, i64 1, i64 1, i64 4199003, i64 %6) %18 = call i64 @FUNC(i64 0, i64 4198832, i64 4198843, i64 %6) %19 = trunc i64 %18 to i32 %20 = add i64 %6, 856 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = and i64 %18, 4294967295 %23 = call i64 @FUNC(i64 655360, i64 131072, i64 %22) %24 = add i64 %6, 6 %25 = inttoptr i64 %24 to i8* store i8 15, i8* %25, align 1 %26 = trunc i64 %7 to i32 %27 = icmp eq i32 %26, 21574 %28 = icmp eq i1 %27, false %29 = add i64 %6, 31 %30 = inttoptr i64 %29 to i8* br i1 %28, label LBL_6, label LBL_5 LBL_5: store i8 45, i8* %30, align 1 %31 = add i64 %6, 280 %32 = inttoptr i64 %31 to i8* store i8 15, i8* %32, align 1 %33 = add i64 %6, 15 %34 = inttoptr i64 %33 to i8* store i8 -104, i8* %34, align 1 %35 = add i64 %6, 23 %36 = inttoptr i64 %35 to i8* store i8 32, i8* %36, align 1 %37 = add i64 %6, 21 %38 = inttoptr i64 %37 to i8* store i8 4, i8* %38, align 1 %39 = add i64 %6, 776 %40 = inttoptr i64 %39 to i32* store i32 4194304, i32* %40, align 4 store i32* %40, i32** %.pre-phi5.reg2mem br label LBL_7 LBL_6: store i8 34, i8* %30, align 1 %41 = add i64 %6, 15 %42 = inttoptr i64 %41 to i8* store i8 2, i8* %42, align 1 %43 = trunc i64 %arg3 to i32 %44 = icmp ne i32 %43, 0 %45 = add i64 %6, 23 %46 = inttoptr i64 %45 to i8* %. = zext i1 %44 to i8 store i8 %., i8* %46, align 1 %47 = add i64 %6, 776 %48 = inttoptr i64 %47 to i32* store i32 2097152, i32* %48, align 4 %49 = add i64 %6, 21 %50 = inttoptr i64 %49 to i8* store i8 3, i8* %50, align 1 store i32* %48, i32** %.pre-phi5.reg2mem br label LBL_7 LBL_7: %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem %51 = trunc i64 %7 to i8 %52 = add i64 %6, 551 %53 = inttoptr i64 %52 to i8* store i8 %51, i8* %53, align 1 %54 = load i32, i32* %.pre-phi5.reload, align 4 %55 = add i64 %6, 768 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = inttoptr i64 %57 to i64* %59 = call i64* @memset(i64* %58, i32 255, i32 %54) %60 = add i64 %6, 780 %61 = inttoptr i64 %60 to i32* store i32 5, i32* %61, align 4 %62 = add i64 %6, 784 %63 = inttoptr i64 %62 to i32* store i32 0, i32* %63, align 4 %64 = call i64 @FUNC(i64 0, i64 4198854, i64 4198865, i64 %6) %65 = trunc i64 %64 to i32 %66 = add i64 %6, 788 %67 = inttoptr i64 %66 to i32* store i32 %65, i32* %67, align 4 %68 = and i64 %64, 4294967295 %69 = call i64 @FUNC(i64 %68) %70 = trunc i64 %69 to i32 %71 = add i64 %6, 792 %72 = inttoptr i64 %71 to i32* store i32 %70, i32* %72, align 4 %73 = call i64 @FUNC(i64 0, i64 4198876, i64 4198887, i64 %6) %74 = trunc i64 %73 to i32 %75 = add i64 %6, 796 %76 = inttoptr i64 %75 to i32* store i32 %74, i32* %76, align 4 %77 = call i64 @FUNC(i64 0, i64 4198898, i64 4198909, i64 %6) %78 = trunc i64 %77 to i32 %79 = add i64 %6, 800 %80 = inttoptr i64 %79 to i32* store i32 %78, i32* %80, align 4 %81 = load i32, i32* %.pre-phi5.reload, align 4 %82 = add i32 %81, -1 %83 = add i64 %6, 804 %84 = inttoptr i64 %83 to i32* store i32 %82, i32* %84, align 4 %85 = load i32, i32* %.pre-phi5.reload, align 4 %86 = add i32 %85, -256 %87 = add i64 %6, 808 %88 = inttoptr i64 %87 to i32* store i32 %86, i32* %88, align 4 %89 = add i64 %6, 816 %90 = inttoptr i64 %89 to i64* store i64 4198920, i64* %90, align 8 %91 = add i64 %6, 824 %92 = inttoptr i64 %91 to i64* store i64 4198931, i64* %92, align 8 %93 = add i64 %6, 832 %94 = inttoptr i64 %93 to i64* store i64 4198942, i64* %94, align 8 %95 = add i64 %6, 840 %96 = inttoptr i64 %95 to i64* store i64 4198953, i64* %96, align 8 %97 = add i64 %6, 848 %98 = inttoptr i64 %97 to i64* store i64 4198960, i64* %98, align 8 %99 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_17, i64 0, i64 0), i64 0, i64 2, i64 4199010, i64 4199017, i64 %6) ret i64 %99 uselistorder i8* %30, { 1, 0 } uselistorder i64 %6, { 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, 1, 2, 3, 4, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32** %.pre-phi5.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64, i64)* @cpu_register_io_memory, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_read, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_write, { 4, 3, 2, 1, 0 } uselistorder i32** @gv_1, { 1, 0 } uselistorder i32 0, { 1, 2, 4, 3, 5, 0 } uselistorder i32* @gv_0, { 1, 0 } }
1
BinRealVul
cfg_tilde_expand_5796
cfg_tilde_expand
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i8* %sv_1.1.reg2mem = alloca i8* %sv_2.0.in.reg2mem = alloca %passwd* %sv_1.0.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 126 %4 = icmp eq i1 %3, false br i1 %4, label LBL_10, label LBL_1 LBL_1: %5 = add i64 %arg1, 1 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp ne i8 %7, 47 %9 = icmp eq i8 %7, 0 %10 = icmp eq i1 %9, false %or.cond = icmp eq i1 %8, %10 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %11 = call i32 @geteuid() %12 = call %passwd* @getpwuid(i32 %11) store %passwd* %12, %passwd** %sv_2.0.in.reg2mem store i8* %6, i8** %sv_1.1.reg2mem br label LBL_7 LBL_3: %13 = inttoptr i64 %arg1 to i8* %14 = call i8* @strchr(i8* %13, i32 47) %15 = icmp eq i8* %14, null %16 = icmp eq i1 %15, false store i8* %14, i8** %sv_1.0.reg2mem br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i32 @strlen(i8* %13) %18 = sext i32 %17 to i64 %19 = add i64 %18, %arg1 %20 = inttoptr i64 %19 to i8* store i8* %20, i8** %sv_1.0.reg2mem br label LBL_5 LBL_5: %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem %21 = ptrtoint i8* %sv_1.0.reload to i64 %22 = xor i64 %arg1, 4294967295 %23 = add i64 %22, %21 %24 = trunc i64 %23 to i32 %25 = add i32 %24, 1 %26 = call i64* @malloc(i32 %25) %27 = icmp eq i64* %26, null %28 = icmp eq i1 %27, false store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_6, label LBL_12 LBL_6: %29 = bitcast i64* %26 to i8* %30 = call i8* @strncpy(i8* %29, i8* %6, i32 %24) %31 = ptrtoint i64* %26 to i64 %sext = mul i64 %23, 4294967296 %32 = ashr exact i64 %sext, 32 %33 = add i64 %32, %31 %34 = inttoptr i64 %33 to i8* store i8 0, i8* %34, align 1 %35 = call %passwd* @getpwnam(i8* %29) call void @free(i64* %26) store %passwd* %35, %passwd** %sv_2.0.in.reg2mem store i8* %sv_1.0.reload, i8** %sv_1.1.reg2mem br label LBL_7 LBL_7: %sv_2.0.in.reload = load %passwd*, %passwd** %sv_2.0.in.reg2mem %36 = icmp eq %passwd* %sv_2.0.in.reload, null br i1 %36, label LBL_10, label LBL_8 LBL_8: %sv_1.1.reload = load i8*, i8** %sv_1.1.reg2mem %sv_2.0 = ptrtoint %passwd* %sv_2.0.in.reload to i64 %37 = add i64 %sv_2.0, 32 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = inttoptr i64 %39 to i8* %41 = call i32 @strlen(i8* %40) %42 = call i32 @strlen(i8* %sv_1.1.reload) %43 = add i32 %41, 1 %44 = add i32 %43, %42 %45 = call i64* @malloc(i32 %44) %46 = icmp eq i64* %45, null %47 = icmp eq i1 %46, false store i64 0, i64* %rax.0.reg2mem br i1 %47, label LBL_9, label LBL_12 LBL_9: %48 = bitcast i64* %45 to i8* %49 = load i64, i64* %38, align 8 %50 = inttoptr i64 %49 to i8* %51 = call i8* @strcpy(i8* %48, i8* %50) %52 = call i8* @strcat(i8* %48, i8* %sv_1.1.reload) store i8* %48, i8** %sv_0.1.reg2mem br label LBL_11 LBL_10: %53 = inttoptr i64 %arg1 to i8* %54 = call i8* @strdup(i8* %53) store i8* %54, i8** %sv_0.1.reg2mem br label LBL_11 LBL_11: %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem %55 = ptrtoint i8* %sv_0.1.reload to i64 store i64 %55, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %48, { 0, 2, 1 } uselistorder i64* %45, { 1, 0 } uselistorder i8* %sv_1.1.reload, { 1, 0 } uselistorder i64* %26, { 0, 1, 3, 2 } uselistorder i8* %6, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 32, { 1, 0 } uselistorder i64* null, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 2, 1, 0 } uselistorder i8 0, { 2, 0, 1 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder i64 %arg1, { 4, 1, 0, 3, 2 } uselistorder label LBL_12, { 2, 0, 1 } uselistorder label LBL_11, { 1, 0 } }
0
BinRealVul
postcopy_get_tmp_page_17083
postcopy_get_tmp_page
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i32 @getpagesize() %3 = call i64* @mmap(i64* null, i32 %2, i32 3, i32 34, i32 -1, i32 0) %4 = ptrtoint i64* %3 to i64 store i64 %4, i64* %arg1, align 8 %5 = call i32* @__errno_location() %6 = load i32, i32* %5, align 4 %7 = call i8* @strerror(i32 %6) %8 = ptrtoint i8* %7 to i64 %9 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %8) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %10 = ptrtoint i64* %arg1 to i64 store i64 %10, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* null, { 1, 0 } uselistorder i64* %arg1, { 2, 0, 1 } }
1
BinRealVul
git_index_read_10130
git_index_read
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %rdi.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 store i64 0, i64* %sv_3, align 8 %1 = add i64 %0, 32 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 store i32 %3, i32* %sv_2, align 4 %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 4294967295, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0)) store i64 %6, i64* %rax.0.reg2mem br label LBL_17 LBL_2: %sext = mul i64 %arg2, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = call i64 @FUNC(i64 %0) %9 = trunc i64 %8 to i32 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = icmp eq i32 %9, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = trunc i64 %7 to i32 %15 = icmp eq i32 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_17, label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %0) store i64 %16, i64* %rax.0.reg2mem br label LBL_17 LBL_5: %17 = ptrtoint i32* %sv_2 to i64 %18 = call i64 @FUNC(i32* nonnull %sv_2, i64 %0) %19 = trunc i64 %18 to i32 %20 = icmp slt i32 %19, 0 %21 = zext i1 %20 to i64 %22 = icmp eq i1 %20, false %23 = icmp eq i1 %22, false store i64 %21, i64* %sv_1.0.reg2mem store i64 %17, i64* %rdi.0.reg2mem br i1 %23, label LBL_7, label LBL_6 LBL_6: %24 = call i64 @FUNC(i64 %0) %25 = trunc i64 %24 to i32 %26 = icmp slt i32 %25, 0 %27 = icmp eq i1 %26, false store i64 %24, i64* %sv_1.0.reg2mem store i64 %0, i64* %rdi.0.reg2mem br i1 %27, label LBL_8, label LBL_7 LBL_7: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %28 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i64 %rdi.0.reload) %29 = and i64 %sv_1.0.reload, 4294967295 store i64 %29, i64* %rax.0.reg2mem br label LBL_17 LBL_8: %30 = icmp eq i32 %25, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_10, label LBL_9 LBL_9: %32 = trunc i64 %7 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i64 0, i64* %rax.0.reg2mem br i1 %34, label LBL_10, label LBL_17 LBL_10: %35 = call i64 @FUNC(i64* nonnull %sv_3, i64 %0) %36 = trunc i64 %35 to i32 %37 = icmp slt i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_12, label LBL_11 LBL_11: %39 = and i64 %35, 4294967295 store i64 %39, i64* %rax.0.reg2mem br label LBL_17 LBL_12: %40 = add i64 %0, 16 %41 = inttoptr i64 %40 to i64* store i64 0, i64* %41, align 8 %42 = add i64 %0, 24 %43 = call i64 @FUNC(i64 %42) %44 = call i64 @FUNC(i64 %0) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false store i32 %45, i32* %sv_0.0.reg2mem br i1 %47, label LBL_14, label LBL_13 LBL_13: %48 = load i64, i64* %sv_3, align 8 %49 = call i64 @FUNC(i64 %0, i64 %48, i64 0) %50 = trunc i64 %49 to i32 store i32 %50, i32* %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %51 = icmp eq i32 %sv_0.0.reload, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_16, label LBL_15 LBL_15: %53 = call i64 @FUNC(i64 %1, i32* nonnull %sv_2) br label LBL_16 LBL_16: %54 = call i64 @FUNC(i64* nonnull %sv_3) %55 = zext i32 %sv_0.0.reload to i64 store i64 %55, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i1 %20, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64* %sv_3, { 0, 2, 1, 3 } uselistorder i64 %0, { 1, 3, 2, 4, 5, 0, 6, 7, 8, 9, 10, 11 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 7, 4, 2, 3 } uselistorder i64 (i64)* @git_index_clear, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 0, 8, 9, 1 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 0, 8, 9, 10 } uselistorder label LBL_17, { 2, 3, 0, 4, 5, 1, 6 } }
0
BinRealVul
dlpar_parse_cc_property_5752
dlpar_parse_cc_property
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64* @calloc(i32 1, i32 24) %3 = icmp eq i64* %2, null %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_5 LBL_1: %5 = ptrtoint i64* %2 to i64 %6 = and i64 %1, 4294967295 %7 = ptrtoint i32* %arg1 to i64 %8 = add i64 %6, %7 %9 = inttoptr i64 %8 to i8* %10 = call i8* @strdup(i8* %9) %11 = ptrtoint i8* %10 to i64 store i64 %11, i64* %2, align 8 %12 = icmp eq i8* %10, null %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = bitcast i8* %10 to i64* call void @free(i64* %14) %15 = add i64 %5, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i64* call void @free(i64* %18) call void @free(i64* nonnull %2) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_3: %19 = add i64 %7, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = add i64 %5, 8 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 %25 = add i64 %7, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = add i64 %28, %7 %30 = call i64* @malloc(i32 %21) %31 = inttoptr i64 %29 to i64* %32 = call i64* @memcpy(i64* %30, i64* %31, i32 %21) %33 = ptrtoint i64* %32 to i64 %34 = add i64 %5, 16 %35 = inttoptr i64 %34 to i64* store i64 %33, i64* %35, align 8 %36 = icmp eq i64* %32, null %37 = icmp eq i1 %36, false store i64 %5, i64* %rax.0.reg2mem br i1 %37, label LBL_5, label LBL_4 LBL_4: %38 = load i64, i64* %2, align 8 %39 = inttoptr i64 %38 to i64* call void @free(i64* %39) %40 = load i64, i64* %35, align 8 %41 = inttoptr i64 %40 to i64* call void @free(i64* %41) call void @free(i64* nonnull %2) 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 i32 %21, { 1, 0, 2 } uselistorder i64 %7, { 0, 2, 3, 1 } uselistorder i64* %2, { 0, 1, 2, 3, 5, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder label LBL_5, { 2, 0, 3, 1 } }
0
BinRealVul
ixgbe_blink_led_stop_X540_4400
ixgbe_blink_led_stop_X540
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge4.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp ult i32 %0, 4 store i64 4294967295, i64* %storemerge4.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 0) %4 = trunc i64 %3 to i32 %5 = urem i32 %0, 32 %6 = icmp eq i32 %5, 0 %7 = shl i32 1, %5 %8 = sub i32 0, %7 %9 = sub i32 %8, 1 %storemerge = select i1 %6, i32 -2, i32 %9 %10 = and i32 %storemerge, %4 %11 = or i32 %10, %7 %12 = and i32 %11, %storemerge %13 = call i64 @FUNC(i64 %2, i64 0, i32 %12) %14 = call i64 @FUNC(i64 %2, i64 4) %15 = trunc i64 %14 to i32 %16 = and i32 %15, -8 %17 = call i64 @FUNC(i64 %2, i64 4, i32 %16) %18 = call i64 @FUNC(i64 %2) store i64 0, i64* %storemerge4.reg2mem br label LBL_2 LBL_2: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem ret i64 %storemerge4.reload uselistorder i32 %storemerge, { 1, 0 } uselistorder i32 %7, { 1, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0, 4 } uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i32)* @IXGBE_WRITE_REG, { 1, 0 } uselistorder i64 (i64, i64)* @IXGBE_READ_REG, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
set_interface_var_11522
set_interface_var
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = bitcast i64* %sv_0 to i8* %1 = inttoptr i64 %arg2 to i8* %2 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %0, i32 80, i8* %1) %3 = icmp ult i32 %2, 80 store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = call i32 @access(i8* nonnull %0, i32 0) %5 = icmp eq i32 %4, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_6 LBL_2: %6 = call %_IO_FILE* @fopen(i8* nonnull %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %7 = icmp eq %_IO_FILE* %6, null %8 = icmp eq i1 %7, false br i1 %8, label LBL_5, label LBL_3 LBL_3: %9 = icmp eq i64 %arg3, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_6, label LBL_4 LBL_4: %10 = call i32* @__errno_location() %11 = load i32, i32* %10, align 4 %12 = call i8* @strerror(i32 %11) %13 = ptrtoint i8* %12 to i64 %14 = zext i32 %arg4 to i64 %15 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 %arg3, i64 %14, i64 %arg1, i64 %13) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %16 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i32 %arg4) %17 = call i32 @fclose(%_IO_FILE* %6) 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 %_IO_FILE* %6, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 3, 4 } uselistorder i64 4294967295, { 1, 0, 2, 3 } uselistorder i32 1, { 3, 2, 4, 1, 0 } uselistorder i32 %arg4, { 1, 0 } uselistorder label LBL_6, { 4, 1, 0, 2, 3 } }
1
BinRealVul
av_estimate_timings_from_pts_7448
av_estimate_timings_from_pts
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge2.lcssa.reg2mem = alloca i32 %storemerge25.reg2mem = alloca i32 %.reg2mem31 = alloca i64 %sv_0.17.reg2mem = alloca i32 %storemerge3.lcssa.reg2mem = alloca i32 %storemerge38.reg2mem = alloca i32 %.reg2mem29 = alloca i64 %sv_0.011.reg2mem = alloca i32 %.reg2mem27 = alloca i32 %.reg2mem25 = alloca i32 %.reg2mem23 = alloca i32 %storemerge412.reg2mem = alloca i32 %.reg2mem21 = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = add i64 %3, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = add i64 %0, 24 %10 = call i64 @FUNC(i64 %9) br label LBL_3 LBL_3: store i64 0, i64* %2, align 8 %11 = call i64 @FUNC(i64 %0) %12 = bitcast i64* %rdi to i32* %13 = load i32, i32* %12, align 8 %14 = icmp eq i32 %13, 0 %.pre18 = add i64 %0, 8 %.pre19 = inttoptr i64 %.pre18 to i64* store i32 %13, i32* %.reg2mem store i64 0, i64* %.reg2mem21 store i32 0, i32* %storemerge412.reg2mem store i32 0, i32* %.reg2mem25 br i1 %14, label LBL_7, label LBL_4 LBL_4: %storemerge412.reload = load i32, i32* %storemerge412.reg2mem %.reload22 = load i64, i64* %.reg2mem21 %.reload = load i32, i32* %.reg2mem %15 = load i64, i64* %.pre19, align 8 %16 = mul i64 %.reload22, 8 %17 = add i64 %15, %16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %19, 16 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 store i32 %.reload, i32* %.reg2mem23 br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 %22) store i64 0, i64* %21, align 8 %.pre = load i32, i32* %12, align 8 store i32 %.pre, i32* %.reg2mem23 br label LBL_6 LBL_6: %.reload24 = load i32, i32* %.reg2mem23 %25 = add i32 %storemerge412.reload, 1 %26 = zext i32 %.reload24 to i64 %27 = sext i32 %25 to i64 %28 = icmp slt i64 %27, %26 store i32 %.reload24, i32* %.reg2mem store i64 %27, i64* %.reg2mem21 store i32 %25, i32* %storemerge412.reg2mem store i32 %.reload24, i32* %.reg2mem25 br i1 %28, label LBL_4, label LBL_7 LBL_7: %29 = bitcast i64* %sv_1 to i32* %.reload26 = load i32, i32* %.reg2mem25 %30 = add i64 %0, 40 %31 = call i64 @FUNC(i64 %30, i64 0, i64 0) %32 = ptrtoint i64* %sv_1 to i64 %33 = add i64 %32, 8 %34 = inttoptr i64 %33 to i64* %35 = or i64 %32, 4 %36 = inttoptr i64 %35 to i32* store i32 %.reload26, i32* %.reg2mem27 store i32 0, i32* %sv_0.011.reg2mem br label LBL_8 LBL_8: %sv_0.011.reload = load i32, i32* %sv_0.011.reg2mem %.reload28 = load i32, i32* %.reg2mem27 %37 = icmp eq i32 %.reload28, 0 store i32 0, i32* %storemerge3.lcssa.reg2mem br i1 %37, label LBL_12, label LBL_9 LBL_9: %38 = load i64, i64* %.pre19, align 8 %39 = zext i32 %.reload28 to i64 store i64 0, i64* %.reg2mem29 store i32 0, i32* %storemerge38.reg2mem br label LBL_10 LBL_10: %storemerge38.reload = load i32, i32* %storemerge38.reg2mem %.reload30 = load i64, i64* %.reg2mem29 %40 = mul i64 %.reload30, 8 %41 = add i64 %40, %38 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = icmp eq i64 %45, -1 store i32 %storemerge38.reload, i32* %storemerge3.lcssa.reg2mem br i1 %46, label LBL_12, label LBL_11 LBL_11: %47 = add i32 %storemerge38.reload, 1 %48 = sext i32 %47 to i64 %49 = icmp slt i64 %48, %39 store i64 %48, i64* %.reg2mem29 store i32 %47, i32* %storemerge38.reg2mem store i32 %47, i32* %storemerge3.lcssa.reg2mem br i1 %49, label LBL_10, label LBL_12 LBL_12: %storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem %50 = icmp eq i32 %storemerge3.lcssa.reload, %.reload28 br i1 %50, label LBL_19, label LBL_13 LBL_13: %51 = call i64 @FUNC(i64 %0, i64 %32) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_19, label LBL_14 LBL_14: %55 = load i32, i32* %29, align 8 %56 = load i64, i64* %34, align 8 %57 = icmp eq i64 %56, -1 br i1 %57, label LBL_17, label LBL_15 LBL_15: %58 = load i32, i32* %36, align 4 %59 = sext i32 %58 to i64 %60 = mul i64 %59, 8 %61 = load i64, i64* %.pre19, align 8 %62 = add i64 %60, %61 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = icmp eq i64 %66, -1 %68 = icmp eq i1 %67, false br i1 %68, label LBL_17, label LBL_16 LBL_16: store i64 %56, i64* %65, align 8 br label LBL_17 LBL_17: %69 = add i32 %55, %sv_0.011.reload %70 = call i64 @FUNC(i64 %32) %71 = icmp sgt i32 %69, 1048575 br i1 %71, label LBL_19, label LBL_17.LBL_8_crit_edge LBL_18: %.pre17 = load i32, i32* %12, align 8 store i32 %.pre17, i32* %.reg2mem27 store i32 %69, i32* %sv_0.011.reg2mem br label LBL_8 LBL_19: %72 = add i64 %0, 32 %73 = inttoptr i64 %72 to i64* %74 = load i64, i64* %73, align 8 %75 = add i64 %74, -1048576 %76 = icmp slt i64 %75, 0 %77 = icmp eq i1 %76, false %spec.select = select i1 %77, i64 %75, i64 0 %78 = call i64 @FUNC(i64 %30, i64 %spec.select, i64 0) store i32 0, i32* %sv_0.17.reg2mem br label LBL_20 LBL_20: %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem %79 = load i32, i32* %12, align 8 %80 = icmp eq i32 %79, 0 store i32 0, i32* %storemerge2.lcssa.reg2mem br i1 %80, label LBL_24, label LBL_21 LBL_21: %81 = load i64, i64* %.pre19, align 8 %82 = zext i32 %79 to i64 store i64 0, i64* %.reg2mem31 store i32 0, i32* %storemerge25.reg2mem br label LBL_22 LBL_22: %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %.reload32 = load i64, i64* %.reg2mem31 %83 = mul i64 %.reload32, 8 %84 = add i64 %83, %81 %85 = inttoptr i64 %84 to i64* %86 = load i64, i64* %85, align 8 %87 = add i64 %86, 8 %88 = inttoptr i64 %87 to i64* %89 = load i64, i64* %88, align 8 %90 = icmp eq i64 %89, -1 store i32 %storemerge25.reload, i32* %storemerge2.lcssa.reg2mem br i1 %90, label LBL_24, label LBL_23 LBL_23: %91 = add i32 %storemerge25.reload, 1 %92 = sext i32 %91 to i64 %93 = icmp slt i64 %92, %82 store i64 %92, i64* %.reg2mem31 store i32 %91, i32* %storemerge25.reg2mem store i32 %91, i32* %storemerge2.lcssa.reg2mem br i1 %93, label LBL_22, label LBL_24 LBL_24: %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem %94 = icmp eq i32 %storemerge2.lcssa.reload, %79 br i1 %94, label LBL_31, label LBL_25 LBL_25: %95 = call i64 @FUNC(i64 %0, i64 %32) %96 = trunc i64 %95 to i32 %97 = icmp eq i32 %96, 0 %98 = icmp eq i1 %97, false br i1 %98, label LBL_31, label LBL_26 LBL_26: %99 = load i32, i32* %29, align 8 %100 = load i64, i64* %34, align 8 %101 = icmp eq i64 %100, -1 br i1 %101, label LBL_30, label LBL_27 LBL_27: %102 = load i64, i64* %.pre19, align 8 %103 = load i32, i32* %36, align 4 %104 = sext i32 %103 to i64 %105 = mul i64 %104, 8 %106 = add i64 %105, %102 %107 = inttoptr i64 %106 to i64* %108 = load i64, i64* %107, align 8 %109 = inttoptr i64 %108 to i64* %110 = load i64, i64* %109, align 8 %111 = sub i64 %100, %110 %112 = icmp slt i64 %111, 1 br i1 %112, label LBL_30, label LBL_28 LBL_28: %113 = add i64 %108, 8 %114 = inttoptr i64 %113 to i64* %115 = load i64, i64* %114, align 8 %116 = icmp eq i64 %115, -1 %117 = icmp sgt i64 %111, %115 %or.cond = or i1 %116, %117 br i1 %or.cond, label LBL_29, label LBL_30 LBL_29: store i64 %111, i64* %114, align 8 br label LBL_30 LBL_30: %118 = add i32 %99, %sv_0.17.reload %119 = call i64 @FUNC(i64 %32) %120 = icmp sgt i32 %118, 1048575 store i32 %118, i32* %sv_0.17.reg2mem br i1 %120, label LBL_31, label LBL_20 LBL_31: %121 = call i64 @FUNC(i64 %0) %122 = call i64 @FUNC(i64 %30, i64 0, i64 0) ret i64 %122 uselistorder i64 %111, { 1, 0, 2 } uselistorder i32 %storemerge25.reload, { 1, 0 } uselistorder i32 %storemerge38.reload, { 1, 0 } uselistorder i32 %.reload28, { 2, 1, 0 } uselistorder i64 %32, { 1, 0, 3, 5, 2, 4 } uselistorder i32* %29, { 1, 0 } uselistorder i32 %.reload24, { 0, 2, 1 } uselistorder i32* %12, { 2, 0, 1, 3 } uselistorder i64 %0, { 4, 3, 5, 2, 6, 0, 7, 1, 8 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem21, { 2, 0, 1 } uselistorder i32* %storemerge412.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem23, { 0, 2, 1 } uselistorder i32* %.reg2mem27, { 1, 0, 2 } uselistorder i32* %sv_0.011.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem29, { 1, 0, 2 } uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem31, { 1, 0, 2 } uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64)* @av_read_packet, { 1, 0 } uselistorder i64 -1, { 2, 3, 1, 4, 5, 0 } uselistorder i64 (i64, i64, i64)* @url_fseek, { 2, 1, 0 } uselistorder i64 8, { 6, 0, 7, 1, 2, 3, 8, 4, 5 } uselistorder i32 0, { 11, 1, 0, 8, 2, 12, 4, 3, 9, 5, 6, 7, 10 } uselistorder i64 (i64)* @av_free_packet, { 2, 1, 0 } uselistorder label LBL_31, { 2, 0, 1 } uselistorder label LBL_30, { 1, 0, 2, 3 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_19, { 2, 0, 1 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
frame_thread_init_7394
frame_thread_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64* %sv_0.1.reg2mem = alloca i64* %sv_1.0.reg2mem = alloca i64 %sv_1.13.reg2mem = alloca i64 %sv_0.24.reg2mem = alloca i64* %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp sgt i32 %3, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %7 = add i64 %2, 40 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 56) %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %sext = mul i64 %1, 4294967296 %13 = ashr exact i64 %sext, 32 %14 = ashr exact i64 %sext, 24 %15 = call i64 @FUNC(i64 %14) %16 = inttoptr i64 %10 to i64* store i64 %15, i64* %16, align 8 %17 = add i64 %10, 8 %18 = inttoptr i64 %17 to i64* %19 = call i32 @pthread_mutex_init(i64* %18, i64* null) %20 = add i64 %10, 48 %21 = inttoptr i64 %20 to i32* store i32 1, i32* %21, align 4 %22 = inttoptr i64 %9 to i64* %23 = add i64 %9, 8 %24 = inttoptr i64 %23 to i32* %25 = add i64 %9, 16 %26 = inttoptr i64 %25 to i64* store i64 0, i64* %indvars.iv.reg2mem store i64* null, i64** %sv_0.24.reg2mem store i64 %2, i64* %sv_1.13.reg2mem br label LBL_3 LBL_3: %sv_1.13.reload = load i64, i64* %sv_1.13.reg2mem %sv_0.24.reload = load i64*, i64** %sv_0.24.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %27 = call i64 @FUNC(i64 48) %28 = load i64, i64* %16, align 8 %29 = mul i64 %indvars.iv.reload, 256 %30 = add i64 %28, %29 %31 = inttoptr i64 %30 to i64* %32 = call i32 @pthread_mutex_init(i64* %31, i64* null) %33 = add i64 %30, 40 %34 = inttoptr i64 %33 to i64* %35 = call i32 @pthread_mutex_init(i64* %34, i64* null) %36 = add i64 %30, 80 %37 = inttoptr i64 %36 to i64* %38 = call i32 @pthread_cond_init(i64* %37, i64* null) %39 = add i64 %30, 128 %40 = inttoptr i64 %39 to i64* %41 = call i32 @pthread_cond_init(i64* %40, i64* null) %42 = add i64 %30, 176 %43 = inttoptr i64 %42 to i64* %44 = call i32 @pthread_cond_init(i64* %43, i64* null) %45 = add i64 %30, 224 %46 = inttoptr i64 %45 to i64* store i64 %10, i64* %46, align 8 %47 = add i64 %30, 232 %48 = inttoptr i64 %47 to i64* store i64 %27, i64* %48, align 8 %49 = icmp eq i64 %27, 0 %50 = icmp eq i1 %49, false store i64* inttoptr (i32 -12 to i64*), i64** %sv_0.3.reg2mem br i1 %50, label LBL_4, label LBL_12 LBL_4: %51 = inttoptr i64 %sv_1.13.reload to i64* %52 = load i64, i64* %51, align 8 %53 = add i64 %sv_1.13.reload, 8 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = inttoptr i64 %27 to i64* store i64 %52, i64* %56, align 8 %57 = add i64 %27, 8 %58 = inttoptr i64 %57 to i64* store i64 %55, i64* %58, align 8 %59 = add i64 %sv_1.13.reload, 16 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = add i64 %sv_1.13.reload, 24 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = add i64 %27, 16 %66 = inttoptr i64 %65 to i64* store i64 %61, i64* %66, align 8 %67 = add i64 %27, 24 %68 = inttoptr i64 %67 to i64* store i64 %64, i64* %68, align 8 %69 = add i64 %sv_1.13.reload, 32 %70 = inttoptr i64 %69 to i64* %71 = load i64, i64* %70, align 8 %72 = add i64 %sv_1.13.reload, 40 %73 = inttoptr i64 %72 to i64* %74 = load i64, i64* %73, align 8 %75 = add i64 %27, 32 %76 = inttoptr i64 %75 to i64* store i64 %71, i64* %76, align 8 %77 = add i64 %27, 40 %78 = inttoptr i64 %77 to i64* store i64 %74, i64* %78, align 8 store i64 %30, i64* %58, align 8 %79 = add i64 %30, 240 store i64 %79, i64* %66, align 8 %80 = icmp eq i64 %indvars.iv.reload, 0 %81 = icmp eq i1 %80, false br i1 %81, label LBL_6, label LBL_5 LBL_5: %82 = load i64, i64* %22, align 8 %83 = icmp eq i64 %82, 0 %84 = and i64 %27, 4294967295 %85 = inttoptr i64 %84 to i64* %sv_0.0 = select i1 %83, i64* %sv_0.24.reload, i64* %85 %86 = call i64 @FUNC(i64 %2, i64 %27, i64 1) store i64 %27, i64* %sv_1.0.reg2mem store i64* %sv_0.0, i64** %sv_0.1.reg2mem br label LBL_10 LBL_6: %87 = load i32, i32* %24, align 4 %88 = sext i32 %87 to i64 %89 = call i64 @FUNC(i64 %88) store i64 %89, i64* %68, align 8 %90 = icmp eq i64 %89, 0 %91 = icmp eq i1 %90, false store i64* inttoptr (i32 -12 to i64*), i64** %sv_0.3.reg2mem br i1 %91, label LBL_7, label LBL_12 LBL_7: %92 = load i32, i32* %24, align 4 %93 = load i64, i64* %63, align 8 %94 = inttoptr i64 %89 to i64* %95 = inttoptr i64 %93 to i64* %96 = call i64* @memcpy(i64* %94, i64* %95, i32 %92) %97 = call i64 @FUNC(i64 4) store i64 %97, i64* %76, align 8 %98 = icmp eq i64 %97, 0 %99 = icmp eq i1 %98, false store i64* inttoptr (i32 -12 to i64*), i64** %sv_0.3.reg2mem br i1 %99, label LBL_8, label LBL_12 LBL_8: %100 = load i64, i64* %70, align 8 %101 = inttoptr i64 %100 to i32* %102 = load i32, i32* %101, align 4 %103 = inttoptr i64 %97 to i32* store i32 %102, i32* %103, align 4 %104 = load i64, i64* %76, align 8 %105 = inttoptr i64 %104 to i32* store i32 1, i32* %105, align 4 %106 = load i64, i64* %26, align 8 %107 = icmp eq i64 %106, 0 store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem store i64* %sv_0.24.reload, i64** %sv_0.1.reg2mem br i1 %107, label LBL_10, label LBL_9 LBL_9: %108 = and i64 %27, 4294967295 %109 = inttoptr i64 %108 to i64* store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem store i64* %109, i64** %sv_0.1.reg2mem br label LBL_10 LBL_10: %sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem %110 = ptrtoint i64* %sv_0.1.reload to i64 %111 = trunc i64 %110 to i32 %112 = icmp eq i32 %111, 0 %113 = icmp eq i1 %112, false store i64* %sv_0.1.reload, i64** %sv_0.3.reg2mem br i1 %113, label LBL_12, label LBL_11 LBL_11: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %114 = add i64 %30, 248 %115 = inttoptr i64 %114 to i32* %116 = call i32 @pthread_create(i32* %115, i64* null, i64* (i64*)* inttoptr (i64 4198903 to i64* (i64*)*), i64* %31) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %117 = icmp slt i64 %indvars.iv.next, %13 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64* %sv_0.1.reload, i64** %sv_0.24.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.13.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %117, label LBL_3, label LBL_13 LBL_12: %sv_0.3.reload = load i64*, i64** %sv_0.3.reg2mem %118 = add nuw i64 %indvars.iv.reload, 1 %119 = and i64 %118, 4294967295 %120 = call i64 @FUNC(i64 %2, i64 %119) %121 = ptrtoint i64* %sv_0.3.reload to i64 %122 = and i64 %121, 4294967295 store i64 %122, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0.1.reload, { 2, 0, 1 } uselistorder i64 %97, { 1, 0, 2 } uselistorder i64 %89, { 1, 0, 2 } uselistorder i64 %30, { 0, 1, 2, 4, 5, 6, 3, 7, 8, 9 } uselistorder i64 %27, { 3, 0, 2, 1, 4, 5, 6, 7, 8, 9, 11, 10 } uselistorder i64 %indvars.iv.reload, { 2, 0, 1, 3 } uselistorder i64 %sv_1.13.reload, { 0, 1, 6, 2, 3, 4, 5, 7 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %9, { 1, 2, 0 } uselistorder i64 %2, { 3, 2, 0, 4, 5, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64** %sv_0.24.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.13.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64** %sv_0.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64** %sv_0.3.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 (i64*, i64*)* @pthread_cond_init, { 2, 1, 0 } uselistorder i64 (i64)* @av_malloc, { 2, 1, 0 } uselistorder i32 (i64*, i64*)* @pthread_mutex_init, { 2, 1, 0 } uselistorder i64* null, { 1, 2, 3, 4, 5, 6, 0, 7 } uselistorder i64 24, { 1, 2, 0 } uselistorder i64 32, { 1, 2, 0 } uselistorder i64 (i64)* @av_mallocz, { 1, 0 } uselistorder label LBL_13, { 1, 0, 2 } uselistorder label LBL_12, { 3, 0, 1, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
aead_release_4586
aead_release
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %arg1) ret i64 %2 }
0
BinRealVul
adu_release_4517
adu_release
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.02.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = call i64 @FUNC(i64 2, 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), i64 %3, i64 %2, i64 %1) %5 = icmp eq i64* %arg2, null %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967277, i64* %sv_0.02.reg2mem br label LBL_6 LBL_2: %8 = call i64 @FUNC(i64 add (i64 ptrtoint ([12 x i8]* @gv_0 to i64), i64 4)) br i1 xor (i1 icmp slt (i32 ptrtoint ([12 x i8]* @gv_0 to i32), i32 0), i1 icmp ne (i32 ptrtoint ([12 x i8]* @gv_0 to i32), i32 0)), label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967277, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %10 = call i64 @FUNC(i64 ptrtoint ([12 x i8]* @gv_0 to i64)) %phitmp = and i64 %10, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %11 = call i64 @FUNC(i64 add (i64 ptrtoint ([12 x i8]* @gv_0 to i64), i64 4)) store i64 %sv_0.0.reload, i64* %sv_0.02.reg2mem br label LBL_6 LBL_6: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %12 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %sv_0.02.reload, i64 %2, i64 %1) ret i64 %sv_0.02.reload uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 ptrtoint ([12 x i8]* @gv_0 to i64), { 1, 0 } uselistorder i64 4294967277, { 1, 0 } uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @dbg, { 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), { 1, 0, 2, 3 } uselistorder [12 x i8]* @gv_0, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
print_uint64_14771
print_uint64
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = bitcast i64* %arg3 to i8* %6 = trunc i64 %arg4 to i32 %7 = trunc i64 %4 to i32 %8 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %5, i32 %6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 %7) %9 = sext i32 %8 to i64 ret i64 %9 }
1
BinRealVul
encode_vlc_codeword_14010
encode_vlc_codeword
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = urem i32 %1, 4 %4 = add nuw nsw i32 %3, 1 %5 = udiv i32 %1, 32 %6 = urem i32 %5, 32 %7 = shl i32 %4, %6 %8 = trunc i64 %2 to i32 %9 = icmp ugt i32 %7, %8 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = udiv i32 %1, 4 %11 = urem i32 %10, 8 %12 = zext i32 %7 to i64 %13 = shl i32 1, %11 %storemerge3 = zext i32 %13 to i64 %14 = sub nsw i64 %2, %12 %15 = add nsw i64 %14, %storemerge3 %16 = and i64 %15, 4294967295 %17 = call i64 @FUNC(i64 %16) %18 = trunc i64 %17 to i32 %19 = sub nsw i32 %4, %11 %20 = add i32 %19, %18 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %0, i64 %21, i64 0) %23 = call i64 @FUNC(i64 %0, i64 1, i64 1) %24 = and i64 %17, 4294967295 %25 = call i64 @FUNC(i64 %0, i64 %24, i64 %16) store i64 %25, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %26 = and i64 %2, 4294967295 %27 = icmp eq i32 %6, 0 %28 = ashr i32 %8, %6 %29 = zext i32 %28 to i64 %storemerge5 = select i1 %27, i64 %26, i64 %29 %30 = icmp eq i64 %storemerge5, 0 br i1 %30, label LBL_4, label LBL_3 LBL_3: %31 = call i64 @FUNC(i64 %0, i64 %storemerge5, i64 0) br label LBL_4 LBL_4: %32 = call i64 @FUNC(i64 %0, i64 1, i64 1) %33 = icmp ult i32 %1, 32 store i64 %32, i64* %rax.0.reg2mem br i1 %33, label LBL_6, label LBL_5 LBL_5: %34 = zext i32 %5 to i64 %35 = call i64 @FUNC(i64 %0, i64 %34, i64 %26) store i64 %35, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %11, { 1, 0 } uselistorder i32 %6, { 1, 2, 0 } uselistorder i64 %2, { 2, 0, 1 } uselistorder i64 %0, { 4, 5, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 1, { 1, 0, 3, 2 } uselistorder i64 (i64, i64, i64)* @put_bits, { 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i32 32, { 0, 2, 1 } }
1
BinRealVul
dln2_transfer_complete_3703
dln2_transfer_complete
define i64 @FUNC(i64* %arg1, i64* %arg2, i16 %arg3, i16 %arg4) local_unnamed_addr { LBL_0: %sv_0.13.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp ult i16 %arg4, 10 br i1 %1, label LBL_1, label LBL_5 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = zext i16 %arg3 to i64 %6 = mul nuw nsw i64 %5, 248 %7 = add i64 %4, %6 %8 = zext i16 %arg4 to i64 %9 = mul nuw nsw i64 %8, 24 %10 = add i64 %7, %9 %11 = add i64 %7, 240 %12 = call i64 @FUNC(i64 %11) %13 = inttoptr i64 %10 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 0 br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = add i64 %10, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_3, label LBL_4 LBL_3: %21 = call i64 @FUNC(i64 %11) br label LBL_5 LBL_4: %22 = ptrtoint i64* %arg2 to i64 store i64 %22, i64* %17, align 8 %23 = add i64 %10, 16 %24 = call i64 @FUNC(i64 %23) %25 = call i64 @FUNC(i64 %11) store i64 1, i64* %sv_0.13.reg2mem br label LBL_6 LBL_5: %26 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i16 %arg3, i16 %arg4) store i64 0, i64* %sv_0.13.reg2mem br label LBL_6 LBL_6: %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem ret i64 %sv_0.13.reload uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %7, { 1, 0 } uselistorder i64* %sv_0.13.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @spin_unlock, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
recover_inode_page_7889
recover_inode_page
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %1) %sext = mul i64 %4, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = call i64 @FUNC(i64 %2, i64 %5, i64* nonnull %sv_1) %7 = icmp eq i64 %3, 0 %8 = icmp eq i1 %7, false %9 = zext i1 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 4294967274, i64* %storemerge.reg2mem br i1 %12, label LBL_1, label LBL_8 LBL_1: %13 = call i64 @FUNC(i64 %2) %14 = call i64 @FUNC(i64 %13, i64 %5, i64 0) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %14, i64* %.lcssa.reg2mem br i1 %16, label LBL_3, label LBL_2 LBL_2: %17 = call i64 @FUNC(i64 0, i64 2) %18 = call i64 @FUNC(i64 %2) %19 = call i64 @FUNC(i64 %18, i64 %5, i64 0) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64 %19, i64* %.lcssa.reg2mem br i1 %21, label LBL_3, label LBL_2 LBL_3: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %22 = call i64 @FUNC(i64 %2, i64 %5) %23 = call i64 @FUNC(i64 %.lcssa.reload) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = call i64 @FUNC(i64 %.lcssa.reload) br label LBL_5 LBL_5: %28 = call i64 @FUNC(i64 %.lcssa.reload, i64 %5, i64 %5, i64 0, i64 1) %29 = call i64 @FUNC(i64 %1) %30 = call i64 @FUNC(i64 %.lcssa.reload) %31 = inttoptr i64 %30 to i64* %32 = inttoptr i64 %29 to i64* %33 = call i64* @memcpy(i64* %31, i64* %32, i32 40) %34 = add i64 %30, 8 %35 = inttoptr i64 %34 to i64* store i64 0, i64* %35, align 8 %36 = call i64 @FUNC(i64 1) %37 = add i64 %30, 16 %38 = inttoptr i64 %37 to i64* store i64 %36, i64* %38, align 8 %39 = call i64 @FUNC(i64 1) %40 = add i64 %30, 24 %41 = inttoptr i64 %40 to i64* store i64 %39, i64* %41, align 8 %42 = add i64 %30, 32 %43 = inttoptr i64 %42 to i64* store i64 0, i64* %43, align 8 %44 = load i64, i64* %32, align 8 %45 = urem i64 %44, 2 store i64 %45, i64* %31, align 8 store i64 %5, i64* %sv_0, align 8 %46 = call i64 @FUNC(i64 %2, i64 0) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = zext i1 %48 to i64 %50 = call i64 @FUNC(i64 %49) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 br i1 %52, label LBL_7, label LBL_6 LBL_6: %53 = call i64 @FUNC(i64 1) br label LBL_7 LBL_7: %54 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 1, i64 0) %55 = call i64 @FUNC(i64 %2) %56 = call i64 @FUNC(i64 %.lcssa.reload) %57 = call i64 @FUNC(i64 %.lcssa.reload, i64 1) store i64 0, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %.lcssa.reload, { 4, 5, 2, 1, 0, 3 } uselistorder i64 %5, { 1, 2, 3, 4, 5, 0, 6 } uselistorder i64 %2, { 2, 1, 3, 4, 5, 0, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @F2FS_INODE, { 1, 0 } uselistorder i64 1, { 3, 4, 5, 6, 7, 8, 0, 1, 2 } uselistorder i64 (i64, i64, i64)* @f2fs_grab_cache_page, { 1, 0 } uselistorder i64 (i64)* @NODE_MAPPING, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0 } uselistorder i64 (i64)* @unlikely, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
sco_conn_ready_8852
sco_conn_ready
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i64* %arg1, null br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 %0) %6 = bitcast i64* %arg1 to i32* store i32 1, i32* %6, align 4 %7 = call i64 @FUNC(i64 %0) br label LBL_6 LBL_2: %8 = add i64 %0, 8 %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 br i1 %12, label LBL_6, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %11) %14 = call i64 @FUNC(i64 %11) %15 = call i64 @FUNC(i64 %14, i64 0, i64 0, i64 0) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %11) br label LBL_6 LBL_5: %19 = call i64 @FUNC(i64 %15, i64 %11) %20 = load i64, i64* %9, align 8 %21 = call i64 @FUNC(i64 %15) %22 = call i64 @FUNC(i64 %21, i64 %20) %23 = add i64 %0, 16 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %15) %27 = add i64 %26, 8 %28 = call i64 @FUNC(i64 %27, i64 %25) %29 = add i64 %0, 24 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31) %33 = call i64 @FUNC(i64 %0, i64 %15, i64 %11) %34 = inttoptr i64 %15 to i32* store i32 1, i32* %34, align 4 %35 = call i64 @FUNC(i64 %11) br label LBL_6 LBL_6: %36 = call i64 @FUNC(i64 %0) ret i64 %36 uselistorder i64 %15, { 1, 0, 2, 4, 3, 5 } uselistorder i64 %11, { 0, 1, 2, 3, 5, 4, 6 } uselistorder i64 %0, { 6, 3, 4, 5, 7, 0, 2, 1, 8, 9 } uselistorder i64 (i64, i64)* @bacpy, { 1, 0 } uselistorder i64 (i64)* @bt_sk, { 1, 0 } uselistorder i64 (i64)* @bh_unlock_sock, { 2, 1, 0 } uselistorder i64 (i64)* @bh_lock_sock, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0, 3 } }
0
BinRealVul
hidpp_get_unifying_name_17651
hidpp_get_unifying_name
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = load i32, i32* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8, align 1 store i8 0, i8* %sv_2, align 1 %3 = call i64 @FUNC(i64 %1, i64 0, i64 0, i64 0, i8* nonnull %sv_2, i64 1, i64* nonnull %sv_1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = urem i32 %2, 256 %7 = add nuw nsw i32 %6, 1 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %8, i64 0) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_3 LBL_2: %12 = inttoptr i64 %9 to i64* %13 = call i64* @memcpy(i64* %12, i64* nonnull %sv_0, i32 %6) store i64 %9, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %6, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
nr_listen_6889
nr_listen
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %1 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %5) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %10 = inttoptr i64 %5 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %5) %14 = add i64 %13, 8 %15 = inttoptr i64 %14 to i64* %16 = call i64* @memset(i64* %15, i32 0, i32 14) %17 = trunc i64 %arg2 to i32 %18 = add i64 %5, 4 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 store i32 1, i32* %10, align 4 %20 = call i64 @FUNC(i64 %5) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %21 = call i64 @FUNC(i64 %5) store i64 4294967201, 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 %5, { 3, 0, 1, 2, 5, 4, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @release_sock, { 2, 1, 0 } }
0
BinRealVul
vp9_rc_init_18729
vp9_rc_init
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %indvars.iv.reg2mem = alloca i64 %.pre-phi5.reg2mem = alloca i32* %rdi = alloca i64, align 8 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = trunc i64 %arg2 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false %8 = trunc i64 %2 to i32 %.pre7 = ptrtoint i32* %arg1 to i64 br i1 %7, label LBL_3, label LBL_1 LBL_1: %9 = add i64 %.pre7, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 1 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = bitcast i64* %arg3 to i32* store i32 %8, i32* %14, align 4 %15 = add i64 %4, 4 %16 = inttoptr i64 %15 to i32* store i32 %8, i32* %16, align 4 %.pre = add i64 %.pre7, 4 %.pre4 = inttoptr i64 %.pre to i32* store i32* %.pre4, i32** %.pre-phi5.reg2mem br label LBL_4 LBL_3: %17 = add i64 %.pre7, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i32 %19, %8 %21 = icmp slt i32 %20, 0 %22 = zext i1 %21 to i32 %23 = add i32 %20, %22 %24 = ashr i32 %23, 1 %25 = bitcast i64* %arg3 to i32* store i32 %24, i32* %25, align 4 %26 = load i32, i32* %18, align 4 %27 = add i32 %26, %8 %28 = icmp slt i32 %27, 0 %29 = zext i1 %28 to i32 %30 = add i32 %27, %29 %31 = ashr i32 %30, 1 %32 = add i64 %4, 4 %33 = inttoptr i64 %32 to i32* store i32 %31, i32* %33, align 4 store i32* %18, i32** %.pre-phi5.reg2mem br label LBL_4 LBL_4: %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem %.pre-phi6 = bitcast i64* %rdi to i32* %34 = load i32, i32* %.pre-phi5.reload, align 4 %35 = add i64 %4, 8 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = load i32, i32* %.pre-phi5.reload, align 4 %38 = add i64 %4, 12 %39 = inttoptr i64 %38 to i32* store i32 %37, i32* %39, align 4 %40 = add i64 %4, 192 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i64 %4, 16 %44 = inttoptr i64 %43 to i32* store i32 %42, i32* %44, align 4 %45 = load i32, i32* %41, align 4 %46 = add i64 %4, 20 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = add i64 %4, 196 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = add i64 %4, 24 %52 = inttoptr i64 %51 to i32* store i32 %50, i32* %52, align 4 %53 = load i32, i32* %49, align 4 %54 = add i64 %4, 28 %55 = inttoptr i64 %54 to i32* store i32 %53, i32* %55, align 4 %56 = load i32, i32* %49, align 4 %57 = add i64 %4, 32 %58 = inttoptr i64 %57 to i32* store i32 %56, i32* %58, align 4 %59 = load i32, i32* %49, align 4 %60 = add i64 %4, 36 %61 = inttoptr i64 %60 to i32* store i32 %59, i32* %61, align 4 %62 = add i64 %4, 40 %63 = inttoptr i64 %62 to i32* store i32 0, i32* %63, align 4 %64 = add i64 %4, 44 %65 = inttoptr i64 %64 to i32* store i32 0, i32* %65, align 4 %66 = add i64 %4, 48 %67 = inttoptr i64 %66 to i32* store i32 0, i32* %67, align 4 %68 = add i64 %4, 52 %69 = inttoptr i64 %68 to i32* store i32 16, i32* %69, align 4 %70 = add i64 %4, 56 %71 = inttoptr i64 %70 to i32* store i32 8, i32* %71, align 4 %72 = add i64 %4, 60 %73 = inttoptr i64 %72 to i32* store i32 0, i32* %73, align 4 %74 = add i64 %4, 64 %75 = inttoptr i64 %74 to i32* store i32 0, i32* %75, align 4 %76 = add i64 %4, 68 %77 = inttoptr i64 %76 to i32* store i32 0, i32* %77, align 4 %78 = add i64 %4, 72 %79 = inttoptr i64 %78 to i32* store i32 0, i32* %79, align 4 %80 = add i64 %4, 76 %81 = inttoptr i64 %80 to i32* store i32 0, i32* %81, align 4 %82 = load i32, i32* %.pre-phi6, align 8 %83 = add i64 %4, 80 %84 = inttoptr i64 %83 to i32* store i32 %82, i32* %84, align 4 %85 = add i64 %4, 84 %86 = inttoptr i64 %85 to i32* store i32 0, i32* %86, align 4 %87 = add i64 %4, 88 %88 = inttoptr i64 %87 to i32* store i32 0, i32* %88, align 4 %89 = call i128 @FUNC(i128 %3, i128 %3) %90 = call i64 @FUNC(i128 %89) %91 = add i64 %4, 96 %92 = inttoptr i64 %91 to i64* store i64 %90, i64* %92, align 8 %93 = load i32, i32* %.pre-phi6, align 8 %94 = zext i32 %93 to i64 %95 = call i128 @FUNC(i64 %94) %96 = call i64 @FUNC(i128 %95) %97 = add i64 %4, 104 %98 = inttoptr i64 %97 to i64* store i64 %96, i64* %98, align 8 %99 = add i64 %4, 112 store i64 0, i64* %indvars.iv.reg2mem br label LBL_5 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %100 = call i128 @__asm_movsd.1(i64 4607182418800017408) %101 = call i64 @FUNC(i128 %100) %102 = mul i64 %indvars.iv.reload, 8 %103 = add i64 %99, %102 %104 = inttoptr i64 %103 to i64* store i64 %101, i64* %104, 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_6, label LBL_5 LBL_6: ret i64 %4 uselistorder i64 %.pre7, { 0, 2, 1 } uselistorder i32 %8, { 0, 1, 3, 2 } uselistorder i64 %4, { 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 21, 23, 25, 24, 26, 27, 28, 2 } uselistorder i32** %.pre-phi5.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 4, { 1, 2, 0, 3 } uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 1, 12 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
avcodec_flush_buffers_15194
avcodec_flush_buffers
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = urem i64 %1, 2 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %spec.select = select i1 %11, i64 0, i64 %2 ret i64 %spec.select }
1
BinRealVul
add_command_2945
add_command
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = load i32, i32* @gv_0, align 4 %2 = add i32 %1, 1 store i32 %2, i32* @gv_0, align 4 %3 = sext i32 %2 to i64 %4 = mul i64 %3, 16 %5 = load i64, i64* @gv_1, align 8 %6 = call i64 @FUNC(i64 %5, i64 %4) store i64 %6, i64* @gv_1, align 8 %7 = load i32, i32* @gv_0, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 16 %10 = add i64 %6, -16 %11 = add i64 %10, %9 %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = inttoptr i64 %11 to i64* store i64 %5, i64* %15, align 8 %16 = add i64 %11, 8 %17 = inttoptr i64 %16 to i64* store i64 %14, i64* %17, align 8 %18 = load i64, i64* @gv_1, align 8 %19 = inttoptr i64 %18 to i64* call void @qsort(i64* %19, i32 %7, i32 16, i32 (i64*, i64*)* inttoptr (i64 4198795 to i32 (i64*, i64*)*)) ret i64 ptrtoint (i32* @0 to i64) uselistorder i64 %11, { 1, 0 } }
0
BinRealVul
regmap_raw_read_4963
regmap_raw_read
define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = add i64 %0, 56 %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 4294967274, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_9 LBL_1: %6 = urem i64 %arg4, %0 %7 = icmp eq i64 %6, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_9 LBL_2: %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = urem i32 %arg2, %10 %12 = icmp eq i32 %11, 0 %13 = icmp ugt i64 %0, %arg4 %14 = icmp eq i1 %13, false %or.cond = icmp eq i1 %14, %12 store i64 4294967274, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_3, label LBL_9 LBL_3: %15 = udiv i64 %arg4, %0 %16 = zext i32 %arg2 to i64 %17 = call i64 @FUNC(i64 %0, i64 %16, i64 %15) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_6, label LBL_4 LBL_4: %21 = add i64 %0, 48 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = add i64 %0, 52 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i32 0, i32* %storemerge2.reg2mem br i1 %30, label LBL_7, label LBL_6 LBL_6: %31 = ptrtoint i64* %arg3 to i64 %32 = call i64 @FUNC(i64 %0, i32 %arg2, i64 %31, i64 %arg4) store i64 %32, i64* %sv_0.1.reg2mem br label LBL_8 LBL_7: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %33 = load i32, i32* %9, align 4 %34 = mul i32 %33, %storemerge2.reload %35 = add i32 %34, %arg2 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %0, i64 %36, i64* nonnull %sv_1) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = add i32 %storemerge2.reload, 1 %41 = sext i32 %40 to i64 %42 = icmp ugt i64 %15, %41 %or.cond8 = icmp eq i1 %42, %39 store i32 %40, i32* %storemerge2.reg2mem store i64 %37, i64* %sv_0.1.reg2mem br i1 %or.cond8, label LBL_7, label LBL_8 LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %43 = and i64 %sv_0.1.reload, 4294967295 store i64 %43, 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 %0, { 1, 4, 3, 2, 6, 8, 0, 5, 7, 9 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 %arg4, { 1, 3, 0, 2 } uselistorder i32 %arg2, { 0, 1, 3, 2 } uselistorder label LBL_9, { 3, 0, 1, 2 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
compute_rematrixing_strategy_4885
compute_rematrixing_strategy
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %storemerge57.reg2mem = alloca i32 %.reg2mem10 = alloca i64 %storemerge8.reg2mem = alloca i32 %.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 %sv_1 = alloca i32*, align 8 store i32* null, i32** %sv_1, align 8 %6 = trunc i64 %2 to i32 %7 = and i64 %2, 4294967295 %8 = icmp eq i32 %6, 1 %9 = icmp eq i1 %8, false store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_15, label LBL_1 LBL_1: %10 = ptrtoint i32* %arg1 to i64 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_15, label LBL_2 LBL_2: %15 = add i64 %10, 24 %16 = inttoptr i64 %15 to i64* %17 = add i64 %10, 12 %18 = inttoptr i64 %17 to i32* %19 = add i64 %10, 8 %20 = inttoptr i64 %19 to i32* %21 = bitcast i32** %sv_1 to i64* %22 = bitcast i32* %sv_0 to i64* %23 = sub i32 %5, %4 %24 = xor i32 %5, %4 %25 = xor i32 %23, %5 %26 = and i32 %25, %24 %27 = icmp slt i32 %26, 0 %28 = icmp eq i32 %23, 0 %29 = icmp slt i32 %23, 0 %30 = icmp ne i1 %29, %27 %31 = or i1 %28, %30 %32 = select i1 %31, i32 %5, i32 %4 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge8.reg2mem br label LBL_3 LBL_3: %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %.reload = load i64, i64* %.reg2mem %33 = load i64, i64* %16, align 8 %34 = mul i64 %.reload, 64 %35 = add i64 %33, %34 %36 = inttoptr i64 %35 to i32* %37 = icmp eq i32 %storemerge8.reload, 0 %38 = zext i1 %37 to i32 store i32 %38, i32* %36, align 4 %39 = add i64 %35, 4 %40 = inttoptr i64 %39 to i32* store i32 4, i32* %40, align 4 %41 = add i64 %35, 8 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = icmp eq i32 %43, 0 br i1 %44, label LBL_7, label LBL_4 LBL_4: %45 = load i32, i32* %18, align 4 %46 = add i32 %45, -61 %47 = sub i32 60, %45 %48 = and i32 %47, %45 %49 = icmp slt i32 %48, 0 %50 = icmp eq i32 %46, 0 %51 = icmp slt i32 %46, 0 %52 = icmp ne i1 %51, %49 %53 = or i1 %50, %52 %54 = select i1 %53, i32 3, i32 4 store i32 %54, i32* %40, align 4 %55 = load i32, i32* %18, align 4 %56 = icmp eq i32 %55, 37 %57 = zext i1 %56 to i32 %58 = sub nsw i32 %54, %57 store i32 %58, i32* %40, align 4 br i1 %37, label LBL_7, label LBL_5 LBL_5: %59 = load i32*, i32** %sv_1, align 8 %60 = ptrtoint i32* %59 to i64 %61 = add i64 %60, 4 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = icmp eq i32 %58, %63 br i1 %64, label LBL_7, label LBL_6 LBL_6: store i32 1, i32* %36, align 4 br label LBL_7 LBL_7: %65 = load i32, i32* %20, align 4 %66 = icmp eq i32 %65, 0 %67 = icmp eq i1 %66, false br i1 %67, label LBL_8, label LBL_14 LBL_8: %68 = load i32, i32* %40, align 4 %69 = icmp eq i32 %68, 0 br i1 %69, label LBL_14, label LBL_9 LBL_9: %70 = add i64 %35, 20 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = add i64 %35, 16 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = sub i32 %72, %75 %77 = xor i32 %75, %72 %78 = xor i32 %76, %72 %79 = and i32 %78, %77 %80 = icmp slt i32 %79, 0 %81 = icmp eq i32 %76, 0 %82 = icmp slt i32 %76, 0 %83 = icmp ne i1 %82, %80 %84 = or i1 %81, %83 %85 = select i1 %84, i32 %72, i32 %75 %86 = add i64 %35, 40 %87 = inttoptr i64 %86 to i64* %88 = add i64 %35, 32 %89 = inttoptr i64 %88 to i64* store i64 0, i64* %.reg2mem10 store i32 0, i32* %storemerge57.reg2mem br label LBL_10 LBL_10: %storemerge57.reload = load i32, i32* %storemerge57.reg2mem %.reload11 = load i64, i64* %.reg2mem10 %90 = mul i64 %.reload11, 4 %91 = add i64 %90, ptrtoint (i32** @gv_0 to i64) %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = add i32 %storemerge57.reload, 1 %95 = sext i32 %94 to i64 %96 = mul i64 %95, 4 %97 = add i64 %96, ptrtoint (i32** @gv_0 to i64) %98 = inttoptr i64 %97 to i32* %99 = load i32, i32* %98, align 4 %100 = sub i32 %85, %99 %101 = xor i32 %99, %85 %102 = xor i32 %100, %85 %103 = and i32 %102, %101 %104 = icmp slt i32 %103, 0 %105 = icmp eq i32 %100, 0 %106 = icmp slt i32 %100, 0 %107 = icmp ne i1 %106, %104 %108 = or i1 %105, %107 %109 = select i1 %108, i32 %85, i32 %99 %110 = sub i32 %109, %93 %111 = load i64, i64* %87, align 8 %112 = sext i32 %93 to i64 %113 = mul i64 %112, 4 %114 = add i64 %111, %113 %115 = load i64, i64* %89, align 8 %116 = add i64 %115, %113 %117 = zext i32 %110 to i64 %118 = call i64 @FUNC(i64 %10, i64* nonnull %22, i64 %116, i64 %114, i64 %117) %119 = load i32, i32* %sv_0, align 4 %120 = sub i32 %3, %119 %121 = xor i32 %119, %3 %122 = xor i32 %120, %3 %123 = and i32 %122, %121 %124 = icmp slt i32 %123, 0 %125 = icmp eq i32 %120, 0 %126 = icmp slt i32 %120, 0 %127 = icmp ne i1 %126, %124 %128 = or i1 %125, %127 %129 = select i1 %128, i32 %3, i32 %119 %130 = icmp ult i32 %32, %129 %131 = add nsw i64 %90, 48 %132 = add i64 %131, %35 %133 = inttoptr i64 %132 to i32* %. = zext i1 %130 to i32 store i32 %., i32* %133, align 4 br i1 %37, label LBL_13, label LBL_11 LBL_11: %134 = load i32*, i32** %sv_1, align 8 %135 = ptrtoint i32* %134 to i64 %136 = add i64 %131, %135 %137 = inttoptr i64 %136 to i32* %138 = load i32, i32* %137, align 4 %139 = icmp eq i32 %138, %. br i1 %139, label LBL_13, label LBL_12 LBL_12: store i32 1, i32* %36, align 4 br label LBL_13 LBL_13: %140 = load i32, i32* %40, align 4 %141 = zext i32 %140 to i64 %142 = icmp slt i64 %95, %141 store i64 %95, i64* %.reg2mem10 store i32 %94, i32* %storemerge57.reg2mem br i1 %142, label LBL_10, label LBL_14 LBL_14: store i64 %35, i64* %21, align 8 %143 = add i32 %storemerge8.reload, 1 %144 = load i32, i32* %12, align 4 %145 = zext i32 %144 to i64 %146 = sext i32 %143 to i64 %147 = icmp slt i64 %146, %145 store i64 %146, i64* %.reg2mem store i32 %143, i32* %storemerge8.reg2mem store i64 %145, i64* %rax.0.reg2mem br i1 %147, label LBL_3, label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %120, { 1, 2, 0 } uselistorder i32 %119, { 1, 0, 2 } uselistorder i64 %113, { 1, 0 } uselistorder i32 %100, { 1, 2, 0 } uselistorder i32 %99, { 1, 0, 2 } uselistorder i64 %95, { 0, 2, 1 } uselistorder i64 %90, { 1, 0 } uselistorder i32 %85, { 3, 0, 1, 2 } uselistorder i32 %76, { 1, 2, 0 } uselistorder i32 %75, { 1, 0, 2 } uselistorder i32 %72, { 2, 0, 1, 3 } uselistorder i32 %54, { 1, 0 } uselistorder i32 %46, { 1, 0 } uselistorder i32* %40, { 2, 3, 0, 1, 4 } uselistorder i1 %37, { 1, 0, 2 } uselistorder i32* %36, { 1, 0, 2 } uselistorder i64 %35, { 1, 0, 2, 3, 4, 5, 7, 8, 6 } uselistorder i32 %23, { 1, 2, 0 } uselistorder i32* %12, { 1, 0 } uselistorder i64 %10, { 1, 2, 0, 3, 4 } uselistorder i32** %sv_1, { 3, 2, 0, 1 } uselistorder i32 %5, { 0, 3, 2, 1 } uselistorder i32 %4, { 0, 2, 1 } uselistorder i32 %3, { 0, 3, 2, 1 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem10, { 2, 0, 1 } uselistorder i32* %storemerge57.reg2mem, { 2, 0, 1 } uselistorder i32* %1, { 2, 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i32 0, { 4, 5, 6, 10, 11, 12, 0, 14, 15, 16, 2, 13, 17, 18, 19, 20, 21, 1, 7, 8, 9, 3 } uselistorder label LBL_13, { 1, 2, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
avfilter_merge_formats_2298
avfilter_merge_formats
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.26.reg2mem = alloca i32 %rsi.27.reg2mem = alloca i64 %indvars.iv10.reg2mem = alloca i64 %.reg2mem26 = alloca i32 %.reg2mem24 = alloca i32 %.reg2mem22 = alloca i32 %rsi.1.lcssa.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %.reg2mem20 = alloca i32 %.reg2mem18 = alloca i32 %.reg2mem16 = alloca i32 %rsi.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem14 = alloca i32 %sv_0.12.reg2mem = alloca i32 %rsi.13.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, %arg2 %2 = icmp eq i1 %1, false store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_14 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = call i64 @FUNC(i64 24) %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp ugt i32 %7, %10 %12 = select i1 %11, i32 %10, i32 %7 %13 = zext i32 %12 to i64 %14 = mul i64 %13, 4 %15 = call i64 @FUNC(i64 %14) %16 = inttoptr i64 %4 to i64* store i64 %15, i64* %16, align 8 %17 = load i32, i32* %9, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_2, label LBL_3 LBL_2: %19 = add i64 %4, 8 %20 = inttoptr i64 %19 to i32* store i32 0, i32* %20, align 4 br label LBL_12 LBL_3: %.pre = load i32, i32* %6, align 4 store i32 %17, i32* %.reg2mem22 store i32 %.pre, i32* %.reg2mem24 store i32 %.pre, i32* %.reg2mem26 store i64 0, i64* %indvars.iv10.reg2mem store i64 %3, i64* %rsi.27.reg2mem store i32 0, i32* %sv_0.26.reg2mem br label LBL_9 LBL_4: %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %rsi.13.reload = load i64, i64* %rsi.13.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem %21 = load i32, i32* %41, align 4 %22 = mul i64 %indvars.iv.reload, 4 %23 = add i64 %22, %rsi.13.reload %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %21, %25 %27 = icmp eq i1 %26, false store i32 %.reload, i32* %.reg2mem14 store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem store i64 %rsi.13.reload, i64* %rsi.0.reg2mem br i1 %27, label LBL_6, label LBL_5 LBL_5: %28 = load i64, i64* %16, align 8 %29 = add i32 %sv_0.12.reload, 1 %30 = zext i32 %sv_0.12.reload to i64 %31 = mul i64 %30, 4 %32 = add i64 %28, %31 %33 = inttoptr i64 %32 to i32* store i32 %21, i32* %33, align 4 %.pre12 = load i32, i32* %6, align 4 store i32 %.pre12, i32* %.reg2mem14 store i32 %29, i32* %sv_0.0.reg2mem store i64 %28, i64* %rsi.0.reg2mem br label LBL_6 LBL_6: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload15 = load i32, i32* %.reg2mem14 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %34 = zext i32 %.reload15 to i64 %35 = icmp ult i64 %indvars.iv.next, %34 store i32 %.reload15, i32* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %rsi.0.reload, i64* %rsi.13.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem br i1 %35, label LBL_4, label LBL_7 LBL_7: %.pre13 = load i32, i32* %9, align 4 store i32 %.pre13, i32* %.reg2mem16 store i32 %.reload15, i32* %.reg2mem18 store i32 %.reload15, i32* %.reg2mem20 store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem store i64 %rsi.0.reload, i64* %rsi.1.lcssa.reg2mem br label LBL_8 LBL_8: %rsi.1.lcssa.reload = load i64, i64* %rsi.1.lcssa.reg2mem %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %.reload21 = load i32, i32* %.reg2mem20 %.reload19 = load i32, i32* %.reg2mem18 %.reload17 = load i32, i32* %.reg2mem16 %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1 %36 = zext i32 %.reload17 to i64 %37 = icmp ult i64 %indvars.iv.next11, %36 store i32 %.reload17, i32* %.reg2mem22 store i32 %.reload19, i32* %.reg2mem24 store i32 %.reload21, i32* %.reg2mem26 store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem store i64 %rsi.1.lcssa.reload, i64* %rsi.27.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %sv_0.26.reg2mem br i1 %37, label LBL_9, label LBL_11 LBL_9: %sv_0.26.reload = load i32, i32* %sv_0.26.reg2mem %rsi.27.reload = load i64, i64* %rsi.27.reg2mem %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem %.reload27 = load i32, i32* %.reg2mem26 %.reload25 = load i32, i32* %.reg2mem24 %.reload23 = load i32, i32* %.reg2mem22 %38 = icmp eq i32 %.reload27, 0 store i32 %.reload23, i32* %.reg2mem16 store i32 %.reload25, i32* %.reg2mem18 store i32 0, i32* %.reg2mem20 store i32 %sv_0.26.reload, i32* %sv_0.1.lcssa.reg2mem store i64 %rsi.27.reload, i64* %rsi.1.lcssa.reg2mem br i1 %38, label LBL_8, label LBL_4.lr.ph LBL_10: %39 = mul i64 %indvars.iv10.reload, 4 %40 = add nuw nsw i64 %39, %14 %41 = inttoptr i64 %40 to i32* store i32 %.reload25, i32* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i64 %rsi.27.reload, i64* %rsi.13.reg2mem store i32 %sv_0.26.reload, i32* %sv_0.12.reg2mem br label LBL_4 LBL_11: %42 = add i64 %4, 8 %43 = inttoptr i64 %42 to i32* store i32 %sv_0.1.lcssa.reload, i32* %43, align 4 %44 = icmp eq i32 %sv_0.1.lcssa.reload, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_13, label LBL_12 LBL_12: %46 = load i64, i64* %16, align 8 %47 = call i64 @FUNC(i64 %46) %48 = call i64 @FUNC(i64 %4) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %49 = add i64 %0, 12 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = add i64 %3, 12 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = add i32 %54, %51 %56 = zext i32 %55 to i64 %57 = mul i64 %56, 8 %58 = call i64 @FUNC(i64 %57) %59 = add i64 %4, 16 %60 = inttoptr i64 %59 to i64* store i64 %58, i64* %60, align 8 %61 = call i64 @FUNC(i64 %4, i64 %0) %62 = call i64 @FUNC(i64 %4, i64 %3) store i64 %4, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv10.reload, { 1, 0 } uselistorder i32 %sv_0.1.lcssa.reload, { 2, 1, 0 } uselistorder i32 %.reload15, { 0, 1, 3, 2 } uselistorder i32 %sv_0.12.reload, { 2, 1, 0 } uselistorder i64 %14, { 1, 0 } uselistorder i64 %4, { 0, 3, 2, 4, 5, 6, 1, 7 } uselistorder i64 %3, { 1, 2, 0, 3 } uselistorder i64 %0, { 1, 2, 3, 0 } uselistorder i32* %.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i64* %rsi.13.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.12.reg2mem, { 2, 1, 0 } uselistorder i32* %.reg2mem16, { 1, 0, 2 } uselistorder i32* %.reg2mem18, { 1, 0, 2 } uselistorder i32* %.reg2mem20, { 1, 0, 2 } uselistorder i32* %sv_0.1.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.1.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @merge_ref, { 1, 0 } uselistorder i64 (i64)* @av_malloc, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_14, { 1, 2, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
ahci_reg_init_270
ahci_reg_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge34.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = bitcast i64* %rdi to i32* %4 = trunc i64 %1 to i32 %5 = add i32 %4, -1 %6 = or i32 %5, 8199 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* store i32 %6, i32* %8, align 4 %9 = load i32, i32* %3, align 8 %10 = urem i32 %9, 32 %11 = icmp eq i32 %10, 0 %notmask = shl nsw i32 -1, %10 %12 = sub i32 0, %notmask %phitmp1 = sub i32 %12, 1 %storemerge = select i1 %11, i32 0, i32 %phitmp1 %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i32* store i32 %storemerge, i32* %14, align 4 %15 = add i64 %2, 12 %16 = inttoptr i64 %15 to i32* store i32 65536, i32* %16, align 4 %17 = load i32, i32* %3, align 8 %18 = icmp eq i32 %17, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %18, label LBL_3, label LBL_1 LBL_1: %19 = add i64 %2, 16 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge34.reg2mem br label LBL_2 LBL_2: %storemerge34.reload = load i32, i32* %storemerge34.reg2mem %.reload = load i64, i64* %.reg2mem %20 = mul i64 %.reload, 4 %21 = add i64 %19, %20 %22 = inttoptr i64 %21 to i32* store i32 1, i32* %22, align 4 %23 = add i32 %storemerge34.reload, 1 %24 = load i32, i32* %3, align 8 %25 = zext i32 %24 to i64 %26 = sext i32 %23 to i64 %27 = icmp slt i64 %26, %25 store i64 %26, i64* %.reg2mem store i32 %23, i32* %storemerge34.reg2mem store i64 %25, i64* %.lcssa.reg2mem br i1 %27, label LBL_2, label LBL_3 LBL_3: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32* %3, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge34.reg2mem, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
VectorClamp3_6644
VectorClamp3
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = call i128 @__asm_movss.1(i32 %2) %4 = call i128 @FUNC(i128 %3) %5 = call i128 @FUNC(i32 0) %6 = call i64 @FUNC() %7 = call i32 @__asm_movd.2(i128 %5) %8 = call i128 @FUNC(i32 %7) %9 = call i128 @FUNC(i32 1065353216) %10 = call i64 @FUNC() %11 = call i32 @__asm_movd.2(i128 %9) store i32 %11, i32* %arg1, align 4 %12 = ptrtoint i32* %arg1 to i64 %13 = add i64 %12, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = call i128 @__asm_movss.1(i32 %15) %17 = call i128 @FUNC(i128 %16) %18 = call i128 @FUNC(i32 0) %19 = call i64 @FUNC() %20 = call i32 @__asm_movd.2(i128 %18) %21 = call i128 @FUNC(i32 %20) %22 = call i128 @FUNC(i32 1065353216) %23 = call i64 @FUNC() %24 = call i32 @__asm_movd.2(i128 %22) store i32 %24, i32* %14, align 4 %25 = add i64 %12, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = call i128 @__asm_movss.1(i32 %27) %29 = call i128 @FUNC(i128 %28) %30 = call i128 @FUNC(i32 0) %31 = call i64 @FUNC() %32 = call i32 @__asm_movd.2(i128 %30) %33 = call i128 @FUNC(i32 %32) %34 = call i128 @FUNC(i32 1065353216) %35 = call i64 @FUNC() %36 = call i32 @__asm_movd.2(i128 %34) %37 = sext i32 %36 to i64 store i32 %36, i32* %26, align 4 ret i64 %37 uselistorder i64 ()* @MagickMin, { 2, 1, 0 } uselistorder i64 ()* @MagickMax, { 2, 1, 0 } uselistorder i32* %arg1, { 1, 0 } }
0
BinRealVul
collect_mounts_9804
collect_mounts
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 ptrtoint (i64* @gv_0 to i64)) %6 = call i64 @FUNC(i64 %5, i64 %4, i64 3) %7 = call i64 @FUNC(i64* nonnull @gv_0) %8 = call i64 @FUNC(i64 %6) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %storemerge = select i1 %10, i64 %6, i64 0 ret i64 %storemerge uselistorder i64* @gv_0, { 0, 2, 1 } }
0
BinRealVul
avcodec_pix_fmt_string_17843
avcodec_pix_fmt_string
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge.in.reg2mem = alloca i32 %1 = load i32, i32* %0 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = icmp slt i32 %arg3, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %2 to i32 %6 = bitcast i64* %arg1 to i8* %7 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %6, i32 %5, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0)) store i32 %7, i32* %storemerge.in.reg2mem br label LBL_3 LBL_2: %8 = sext i32 %arg3 to i64 %9 = mul nsw i64 %8, 24 %10 = add i64 %9, ptrtoint ([8 x i8]** @gv_1 to i64) %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %9, add (i64 ptrtoint ([8 x i8]** @gv_1 to i64), i64 8) %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %12 to i8* %17 = add i64 %9, add (i64 ptrtoint ([8 x i8]** @gv_1 to i64), i64 16) %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %. = select i1 %21, i8 110, i8 121 %22 = trunc i64 %2 to i32 %23 = zext i32 %1 to i64 %24 = and i64 %15, 4294967295 %25 = bitcast i64* %arg1 to i8* %26 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %25, i32 %22, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i8* %16, i64 %24, i64 %23, i8 %.) store i32 %26, i32* %storemerge.in.reg2mem br label LBL_3 LBL_3: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = sext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i64 %2, { 1, 0 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } }
1
BinRealVul
jsi_FuncNew_8794
jsi_FuncNew
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 1, i64 16) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4, i64 %1, i64 %1) %6 = add i64 %1, 8 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 %8 = inttoptr i64 %1 to i32* store i32 1, i32* %8, align 4 %9 = bitcast i64* %rdi to i32* %10 = load i32, i32* %9, align 8 %11 = add i32 %10, 1 %12 = bitcast i64* %arg1 to i32* store i32 %11, i32* %12, align 4 ret i64 %1 uselistorder i64 %1, { 0, 1, 2, 4, 3 } }
0
BinRealVul
arcmsr_abort_allcmd_10733
arcmsr_abort_allcmd
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 4 br i1 %3, label LBL_6, label LBL_1 LBL_1: %4 = icmp ugt i8 %2, 4 store i64 0, i64* %sv_0.0.reg2mem br i1 %4, label LBL_7, label LBL_2 LBL_2: store i64 0, i64* %sv_0.0.reg2mem switch i8 %2, label LBL_7 [ i8 3, label LBL_5 i8 1, label LBL_3 i8 2, label LBL_4 ] LBL_3: %5 = ptrtoint i8* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) store i64 %6, i64* %sv_0.0.reg2mem br label LBL_7 LBL_4: %7 = ptrtoint i8* %arg1 to i64 %8 = call i64 @FUNC(i64 %7) store i64 %8, i64* %sv_0.0.reg2mem br label LBL_7 LBL_5: %9 = ptrtoint i8* %arg1 to i64 %10 = call i64 @FUNC(i64 %9) store i64 %10, i64* %sv_0.0.reg2mem br label LBL_7 LBL_6: %11 = ptrtoint i8* %arg1 to i64 %12 = call i64 @FUNC(i64 %11) store i64 %12, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %13 = urem i64 %sv_0.0.reload, 256 ret i64 %13 uselistorder i8 %2, { 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 4, 2, 3, 1, 5 } uselistorder i8* %arg1, { 3, 2, 0, 1 } uselistorder label LBL_7, { 1, 2, 3, 4, 0, 5 } }
0
BinRealVul
gup_huge_pgd_5236
gup_huge_pgd
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i32 %arg5, i64* %arg6, i32* %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.12.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = zext i32 %arg5 to i64 %1 = call i64 @FUNC(i64 %arg1, i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_9 LBL_1: %5 = ptrtoint i64* %arg6 to i64 %6 = call i64 @FUNC(i64 %arg1) %7 = call i64 @FUNC(i64 %arg1) %8 = udiv i64 %arg3, 1024 %9 = and i64 %8, 18014398509477888 %10 = add i64 %7, %9 %.pre = load i32, i32* %arg7, align 4 store i32 %.pre, i32* %.reg2mem store i64 %arg3, i64* %sv_2.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem store i64 %10, i64* %sv_1.0.reg2mem br label LBL_2 LBL_2: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %.reload = load i32, i32* %.reg2mem %11 = sext i32 %.reload to i64 %12 = mul i64 %11, 8 %13 = add i64 %12, %5 %14 = inttoptr i64 %13 to i64* store i64 %sv_1.0.reload, i64* %14, align 8 %15 = load i32, i32* %arg7, align 4 %16 = add i32 %15, 1 store i32 %16, i32* %arg7, align 4 %17 = add i64 %sv_1.0.reload, 4 %18 = add i32 %sv_0.0.reload, 1 %19 = add i64 %sv_2.0.reload, 4096 %20 = icmp eq i64 %19, %arg4 %21 = icmp eq i1 %20, false store i32 %16, i32* %.reg2mem store i64 %19, i64* %sv_2.0.reg2mem store i32 %18, i32* %sv_0.0.reg2mem store i64 %17, i64* %sv_1.0.reg2mem br i1 %21, label LBL_2, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %arg1) %23 = zext i32 %18 to i64 %24 = call i64 @FUNC(i64 %22, i64 %23) %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = load i32, i32* %arg7, align 4 %28 = sub i32 %27, %18 store i32 %28, i32* %arg7, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %29 = call i64 @FUNC(i64 %arg1) %30 = call i64 @FUNC(i64 %23) %31 = icmp eq i64 %29, %30 %32 = icmp eq i1 %31, false %33 = icmp eq i1 %32, false br i1 %33, label LBL_8, label LBL_6 LBL_6: %34 = load i32, i32* %arg7, align 4 %35 = sub i32 %34, %18 store i32 %35, i32* %arg7, align 4 %36 = icmp eq i32 %18, 0 %37 = icmp eq i1 %36, false store i32 %18, i32* %sv_0.12.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %37, label LBL_7, label LBL_9 LBL_7: %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %38 = add i32 %sv_0.12.reload, -1 %39 = call i64 @FUNC(i64 %24) %40 = icmp eq i32 %38, 0 %41 = icmp eq i1 %40, false store i32 %38, i32* %sv_0.12.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %41, label LBL_7, label LBL_9 LBL_8: %42 = call i64 @FUNC(i64 %24) store i64 1, 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 %24, { 1, 0, 2 } uselistorder i32 %18, { 0, 5, 3, 2, 4, 1 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 } uselistorder i64 (i64)* @pgd_val, { 1, 0 } uselistorder i64 (i64)* @pgd_page, { 1, 0 } uselistorder i1 false, { 2, 0, 1, 3, 4, 5, 6 } uselistorder i32* %arg7, { 4, 3, 2, 1, 6, 5, 0 } uselistorder i64 %arg1, { 0, 1, 3, 2, 4 } uselistorder label LBL_9, { 3, 0, 1, 4, 2 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
fw_cfg_write_3345
fw_cfg_write
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = urem i64 %3, 2 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false %8 = urem i64 %3, 256 %9 = zext i1 %7 to i64 %10 = mul i64 %9, 256 %11 = or i64 %10, %8 %12 = mul i64 %11, 32 %13 = urem i64 %arg2, 256 %14 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %12, i64 %4, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_5, label LBL_1 LBL_1: %15 = ptrtoint i64* %arg1 to i64 %16 = add i64 %12, %15 %17 = add i64 %16, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_5, label LBL_2 LBL_2: %21 = add i64 %15, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %16, 32 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 %28 = icmp ult i32 %23, %26 store i64 %27, i64* %rax.0.reg2mem br i1 %28, label LBL_3, label LBL_5 LBL_3: %29 = add i64 %16, 24 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = add i32 %23, 1 store i32 %32, i32* %22, align 4 %33 = sext i32 %23 to i64 %34 = add i64 %31, %33 %35 = trunc i64 %arg2 to i8 %36 = inttoptr i64 %34 to i8* store i8 %35, i8* %36, align 1 %37 = load i32, i32* %22, align 4 %38 = load i32, i32* %25, align 4 %39 = zext i32 %38 to i64 %40 = icmp eq i32 %37, %38 %41 = icmp eq i1 %40, false store i64 %39, i64* %rax.0.reg2mem br i1 %41, label LBL_5, label LBL_4 LBL_4: store i32 0, i32* %22, align 4 store i64 %15, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %23, { 1, 0, 2 } uselistorder i64 %15, { 0, 2, 1 } uselistorder i64 %12, { 1, 0 } uselistorder i1 %6, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 256, { 1, 0, 2 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_5, { 1, 2, 0, 3, 4 } }
0
BinRealVul
raid1_reshape_7625
raid1_reshape
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem32 = alloca i32 %.reg2mem30 = alloca i64 %sv_0.16.reg2mem = alloca i32 %storemerge8.reg2mem = alloca i32 %.reg2mem28 = alloca i64 %.reg2mem26 = alloca i32 %.reg2mem24 = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_1.110.reg2mem = alloca i32 %storemerge411.reg2mem = alloca i32 %.reg2mem = alloca i64 %.pre-phi21.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i32* %arg1 to i64 %5 = load i64, i64* %0 %6 = trunc i64 %3 to i32 %7 = add i64 %4, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, %6 %11 = icmp eq i1 %10, false %.pre15 = add i64 %4, 8 %.pre16 = inttoptr i64 %.pre15 to i32* br i1 %11, label LBL_0.LBL_4_crit_edge, label LBL_2 LBL_1: %.pre18 = add i64 %4, 12 %.pre20 = inttoptr i64 %.pre18 to i32* store i32* %.pre20, i32** %.pre-phi21.reg2mem br label LBL_4 LBL_2: %12 = add i64 %4, 32 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = load i32, i32* %.pre16, align 4 %16 = add i64 %4, 12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %15, %18 %20 = icmp eq i1 %19, false store i32* %17, i32** %.pre-phi21.reg2mem br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = add i64 %4, 16 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %4, 20 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %23, %26 store i32* %17, i32** %.pre-phi21.reg2mem br i1 %27, label LBL_5, label LBL_4 LBL_4: %.pre-phi21.reload = load i32*, i32** %.pre-phi21.reg2mem store i32 %6, i32* %8, align 4 %28 = load i32, i32* %.pre16, align 4 store i32 %28, i32* %.pre-phi21.reload, align 4 %29 = add i64 %4, 16 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = add i64 %4, 20 %33 = inttoptr i64 %32 to i32* store i32 %31, i32* %33, align 4 store i64 4294967274, i64* %rax.0.reg2mem br label LBL_25 LBL_5: %34 = call i64 @FUNC(i64 %4) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_7, label LBL_6 LBL_6: %37 = and i64 %34, 4294967295 store i64 %37, i64* %rax.0.reg2mem br label LBL_25 LBL_7: %38 = inttoptr i64 %14 to i32* %39 = add i64 %4, 24 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = add i64 %4, 28 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = add i32 %44, %41 %46 = load i32, i32* %38, align 4 %47 = zext i32 %46 to i64 %48 = sext i32 %45 to i64 %49 = icmp slt i64 %48, %47 br i1 %49, label LBL_8, label LBL_12 LBL_8: %50 = icmp eq i32 %46, 0 store i32 0, i32* %sv_1.1.lcssa.reg2mem br i1 %50, label LBL_11, label LBL_9 LBL_9: %51 = add i64 %14, 8 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge411.reg2mem store i32 0, i32* %sv_1.110.reg2mem br label LBL_10 LBL_10: %sv_1.110.reload = load i32, i32* %sv_1.110.reg2mem %storemerge411.reload = load i32, i32* %storemerge411.reg2mem %.reload = load i64, i64* %.reg2mem %54 = mul i64 %.reload, 8 %55 = add i64 %54, %53 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = icmp ne i64 %57, 0 %59 = zext i1 %58 to i32 %spec.select = add i32 %sv_1.110.reload, %59 %60 = add i32 %storemerge411.reload, 1 %61 = sext i32 %60 to i64 %62 = icmp slt i64 %61, %47 store i64 %61, i64* %.reg2mem store i32 %60, i32* %storemerge411.reg2mem store i32 %spec.select, i32* %sv_1.110.reg2mem store i32 %spec.select, i32* %sv_1.1.lcssa.reg2mem br i1 %62, label LBL_10, label LBL_11 LBL_11: %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %63 = icmp sgt i32 %sv_1.1.lcssa.reload, %45 store i64 4294967280, i64* %rax.0.reg2mem br i1 %63, label LBL_25, label LBL_12 LBL_12: %64 = call i64 @FUNC(i64 16, i64 0) %65 = icmp eq i64 %64, 0 %66 = icmp eq i1 %65, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %66, label LBL_13, label LBL_25 LBL_13: %67 = inttoptr i64 %64 to i64* store i64 %4, i64* %67, align 8 %68 = mul i32 %45, 2 %69 = add i64 %64, 8 %70 = inttoptr i64 %69 to i32* store i32 %68, i32* %70, align 4 %71 = call i64 @FUNC(i64 0, i64 4199155, i64 4199171, i64 %64) %72 = icmp eq i64 %71, 0 %73 = icmp eq i1 %72, false br i1 %73, label LBL_15, label LBL_14 LBL_14: %74 = call i64 @FUNC(i64 %64) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_25 LBL_15: %75 = mul i64 %48, 16 %76 = call i64 @FUNC(i64 %75, i64 0) %77 = icmp eq i64 %76, 0 %78 = icmp eq i1 %77, false br i1 %78, label LBL_17, label LBL_16 LBL_16: %79 = call i64 @FUNC(i64 %64) %80 = call i64 @FUNC(i64 %71) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_25 LBL_17: %81 = call i64 @FUNC(i64 %14, i64 0) %82 = add i64 %14, 16 %83 = inttoptr i64 %82 to i64* %84 = load i64, i64* %83, align 8 store i64 %71, i64* %83, align 8 %85 = load i32, i32* %38, align 4 %86 = icmp eq i32 %85, 0 %87 = add i64 %14, 8 %88 = inttoptr i64 %87 to i64* %89 = load i64, i64* %88, align 8 store i64 %89, i64* %.reg2mem24 store i32 %85, i32* %.reg2mem26 store i64 0, i64* %.reg2mem28 store i32 0, i32* %storemerge8.reg2mem store i32 0, i32* %sv_0.16.reg2mem store i64 %89, i64* %.lcssa.reg2mem br i1 %86, label LBL_24, label LBL_18 LBL_18: %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %.reload29 = load i64, i64* %.reg2mem28 %.reload27 = load i32, i32* %.reg2mem26 %.reload25 = load i64, i64* %.reg2mem24 %90 = mul i64 %.reload29, 8 %91 = add i64 %90, %.reload25 %92 = inttoptr i64 %91 to i64* %93 = load i64, i64* %92, align 8 %cond = icmp eq i64 %93, 0 store i64 %.reload25, i64* %.reg2mem30 store i32 %.reload27, i32* %.reg2mem32 store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %cond, label LBL_23, label LBL_19 LBL_19: %94 = inttoptr i64 %93 to i32* %95 = load i32, i32* %94, align 4 %96 = icmp eq i32 %sv_0.16.reload, %95 br i1 %96, label LBL_22, label LBL_20 LBL_20: %97 = call i64 @FUNC(i64 %4, i64 %93) store i32 %sv_0.16.reload, i32* %94, align 4 %98 = call i64 @FUNC(i64 %4, i64 %93) %99 = call i64 @FUNC(i64 %4, i64 %93) %100 = trunc i64 %99 to i32 %101 = icmp eq i32 %100, 0 br i1 %101, label LBL_22, label LBL_21 LBL_21: %102 = load i32, i32* %94, align 4 %103 = call i64 @FUNC(i64 %4) %104 = zext i32 %102 to i64 %105 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 %103, i64 %104, i64 %64, i64 %2, i64 %1) br label LBL_22 LBL_22: %106 = add i32 %sv_0.16.reload, 1 %107 = sext i32 %sv_0.16.reload to i64 %108 = mul i64 %107, 8 %109 = add i64 %108, %76 %110 = inttoptr i64 %109 to i64* store i64 %93, i64* %110, align 8 %.pre = load i32, i32* %38, align 4 %.pre14 = load i64, i64* %88, align 8 store i64 %.pre14, i64* %.reg2mem30 store i32 %.pre, i32* %.reg2mem32 store i32 %106, i32* %sv_0.0.reg2mem br label LBL_23 LBL_23: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload33 = load i32, i32* %.reg2mem32 %.reload31 = load i64, i64* %.reg2mem30 %111 = add i32 %storemerge8.reload, 1 %112 = zext i32 %.reload33 to i64 %113 = sext i32 %111 to i64 %114 = icmp slt i64 %113, %112 store i64 %.reload31, i64* %.reg2mem24 store i32 %.reload33, i32* %.reg2mem26 store i64 %113, i64* %.reg2mem28 store i32 %111, i32* %storemerge8.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem store i64 %.reload31, i64* %.lcssa.reg2mem br i1 %114, label LBL_18, label LBL_24 LBL_24: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %115 = call i64 @FUNC(i64 %.lcssa.reload) store i64 %76, i64* %88, align 8 %116 = add i64 %14, 24 %117 = inttoptr i64 %116 to i64* %118 = load i64, i64* %117, align 8 %119 = call i64 @FUNC(i64 %118) store i64 %64, i64* %117, align 8 %120 = add i64 %14, 32 %121 = call i64 @FUNC(i64 %120, i64 %5) %122 = add i64 %4, 48 %123 = inttoptr i64 %122 to i32* %124 = load i32, i32* %123, align 4 %125 = load i32, i32* %38, align 4 %126 = add i32 %124, %45 %127 = sub i32 %126, %125 store i32 %127, i32* %123, align 4 %128 = call i64 @FUNC(i64 %120, i64 %5) store i32 %45, i32* %40, align 4 store i32 %45, i32* %38, align 4 store i32 0, i32* %43, align 4 %129 = call i64 @FUNC(i64 %14) %130 = add i64 %4, 52 %131 = call i64 @FUNC(i64 0, i64 %130) %132 = add i64 %4, 40 %133 = inttoptr i64 %132 to i64* %134 = load i64, i64* %133, align 8 %135 = call i64 @FUNC(i64 %134) %136 = call i64 @FUNC(i64 %84) store i64 0, i64* %rax.0.reg2mem br label LBL_25 LBL_25: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload33, { 1, 0 } uselistorder i64 %93, { 1, 2, 3, 4, 5, 0 } uselistorder i32 %sv_0.16.reload, { 3, 4, 1, 2, 0 } uselistorder i64* %88, { 1, 0, 2 } uselistorder i64 %76, { 1, 0, 2 } uselistorder i64 %71, { 1, 0, 2 } uselistorder i64 %64, { 2, 3, 1, 0, 4, 5, 6, 7 } uselistorder i32 %45, { 2, 3, 1, 0, 4, 5 } uselistorder i32* %38, { 2, 3, 0, 1, 4 } uselistorder i32* %17, { 1, 0, 2 } uselistorder i64 %14, { 1, 2, 3, 4, 5, 6, 0, 7 } uselistorder i32 %6, { 1, 0 } uselistorder i64 %4, { 2, 3, 4, 5, 6, 7, 8, 9, 11, 10, 15, 17, 16, 14, 13, 12, 19, 0, 1, 18 } uselistorder i32** %.pre-phi21.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge411.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.110.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem24, { 2, 0, 1 } uselistorder i32* %.reg2mem26, { 2, 0, 1 } uselistorder i64* %.reg2mem28, { 2, 0, 1 } uselistorder i32* %storemerge8.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.16.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem30, { 0, 2, 1 } uselistorder i32* %.reg2mem32, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 1, 2, 3, 7 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @sysfs_unlink_rdev, { 1, 0 } uselistorder i64 (i64)* @mempool_destroy, { 1, 0 } uselistorder i64 (i64)* @kfree, { 3, 2, 1, 0 } uselistorder i64 4294967284, { 2, 1, 0 } uselistorder i32 0, { 8, 7, 0, 1, 6, 3, 4, 2, 5, 9 } uselistorder i64 16, { 2, 0, 1, 3, 4 } uselistorder i64 12, { 1, 0 } uselistorder i64 8, { 0, 1, 4, 5, 2, 6, 3 } uselistorder label LBL_25, { 2, 3, 4, 0, 1, 5, 6 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_22, { 2, 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
dlt_filter_load_13251
dlt_filter_load
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.0.ph8.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8, align 1 %5 = icmp ne i64* %arg1, null %6 = icmp eq i64 %arg2, 0 %7 = icmp eq i1 %6, false %or.cond7 = icmp eq i1 %5, %7 store i64 4294967294, i64* %rax.0.reg2mem br i1 %or.cond7, label LBL_1, label LBL_18 LBL_1: %sext = mul i64 %arg3, 4294967296 %8 = ashr exact i64 %sext, 32 %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %arg2 to i8* %12 = call %_IO_FILE* @fopen(i8* %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %13 = icmp eq %_IO_FILE* %12, null %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_18 LBL_3: %16 = bitcast i64* %arg1 to i32* store i32 0, i32* %16, align 4 %17 = call i32 @feof(%_IO_FILE* %12) %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_4, label LBL_17 LBL_4: %19 = ptrtoint i64* %arg1 to i64 %20 = trunc i64 %3 to i32 %21 = bitcast i8* %sv_2 to i64* %22 = icmp sgt i32 %20, 99 %23 = trunc i64 %8 to i32 br label LBL_5 LBL_5: %rcx.0.ph8.reload = load i64, i64* %rcx.0.ph8.reg2mem br label LBL_6 LBL_6: store i8 0, i8* %sv_2, align 1 %24 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* nonnull %sv_2) %25 = icmp eq i32 %24, 1 %26 = icmp eq i1 %25, false %27 = load i8, i8* %sv_2, align 1 %28 = icmp eq i8 %27, 0 %or.cond = or i1 %26, %28 br i1 %or.cond, label LBL_17, label LBL_7 LBL_7: %29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* nonnull %sv_2) %30 = call i32 @strcmp(i8* nonnull %sv_2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_9, label LBL_8 LBL_8: %33 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull @gv_5) br label LBL_10 LBL_9: %34 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %21) br label LBL_10 LBL_10: store i8 0, i8* %sv_2, align 1 %35 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* nonnull %sv_2) %36 = icmp eq i32 %35, 1 %37 = icmp eq i1 %36, false %38 = load i8, i8* %sv_2, align 1 %39 = icmp eq i8 %38, 0 %or.cond5 = or i1 %37, %39 br i1 %or.cond5, label LBL_17, label LBL_11 LBL_11: %40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0), i8* nonnull %sv_2) %41 = call i32 @strcmp(i8* nonnull %sv_2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_13, label LBL_12 LBL_12: %44 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull @gv_5) br label LBL_14 LBL_13: %45 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %21) br label LBL_14 LBL_14: br i1 %22, label LBL_16, label LBL_15 LBL_15: %46 = call i64 @FUNC(i64 %19, i64* nonnull %sv_1, i64* nonnull %sv_0, i32 %23) %47 = call i32 @feof(%_IO_FILE* %12) %48 = icmp eq i32 %47, 0 store i64 %9, i64* %rcx.0.ph8.reg2mem br i1 %48, label LBL_5, label LBL_17 LBL_16: %49 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @gv_7, i64 0, i64 0), i64 100, i64 %rcx.0.ph8.reload, i64 %2, i64 %1) %50 = call i32 @feof(%_IO_FILE* %12) %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_6, label LBL_17 LBL_17: %52 = call i32 @fclose(%_IO_FILE* %12) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder %_IO_FILE* %12, { 3, 5, 1, 2, 4, 0, 6 } uselistorder i8* %sv_2, { 4, 5, 0, 2, 9, 7, 8, 1, 3, 10, 6 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rcx.0.ph8.reg2mem, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64*, i64*)* @dlt_set_id, { 3, 2, 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fscanf, { 1, 0 } uselistorder i8 0, { 0, 3, 1, 4, 5, 2 } uselistorder i32 (%_IO_FILE*)* @feof, { 2, 1, 0 } uselistorder i32 0, { 4, 1, 2, 3, 0, 5, 6 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dlt_vlog, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder i64* %arg1, { 2, 0, 1 } uselistorder label LBL_18, { 1, 2, 0 } uselistorder label LBL_17, { 1, 0, 3, 2, 4 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
jsi_DumpCustomSpec_10224
jsi_DumpCustomSpec
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i32 %.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 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %4, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %11, 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_4, label LBL_1 LBL_1: %16 = call i64 @FUNC(i64 %14, i64 10) %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = load i64, i64* %13, align 8 %19 = inttoptr i64 %11 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %20, i64 %18, i64 %3, i64 %2, i64 %1) br label LBL_3 LBL_3: %22 = load i64, i64* %13, align 8 %23 = call i64 @FUNC(i64 %6, i64 %22) %24 = call i64 @FUNC(i64 %6, i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %23, i64 0) br label LBL_4 LBL_4: %25 = add i64 %11, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %27, 0 br i1 %28, label LBL_6, label LBL_5 LBL_5: %29 = call i64 @FUNC(i64 %6, i64 %27) %30 = call i64 @FUNC(i64 %6, i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 %29, i64 0) br label LBL_6 LBL_6: %31 = inttoptr i64 %11 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %6, i64 %32) %34 = call i64 @FUNC(i64 %6, i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 %33, i64 0) %35 = icmp eq i64* %arg3, null %.pre = load i32, i32* %8, align 4 br i1 %35, label LBL_11, label LBL_7 LBL_7: %36 = icmp ne i32 %.pre, 1 %37 = icmp eq i32 %.pre, 2 %38 = icmp eq i1 %37, false %or.cond = icmp eq i1 %36, %38 br i1 %or.cond, label LBL_11, label LBL_8 LBL_8: %39 = call i64 @FUNC(i64 %6, i64 4) %40 = call i64 @FUNC(i64 %6, i64 0, i64 %39) %41 = call i64 @FUNC(i64 %4) %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = icmp eq i64 %43, 0 %45 = icmp eq i1 %44, false store i64 %43, i64* %.reg2mem store i32 0, i32* %storemerge13.reg2mem br i1 %45, label LBL_9, label LBL_10 LBL_9: %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %.reload = load i64, i64* %.reg2mem %46 = call i64 @FUNC(i64 %6, i64 %.reload) %47 = call i64 @FUNC(i64 %6, i64 %39, i64 %46) %48 = add i32 %storemerge13.reload, 1 %49 = sext i32 %48 to i64 %50 = mul i64 %49, 8 %51 = add i64 %50, %41 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = icmp eq i64 %53, 0 %55 = icmp eq i1 %54, false store i64 %53, i64* %.reg2mem store i32 %48, i32* %storemerge13.reg2mem br i1 %55, label LBL_9, label LBL_10 LBL_10: %56 = load i32, i32* %8, align 4 %57 = icmp eq i32 %56, 2 %58 = icmp eq i1 %57, false %59 = select i1 %58, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0) %60 = call i64 @FUNC(i64 %6, i64 %5, i8* %59, i64 %40, i64 0) store i64 %60, i64* %rax.0.reg2mem br label LBL_13 LBL_11: %61 = zext i32 %.pre to i64 %62 = icmp eq i32 %.pre, 3 %63 = icmp eq i1 %62, false store i64 %61, i64* %rax.0.reg2mem br i1 %63, label LBL_13, label LBL_12 LBL_12: %64 = call i64 @FUNC(i64 %6, i64 4) %65 = call i64 @FUNC(i64 %6, i64 0, i64 %64) %66 = call i64 @FUNC(i64 %6, i64 %64, i64 %4) %67 = call i64 @FUNC(i64 %6, i64 %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i64 %65, i64 0) store i64 %67, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.pre, { 0, 1, 3, 2 } uselistorder i64* %13, { 1, 0, 2 } uselistorder i64 %11, { 1, 2, 0, 3 } uselistorder i32* %8, { 1, 0, 2 } uselistorder i64 %6, { 12, 11, 10, 9, 4, 6, 5, 8, 7, 14, 13, 3, 2, 1, 0 } uselistorder i64 %5, { 3, 2, 4, 1, 0 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @Jsi_ValueMakeObject, { 1, 0 } uselistorder i64 (i64, i64)* @Jsi_ObjNewType, { 1, 0 } uselistorder i1 false, { 3, 4, 5, 0, 2, 7, 6, 1 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64)* @Jsi_ObjInsert, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @Jsi_ValueNewStringKey, { 3, 2, 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
hw_perf_counter_init_17987
hw_perf_counter_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %0 = load i32*, i32** @gv_0, align 8 %1 = icmp eq i32* %0, null %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_12 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp slt i64 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_12 LBL_2: %9 = add i64 %3, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %3, i64* %sv_1.0.reg2mem br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = load i32, i32* %0, align 4 %15 = sext i32 %14 to i64 %16 = icmp ult i64 %3, %15 %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_12, label LBL_4 LBL_4: %18 = ptrtoint i32* %0 to i64 %19 = mul i64 %3, 8 %20 = add i64 %19, 8 %21 = add i64 %20, %18 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %sv_1.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_5, label LBL_12 LBL_5: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %26 = add i64 %3, 32 %27 = inttoptr i64 %26 to i64* store i64 %sv_1.0.reload, i64* %27, align 8 %28 = add i64 %3, 48 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 %30 = call i64 @FUNC(i64 1) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = add i64 %3, 24 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 br label LBL_7 LBL_7: %36 = add i64 %3, 64 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = icmp eq i64 %38, %3 store i32 0, i32* %sv_0.0.reg2mem br i1 %39, label LBL_9, label LBL_8 LBL_8: %40 = load i32*, i32** @gv_0, align 8 %41 = ptrtoint i32* %40 to i64 %42 = add i64 %41, 136 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = add i32 %44, -1 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %38, i64 %46, i64* nonnull %sv_2, i64* nonnull %sv_3) %48 = trunc i64 %47 to i32 %49 = icmp slt i32 %48, 0 %50 = icmp eq i1 %49, false store i32 %48, i32* %sv_0.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %50, label LBL_9, label LBL_12 LBL_9: %51 = ptrtoint i64* %sv_4 to i64 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %52 = trunc i64 %sv_1.0.reload to i32 %53 = sext i32 %sv_0.0.reload to i64 %54 = mul i64 %53, 4 %55 = add i64 %51, -208 %56 = add i64 %55, %54 %57 = inttoptr i64 %56 to i32* store i32 %52, i32* %57, align 4 %58 = zext i32 %sv_0.0.reload to i64 %59 = call i64 @FUNC(i64* nonnull %sv_2, i64 %58, i64 1) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %60, 0 store i64 0, i64* %rax.0.reg2mem br i1 %61, label LBL_10, label LBL_12 LBL_10: %62 = add i32 %sv_0.0.reload, 1 %63 = zext i32 %62 to i64 %64 = call i64 @FUNC(i64* nonnull %sv_3, i64 %63) %65 = trunc i64 %64 to i32 %66 = icmp eq i32 %65, 0 store i64 0, i64* %rax.0.reg2mem br i1 %66, label LBL_11, label LBL_12 LBL_11: %67 = load i32, i32* %57, align 4 %68 = zext i32 %67 to i64 %69 = add i64 %3, 40 %70 = inttoptr i64 %69 to i64* store i64 %68, i64* %70, align 8 %71 = load i64, i64* %5, align 8 %72 = add i64 %3, 56 %73 = call i64 @FUNC(i64 %72, i64 %71) store i64 ptrtoint (i64* @gv_1 to i64), i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 2, 1, 0 } uselistorder i64 %38, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %3, { 4, 5, 2, 6, 3, 7, 8, 1, 10, 0, 9, 11 } uselistorder i32* %0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 1, 2, 3, 5, 4, 6, 7 } uselistorder i64 1, { 1, 2, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6 } uselistorder i64 8, { 1, 0, 2 } uselistorder i32** @gv_0, { 1, 0 } uselistorder label LBL_12, { 7, 0, 1, 2, 4, 3, 5, 6 } }
1
BinRealVul
skb_release_head_state_10750
skb_release_head_state
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 24 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64 %4, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC() %8 = and i64 %7, 4294967295 %9 = call i64 @FUNC(i64 %8) br label LBL_2 LBL_2: %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = add i64 %0, 32 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 ret i64 %0 uselistorder i64 %0, { 0, 1, 3, 2, 4, 5 } }
0
BinRealVul
initialize_srand_18225
initialize_srand
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %0 = load i8, i8* inttoptr (i64 4210757 to i8*), align 1 %1 = zext i8 %0 to i64 %2 = icmp eq i8 %0, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = call i32 @getauxval(i32 25) %5 = icmp eq i32 %4, 0 store i32 0, i32* %storemerge.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = sext i32 %4 to i64 %7 = inttoptr i64 %6 to i32* %8 = call i64 @FUNC(i64 1) %9 = load i32, i32* %7, align 4 store i32 %9, i32* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i32, i32* %storemerge.reg2mem %10 = call i64 @FUNC(i64 0) %11 = trunc i64 %10 to i32 %12 = xor i32 %storemerge.reload, %11 %13 = call i64 @FUNC() %14 = trunc i64 %13 to i32 %15 = xor i32 %12, %14 call void @srand(i32 %15) store i8 1, i8* bitcast (i64* @gv_0 to i8*), align 8 store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %4, { 1, 0 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 1, 4, 0, 3 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
mrb_irep_free_18398
mrb_irep_free
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %.reg2mem10 = alloca i64 %.reg2mem8 = alloca i64 %storemerge1.reg2mem = alloca i64 %.reg2mem6 = alloca i64 %.reg2mem = alloca i64 %0 = urem i64 %arg2, 2 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = add i64 %arg2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %arg1, i64 %5) br label LBL_2 LBL_2: %7 = add i64 %arg2, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 %11 = add i64 %arg2, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 store i64 %13, i64* %.reg2mem store i64 %9, i64* %.reg2mem6 store i64 0, i64* %storemerge1.reg2mem store i64 %13, i64* %.lcssa.reg2mem br i1 %10, label LBL_6, label LBL_3 LBL_3: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %.reload7 = load i64, i64* %.reg2mem6 %.reload = load i64, i64* %.reg2mem %14 = mul i64 %storemerge1.reload, 16 %15 = add i64 %14, %.reload %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 2 %19 = icmp eq i1 %18, false store i64 %.reload, i64* %.reg2mem8 store i64 %.reload7, i64* %.reg2mem10 br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = add i64 %15, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %arg1, i64 %22) %.pre = load i64, i64* %8, align 8 %.pre3 = load i64, i64* %12, align 8 store i64 %.pre3, i64* %.reg2mem8 store i64 %.pre, i64* %.reg2mem10 br label LBL_5 LBL_5: %.reload11 = load i64, i64* %.reg2mem10 %.reload9 = load i64, i64* %.reg2mem8 %24 = add nuw i64 %storemerge1.reload, 1 %25 = icmp ult i64 %24, %.reload11 store i64 %.reload9, i64* %.reg2mem store i64 %.reload11, i64* %.reg2mem6 store i64 %24, i64* %storemerge1.reg2mem store i64 %.reload9, i64* %.lcssa.reg2mem br i1 %25, label LBL_3, label LBL_6 LBL_6: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %26 = call i64 @FUNC(i64 %arg1, i64 %.lcssa.reload) %27 = add i64 %arg2, 32 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %arg1, i64 %29) %31 = add i64 %arg2, 40 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %arg1, i64 %33) %35 = add i64 %arg2, 48 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = call i64 @FUNC(i64 %arg1, i64 %37) %39 = add i64 %arg2, 56 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = call i64 @FUNC(i64 %arg1, i64 %41) %43 = call i64 @FUNC(i64 %arg1, i64 %arg2) ret i64 %43 uselistorder i64 %.reload11, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem6, { 2, 0, 1 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem8, { 0, 2, 1 } uselistorder i64* %.reg2mem10, { 0, 2, 1 } uselistorder i64 (i64, i64)* @mrb_free, { 6, 5, 4, 3, 2, 7, 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 2, 1, 4, 3, 6, 7, 5, 8, 0 } uselistorder i64 %arg1, { 2, 1, 4, 3, 6, 5, 7, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
stub_recv_cmd_submit_4170
stub_recv_cmd_submit
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %.reg2mem3 = alloca i64 %.reg2mem1 = alloca i64 %.pre-phi.reg2mem = alloca i64* %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %4, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = and i64 %3, 4294967295 %10 = call i64 @FUNC(i64 %5, i64 %9, i32 %8) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, -1 store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_18, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %5, i64 %4) %14 = icmp eq i64 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_18, label LBL_2 LBL_2: %15 = and i64 %10, 4294967295 %16 = call i64 @FUNC(i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = add i64 %4, 12 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %22, i64 0) %24 = inttoptr i64 %13 to i64* store i64 %23, i64* %24, align 8 store i64 %23, i64* %.reg2mem store i64* %24, i64** %.pre-phi.reg2mem br label LBL_5 LBL_4: %25 = call i64 @FUNC(i64 0, i64 0) %26 = inttoptr i64 %13 to i64* store i64 %25, i64* %26, align 8 store i64 %25, i64* %.reg2mem store i64* %26, i64** %.pre-phi.reg2mem br label LBL_5 LBL_5: %.reload = load i64, i64* %.reg2mem %27 = icmp eq i64 %.reload, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = call i64 @FUNC(i64 %5, i64 1) store i64 %29, i64* %rax.0.reg2mem br label LBL_18 LBL_7: %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem %30 = add i64 %4, 16 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp slt i32 %32, 1 store i64 %.reload, i64* %.reg2mem1 br i1 %33, label LBL_10, label LBL_8 LBL_8: %34 = sext i32 %32 to i64 %35 = call i64 @FUNC(i64 %34, i64 0) %36 = inttoptr i64 %.reload to i64* store i64 %35, i64* %36, align 8 %37 = load i64, i64* %.pre-phi.reload, align 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false store i64 %37, i64* %.reg2mem1 br i1 %41, label LBL_10, label LBL_9 LBL_9: %42 = call i64 @FUNC(i64 %5, i64 1) store i64 %42, i64* %rax.0.reg2mem br label LBL_18 LBL_10: %.reload2 = load i64, i64* %.reg2mem1 %43 = add i64 %4, 20 %44 = call i64 @FUNC(i64 %43, i64 8, i64 0) %45 = add i64 %.reload2, 8 %46 = inttoptr i64 %45 to i64* store i64 %44, i64* %46, align 8 %47 = load i64, i64* %.pre-phi.reload, align 8 %48 = add i64 %47, 8 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = icmp eq i64 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_12, label LBL_11 LBL_11: %53 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 %9, i64 %2, i64 %1) %54 = call i64 @FUNC(i64 %5, i64 1) store i64 %54, i64* %rax.0.reg2mem br label LBL_18 LBL_12: %55 = add i64 %47, 16 %56 = inttoptr i64 %55 to i64* store i64 %13, i64* %56, align 8 %57 = load i64, i64* %.pre-phi.reload, align 8 %58 = add i64 %57, 24 %59 = inttoptr i64 %58 to i64* store i64 %5, i64* %59, align 8 %60 = load i64, i64* %.pre-phi.reload, align 8 %61 = add i64 %60, 32 %62 = inttoptr i64 %61 to i32* store i32 %11, i32* %62, align 4 %63 = load i64, i64* %.pre-phi.reload, align 8 %64 = add i64 %63, 40 %65 = inttoptr i64 %64 to i64* store i64 4199177, i64* %65, align 8 %66 = load i64, i64* %.pre-phi.reload, align 8 %67 = call i64 @FUNC(i64 %4, i64 %66, i64 3, i64 0) %68 = load i64, i64* %.pre-phi.reload, align 8 %69 = call i64 @FUNC(i64 %5, i64 %68) %70 = trunc i64 %69 to i32 %71 = icmp slt i32 %70, 0 store i64 %69, i64* %rax.0.reg2mem br i1 %71, label LBL_18, label LBL_13 LBL_13: %72 = load i64, i64* %.pre-phi.reload, align 8 %73 = call i64 @FUNC(i64 %5, i64 %72) %74 = trunc i64 %73 to i32 %75 = icmp slt i32 %74, 0 store i64 %73, i64* %rax.0.reg2mem br i1 %75, label LBL_18, label LBL_14 LBL_14: %76 = load i64, i64* %.pre-phi.reload, align 8 %77 = call i64 @FUNC(i64 %76) %78 = load i64, i64* %.pre-phi.reload, align 8 %79 = call i64 @FUNC(i64 %78) %80 = load i64, i64* %.pre-phi.reload, align 8 %81 = call i64 @FUNC(i64 %80, i64 0) %82 = trunc i64 %81 to i32 %83 = icmp eq i32 %82, 0 %84 = icmp eq i1 %83, false br i1 %84, label LBL_16, label LBL_15 LBL_15: %85 = add i64 %4, 8 %86 = inttoptr i64 %85 to i32* %87 = load i32, i32* %86, align 4 %88 = zext i32 %87 to i64 %89 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %88, i64 %72, i64 0, i64 %2, i64 %1) store i64 %88, i64* %.reg2mem3 store i64 %72, i64* %rdx.0.reg2mem br label LBL_17 LBL_16: %90 = and i64 %81, 4294967295 %91 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i64 %90, i64 0, i64 %2, i64 %1) %92 = call i64 @FUNC(i64 %4) %93 = load i64, i64* %.pre-phi.reload, align 8 %94 = call i64 @FUNC(i64 %93) %95 = call i64 @FUNC(i64 %5, i64 2) store i64 2, i64* %.reg2mem3 store i64 %90, i64* %rdx.0.reg2mem br label LBL_17 LBL_17: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %.reload4 = load i64, i64* %.reg2mem3 %96 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %.reload4, i64 %rdx.0.reload, i64 0, i64 %2, i64 %1) store i64 %96, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %.pre-phi.reload, { 1, 2, 4, 3, 5, 7, 6, 8, 9, 10, 11, 0 } uselistorder i64 %.reload, { 1, 0, 2 } uselistorder i64 %13, { 1, 2, 0, 3 } uselistorder i64 %10, { 1, 0, 2 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %5, { 4, 5, 6, 7, 8, 2, 3, 1, 0, 9, 10 } uselistorder i64 %4, { 2, 1, 3, 4, 5, 0, 6, 7 } uselistorder i64 %2, { 3, 1, 2, 0 } uselistorder i64 %1, { 3, 1, 2, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem1, { 0, 2, 1 } uselistorder i64* %.reg2mem3, { 0, 2, 1 } uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 6, 3, 2, 1, 7, 8 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @usbip_dbg_stub_rx, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_err, { 1, 0 } uselistorder i64 8, { 1, 2, 3, 0 } uselistorder i64 (i64, i64)* @usbip_event_add, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @usb_alloc_urb, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder label LBL_18, { 4, 0, 1, 5, 6, 7, 2, 3 } }
0
BinRealVul
hci_discovery_set_state_18896
hci_discovery_set_state
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %arg2 to i32 %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %3, i32 %7, i32 %4, i64 %2, i64 %1) %9 = load i32, i32* %6, align 4 %10 = zext i32 %9 to i64 %11 = icmp eq i32 %9, %4 store i64 %10, i64* %rax.0.reg2mem br i1 %11, label LBL_6, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %12 = ashr exact i64 %sext, 32 %13 = and i64 %12, 4294967295 store i64 %13, i64* @0, align 8 %trunc = trunc i64 %12 to i32 switch i32 %trunc, label LBL_5 [ i32 0, label LBL_2 i32 2, label LBL_4 ] LBL_2: %14 = load i32, i32* %6, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label LBL_5, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %3, i64 0) br label LBL_5 LBL_4: %17 = call i64 @FUNC(i64 %3, i64 1) br label LBL_5 LBL_5: store i32 %trunc, i32* %6, align 4 store i64 %3, 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 %12, { 1, 0 } uselistorder i32* %6, { 1, 0, 2, 3 } uselistorder i64 %3, { 0, 2, 1, 3, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @mgmt_discovering, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0, 3 } }
1
BinRealVul
t27_2838
t27
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = and i64 %arg3, 4294967295 %5 = add i64 %3, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 store i32 0, i32* %storemerge12.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_6, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %3, i64 7) %10 = trunc i64 %9 to i32 %11 = icmp ult i32 %10, 125 %12 = and i64 %9, 4294967295 br i1 %11, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_6 LBL_3: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %14 = add i64 %12, ptrtoint (i8** @gv_1 to i64) %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = urem i8 %16, 16 %18 = zext i8 %17 to i32 %19 = add nsw i32 %18, -2 %20 = add i32 %storemerge12.reload, 1 %21 = zext i32 %storemerge12.reload to i64 %22 = call i64 @FUNC(i64 %3, i64 %21, i64 %4, i32 %19) %23 = load i32, i32* %6, align 4 %24 = icmp ult i32 %20, %23 %25 = icmp eq i1 %24, false store i64 0, i64* %storemerge.reg2mem br i1 %25, label LBL_6, label LBL_4 LBL_4: %26 = udiv i8 %16, 16 %27 = zext i8 %26 to i32 %28 = add nsw i32 %27, -2 %29 = add i32 %storemerge12.reload, 2 %30 = zext i32 %20 to i64 %31 = call i64 @FUNC(i64 %3, i64 %30, i64 %4, i32 %28) %32 = load i32, i32* %6, align 4 %33 = icmp ult i32 %29, %32 %34 = icmp eq i1 %33, false store i64 0, i64* %storemerge.reg2mem br i1 %34, label LBL_6, label LBL_5 LBL_5: %35 = zext i32 %29 to i64 %36 = call i64 @FUNC(i64 %3, i64 %35, i64 %4, i32 -2) %37 = add i32 %storemerge12.reload, 3 %38 = load i32, i32* %6, align 4 %39 = icmp ult i32 %37, %38 store i32 %37, i32* %storemerge12.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %39, label LBL_1, label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %storemerge12.reload, { 0, 1, 3, 2 } uselistorder i64 %12, { 1, 0 } uselistorder i32* %6, { 3, 1, 2, 0 } uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 1, 2, 5, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i64, i32)* @set_pos, { 2, 1, 0 } uselistorder i64 4294967295, { 0, 2, 1 } uselistorder label LBL_6, { 2, 0, 1, 4, 3 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
ea_probe_15668
ea_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 1818767939 br i1 %2, label LBL_15, label LBL_1 LBL_1: %3 = icmp ult i32 %1, 1818767940 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_18 LBL_2: %4 = icmp eq i32 %1, 1801740621 br i1 %4, label LBL_15, label LBL_3 LBL_3: %5 = icmp ult i32 %1, 1801740622 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_4, label LBL_18 LBL_4: %6 = icmp eq i32 %1, 1749241933 br i1 %6, label LBL_15, label LBL_5 LBL_5: %7 = icmp ult i32 %1, 1749241934 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_6, label LBL_18 LBL_6: %8 = icmp eq i32 %1, 1684108877 br i1 %8, label LBL_15, label LBL_7 LBL_7: %9 = icmp ult i32 %1, 1684108878 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_8, label LBL_18 LBL_8: %10 = icmp eq i32 %1, 1413961323 br i1 %10, label LBL_15, label LBL_9 LBL_9: %11 = icmp ult i32 %1, 1413961324 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_10, label LBL_18 LBL_10: %12 = icmp eq i32 %1, 1313163347 br i1 %12, label LBL_15, label LBL_11 LBL_11: %13 = icmp ult i32 %1, 1313163348 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_12, label LBL_18 LBL_12: %14 = icmp eq i32 %1, 1214862925 br i1 %14, label LBL_15, label LBL_13 LBL_13: %15 = icmp ult i32 %1, 1214862926 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_14, label LBL_18 LBL_14: store i64 0, i64* %rax.0.reg2mem switch i32 %1, label LBL_18 [ i32 1145128275, label LBL_15 i32 1213090131, label LBL_15 ] LBL_15: %16 = add i64 %0, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp ult i32 %18, 1048576 br i1 %19, label LBL_17, label LBL_16 LBL_16: %20 = call i32 @llvm.bswap.i32(i32 %18) %21 = icmp ult i32 %20, 1048575 %22 = icmp eq i32 %18, -61696 %23 = or i1 %22, %21 store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_17, label LBL_18 LBL_17: store i64 100, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %18, { 1, 0, 2 } uselistorder i32 %1, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 10, 1, 9, 8, 7, 6, 5, 4, 3, 2 } uselistorder label LBL_18, { 9, 0, 8, 7, 6, 5, 4, 3, 2, 1 } }
1
BinRealVul
IntensityCompare_5665
IntensityCompare
define i64 @FUNC(i8* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i8* %arg1 to i64 %1 = ptrtoint i8* %arg2 to i64 %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %1) %5 = call i64 @FUNC(i64 %4) %6 = sub i64 %3, %5 ret i64 %6 uselistorder i64 (i64)* @ConstrainPixelIntensity, { 1, 0 } uselistorder i64 (i64)* @PixelPacketIntensity, { 1, 0 } }
0
BinRealVul
zend_ts_hash_graceful_destroy_18583
zend_ts_hash_graceful_destroy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0) ret i64 %6 uselistorder i64 %0, { 2, 1, 0, 3, 4 } uselistorder i64 (i64)* @tsrm_mutex_free, { 1, 0 } }
1
BinRealVul
io_mem_init_3460
io_mem_init
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 0, i64 4198710, i64 4198717, i64 0) %1 = call i64 @FUNC(i64 0, i64 4198724, i64 4198717, i64 0) %2 = call i64 @FUNC(i64 0, i64 4198710, i64 4198731, i64 0) store i32 5, i32* bitcast (i64* @gv_0 to i32*), align 8 %3 = call i64 @FUNC(i64 4294967295, i64 4198738, i64 4198745, i64 0) store i64 %3, i64* @gv_1, align 8 %4 = load i64, i64* @gv_2, align 8 %5 = udiv i64 %4, 4096 %6 = call i64 @FUNC(i64 %5) store i64 %6, i64* @gv_3, align 8 %7 = load i64, i64* @gv_2, align 8 %8 = udiv i64 %7, 4096 %9 = inttoptr i64 %6 to i64* %10 = trunc i64 %8 to i32 %11 = call i64* @memset(i64* %9, i32 255, i32 %10) %12 = ptrtoint i64* %11 to i64 ret i64 %12 uselistorder i64 (i64, i64, i64, i64)* @cpu_register_io_memory, { 3, 2, 1, 0 } }
0
BinRealVul
parse_msg_type_8179
parse_msg_type
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 2, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_4 LBL_2: %7 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 3, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_4 LBL_3: %10 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %arg1) unreachable LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 } }
0
BinRealVul
XkbVModMaskText_7741
XkbVModMaskText
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i8* %rbx.2.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %storemerge5.reg2mem = alloca i32 %storemerge7.reg2mem = alloca i8* %sv_1.1.reg2mem = alloca i8* %sv_0.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i8* %sv_1.216.reg2mem = alloca i8* %rbx.017.reg2mem = alloca i64 %storemerge619.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i8* %sv_2 = alloca i64, align 8 %0 = or i32 %arg3, %arg2 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_1, label LBL_4 LBL_1: %2 = call i64 @FUNC(i64 5) %3 = inttoptr i64 %2 to i8* %4 = icmp eq i32 %arg4, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i32 (i8*, i8*, ...) @sprintf(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) store i8* %3, i8** %storemerge.in.reg2mem br label LBL_29 LBL_3: %7 = call i32 (i8*, i8*, ...) @sprintf(i8* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) store i8* %3, i8** %storemerge.in.reg2mem br label LBL_29 LBL_4: %8 = icmp eq i32 %arg2, 0 store i8* null, i8** %storemerge8.reg2mem br i1 %8, label LBL_6, label LBL_5 LBL_5: %9 = zext i32 %arg4 to i64 %10 = zext i32 %arg2 to i64 %11 = call i64 @FUNC(i64 %10, i64 %9) %12 = inttoptr i64 %11 to i8* store i8* %12, i8** %storemerge8.reg2mem br label LBL_6 LBL_6: %13 = icmp eq i32 %arg3, 0 %storemerge8.reload = load i8*, i8** %storemerge8.reg2mem store i64 0, i64* %sv_2, align 8 store i8* null, i8** %storemerge7.reg2mem br i1 %13, label LBL_16, label LBL_7 LBL_7: %14 = bitcast i64* %sv_2 to i8* %15 = icmp eq i32 %arg4, 1 %16 = icmp eq i1 %15, false %spec.select.v = select i1 %16, i32 1, i32 5 %17 = ptrtoint i64* %sv_2 to i64 %. = select i1 %16, i8 43, i8 124 store i64 1, i64* %storemerge619.reg2mem store i64 0, i64* %rbx.017.reg2mem store i8* %14, i8** %sv_1.216.reg2mem br label LBL_8 LBL_8: %sv_1.216.reload = load i8*, i8** %sv_1.216.reg2mem %rbx.017.reload = load i64, i64* %rbx.017.reg2mem %storemerge619.reload = load i64, i64* %storemerge619.reg2mem %18 = trunc i64 %storemerge619.reload to i32 %19 = and i32 %18, %arg3 %20 = icmp eq i32 %19, 0 store i8* %sv_1.216.reload, i8** %sv_1.1.reg2mem br i1 %20, label LBL_15, label LBL_9 LBL_9: %21 = call i64 @FUNC(i64 %arg1, i64 %rbx.017.reload, i32 %arg4) %22 = inttoptr i64 %21 to i8* %23 = call i32 @strlen(i8* %22) %24 = icmp eq i8* %sv_1.216.reload, %14 %25 = icmp eq i1 %24, false %26 = zext i1 %25 to i32 %27 = add nuw nsw i32 %spec.select.v, %26 %spec.select = add i32 %27, %23 %28 = sext i32 %spec.select to i64 %29 = ptrtoint i8* %sv_1.216.reload to i64 %.neg15 = sub i64 %29, %17 %30 = sub i64 %.neg15, %28 %31 = icmp sgt i64 %30, 256 %or.cond11 = or i1 %24, %31 store i8* %sv_1.216.reload, i8** %sv_1.0.reg2mem store i32 %spec.select, i32* %sv_0.1.reg2mem br i1 %or.cond11, label LBL_11, label LBL_10 LBL_10: %32 = add i64 %29, 1 %33 = inttoptr i64 %32 to i8* store i8 %., i8* %sv_1.216.reload, align 1 %34 = add i32 %spec.select, -1 store i8* %33, i8** %sv_1.0.reg2mem store i32 %34, i32* %sv_0.1.reg2mem br label LBL_11 LBL_11: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem br i1 %16, label LBL_13, label LBL_12 LBL_12: %35 = call i32 (i8*, i8*, ...) @sprintf(i8* %sv_1.0.reload, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8* %22) br label LBL_14 LBL_13: %36 = call i8* @strcpy(i8* %sv_1.0.reload, i8* %22) br label LBL_14 LBL_14: %37 = sext i32 %sv_0.1.reload to i64 %38 = ptrtoint i8* %sv_1.0.reload to i64 %39 = add i64 %38, -1 %40 = add i64 %39, %37 %41 = inttoptr i64 %40 to i8* store i8* %41, i8** %sv_1.1.reg2mem br label LBL_15 LBL_15: %sv_1.1.reload = load i8*, i8** %sv_1.1.reg2mem %42 = add nuw nsw i64 %rbx.017.reload, 1 %43 = and i64 %42, 4294967295 %44 = mul i64 %storemerge619.reload, 2 %45 = and i64 %44, 4294967294 %46 = trunc i64 %42 to i32 %47 = icmp slt i32 %46, 8 store i64 %45, i64* %storemerge619.reg2mem store i64 %43, i64* %rbx.017.reg2mem store i8* %sv_1.1.reload, i8** %sv_1.216.reg2mem store i8* %14, i8** %storemerge7.reg2mem br i1 %47, label LBL_8, label LBL_16 LBL_16: %storemerge7.reload = load i8*, i8** %storemerge7.reg2mem %48 = icmp eq i8* %storemerge8.reload, null store i32 0, i32* %storemerge5.reg2mem br i1 %48, label LBL_18, label LBL_17 LBL_17: %49 = call i32 @strlen(i8* nonnull %storemerge8.reload) store i32 %49, i32* %storemerge5.reg2mem br label LBL_18 LBL_18: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %50 = icmp eq i8* %storemerge7.reload, null store i32 %storemerge5.reload, i32* %sv_0.2.reg2mem br i1 %50, label LBL_20, label LBL_19 LBL_19: %51 = call i32 @strlen(i8* nonnull %storemerge7.reload) %52 = icmp eq i1 %48, false %53 = zext i1 %52 to i32 %54 = add i32 %storemerge5.reload, %53 %55 = add i32 %54, %51 store i32 %55, i32* %sv_0.2.reg2mem br label LBL_20 LBL_20: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %56 = icmp slt i32 %sv_0.2.reload, 255 %spec.select12 = select i1 %56, i32 %sv_0.2.reload, i32 255 %57 = add i32 %spec.select12, 1 %58 = zext i32 %57 to i64 %59 = call i64 @FUNC(i64 %58) %60 = inttoptr i64 %59 to i8* store i8 0, i8* %60, align 1 store i32 0, i32* %rbx.2.reg2mem br i1 %48, label LBL_22, label LBL_21 LBL_21: %61 = call i32 @strlen(i8* nonnull %storemerge8.reload) %62 = icmp sgt i32 %61, %spec.select12 %spec.select13 = select i1 %62, i32 %spec.select12, i32 %61 %63 = call i8* @strcpy(i8* %60, i8* nonnull %storemerge8.reload) store i32 %spec.select13, i32* %rbx.2.reg2mem br label LBL_22 LBL_22: br i1 %50, label LBL_28, label LBL_23 LBL_23: %rbx.2.reload = load i32, i32* %rbx.2.reg2mem br i1 %48, label LBL_27, label LBL_24 LBL_24: %64 = icmp eq i32 %arg4, 1 %65 = icmp eq i1 %64, false %66 = call i32 @strlen(i8* %60) %67 = sext i32 %66 to i64 %68 = add i64 %59, %67 %69 = inttoptr i64 %68 to i16* br i1 %65, label LBL_26, label LBL_25 LBL_25: store i16 124, i16* %69, align 2 br label LBL_27 LBL_26: store i16 43, i16* %69, align 2 br label LBL_27 LBL_27: %70 = sub i32 %spec.select12, %rbx.2.reload %71 = call i8* @strncat(i8* %60, i8* nonnull %storemerge7.reload, i32 %70) br label LBL_28 LBL_28: %72 = sext i32 %spec.select12 to i64 %73 = add i64 %59, %72 %74 = inttoptr i64 %73 to i8* store i8 0, i8* %74, align 1 store i8* %60, i8** %storemerge.in.reg2mem br label LBL_29 LBL_29: %storemerge.in.reload = load i8*, i8** %storemerge.in.reg2mem %storemerge = ptrtoint i8* %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i16* %69, { 1, 0 } uselistorder i8* %60, { 0, 3, 2, 1, 4 } uselistorder i32 %spec.select12, { 2, 3, 0, 4, 1 } uselistorder i32 %sv_0.2.reload, { 1, 0 } uselistorder i32 %storemerge5.reload, { 1, 0 } uselistorder i1 %48, { 1, 2, 0, 3 } uselistorder i8* %storemerge7.reload, { 2, 0, 1 } uselistorder i8* %sv_1.0.reload, { 2, 1, 0 } uselistorder i64 %29, { 1, 0 } uselistorder i32 %spec.select, { 1, 0, 2 } uselistorder i64 %storemerge619.reload, { 1, 0 } uselistorder i64 %rbx.017.reload, { 1, 0 } uselistorder i8* %sv_1.216.reload, { 2, 1, 3, 4, 0 } uselistorder i1 %16, { 2, 1, 0 } uselistorder i8* %14, { 0, 2, 1 } uselistorder i8* %storemerge8.reload, { 3, 2, 0, 1 } uselistorder i8* %3, { 1, 2, 0, 3 } uselistorder i64* %sv_2, { 1, 0, 2 } uselistorder i8** %storemerge8.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge619.reg2mem, { 1, 0, 2 } uselistorder i64* %rbx.017.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_1.216.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge5.reg2mem, { 0, 2, 1 } uselistorder i32* %rbx.2.reg2mem, { 0, 2, 1 } uselistorder i8** %storemerge.in.reg2mem, { 0, 3, 2, 1 } uselistorder i8* (i8*, i8*)* @strcpy, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0, 4, 3, 2 } uselistorder i64 1, { 1, 2, 0 } uselistorder i8* null, { 2, 3, 0, 1 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 0, 2, 1 } uselistorder i1 false, { 0, 1, 3, 2, 4 } uselistorder i64 (i64)* @tbGetBuffer, { 1, 0 } uselistorder i32 %arg4, { 4, 3, 2, 1, 0 } uselistorder i32 %arg3, { 0, 2, 1 } uselistorder i32 %arg2, { 1, 2, 0 } uselistorder label LBL_29, { 2, 1, 0 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
can_follow_write_pmd_7188
can_follow_write_pmd
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 %4 = icmp eq i1 %3, false store i64 1, i64* %storemerge.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = urem i64 %arg2, 2 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0) %8 = trunc i64 %7 to i8 %9 = icmp eq i8 %8, 0 store i64 1, i64* %storemerge.reg2mem br i1 %9, label LBL_3, label LBL_4 LBL_3: store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 2, 1, 0 } }
0
BinRealVul
bpf_map_free_deferred_7096
bpf_map_free_deferred
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %0) %8 = call i64 @FUNC(i64 %0) %9 = call i64 @FUNC(i64 %3) %10 = call i64 @FUNC(i64 %6) ret i64 %10 }
0
BinRealVul
_on_unsuback_11950
_on_unsuback
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i8* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1, i64 %arg3, i64 1, i64 %0, i64 0) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %1) store i64 %6, i64* %storemerge.reg2mem br label LBL_9 LBL_2: %7 = inttoptr i64 %3 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %1, 40 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %8, %11 %13 = icmp eq i1 %12, false store i64 %11, i64* %storemerge1.reg2mem br i1 %13, label LBL_6, label LBL_3 LBL_3: %14 = inttoptr i64 %8 to i64* %15 = load i64, i64* %14, align 8 store i64 %15, i64* %10, align 8 br label LBL_8 LBL_4: %16 = icmp eq i64 %8, %22 %17 = icmp eq i1 %16, false store i64 %22, i64* %storemerge1.reg2mem br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = inttoptr i64 %22 to i64* %19 = load i64, i64* %18, align 8 store i64 %19, i64* %21, align 8 br label LBL_8 LBL_6: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %20 = icmp eq i64 %storemerge1.reload, 0 br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = inttoptr i64 %storemerge1.reload to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_4, label LBL_8 LBL_8: %25 = add i64 %8, 8 %26 = inttoptr i64 %25 to i64* store i64 0, i64* %26, align 8 %27 = add i64 %3, 8 %28 = call i64 @FUNC(i64 %27) %29 = call i64 @FUNC(i64 %1) store i64 %3, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %22, { 3, 2, 0, 1 } uselistorder i64* %21, { 1, 0 } uselistorder i64 %8, { 1, 0, 2, 3 } uselistorder i64 %1, { 1, 2, 0, 3, 4 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @mutex_unlock, { 2, 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
dnxhd_mb_var_thread_1727
dnxhd_mb_var_thread
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %sv_0.013.reg2mem = alloca i64 %sv_1.114.reg2mem = alloca i32 %sv_2.115.reg2mem = alloca i32 %storemerge616.reg2mem = alloca i32 %sv_1.010.reg2mem = alloca i32 %sv_2.011.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge17.reg2mem = alloca i32 %.reg2mem25 = alloca i32 %sv_3.018.reg2mem = alloca i32 %sv_4.019.reg2mem = alloca i32 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = add i64 %0, 32 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %sext3 = mul i64 %arg4, 4294967296 %5 = ashr exact i64 %sext3, 29 %6 = add i64 %4, %5 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 8 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_1 LBL_1: %15 = add i64 %8, 12 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_11, label LBL_2 LBL_2: %arg3.tr = trunc i64 %arg3 to i32 %19 = mul i32 %arg3.tr, 16 %20 = add i64 %8, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = mul i32 %19, %22 %24 = add i64 %8, 32 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 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 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = trunc i64 %32 to i32 %34 = add i32 %23, %33 %35 = trunc i64 %1 to i32 %36 = add i64 %8, 40 %37 = inttoptr i64 %36 to i64* store i32 %17, i32* %.reg2mem store i32 0, i32* %sv_4.019.reg2mem store i32 %34, i32* %sv_3.018.reg2mem br label LBL_3 LBL_3: %sv_3.018.reload = load i32, i32* %sv_3.018.reg2mem %sv_4.019.reload = load i32, i32* %sv_4.019.reg2mem %.reload = load i32, i32* %.reg2mem %38 = mul i32 %.reload, %35 %39 = add i32 %38, %sv_4.019.reload %40 = mul i32 %sv_3.018.reload, %sv_3.018.reload %41 = udiv i32 %40, 256 %42 = add i32 %sv_3.018.reload, 128 %43 = sub i32 %42, %41 %44 = udiv i32 %43, 256 %45 = load i64, i64* %37, align 8 %46 = zext i32 %39 to i64 %47 = mul i64 %46, 8 %48 = add i64 %47, %45 %49 = inttoptr i64 %48 to i32* store i32 %44, i32* %49, align 4 %50 = load i64, i64* %37, align 8 %51 = or i64 %47, 4 %52 = add i64 %51, %50 %53 = inttoptr i64 %52 to i32* store i32 %39, i32* %53, align 4 %54 = add i32 %sv_4.019.reload, 1 %55 = add i32 %sv_3.018.reload, 16 %56 = load i32, i32* %16, align 4 %57 = zext i32 %56 to i64 %58 = sext i32 %54 to i64 %59 = icmp slt i64 %58, %57 store i32 %56, i32* %.reg2mem store i32 %54, i32* %sv_4.019.reg2mem store i32 %55, i32* %sv_3.018.reg2mem br i1 %59, label LBL_3, label LBL_11 LBL_4: %60 = add i64 %8, 12 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = icmp eq i32 %62, 0 br i1 %63, label LBL_11, label LBL_5 LBL_5: %64 = add i64 %8, 8 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = ashr i32 %66, 1 %68 = add i64 %8, 32 %69 = inttoptr i64 %68 to i64* %arg3.tr8 = trunc i64 %arg3 to i32 %70 = mul i32 %arg3.tr8, 16 %71 = mul i32 %70, %67 %72 = sext i32 %71 to i64 %73 = trunc i64 %1 to i32 %74 = sext i32 %67 to i64 %75 = mul i64 %74, 2 %76 = add i64 %8, 40 %77 = inttoptr i64 %76 to i64* store i32 %62, i32* %.reg2mem25 store i32 0, i32* %storemerge17.reg2mem br label LBL_6 LBL_6: %storemerge17.reload = load i32, i32* %storemerge17.reg2mem %.reload26 = load i32, i32* %.reg2mem25 %78 = load i64, i64* %69, align 8 %79 = inttoptr i64 %78 to i64* %80 = load i64, i64* %79, align 8 %81 = inttoptr i64 %80 to i64* %82 = load i64, i64* %81, align 8 %83 = inttoptr i64 %82 to i64* %84 = load i64, i64* %83, align 8 %85 = mul i32 %storemerge17.reload, 16 %86 = sext i32 %85 to i64 %87 = add nsw i64 %86, %72 %88 = mul i64 %87, 2 %89 = add i64 %84, %88 store i32 0, i32* %storemerge616.reg2mem store i32 0, i32* %sv_2.115.reg2mem store i32 0, i32* %sv_1.114.reg2mem store i64 %89, i64* %sv_0.013.reg2mem br label LBL_9 LBL_7: %sv_1.010.reload = load i32, i32* %sv_1.010.reg2mem %sv_2.011.reload = load i32, i32* %sv_2.011.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %90 = mul i64 %indvars.iv.reload, 2 %91 = add i64 %90, %sv_0.013.reload %92 = inttoptr i64 %91 to i16* %93 = load i16, i16* %92, align 2 %94 = udiv i16 %93, 64 %95 = zext i16 %94 to i32 %96 = add i32 %sv_1.010.reload, %95 %97 = mul nuw nsw i32 %95, %95 %98 = add i32 %97, %sv_2.011.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %98, i32* %sv_2.011.reg2mem store i32 %96, i32* %sv_1.010.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %99 = add i64 %sv_0.013.reload, %75 %100 = add nuw nsw i32 %storemerge616.reload, 1 %exitcond21 = icmp eq i32 %100, 16 store i32 %100, i32* %storemerge616.reg2mem store i32 %98, i32* %sv_2.115.reg2mem store i32 %96, i32* %sv_1.114.reg2mem store i64 %99, i64* %sv_0.013.reg2mem br i1 %exitcond21, label LBL_10, label LBL_9 LBL_9: %sv_0.013.reload = load i64, i64* %sv_0.013.reg2mem %sv_1.114.reload = load i32, i32* %sv_1.114.reg2mem %sv_2.115.reload = load i32, i32* %sv_2.115.reg2mem %storemerge616.reload = load i32, i32* %storemerge616.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i32 %sv_2.115.reload, i32* %sv_2.011.reg2mem store i32 %sv_1.114.reload, i32* %sv_1.010.reg2mem br label LBL_7 LBL_10: %101 = mul i32 %.reload26, %73 %102 = add i32 %101, %storemerge17.reload %103 = ashr i32 %96, 8 %104 = ashr i32 %98, 8 %105 = mul i32 %103, %103 %106 = load i64, i64* %77, align 8 %107 = zext i32 %102 to i64 %108 = mul i64 %107, 8 %109 = add i64 %106, %108 %110 = sub i32 %104, %105 %111 = inttoptr i64 %109 to i32* store i32 %110, i32* %111, align 4 %112 = load i64, i64* %77, align 8 %113 = or i64 %108, 4 %114 = add i64 %112, %113 %115 = inttoptr i64 %114 to i32* store i32 %102, i32* %115, align 4 %116 = add i32 %storemerge17.reload, 1 %117 = load i32, i32* %61, align 4 %118 = zext i32 %117 to i64 %119 = sext i32 %116 to i64 %120 = icmp slt i64 %119, %118 store i32 %117, i32* %.reg2mem25 store i32 %116, i32* %storemerge17.reg2mem br i1 %120, label LBL_6, label LBL_11 LBL_11: ret i64 0 uselistorder i32 %98, { 2, 0, 1 } uselistorder i32 %96, { 2, 0, 1 } uselistorder i32 %95, { 1, 2, 0 } uselistorder i32 %storemerge17.reload, { 1, 0, 2 } uselistorder i32 %67, { 1, 0 } uselistorder i32* %61, { 1, 0 } uselistorder i32 %sv_4.019.reload, { 1, 0 } uselistorder i32 %sv_3.018.reload, { 1, 0, 3, 2 } uselistorder i32* %16, { 1, 0 } uselistorder i64 %8, { 2, 4, 6, 3, 1, 7, 5, 0, 8 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.019.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.018.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem25, { 1, 0, 2 } uselistorder i32* %storemerge17.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_2.011.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.010.reg2mem, { 2, 1, 0 } uselistorder i64 8, { 0, 2, 1, 3 } uselistorder i32 16, { 3, 0, 1, 4, 2 } uselistorder i32 0, { 0, 1, 2, 3, 5, 4, 6 } uselistorder i32 8, { 1, 2, 0 } uselistorder i64 32, { 1, 2, 3, 0 } uselistorder i64 %arg3, { 1, 2, 0 } uselistorder label LBL_11, { 1, 3, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
b43_op_stop_18336
b43_op_stop
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.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 = add i64 %1, 56 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %1, 8 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64 %3) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %9, 1 store i64 %3, i64* %sv_0.0.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %3) %12 = icmp eq i64 %11, 0 store i64 %11, i64* %sv_0.0.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %13 = call i64 @FUNC(i64 %sv_0.0.reload) %14 = add i64 %1, 48 %15 = inttoptr i64 %14 to i8* store i8 0, i8* %15, align 1 br label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %6) %17 = add i64 %1, 64 %18 = call i64 @FUNC(i64 %17) ret i64 %18 uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 (i64)* @cancel_work_sync, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
LockServer_7757
LockServer
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %4 = load i32, i32* @gv_0, align 4 %5 = zext i32 %4 to i64 %6 = icmp eq i32 %4, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_26, label LBL_1 LBL_1: %8 = load i64*, i64** @gv_1, align 8 %9 = bitcast i64* %8 to i8* %10 = call i32 @atoi(i8* %9) %11 = zext i32 %10 to i64 %12 = bitcast i64* %sv_5 to i8* %13 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %12, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %11) %14 = call i32 @strlen(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %15 = call i32 @strlen(i8* nonnull %12) %16 = add i32 %15, %14 %17 = add i32 %16, 15 %18 = icmp ult i32 %17, 4097 br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = zext i32 %16 to i64 %20 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_5, i64 %19, i64 %3, i64 %2, i64 %1) unreachable LBL_3: %21 = bitcast i64* %sv_4 to i8* %22 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %21, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_5) %23 = ptrtoint i64* %sv_5 to i64 %24 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_6 to i8*), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_5) store i32 1, i32* inttoptr (i64 4215012 to i32*), align 4 store i32 0, i32* %sv_1.0.reg2mem br label LBL_4 LBL_4: %25 = call i32 (i8*, i32, ...) @open(i8* nonnull %21, i32 193) %26 = icmp slt i32 %25, 0 %27 = icmp eq i1 %26, false store i32 %25, i32* %sv_0.0.reg2mem br i1 %27, label LBL_9, label LBL_5 LBL_5: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %28 = add nuw nsw i32 %sv_1.0.reload, 1 %29 = call i32 @sleep(i32 2) %30 = icmp ult i32 %28, 3 store i32 %28, i32* %sv_1.0.reg2mem br i1 %30, label LBL_4, label LBL_6 LBL_6: %31 = call i32 @unlink(i8* nonnull %21) store i32 0, i32* %sv_1.1.reg2mem br label LBL_7 LBL_7: %32 = call i32 (i8*, i32, ...) @open(i8* nonnull %21, i32 193) %33 = icmp slt i32 %32, 0 %34 = icmp eq i1 %33, false store i32 %32, i32* %sv_0.0.reg2mem br i1 %34, label LBL_9, label LBL_8 LBL_8: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %35 = add nuw nsw i32 %sv_1.1.reload, 1 %36 = call i32 @sleep(i32 2) %37 = icmp ult i32 %35, 3 store i32 %35, i32* %sv_1.1.reg2mem store i32 %32, i32* %sv_0.0.reg2mem br i1 %37, label LBL_7, label LBL_9 LBL_9: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %38 = icmp slt i32 %sv_0.0.reload, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_11, label LBL_10 LBL_10: %40 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_8, i64 0, i64 0), i64* nonnull %sv_4, i64 420, i64 %23, i64 %2, i64 %1) unreachable LBL_11: %41 = call i32 @getpid() %42 = bitcast i64* %sv_3 to i8* %43 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %42, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), i32 %41) %44 = ptrtoint i64* %sv_3 to i64 %45 = call i32 @write(i32 %sv_0.0.reload, i64* nonnull %sv_3, i32 11) %46 = call i32 @chmod(i8* nonnull %21, i32 292) %47 = call i32 @close(i32 %sv_0.0.reload) store i32 1, i32* %.reg2mem br label LBL_12 LBL_12: %48 = call i32 @link(i8* nonnull %21, i8* bitcast (i8** @gv_6 to i8*)) %49 = icmp eq i32 %48, 0 %50 = icmp eq i1 %49, false %51 = icmp eq i1 %50, false br i1 %51, label LBL_25, label LBL_13 LBL_13: %.reload = load i32, i32* %.reg2mem %52 = call i32 (i8*, i32, ...) @open(i8* bitcast (i8** @gv_6 to i8*), i32 131072) %53 = icmp slt i32 %52, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_15, label LBL_14 LBL_14: %55 = zext i32 %.reload to i64 %56 = call i32 @unlink(i8* nonnull %21) %57 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_10, i64 0, i64 0), i64* bitcast (i8** @gv_6 to i64*), i64 %55, i64 %44, i64 %2, i64 %1) unreachable LBL_15: store i64 0, i64* %sv_3, align 8 %58 = call i32 @read(i32 %52, i64* nonnull %sv_3, i32 11) %59 = icmp eq i32 %58, 11 br i1 %59, label LBL_18, label LBL_16 LBL_16: %60 = call i32 @unlink(i8* bitcast (i8** @gv_6 to i8*)) %61 = call i32 @close(i32 %52) br label LBL_17 LBL_17: %62 = add nuw nsw i32 %.reload, 1 %63 = icmp ult i32 %.reload, 3 store i32 %62, i32* %.reg2mem br i1 %63, label LBL_12, label LBL_24 LBL_18: %64 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %42, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_2) %65 = call i32 @close(i32 %52) %66 = call i32* @__errno_location() store i32 0, i32* %66, align 4 %67 = load i64, i64* %sv_2, align 8 %68 = trunc i64 %67 to i32 %69 = call i32 @kill(i32 %68, i32 0) %70 = icmp slt i32 %69, 0 %71 = icmp eq i1 %70, false br i1 %71, label LBL_22, label LBL_19 LBL_19: %72 = call i32* @__errno_location() %73 = load i32, i32* %72, align 4 %74 = icmp eq i32 %73, 3 %75 = icmp eq i1 %74, false br i1 %75, label LBL_21, label LBL_20 LBL_20: %76 = call i32 @unlink(i8* bitcast (i8** @gv_6 to i8*)) br label LBL_17 LBL_21: %77 = call i32* @__errno_location() %78 = load i32, i32* %77, align 4 %79 = icmp eq i32 %78, 1 br i1 %79, label LBL_23, label LBL_22 LBL_22: %80 = icmp eq i32 %69, 0 %81 = icmp eq i1 %80, false br i1 %81, label LBL_17, label LBL_23 LBL_23: %82 = call i32 @unlink(i8* nonnull %21) %83 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_11, i64 0, i64 0), i64* nonnull %sv_5, i64 ptrtoint ([45 x i8]* @gv_12 to i64), i64 ptrtoint (i8** @gv_6 to i64), i64 ptrtoint ([18 x i8]* @gv_13 to i64), i64 %1) unreachable LBL_24: %84 = call i32 @unlink(i8* nonnull %21) %rdx.2 = zext i32 %62 to i64 %85 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_14, i64 0, i64 0), i64* bitcast (i8** @gv_6 to i64*), i64 %rdx.2, i64 %44, i64 %2, i64 %1) unreachable LBL_25: %86 = call i32 @unlink(i8* nonnull %21) %87 = sext i32 %86 to i64 store i32 0, i32* bitcast (i64* @gv_15 to i32*), align 8 store i64 %87, i64* %rax.0.reg2mem br label LBL_26 LBL_26: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %62, { 1, 0 } uselistorder i32 %52, { 1, 0, 2, 3 } uselistorder i32 %sv_0.0.reload, { 1, 2, 0 } uselistorder i32 %32, { 1, 0, 2 } uselistorder i8* %21, { 0, 6, 4, 3, 5, 7, 1, 2, 8, 9 } uselistorder i32 %16, { 1, 0 } uselistorder i64* %sv_5, { 2, 0, 5, 1, 3, 4 } uselistorder i64* %sv_3, { 0, 3, 1, 4, 2 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32* ()* @__errno_location, { 2, 0, 1 } uselistorder i64* bitcast (i8** @gv_6 to i64*), { 1, 0 } uselistorder i32 (i32)* @close, { 2, 1, 0 } uselistorder i32 (i8*)* @unlink, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i32 (i32)* @sleep, { 1, 0 } uselistorder i32 (i8*, i32, ...)* @open, { 0, 2, 1 } uselistorder i8** @gv_6, { 2, 0, 1 } uselistorder i64 (i8*, i64*, i64, i64, i64, i64)* @FatalError, { 4, 3, 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), { 1, 0, 2 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6, 7, 8, 9 } uselistorder i32 0, { 4, 5, 6, 2, 7, 8, 9, 10, 11, 0, 12, 1, 13, 3 } uselistorder i32 1, { 9, 10, 4, 17, 18, 19, 15, 14, 13, 12, 8, 7, 6, 5, 3, 2, 11, 16, 1, 0 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_17, { 2, 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 2, 1, 0 } }
1
BinRealVul
term_up_char_1368
term_up_char
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge.lcssa.reg2mem = alloca i32 %storemerge1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i32, i32* @gv_0, align 4 %5 = icmp eq i32 %4, 0 store i32 0, i32* %rax.0.in.reg2mem br i1 %5, label LBL_7, label LBL_1 LBL_1: %6 = icmp eq i32 %4, -1 %7 = icmp eq i1 %6, false store i32 0, i32* %storemerge1.reg2mem store i32 %4, i32* %.reg2mem br i1 %7, label LBL_5, label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %8 = sext i32 %storemerge1.reload to i64 %9 = mul i64 %8, 8 %10 = add i64 %9, ptrtoint (i64* @gv_1 to i64) %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 store i32 %storemerge1.reload, i32* %storemerge.lcssa.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = add nuw i32 %storemerge1.reload, 1 %15 = icmp ult i32 %14, 100 store i32 %14, i32* %storemerge1.reg2mem store i32 %14, i32* %storemerge.lcssa.reg2mem br i1 %15, label LBL_2, label LBL_4 LBL_4: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem store i32 %storemerge.lcssa.reload, i32* @gv_0, align 4 store i32 %storemerge.lcssa.reload, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem %16 = add i32 %.reload, -1 store i32 %16, i32* @gv_0, align 4 %17 = icmp slt i32 %16, 0 store i32 %16, i32* %rax.0.in.reg2mem br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = sext i32 %16 to i64 %19 = mul i64 %18, 8 %20 = add i64 %19, ptrtoint (i64* @gv_1 to i64) %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64* bitcast (i8** @gv_2 to i64*), i64 256, i64 %22) %24 = call i64 @FUNC(i64* nonnull @gv_3, i64 256, i64 %22, i64 %3, i64 %2, i64 %1) %25 = call i64 @FUNC(i64* bitcast (i8** @gv_2 to i64*)) %26 = call i32 @strlen(i8* bitcast (i8** @gv_2 to i8*)) store i32 %26, i32* inttoptr (i64 4211876 to i32*), align 4 %27 = load i32, i32* @gv_4, align 4 store i32 %27, i32* bitcast (i64* @gv_5 to i32*), align 8 store i32 %27, i32* %rax.0.in.reg2mem br label LBL_7 LBL_7: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i64 %22, { 1, 0 } uselistorder i32 %16, { 1, 0, 2, 3 } uselistorder i32 %storemerge1.reload, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 256, { 1, 0 } uselistorder i64 ptrtoint (i64* @gv_1 to i64), { 1, 0 } uselistorder i32 1, { 8, 6, 5, 4, 3, 2, 7, 1, 0 } uselistorder label LBL_7, { 1, 2, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
nested_vmx_check_permission_7302
nested_vmx_check_permission
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 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 1) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0, i64 1) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64)* @kvm_queue_exception, { 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
mmio_interface_realize_2613
mmio_interface_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = trunc i64 %0 to i32 %8 = trunc i64 %6 to i32 %9 = inttoptr i64 %3 to i64* %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i32 %7, i32 %8, i64* %9) %11 = load i64, i64* %2, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0)) %16 = sext i32 %15 to i64 store i64 %16, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %17 = add i64 %0, 24 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %23 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0)) %24 = sext i32 %23 to i64 store i64 %24, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %25 = load i64, i64* %5, align 8 %26 = add i64 %25, add (i64 sub (i64 0, i64 ptrtoint ([49 x i8]* @gv_0 to i64)), i64 1) %27 = add i64 %0, 40 %28 = call i64 @FUNC(i64 %27, i64 %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i64 %26, i64 %11) %29 = add i64 %0, 32 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %27, i64 %32) %34 = load i64, i64* %18, align 8 %35 = call i64 @FUNC(i64 %34, i64 %27, i64 %27) store i64 %35, 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 %27, { 0, 2, 1, 3 } uselistorder i64 %0, { 1, 2, 3, 0, 4, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_1, { 1, 0 } uselistorder [49 x i8]* @gv_0, { 1, 0 } }
0