dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
megasas_scsi_uninit_16953
megasas_scsi_uninit
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 %0, i64 %0) br label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %0) store i64 %8, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 3, 4, 1, 2, 0, 5 } }
1
BinRealVul
pci_bios_init_device_17731
pci_bios_init_device
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 10) %2 = trunc i64 %1 to i32 %3 = call i64 @FUNC(i64 %0, i64 0) %4 = trunc i64 %3 to i32 %5 = call i64 @FUNC(i64 %0, i64 2) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %2, 65280 br i1 %7, label LBL_7, label LBL_1 LBL_1: %8 = icmp sgt i32 %2, 65280 br i1 %8, label LBL_9, label LBL_2 LBL_2: switch i32 %2, label LBL_9 [ i32 257, label LBL_3 i32 768, label LBL_6 ] LBL_3: %9 = icmp eq i32 %4, 32902 %10 = icmp eq i32 %6, 28688 %11 = icmp eq i1 %9, %10 br i1 %11, label LBL_4, label LBL_5 LBL_4: %12 = call i64 @FUNC(i64 %0, i64 4, i64 1) %13 = call i64 @FUNC(i64 %0, i64 64, i64 32768) br label LBL_13 LBL_5: %14 = call i64 @FUNC(i64 %0, i64 0, i64 496) %15 = call i64 @FUNC(i64 %0, i64 1, i64 1012) %16 = call i64 @FUNC(i64 %0, i64 2, i64 368) %17 = call i64 @FUNC(i64 %0, i64 3, i64 884) br label LBL_13 LBL_6: %18 = call i64 @FUNC(i64 %0, i64 0, i64 3758096384) br label LBL_13 LBL_7: %19 = icmp eq i32 %4, 4203 %20 = icmp eq i32 %6, 23 %21 = icmp eq i1 %19, %20 br i1 %21, label LBL_8, label LBL_13 LBL_8: %22 = call i64 @FUNC(i64 %0, i64 0, i64 2155872256) br label LBL_13 LBL_9: store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %23 = mul i64 %indvars.iv.reload, 8 %24 = add i64 %23, %0 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_12, label LBL_11 LBL_11: %28 = add i64 %24, 4 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = urem i32 %30, 2 %32 = icmp eq i32 %31, 0 %. = select i1 %32, i32* bitcast (i64* @gv_0 to i32*), i32* bitcast (i32** @gv_1 to i32*) %33 = load i32, i32* %., align 8 %34 = add i32 %26, -1 %35 = add i32 %34, %33 %36 = sub i32 0, %26 %37 = and i32 %35, %36 store i32 %37, i32* %., align 8 %38 = zext i32 %37 to i64 %39 = call i64 @FUNC(i64 %0, i64 %indvars.iv.reload, i64 %38) %40 = load i32, i32* %., align 8 %41 = load i32, i32* %25, align 4 %42 = add i32 %41, %40 store i32 %42, i32* %., align 8 br label LBL_12 LBL_12: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 6 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_13, label LBL_10 LBL_13: %43 = call i64 @FUNC(i64 %0, i64 61) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 store i64 %43, i64* %rax.0.reg2mem br i1 %45, label LBL_15, label LBL_14 LBL_14: %46 = add i64 %43, 4294967295 %47 = and i64 %46, 4294967295 %48 = call i64 @FUNC(i64 %0, i64 %47) %sext = mul i64 %48, 4294967296 %49 = ashr exact i64 %sext, 30 %50 = add i64 %49, ptrtoint (i32** @gv_2 to i64) %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = call i64 @FUNC(i64 %0, i64 60, i32 %52) store i64 %53, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %43, { 1, 0, 2 } uselistorder i32* %., { 1, 0, 2, 3 } uselistorder i32 %26, { 1, 0, 2 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %0, { 10, 11, 12, 8, 0, 9, 1, 7, 6, 5, 4, 3, 2, 13, 14, 15 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64, i64)* @pci_set_io_region_addr, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @pci_config_writew, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder i32 65280, { 1, 0 } uselistorder i64 (i64, i64)* @pci_config_readw, { 2, 1, 0 } uselistorder label LBL_13, { 0, 2, 1, 3, 4, 5 } }
1
BinRealVul
ehci_state_fetchentry_10319
ehci_state_fetchentry
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = and i64 %arg2, 4294967295 %3 = call i64 @FUNC(i64 %0, i64 %2) %4 = urem i64 %3, 2 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %1, 4294967295 %7 = call i64 @FUNC(i64 %0, i64 %6, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %8 = trunc i64 %3 to i32 %9 = trunc i64 %1 to i32 %10 = icmp eq i32 %9, 0 %11 = and i32 %8, 6 %12 = icmp eq i32 %11, 2 %or.cond = or i1 %10, %12 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %13 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %14 = call i32 @fwrite(i64* bitcast ([42 x i8]* @gv_1 to i64*), i32 1, i32 41, %_IO_FILE* %13) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %15 = udiv i32 %8, 2 %16 = urem i32 %15, 4 switch i32 %16, label LBL_8 [ i32 3, label LBL_7 i32 1, label LBL_5 i32 2, label LBL_6 ] LBL_5: %17 = and i64 %1, 4294967295 %18 = call i64 @FUNC(i64 %0, i64 %17, i64 1) store i64 1, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %19 = and i64 %1, 4294967295 %20 = call i64 @FUNC(i64 %0, i64 %19, i64 2) store i64 1, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %21 = and i64 %1, 4294967295 %22 = call i64 @FUNC(i64 %0, i64 %21, i64 3) store i64 1, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %23 = udiv i64 %3, 2 %24 = urem i64 %23, 4 %25 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %25, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_2, i64 0, i64 0), i32 %8, i64 %24) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %8, { 2, 0, 1 } uselistorder i64 %3, { 0, 2, 1 } uselistorder i64 %1, { 2, 0, 1, 3, 4 } uselistorder i64 %0, { 3, 1, 2, 0, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 4, 2, 3, 5, 1 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i32 2, { 1, 0, 2 } uselistorder i64 (i64, i64, i64)* @ehci_set_state, { 3, 2, 1, 0 } uselistorder i64 0, { 3, 4, 0, 5, 2, 1, 6 } uselistorder i64 2, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_9, { 4, 3, 2, 1, 5, 0 } }
0
BinRealVul
IRQ_testbit_2330
IRQ_testbit
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) ret i64 %2 }
0
BinRealVul
file_strncmp_9423
file_strncmp
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i64 %sv_1.1.ph21.reg2mem = alloca i64 %sv_2.3.ph22.reg2mem = alloca i64 %sv_0.1.ph23.reg2mem = alloca i64 %.in.reg2mem = alloca i64 %sv_0.1.ph.be.reg2mem = alloca i64 %.pre-phi.pre-phi.reg2mem = alloca i8* %sv_2.2.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i64 %sv_2.3.be.reg2mem = alloca i64 %sv_1.1.be.reg2mem = alloca i64 %sv_1.117.reg2mem = alloca i64 %sv_2.318.reg2mem = alloca i64 %.in31.reg2mem = alloca i64 %sv_3.025.reg2mem = alloca i64 %sv_1.026.reg2mem = alloca i64 %sv_2.027.reg2mem = alloca i64 %0 = icmp eq i32 %arg4, 0 %1 = icmp eq i1 %0, false %2 = icmp eq i64 %arg3, 0 %3 = icmp eq i1 %2, false br i1 %1, label LBL_2, label LBL_1 LBL_1: store i64 %arg2, i64* %sv_2.027.reg2mem store i64 %arg1, i64* %sv_1.026.reg2mem store i64 %arg3, i64* %sv_3.025.reg2mem store i64 0, i64* %sv_0.2.reg2mem br i1 %3, label LBL_4, label LBL_26 LBL_2: store i64 0, i64* %sv_0.2.reg2mem br i1 %3, label LBL_3, label LBL_26 LBL_3: %4 = urem i32 %arg4, 2 %5 = icmp eq i32 %4, 0 %6 = and i32 %arg4, 2 %7 = icmp eq i32 %6, 0 %8 = and i32 %arg4, 4 %9 = icmp eq i32 %8, 0 %10 = and i32 %arg4, 8 %11 = icmp eq i32 %10, 0 store i64 %arg3, i64* %.in.reg2mem store i64 0, i64* %sv_0.1.ph23.reg2mem store i64 %arg2, i64* %sv_2.3.ph22.reg2mem store i64 %arg1, i64* %sv_1.1.ph21.reg2mem br label LBL_6.lr.ph LBL_4: %sv_1.026.reload = load i64, i64* %sv_1.026.reg2mem %sv_2.027.reload = load i64, i64* %sv_2.027.reg2mem %12 = inttoptr i64 %sv_2.027.reload to i8* %13 = load i8, i8* %12, align 1 %14 = inttoptr i64 %sv_1.026.reload to i8* %15 = load i8, i8* %14, align 1 %16 = zext i8 %13 to i64 %17 = zext i8 %15 to i64 %18 = sub nsw i64 %16, %17 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 %18, i64* %sv_0.2.reg2mem br i1 %20, label LBL_26, label LBL_5 LBL_5: %sv_3.025.reload = load i64, i64* %sv_3.025.reg2mem %21 = add i64 %sv_3.025.reload, -1 %22 = add i64 %sv_2.027.reload, 1 %23 = add i64 %sv_1.026.reload, 1 %24 = icmp eq i64 %21, 0 %25 = icmp eq i1 %24, false store i64 %22, i64* %sv_2.027.reg2mem store i64 %23, i64* %sv_1.026.reg2mem store i64 %21, i64* %sv_3.025.reg2mem store i64 %18, i64* %sv_0.2.reg2mem br i1 %25, label LBL_4, label LBL_26 LBL_6: %sv_1.117.reload = load i64, i64* %sv_1.117.reg2mem %sv_2.318.reload = load i64, i64* %sv_2.318.reg2mem %.in31.reload = load i64, i64* %.in31.reg2mem %26 = add i64 %.in31.reload, -1 br i1 %5, label LBL_9, label LBL_7 LBL_7: %27 = call i16** @__ctype_b_loc() %28 = load i16*, i16** %27, align 8 %29 = ptrtoint i16* %28 to i64 %30 = inttoptr i64 %sv_1.117.reload to i8* %31 = load i8, i8* %30, align 1 %32 = zext i8 %31 to i64 %33 = mul i64 %32, 2 %34 = add i64 %33, %29 %35 = inttoptr i64 %34 to i16* %36 = load i16, i16* %35, align 2 %37 = and i16 %36, 512 %38 = icmp eq i16 %37, 0 br i1 %38, label LBL_9, label LBL_8 LBL_8: %39 = inttoptr i64 %sv_2.318.reload to i8* %40 = load i8, i8* %39, align 1 %41 = zext i8 %40 to i32 %42 = call i32 @tolower(i32 %41) %43 = load i8, i8* %30, align 1 %44 = zext i8 %43 to i32 %45 = sub i32 %42, %44 %46 = sext i32 %45 to i64 %47 = icmp eq i32 %45, 0 %48 = icmp eq i1 %47, false store i64 %46, i64* %sv_0.1.ph.be.reg2mem store i64 %46, i64* %sv_0.2.reg2mem br i1 %48, label LBL_26, label LBL_23 LBL_9: br i1 %7, label LBL_12, label LBL_10 LBL_10: %49 = call i16** @__ctype_b_loc() %50 = load i16*, i16** %49, align 8 %51 = ptrtoint i16* %50 to i64 %52 = inttoptr i64 %sv_1.117.reload to i8* %53 = load i8, i8* %52, align 1 %54 = zext i8 %53 to i64 %55 = mul i64 %54, 2 %56 = add i64 %55, %51 %57 = inttoptr i64 %56 to i16* %58 = load i16, i16* %57, align 2 %59 = and i16 %58, 256 %60 = icmp eq i16 %59, 0 br i1 %60, label LBL_12, label LBL_11 LBL_11: %61 = inttoptr i64 %sv_2.318.reload to i8* %62 = load i8, i8* %61, align 1 %63 = zext i8 %62 to i32 %64 = call i32 @toupper(i32 %63) %65 = load i8, i8* %52, align 1 %66 = zext i8 %65 to i32 %67 = sub i32 %64, %66 %68 = sext i32 %67 to i64 %69 = icmp eq i32 %67, 0 %70 = icmp eq i1 %69, false store i64 %68, i64* %sv_0.1.ph.be.reg2mem store i64 %68, i64* %sv_0.2.reg2mem br i1 %70, label LBL_26, label LBL_23 LBL_12: br i1 %9, label LBL_18, label LBL_13 LBL_13: %71 = call i16** @__ctype_b_loc() %72 = load i16*, i16** %71, align 8 %73 = ptrtoint i16* %72 to i64 %74 = inttoptr i64 %sv_1.117.reload to i8* %75 = load i8, i8* %74, align 1 %76 = zext i8 %75 to i64 %77 = mul i64 %76, 2 %78 = add i64 %77, %73 %79 = inttoptr i64 %78 to i16* %80 = load i16, i16* %79, align 2 %81 = and i16 %80, 8192 %82 = icmp eq i16 %81, 0 br i1 %82, label LBL_18, label LBL_14 LBL_14: %83 = call i16** @__ctype_b_loc() %84 = load i16*, i16** %83, align 8 %85 = ptrtoint i16* %84 to i64 %86 = inttoptr i64 %sv_2.318.reload to i8* %87 = load i8, i8* %86, align 1 %88 = zext i8 %87 to i64 %89 = mul i64 %88, 2 %90 = add i64 %89, %85 %91 = inttoptr i64 %90 to i16* %92 = load i16, i16* %91, align 2 %93 = and i16 %92, 8192 %94 = icmp eq i16 %93, 0 store i64 1, i64* %sv_0.2.reg2mem br i1 %94, label LBL_26, label LBL_15 LBL_15: %95 = add i64 %sv_1.117.reload, 1 %96 = add i64 %sv_2.318.reload, 1 %97 = call i16** @__ctype_b_loc() %98 = load i16*, i16** %97, align 8 %99 = ptrtoint i16* %98 to i64 %100 = inttoptr i64 %95 to i8* %101 = load i8, i8* %100, align 1 %102 = zext i8 %101 to i64 %103 = mul i64 %102, 2 %104 = add i64 %103, %99 %105 = inttoptr i64 %104 to i16* %106 = load i16, i16* %105, align 2 %107 = and i16 %106, 8192 %108 = icmp eq i16 %107, 0 %109 = icmp eq i1 %108, false store i64 %95, i64* %sv_1.1.be.reg2mem store i64 %96, i64* %sv_2.3.be.reg2mem store i64 %96, i64* %sv_2.1.reg2mem br i1 %109, label LBL_16, label LBL_17 LBL_16: %sv_2.3.be.reload = load i64, i64* %sv_2.3.be.reg2mem %sv_1.1.be.reload = load i64, i64* %sv_1.1.be.reg2mem %110 = icmp eq i64 %26, 0 %111 = icmp eq i1 %110, false store i64 %26, i64* %.in31.reg2mem store i64 %sv_2.3.be.reload, i64* %sv_2.318.reg2mem store i64 %sv_1.1.be.reload, i64* %sv_1.117.reg2mem store i64 %sv_0.1.ph23.reload, i64* %sv_0.2.reg2mem br i1 %111, label LBL_6, label LBL_26 LBL_17: %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem %112 = call i16** @__ctype_b_loc() %113 = load i16*, i16** %112, align 8 %114 = ptrtoint i16* %113 to i64 %115 = inttoptr i64 %sv_2.1.reload to i8* %116 = load i8, i8* %115, align 1 %117 = zext i8 %116 to i64 %118 = mul i64 %117, 2 %119 = add i64 %118, %114 %120 = inttoptr i64 %119 to i16* %121 = load i16, i16* %120, align 2 %122 = and i16 %121, 8192 %123 = icmp eq i16 %122, 0 %124 = icmp eq i1 %123, false %125 = add i64 %sv_2.1.reload, 1 store i64 %95, i64* %sv_1.1.be.reg2mem store i64 %sv_2.1.reload, i64* %sv_2.3.be.reg2mem store i64 %125, i64* %sv_2.1.reg2mem br i1 %124, label LBL_17, label LBL_16 LBL_18: br i1 %11, label LBL_18.LBL_22_crit_edge, label LBL_20 LBL_19: %.pre = inttoptr i64 %sv_1.117.reload to i8* store i8* %.pre, i8** %.pre-phi.pre-phi.reg2mem br label LBL_22 LBL_20: %126 = call i16** @__ctype_b_loc() %127 = load i16*, i16** %126, align 8 %128 = ptrtoint i16* %127 to i64 %129 = inttoptr i64 %sv_1.117.reload to i8* %130 = load i8, i8* %129, align 1 %131 = zext i8 %130 to i64 %132 = mul i64 %131, 2 %133 = add i64 %132, %128 %134 = inttoptr i64 %133 to i16* %135 = load i16, i16* %134, align 2 %136 = and i16 %135, 8192 %137 = icmp eq i16 %136, 0 store i64 %sv_2.318.reload, i64* %sv_2.2.reg2mem store i8* %129, i8** %.pre-phi.pre-phi.reg2mem br i1 %137, label LBL_22, label LBL_21 LBL_21: %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem %138 = call i16** @__ctype_b_loc() %139 = load i16*, i16** %138, align 8 %140 = ptrtoint i16* %139 to i64 %141 = inttoptr i64 %sv_2.2.reload to i8* %142 = load i8, i8* %141, align 1 %143 = zext i8 %142 to i64 %144 = mul i64 %143, 2 %145 = add i64 %144, %140 %146 = inttoptr i64 %145 to i16* %147 = load i16, i16* %146, align 2 %148 = and i16 %147, 8192 %149 = icmp eq i16 %148, 0 %150 = icmp eq i1 %149, false %151 = add i64 %sv_2.2.reload, 1 store i64 %151, i64* %sv_2.2.reg2mem br i1 %150, label LBL_21, label LBL_25 LBL_22: %.pre-phi.pre-phi.reload = load i8*, i8** %.pre-phi.pre-phi.reg2mem %152 = inttoptr i64 %sv_2.318.reload to i8* %153 = load i8, i8* %152, align 1 %154 = load i8, i8* %.pre-phi.pre-phi.reload, align 1 %155 = zext i8 %153 to i64 %156 = zext i8 %154 to i64 %157 = sub nsw i64 %155, %156 %158 = icmp eq i64 %157, 0 %159 = icmp eq i1 %158, false store i64 %157, i64* %sv_0.1.ph.be.reg2mem store i64 %157, i64* %sv_0.2.reg2mem br i1 %159, label LBL_26, label LBL_23 LBL_23: %sv_0.1.ph.be.reload = load i64, i64* %sv_0.1.ph.be.reg2mem %sv_2.3.ph.be = add i64 %sv_2.318.reload, 1 %sv_1.1.ph.be = add i64 %sv_1.117.reload, 1 %160 = icmp eq i64 %26, 0 %161 = icmp eq i1 %160, false store i64 %26, i64* %.in.reg2mem store i64 %sv_0.1.ph.be.reload, i64* %sv_0.1.ph23.reg2mem store i64 %sv_2.3.ph.be, i64* %sv_2.3.ph22.reg2mem store i64 %sv_1.1.ph.be, i64* %sv_1.1.ph21.reg2mem store i64 %sv_0.1.ph.be.reload, i64* %sv_0.2.reg2mem br i1 %161, label LBL_6.lr.ph, label LBL_26 LBL_24: %sv_1.1.ph21.reload = load i64, i64* %sv_1.1.ph21.reg2mem %sv_2.3.ph22.reload = load i64, i64* %sv_2.3.ph22.reg2mem %sv_0.1.ph23.reload = load i64, i64* %sv_0.1.ph23.reg2mem %.in.reload = load i64, i64* %.in.reg2mem store i64 %.in.reload, i64* %.in31.reg2mem store i64 %sv_2.3.ph22.reload, i64* %sv_2.318.reg2mem store i64 %sv_1.1.ph21.reload, i64* %sv_1.117.reg2mem br label LBL_6 LBL_25: %162 = add i64 %sv_1.117.reload, 1 store i64 %162, i64* %sv_1.1.be.reg2mem store i64 %sv_2.2.reload, i64* %sv_2.3.be.reg2mem br label LBL_16 LBL_26: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem ret i64 %sv_0.2.reload uselistorder i64 %sv_2.2.reload, { 2, 0, 1 } uselistorder i64 %sv_2.1.reload, { 2, 0, 1 } uselistorder i64 %26, { 0, 2, 1, 3 } uselistorder i64 %sv_2.318.reload, { 6, 5, 0, 2, 1, 4, 3 } uselistorder i64 %sv_1.117.reload, { 5, 6, 4, 7, 3, 2, 1, 0 } uselistorder i64 %sv_2.027.reload, { 1, 0 } uselistorder i64 %sv_1.026.reload, { 1, 0 } uselistorder i1 %3, { 1, 0 } uselistorder i64* %sv_2.027.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.026.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_3.025.reg2mem, { 2, 0, 1 } uselistorder i64* %.in31.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_2.318.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_1.117.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_1.1.be.reg2mem, { 2, 1, 0, 3 } uselistorder i64* %sv_2.3.be.reg2mem, { 2, 1, 0, 3 } uselistorder i64* %sv_2.1.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.2.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.2.reg2mem, { 0, 3, 4, 8, 7, 5, 6, 1, 2, 10, 9 } uselistorder i16** ()* @__ctype_b_loc, { 7, 0, 1, 2, 3, 4, 5, 6 } uselistorder i64 1, { 4, 2, 1, 3, 5, 6, 7, 0, 8, 9 } uselistorder i32 2, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 8, 5, 6, 7, 10, 9, 0, 11 } uselistorder i32 %arg4, { 1, 2, 3, 0, 4 } uselistorder label LBL_26, { 2, 3, 6, 7, 4, 5, 0, 1, 9, 8 } uselistorder label LBL_6.lr.ph, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
dvb_ca_en50221_release_7151
dvb_ca_en50221_release
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %7 = add i64 %5, 24 %8 = call i64 @FUNC(i64 %7) %9 = bitcast i64* %arg1 to i32* store i32 1, i32* %9, align 4 %10 = call i64 @FUNC(i64 %7) %11 = add i64 %5, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp slt i32 %15, 0 %18 = icmp eq i1 %17, false %19 = icmp eq i1 %16, false %20 = icmp eq i1 %18, %19 br i1 %20, label LBL_2, label LBL_1 LBL_1: %21 = icmp eq i32 %15, 1 %22 = zext i1 %21 to i64 %23 = call i64 @FUNC(i64 %22) br label LBL_2 LBL_2: %24 = add i64 %5, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) %28 = add i64 %5, 4 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 0 store i32 0, i32* %storemerge1.reg2mem br i1 %31, label LBL_4, label LBL_3 LBL_3: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %32 = zext i32 %storemerge1.reload to i64 %33 = call i64 @FUNC(i64 %5, i64 %32) %34 = add i32 %storemerge1.reload, 1 %35 = load i32, i32* %29, align 4 %36 = zext i32 %35 to i64 %37 = sext i32 %34 to i64 %38 = icmp slt i64 %37, %36 store i32 %34, i32* %storemerge1.reg2mem br i1 %38, label LBL_3, label LBL_4 LBL_4: %39 = load i64, i64* %12, align 8 %40 = call i64 @FUNC(i64 %39) %41 = call i64 @FUNC(i64 %5) store i64 0, i64* %arg1, align 8 ret i64 %5 uselistorder i32 %storemerge1.reload, { 1, 0 } uselistorder i32* %29, { 1, 0 } uselistorder i32 %15, { 0, 2, 1 } uselistorder i64 %5, { 0, 3, 2, 1, 4, 5, 6 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
ich9_lpc_class_init_14692
ich9_lpc_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 0, i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 4198711, i64* %arg1, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %5, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i32* store i32 1, i32* %7, align 4 store i64 4198718, i64* %3, align 8 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* store i64 ptrtoint ([16 x i8]* @gv_1 to i64), i64* %9, align 8 %10 = inttoptr i64 %4 to i16* store i16 -32634, i16* %10, align 2 %11 = add i64 %0, 18 %12 = inttoptr i64 %11 to i16* store i16 10530, i16* %12, align 2 %13 = add i64 %0, 20 %14 = inttoptr i64 %13 to i8* store i8 2, i8* %14, align 1 %15 = add i64 %0, 22 %16 = inttoptr i64 %15 to i16* store i16 1537, i16* %16, align 2 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8 } }
1
BinRealVul
do_tb_flush_13937
do_tb_flush
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = call i64 @FUNC() %2 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %3 = icmp eq i32 %2, %0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = load i32, i32* bitcast (i128* @gv_1 to i32*), align 8 %6 = icmp slt i32 %5, 1 %.pre = load i64, i64* @gv_2, align 8 %.pre2 = load i64, i64* @gv_3, align 8 %.pre3 = sub i64 %.pre, %.pre2 store i32 0, i32* %storemerge1.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = sext i32 %5 to i64 %8 = udiv i64 %.pre3, %7 %phitmp = trunc i64 %8 to i32 store i32 %phitmp, i32* %storemerge1.reg2mem br label LBL_3 LBL_3: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %9 = zext i32 %5 to i64 %10 = trunc i64 %.pre3 to i32 %11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_4, i64 0, i64 0), i32 %10, i64 %9, i32 %storemerge1.reload) %12 = load i64, i64* @gv_2, align 8 %13 = load i64, i64* @gv_3, align 8 %14 = sub i64 %12, %13 %15 = load i64, i64* @gv_5, align 8 %16 = icmp ugt i64 %14, %15 br i1 %16, label LBL_4, label LBL_5 LBL_4: %17 = ptrtoint i64* %arg1 to i64 %18 = call i64 @FUNC(i64 %17, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_6, i64 0, i64 0)) unreachable LBL_5: store i32 0, i32* bitcast (i128* @gv_1 to i32*), align 8 %19 = call i64 @FUNC(i64* nonnull @gv_7, i64 256) %20 = call i64 @FUNC() %21 = load i64, i64* @gv_3, align 8 store i64 %21, i64* @gv_2, align 8 %22 = call i64 @FUNC(i64* nonnull @gv_0, i64 zext (i32 ptrtoint (i32* @gv_8 to i32) to i64)) br label LBL_6 LBL_6: %23 = call i64 @FUNC() ret i64 %23 uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder i64* @gv_3, { 1, 2, 0 } uselistorder i64* @gv_2, { 1, 2, 0 } uselistorder i32* bitcast (i128* @gv_1 to i32*), { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
comps_mrtree_unite_7851
comps_mrtree_unite
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i64 %sv_0.18.reg2mem = alloca i64 %.reg2mem13 = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %2 = call i64* @malloc(i32 24) %3 = ptrtoint i64* %2 to i64 store i64 %0, i64* %2, align 8 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 %6 = call i64 @FUNC() store i64 %6, i64* %sv_1, align 8 %7 = call i64 @FUNC(i64 %6, i64 0, i64 0, i64 4198448) %8 = call i64 @FUNC(i64 %6, i64 %3, i64 0) %9 = inttoptr i64 %6 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %.reg2mem store i64 %6, i64* %.reg2mem13 store i64 %3, i64* %sv_0.18.reg2mem br i1 %12, label LBL_1, label LBL_16 LBL_1: %sv_0.18.reload = load i64, i64* %sv_0.18.reg2mem %.reload14 = load i64, i64* %.reg2mem13 %.reload = load i64, i64* %.reg2mem %13 = call i64 @FUNC(i64 %.reload14, i64 %.reload) %14 = inttoptr i64 %.reload to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 call void @free(i64* %14) %18 = add i64 %sv_0.18.reload, 16 %19 = inttoptr i64 %18 to i8* store i8 0, i8* %19, align 1 %storemerge.in5 = inttoptr i64 %17 to i64* %storemerge6 = load i64, i64* %storemerge.in5, align 8 %20 = icmp eq i64 %storemerge6, 0 %21 = icmp eq i1 %20, false %22 = add i64 %15, 8 %23 = inttoptr i64 %22 to i64* store i64 %storemerge6, i64* %storemerge7.reg2mem store i64 %sv_0.18.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %21, label LBL_2, label LBL_15 LBL_2: %storemerge7.reload = load i64, i64* %storemerge7.reg2mem %24 = call i64* @malloc(i32 24) %25 = ptrtoint i64* %24 to i64 %26 = inttoptr i64 %storemerge7.reload to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 store i64 %29, i64* %24, align 8 %30 = load i64, i64* %23, align 8 %31 = icmp eq i64 %30, 0 %32 = load i64, i64* %26, align 8 %33 = add i64 %32, 16 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = inttoptr i64 %35 to i8* %37 = call i32 @strlen(i8* %36) br i1 %31, label LBL_4, label LBL_3 LBL_3: %38 = load i64, i64* %23, align 8 %39 = inttoptr i64 %38 to i8* %40 = call i32 @strlen(i8* %39) %41 = add i32 %37, 1 %42 = add i32 %41, %40 %43 = call i64* @malloc(i32 %42) %44 = ptrtoint i64* %43 to i64 %45 = add i64 %25, 8 %46 = inttoptr i64 %45 to i64* store i64 %44, i64* %46, align 8 %47 = load i64, i64* %23, align 8 %48 = inttoptr i64 %47 to i8* %49 = call i32 @strlen(i8* %48) %50 = load i64, i64* %23, align 8 %51 = load i64, i64* %46, align 8 %52 = inttoptr i64 %51 to i64* %53 = inttoptr i64 %50 to i64* %54 = call i64* @memcpy(i64* %52, i64* %53, i32 %49) %55 = load i64, i64* %26, align 8 %56 = add i64 %55, 16 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = inttoptr i64 %58 to i8* %60 = call i32 @strlen(i8* %59) %61 = add i32 %60, 1 %62 = load i64, i64* %26, align 8 %63 = add i64 %62, 16 %64 = inttoptr i64 %63 to i64* %65 = load i64, i64* %64, align 8 %66 = load i64, i64* %46, align 8 %67 = load i64, i64* %23, align 8 %68 = inttoptr i64 %67 to i8* %69 = call i32 @strlen(i8* %68) %70 = sext i32 %69 to i64 %71 = add i64 %66, %70 %72 = inttoptr i64 %71 to i64* %73 = inttoptr i64 %65 to i64* %74 = call i64* @memcpy(i64* %72, i64* %73, i32 %61) br label LBL_5 LBL_4: %75 = add i32 %37, 1 %76 = call i64* @malloc(i32 %75) %77 = ptrtoint i64* %76 to i64 %78 = add i64 %25, 8 %79 = inttoptr i64 %78 to i64* store i64 %77, i64* %79, align 8 %80 = load i64, i64* %26, align 8 %81 = add i64 %80, 16 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = inttoptr i64 %83 to i8* %85 = call i32 @strlen(i8* %84) %86 = add i32 %85, 1 %87 = load i64, i64* %26, align 8 %88 = add i64 %87, 16 %89 = inttoptr i64 %88 to i64* %90 = load i64, i64* %89, align 8 %91 = load i64, i64* %79, align 8 %92 = inttoptr i64 %91 to i64* %93 = inttoptr i64 %90 to i64* %94 = call i64* @memcpy(i64* %92, i64* %93, i32 %86) br label LBL_5 LBL_5: %95 = load i64, i64* %26, align 8 %96 = add i64 %95, 8 %97 = inttoptr i64 %96 to i64* %98 = load i64, i64* %97, align 8 %99 = inttoptr i64 %98 to i64* %100 = load i64, i64* %99, align 8 %101 = icmp eq i64 %100, 0 br i1 %101, label LBL_11, label LBL_6 LBL_6: %102 = add i64 %25, 8 %103 = inttoptr i64 %102 to i64* store i64 %100, i64* %storemerge14.reg2mem br label LBL_7 LBL_7: %storemerge14.reload = load i64, i64* %storemerge14.reg2mem %104 = inttoptr i64 %storemerge14.reload to i64* %105 = load i64, i64* %104, align 8 %106 = load i64, i64* %103, align 8 %107 = call i64 @FUNC(i64 %1, i64 %106, i64 %105) %108 = add i64 %storemerge14.reload, 8 %storemerge1.in = inttoptr i64 %108 to i64* %storemerge1 = load i64, i64* %storemerge1.in, align 8 %109 = icmp eq i64 %storemerge1, 0 %110 = icmp eq i1 %109, false store i64 %storemerge1, i64* %storemerge14.reg2mem br i1 %110, label LBL_7, label LBL_8 LBL_8: %.pre = load i64, i64* %26, align 8 %111 = inttoptr i64 %.pre to i64* %112 = load i64, i64* %111, align 8 %113 = inttoptr i64 %112 to i64* %114 = load i64, i64* %113, align 8 %115 = icmp eq i64 %114, 0 br i1 %115, label LBL_10, label LBL_9 LBL_9: %116 = load i64, i64* %sv_1, align 8 %117 = call i64 @FUNC(i64 %116, i64 %25, i64 0) br label LBL_14 LBL_10: %118 = load i64, i64* %103, align 8 %119 = inttoptr i64 %118 to i64* call void @free(i64* %119) call void @free(i64* %24) br label LBL_14 LBL_11: %120 = inttoptr i64 %95 to i64* %121 = load i64, i64* %120, align 8 %122 = inttoptr i64 %121 to i64* %123 = load i64, i64* %122, align 8 %124 = icmp eq i64 %123, 0 br i1 %124, label LBL_13, label LBL_12 LBL_12: %125 = load i64, i64* %sv_1, align 8 %126 = call i64 @FUNC(i64 %125, i64 %25, i64 0) br label LBL_14 LBL_13: %127 = add i64 %25, 8 %128 = inttoptr i64 %127 to i64* %129 = load i64, i64* %128, align 8 %130 = inttoptr i64 %129 to i64* call void @free(i64* %130) call void @free(i64* %24) br label LBL_14 LBL_14: %131 = add i64 %storemerge7.reload, 8 %storemerge.in = inttoptr i64 %131 to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %132 = icmp eq i64 %storemerge, 0 %133 = icmp eq i1 %132, false store i64 %storemerge, i64* %storemerge7.reg2mem store i64 %25, i64* %sv_0.0.lcssa.reg2mem br i1 %133, label LBL_2, label LBL_15 LBL_15: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %134 = load i64, i64* %23, align 8 %135 = inttoptr i64 %134 to i64* call void @free(i64* %135) call void @free(i64* %16) %136 = load i64, i64* %sv_1, align 8 %137 = inttoptr i64 %136 to i64* %138 = load i64, i64* %137, align 8 %139 = icmp eq i64 %138, 0 %140 = icmp eq i1 %139, false store i64 %138, i64* %.reg2mem store i64 %136, i64* %.reg2mem13 store i64 %sv_0.0.lcssa.reload, i64* %sv_0.18.reg2mem br i1 %140, label LBL_1, label LBL_16 LBL_16: %141 = call i64 @FUNC(i64* nonnull %sv_1) ret i64 %141 uselistorder i32 %37, { 1, 0 } uselistorder i64* %26, { 0, 3, 4, 5, 1, 2, 6, 7 } uselistorder i64 %25, { 0, 5, 4, 2, 3, 6, 1 } uselistorder i64* %23, { 0, 1, 3, 2, 4, 5 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem13, { 2, 0, 1 } uselistorder i64* %sv_0.18.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge7.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 5, 3, 2, 1, 0, 4 } uselistorder i64 16, { 1, 2, 4, 5, 3, 6, 0 } uselistorder void (i64*)* @free, { 3, 2, 7, 6, 5, 4, 1, 0 } uselistorder i1 false, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @comps_hslist_append, { 2, 1, 0 } uselistorder i64* (i32)* @malloc, { 4, 2, 5, 0, 1, 3 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
vtd_remap_irq_get_5013
vtd_remap_irq_get
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge.reg2mem = alloca i64 %rdx = alloca i64, align 8 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* %0 %sv_0 = alloca i8, align 1 store i8 0, i8* %sv_0, align 1 %3 = urem i64 %arg2, 65536 %4 = bitcast i8* %sv_0 to i64* %5 = call i64 @FUNC(i64 %1, i64 %3, i64* nonnull %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %5, 4294967295 store i64 %8, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %9 = ptrtoint i64* %arg3 to i64 %10 = load i8, i8* %sv_0, align 1 %11 = bitcast i64* %arg3 to i8* store i8 %10, i8* %11, align 1 %12 = add i64 %9, 1 %13 = inttoptr i64 %12 to i8* %14 = add i64 %9, 2 %15 = inttoptr i64 %14 to i8* %16 = zext i32 %2 to i64 %17 = call i64 @FUNC(i64 %16) %18 = trunc i64 %17 to i32 %19 = add i64 %9, 4 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = add i64 %9, 8 %22 = inttoptr i64 %21 to i8* store i8 0, i8* %22, align 1 %23 = add i64 %9, 9 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %22, align 1 %26 = load i32, i32* %20, align 4 %27 = load i8, i8* %15, align 1 %28 = load i8, i8* %13, align 1 %29 = bitcast i64* %rdx to i8* %30 = load i8, i8* %29, align 8 %31 = zext i8 %25 to i32 %32 = zext i8 %27 to i32 %33 = zext i8 %30 to i32 %34 = zext i8 %28 to i32 %35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_0, i64 0, i64 0), i64 %3, i32 %33, i32 %34, i32 %32, i32 %26, i32 %31) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 0 } uselistorder i8* %sv_0, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
qemu_pixman_get_type_16305
qemu_pixman_get_type
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = trunc i64 %arg2 to i32 %2 = icmp sgt i32 %0, %1 %3 = icmp sgt i32 %1, %arg3 %or.cond = icmp eq i1 %2, %3 br i1 %or.cond, label LBL_1, label LBL_2 LBL_1: %4 = icmp eq i32 %arg3, 0 %5 = icmp eq i1 %4, false %. = select i1 %5, i64 2, i64 1 store i64 %., i64* %sv_0.0.reg2mem br label LBL_4 LBL_2: %6 = icmp slt i32 %0, %1 %7 = icmp slt i32 %1, %arg3 %or.cond5 = icmp eq i1 %6, %7 store i64 0, i64* %sv_0.0.reg2mem br i1 %or.cond5, label LBL_3, label LBL_4 LBL_3: %8 = icmp eq i32 %0, 0 %9 = icmp eq i1 %8, false %.6 = select i1 %9, i64 4, i64 3 store i64 %.6, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i32 %1, { 1, 2, 0, 3 } uselistorder i32 %0, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 3, 2 } uselistorder i32 %arg3, { 0, 2, 1 } uselistorder label LBL_4, { 0, 2, 1 } }
1
BinRealVul
set_umask_13683
set_umask
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i8*, align 8 %0 = inttoptr i64 %arg1 to i8* %1 = call i64 @strtoll(i8* %0, i8** nonnull %sv_0, i32 0) %2 = trunc i64 %1 to i32 %3 = load i8*, i8** %sv_0, align 8 %4 = load i8, i8* %3, align 1 %5 = icmp eq i8 %4, 0 %6 = icmp ult i32 %2, 512 %or.cond5 = icmp eq i1 %6, %5 br i1 %or.cond5, label LBL_2, label LBL_1 LBL_1: %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8* %0) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %9 = urem i32 %2, 512 %10 = call i32 @umask(i32 %9) store i8 1, i8* inttoptr (i64 4210761 to i8*), align 1 %11 = zext i32 %9 to i64 store i64 %11, 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 i8 0, { 1, 0 } }
0
reposvul_c_test
mng_minimum_box_106
mng_minimum_box
define i64 @FUNC(i32 %arg1, i32 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = zext i32 %arg1 to i64 %1 = and i64 %arg3, 4294967295 %2 = icmp ugt i64 %1, %0 %3 = trunc i64 %arg3 to i32 %spec.select = select i1 %2, i32 %3, i32 %arg1 %4 = sext i32 %spec.select to i64 ret i64 %4 }
0
BinRealVul
sas_destruct_devices_19308
sas_destruct_devices
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i64 %storemerge2.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 = call i64 @FUNC(i64 0, i64 %3) %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 store i64 0, i64* %storemerge2.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = add i64 %7, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 store i64 %11, i64* %storemerge2.reg2mem br label LBL_2 LBL_2: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %12 = icmp eq i64 %7, %5 %13 = icmp eq i1 %12, false store i64 %storemerge2.reload, i64* %storemerge35.reg2mem store i64 %7, i64* %sv_0.04.reg2mem br i1 %13, label LBL_3, label LBL_6 LBL_3: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %storemerge35.reload = load i64, i64* %storemerge35.reg2mem %14 = add i64 %sv_0.04.reload, 8 %15 = call i64 @FUNC(i64 %14) %16 = inttoptr i64 %sv_0.04.reload to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) %19 = load i64, i64* %16, align 8 %20 = call i64 @FUNC(i64 %19) %21 = call i64 @FUNC(i64 %3, i64 %sv_0.04.reload) %22 = icmp eq i64 %storemerge35.reload, 0 store i64 0, i64* %storemerge1.reg2mem br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = add i64 %storemerge35.reload, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 store i64 %25, i64* %storemerge1.reg2mem br label LBL_5 LBL_5: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %26 = icmp eq i64 %storemerge35.reload, %5 %27 = icmp eq i1 %26, false store i64 %storemerge1.reload, i64* %storemerge35.reg2mem store i64 %storemerge35.reload, i64* %sv_0.04.reg2mem br i1 %27, label LBL_3, label LBL_6 LBL_6: ret i64 %5 uselistorder i64 %storemerge35.reload, { 0, 3, 2, 1 } uselistorder i64 %5, { 2, 1, 0, 3 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge35.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
__scm_destroy_6201
__scm_destroy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = icmp eq i64* %arg1, null store i64 %2, i64* %rax.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = trunc i64 %1 to i32 store i64 0, i64* %arg1, align 8 %storemerge1 = add i32 %4, -1 %5 = icmp slt i32 %storemerge1, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_4 LBL_2: %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* store i32 %storemerge1, i32* %storemerge2.reg2mem br label LBL_3 LBL_3: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %9 = load i64, i64* %8, align 8 %10 = sext i32 %storemerge2.reload to i64 %11 = mul i64 %10, 8 %12 = add i64 %11, %9 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %storemerge = add i32 %storemerge2.reload, -1 %16 = icmp slt i32 %storemerge, 0 %17 = icmp eq i1 %16, false store i32 %storemerge, i32* %storemerge2.reg2mem br i1 %17, label LBL_3, label LBL_4 LBL_4: %18 = add i64 %2, 16 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21) %23 = call i64 @FUNC(i64 %2) store i64 %23, 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 %storemerge2.reload, { 1, 0 } uselistorder i64 %2, { 2, 3, 1, 0 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
web_server_set_root_dir_8177
web_server_set_root_dir
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64* bitcast (i8** @gv_0 to i64*), i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = and i64 %0, 4294967295 store i64 %3, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %4 = load i64, i64* @gv_1, align 8 %5 = icmp eq i64 %4, 0 store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_5, label LBL_3 LBL_3: %6 = add i64 %4, -1 %7 = load i8*, i8** @gv_0, align 8 %8 = ptrtoint i8* %7 to i64 %9 = add i64 %6, %8 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = icmp eq i8 %11, 47 %13 = icmp eq i1 %12, false store i64 0, i64* %storemerge.reg2mem br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64* bitcast (i8** @gv_0 to i64*), i64 %6, i64 1) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0, 3 } }
0
BinRealVul
read_quant_table_15961
read_quant_table
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.05.reg2mem = alloca i32 %sv_1.06.reg2mem = alloca i32 %sv_0.17.reg2mem = alloca i32 %storemerge28.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %2 = call i64* @memset(i64* nonnull %sv_2, i32 128, i32 256) store i32 0, i32* %storemerge28.reg2mem store i32 0, i32* %sv_0.17.reg2mem br label LBL_1 LBL_1: %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem %3 = call i64 @FUNC(i64 %1, i64* nonnull %sv_2, i64 0) %4 = trunc i64 %3 to i32 %5 = add i32 %4, 1 %6 = add i32 %5, %sv_0.17.reload %7 = icmp slt i32 %6, 129 store i64 4294967295, i64* %storemerge1.reg2mem br i1 %7, label LBL_2, label LBL_9 LBL_2: %storemerge28.reload = load i32, i32* %storemerge28.reg2mem %8 = icmp eq i32 %5, 0 %9 = icmp eq i1 %8, false store i32 %sv_0.17.reload, i32* %sv_0.0.lcssa.reg2mem br i1 %9, label LBL_3, label LBL_5 LBL_3: %10 = mul i32 %storemerge28.reload, %arg3 %11 = trunc i32 %10 to i16 store i32 %5, i32* %sv_1.06.reg2mem store i32 %sv_0.17.reload, i32* %sv_0.05.reg2mem br label LBL_4 LBL_4: %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %12 = add i32 %sv_1.06.reload, -1 %13 = sext i32 %sv_0.05.reload to i64 %14 = mul i64 %13, 2 %15 = add i64 %14, %0 %16 = inttoptr i64 %15 to i16* store i16 %11, i16* %16, align 2 %17 = add i32 %sv_0.05.reload, 1 %18 = icmp eq i32 %12, 0 %19 = icmp eq i1 %18, false store i32 %12, i32* %sv_1.06.reg2mem store i32 %17, i32* %sv_0.05.reg2mem store i32 %17, i32* %sv_0.0.lcssa.reg2mem br i1 %19, label LBL_4, label LBL_5 LBL_5: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %20 = add i32 %storemerge28.reload, 1 %21 = icmp slt i32 %sv_0.0.lcssa.reload, 128 store i32 %20, i32* %storemerge28.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.17.reg2mem br i1 %21, label LBL_1, label LBL_6 LBL_6: %22 = add i64 %0, 512 store i64 1, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %23 = mul i64 %indvars.iv.reload, 2 %24 = add i64 %23, %0 %25 = inttoptr i64 %24 to i16* %26 = load i16, i16* %25, align 2 %27 = sub i16 0, %26 %28 = sub i64 %22, %23 %29 = inttoptr i64 %28 to i16* store i16 %27, i16* %29, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 128 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %30 = add i64 %0, 254 %31 = inttoptr i64 %30 to i16* %32 = load i16, i16* %31, align 2 %33 = sub i16 0, %32 %34 = add i64 %0, 256 %35 = inttoptr i64 %34 to i16* store i16 %33, i16* %35, align 2 %36 = mul i32 %20, 2 %37 = add i32 %36, -1 %38 = zext i32 %37 to i64 store i64 %38, i64* %storemerge1.reg2mem br label LBL_9 LBL_9: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem ret i64 %storemerge1.reload uselistorder i64 %23, { 1, 0 } uselistorder i32 %20, { 1, 0 } uselistorder i32 %sv_0.0.lcssa.reload, { 1, 0 } uselistorder i32 %5, { 0, 2, 1 } uselistorder i32 %sv_0.17.reload, { 1, 0, 2 } uselistorder i64 %0, { 4, 3, 1, 0, 2 } uselistorder i32* %storemerge28.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i16 0, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 3, 2, 0, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
scldap_approx_base_by_dn_4405
scldap_approx_base_by_dn
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rcx.3.lcssa39.reg2mem = alloca i64 %indvars.iv35.reg2mem = alloca i64 %.lcssa11.reg2mem = alloca i32* %rcx.2.lcssa.reg2mem = alloca i64 %sv_0.2.lcssa.reg2mem = alloca i64 %sv_1.2.lcssa.reg2mem = alloca i32 %rcx.1.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i32* %rcx.0.lcssa.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.014.reg2mem = alloca i32 %sv_0.015.reg2mem = alloca i64 %storemerge516.reg2mem = alloca i32 %.reg2mem53 = alloca i64 %sv_1.221.reg2mem = alloca i32 %sv_0.222.reg2mem = alloca i64 %storemerge423.reg2mem = alloca i32 %.reg2mem51 = alloca i64 %.reg2mem = alloca i32* %sv_2 = alloca i32*, align 8 %sv_3 = alloca i32*, align 8 store i32* null, i32** %sv_3, align 8 %0 = icmp ne i64* %arg1, null %1 = icmp ne i64 %arg2, 0 %or.cond.not = icmp eq i1 %0, %1 %2 = icmp eq i64 %arg3, 0 %3 = icmp eq i1 %2, false %or.cond10 = icmp eq i1 %or.cond.not, %3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond10, label LBL_1, label LBL_19 LBL_1: %4 = bitcast i32** %sv_3 to i64* %5 = call i64 @FUNC(i64 %arg3, i64* nonnull %4, i64 0) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_19 LBL_2: %9 = ptrtoint i32** %sv_3 to i64 %10 = load i32*, i32** %sv_3, align 8 %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i32 0, i32* %sv_1.2.lcssa.reg2mem store i64 0, i64* %sv_0.2.lcssa.reg2mem store i64 %9, i64* %rcx.2.lcssa.reg2mem store i32* %10, i32** %.lcssa11.reg2mem br i1 %12, label LBL_9, label LBL_3 LBL_3: %13 = ptrtoint i64* %arg1 to i64 %14 = bitcast i32** %sv_2 to i64* store i32* %10, i32** %.reg2mem store i64 0, i64* %.reg2mem51 store i32 0, i32* %storemerge423.reg2mem store i64 0, i64* %sv_0.222.reg2mem store i32 0, i32* %sv_1.221.reg2mem br label LBL_4 LBL_4: %sv_1.221.reload = load i32, i32* %sv_1.221.reg2mem %sv_0.222.reload = load i64, i64* %sv_0.222.reg2mem %storemerge423.reload = load i32, i32* %storemerge423.reg2mem %.reload52 = load i64, i64* %.reg2mem51 %.reload = load i32*, i32** %.reg2mem store i32* null, i32** %sv_2, align 8 %15 = ptrtoint i32* %.reload to i64 %16 = add i64 %15, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = mul nsw i64 %.reload52, 24 %20 = add i64 %18, %19 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %20 to i64* %25 = load i64, i64* %24, align 8 %26 = add i32 %storemerge423.reload, 1 %27 = zext i32 %26 to i64 %28 = inttoptr i64 %25 to i8* %29 = trunc i64 %23 to i32 %30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %27, i8* %28, i32 %29) %31 = load i32*, i32** %sv_3, align 8 %32 = ptrtoint i32* %31 to i64 %33 = add i64 %32, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %35, %19 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = call i64 @FUNC(i64 %13, i64 %arg2, i64* nonnull %14, i64 0, i64 %38) %40 = trunc i64 %39 to i32 %41 = icmp slt i32 %40, 0 %42 = load i32*, i32** %sv_2, align 8 %43 = icmp eq i32* %42, null %or.cond8 = or i1 %41, %43 store i32 %sv_1.221.reload, i32* %sv_1.1.reg2mem store i64 %sv_0.222.reload, i64* %sv_0.1.reg2mem store i64 0, i64* %rcx.1.reg2mem br i1 %or.cond8, label LBL_8, label LBL_5 LBL_5: %44 = load i32, i32* %42, align 4 %45 = icmp eq i32 %44, 0 store i64 0, i64* %.reg2mem53 store i32 0, i32* %storemerge516.reg2mem store i64 %sv_0.222.reload, i64* %sv_0.015.reg2mem store i32 %sv_1.221.reload, i32* %sv_1.014.reg2mem store i32 %sv_1.221.reload, i32* %sv_1.0.lcssa.reg2mem store i64 %sv_0.222.reload, i64* %sv_0.0.lcssa.reg2mem store i64 0, i64* %rcx.0.lcssa.reg2mem store i32* %42, i32** %.lcssa.reg2mem br i1 %45, label LBL_7, label LBL_6 LBL_6: %sv_1.014.reload = load i32, i32* %sv_1.014.reg2mem %sv_0.015.reload = load i64, i64* %sv_0.015.reg2mem %storemerge516.reload = load i32, i32* %storemerge516.reg2mem %.reload54 = load i64, i64* %.reg2mem53 %46 = mul i32 %sv_1.014.reload, 8 %47 = add i32 %46, 16 %48 = inttoptr i64 %sv_0.015.reload to i64* %49 = call i64* @realloc(i64* %48, i32 %47) %50 = ptrtoint i64* %49 to i64 %51 = load i32*, i32** %sv_2, align 8 %52 = ptrtoint i32* %51 to i64 %53 = add i64 %52, 8 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = mul nsw i64 %.reload54, 24 %57 = add nsw i64 %56, 16 %58 = add i64 %57, %55 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = sext i32 %sv_1.014.reload to i64 %62 = mul i64 %61, 8 %63 = add i64 %62, %50 %64 = inttoptr i64 %60 to i8* %65 = call i8* @strdup(i8* %64) %66 = ptrtoint i8* %65 to i64 %67 = inttoptr i64 %63 to i64* store i64 %66, i64* %67, align 8 %68 = add i32 %sv_1.014.reload, 1 %69 = sext i32 %68 to i64 %70 = mul i64 %69, 8 %71 = add i64 %70, %50 %72 = inttoptr i64 %71 to i64* store i64 0, i64* %72, align 8 %73 = add i32 %storemerge516.reload, 1 %74 = load i32*, i32** %sv_2, align 8 %75 = load i32, i32* %74, align 4 %76 = zext i32 %75 to i64 %77 = sext i32 %73 to i64 %78 = icmp slt i64 %77, %76 store i64 %77, i64* %.reg2mem53 store i32 %73, i32* %storemerge516.reg2mem store i64 %50, i64* %sv_0.015.reg2mem store i32 %68, i32* %sv_1.014.reg2mem store i32 %68, i32* %sv_1.0.lcssa.reg2mem store i64 %50, i64* %sv_0.0.lcssa.reg2mem store i64 %62, i64* %rcx.0.lcssa.reg2mem store i32* %74, i32** %.lcssa.reg2mem br i1 %78, label LBL_6, label LBL_7 LBL_7: %.lcssa.reload = load i32*, i32** %.lcssa.reg2mem %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %79 = ptrtoint i32* %.lcssa.reload to i64 %80 = call i64 @FUNC(i64 %79) store i32 %sv_1.0.lcssa.reload, i32* %sv_1.1.reg2mem store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.reg2mem store i64 %rcx.0.lcssa.reload, i64* %rcx.1.reg2mem br label LBL_8 LBL_8: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %81 = load i32*, i32** %sv_3, align 8 %82 = load i32, i32* %81, align 4 %83 = zext i32 %82 to i64 %84 = sext i32 %26 to i64 %85 = icmp slt i64 %84, %83 store i32* %81, i32** %.reg2mem store i64 %84, i64* %.reg2mem51 store i32 %26, i32* %storemerge423.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.222.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.221.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.2.lcssa.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.2.lcssa.reg2mem store i64 %rcx.1.reload, i64* %rcx.2.lcssa.reg2mem store i32* %81, i32** %.lcssa11.reg2mem br i1 %85, label LBL_4, label LBL_9 LBL_9: %.lcssa11.reload = load i32*, i32** %.lcssa11.reg2mem %sv_1.2.lcssa.reload = load i32, i32* %sv_1.2.lcssa.reg2mem %86 = ptrtoint i32* %.lcssa11.reload to i64 %87 = call i64 @FUNC(i64 %86) %88 = icmp eq i32 %sv_1.2.lcssa.reload, 0 %89 = icmp eq i1 %88, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %89, label LBL_10, label LBL_19 LBL_10: %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem %90 = icmp sgt i32 %sv_1.2.lcssa.reload, 0 br i1 %90, label LBL_11, label LBL_13 LBL_11: %wide.trip.count37 = zext i32 %sv_1.2.lcssa.reload to i64 store i64 0, i64* %indvars.iv35.reg2mem br label LBL_12 LBL_12: %indvars.iv35.reload = load i64, i64* %indvars.iv35.reg2mem %91 = mul i64 %indvars.iv35.reload, 8 %92 = add i64 %91, %sv_0.2.lcssa.reload %93 = inttoptr i64 %92 to i64* %94 = load i64, i64* %93, align 8 %indvars.iv.next36 = add nuw nsw i64 %indvars.iv35.reload, 1 %95 = inttoptr i64 %94 to i8* %96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 %indvars.iv.next36, i8* %95) %exitcond38 = icmp eq i64 %indvars.iv.next36, %wide.trip.count37 store i64 %indvars.iv.next36, i64* %indvars.iv35.reg2mem store i64 %wide.trip.count37, i64* %rcx.3.lcssa39.reg2mem br i1 %exitcond38, label LBL_14, label LBL_12 LBL_13: %rcx.2.lcssa.reload = load i64, i64* %rcx.2.lcssa.reg2mem %97 = icmp eq i64 %rcx.2.lcssa.reload, 0 store i64 %rcx.2.lcssa.reload, i64* %rcx.3.lcssa39.reg2mem br i1 %97, label LBL_15, label LBL_14 LBL_14: %rcx.3.lcssa39.reload = load i64, i64* %rcx.3.lcssa39.reg2mem %98 = inttoptr i64 %rcx.3.lcssa39.reload to i64* call void @free(i64* %98) store i64 0, i64* %arg4, align 8 br label LBL_15 LBL_15: %99 = inttoptr i64 %sv_0.2.lcssa.reload to i64* %100 = load i64, i64* %99, align 8 %101 = inttoptr i64 %100 to i8* %102 = call i8* @strdup(i8* %101) %103 = ptrtoint i8* %102 to i64 store i64 %103, i64* %arg4, align 8 br i1 %90, label LBL_16, label LBL_18 LBL_16: %wide.trip.count = zext i32 %sv_1.2.lcssa.reload to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_17 LBL_17: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %104 = mul i64 %indvars.iv.reload, 8 %105 = add i64 %104, %sv_0.2.lcssa.reload %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = inttoptr i64 %107 to i64* call void @free(i64* %108) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_18, label LBL_17 LBL_18: call void @free(i64* %99) store i64 1, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.2.lcssa.reload, { 2, 0, 1 } uselistorder i32 %sv_1.2.lcssa.reload, { 2, 3, 1, 0 } uselistorder i64 %sv_0.222.reload, { 1, 2, 0 } uselistorder i32 %sv_1.221.reload, { 1, 2, 0 } uselistorder i32* %10, { 1, 0, 2 } uselistorder i32** %sv_3, { 4, 3, 0, 2, 5, 1 } uselistorder i32** %sv_2, { 3, 2, 0, 1, 4 } uselistorder i32** %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem51, { 1, 0, 2 } uselistorder i32* %storemerge423.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.222.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.221.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem53, { 2, 0, 1 } uselistorder i32* %storemerge516.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.015.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.014.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv35.reg2mem, { 2, 0, 1 } uselistorder i64* %rcx.3.lcssa39.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 1, { 0, 2, 1 } uselistorder i8* (i8*)* @strdup, { 1, 0 } uselistorder i32 0, { 5, 8, 1, 4, 7, 2, 3, 0, 6, 9 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_19, { 3, 0, 1, 2 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ima_lsm_rule_init_13704
ima_lsm_rule_init
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext, 28 %2 = add i64 %1, %0 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_1, label LBL_2 LBL_1: %7 = trunc i64 %arg4 to i32 %8 = inttoptr i64 %2 to i32* store i32 %7, i32* %8, align 4 %9 = and i64 %arg4, 4294967295 %10 = call i64 @FUNC(i64 %9, i64 0, i64 %arg2, i64 %3) %11 = add nuw nsw i64 %9, 8 %12 = add nsw i64 %11, %1 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false %17 = and i64 %10, 4294967295 %spec.select = select i1 %16, i64 %17, i64 4294967274 ret i64 %spec.select LBL_2: ret i64 4294967274 }
0
BinRealVul
CurvesAlloc_8464
CurvesAlloc
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.next1828.reg2mem = alloca i64 %indvars.iv13.reg2mem = alloca i64 %.reg2mem39 = alloca i64 %.reg2mem37 = alloca i64 %indvars.iv35.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1, i64 16) %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_18 LBL_1: %3 = inttoptr i64 %0 to i32* store i32 %arg2, i32* %3, align 4 %4 = add i64 %0, 4 %5 = inttoptr i64 %4 to i32* store i32 %arg3, i32* %5, align 4 %6 = sext i32 %arg2 to i64 %7 = call i64 @FUNC(i64 %arg1, i64 %6, i64 8) %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 %10 = icmp eq i64 %7, 0 %11 = icmp eq i1 %10, false store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_18 LBL_2: %12 = icmp sgt i32 %arg2, 0 store i64 %0, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_18 LBL_3: %13 = sext i32 %arg3 to i64 %14 = call i64 @FUNC(i64 %arg1, i64 %13, i64 2) %15 = inttoptr i64 %7 to i64* store i64 %14, i64* %15, align 8 %16 = load i64, i64* %9, align 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 store i64 %16, i64* %.lcssa.reg2mem br i1 %20, label LBL_4, label LBL_8 LBL_4: %21 = ptrtoint i64* %arg4 to i64 %22 = icmp eq i32 %arg3, 256 %23 = icmp eq i1 %22, false %24 = icmp sgt i32 %arg3, 0 %wide.trip.count15 = zext i32 %arg3 to i64 %exitcond2027 = icmp eq i32 %arg3, 1 store i64 0, i64* %indvars.iv35.reg2mem store i64 %16, i64* %.reg2mem37 store i64 0, i64* %.reg2mem39 br label LBL_9 LBL_5: %25 = trunc i64 %indvars.iv.next36 to i32 %26 = icmp sgt i32 %25, 0 store i64 %73, i64* %.lcssa.reg2mem br i1 %26, label LBL_6, label LBL_8 LBL_6: %wide.trip.count = and i64 %indvars.iv.next36, 4294967295 store i64 0, i64* %indvars.iv.reg2mem store i64 %73, i64* %.reg2mem br label LBL_7 LBL_7: %.reload = load i64, i64* %.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %27 = mul i64 %indvars.iv.reload, 8 %28 = add i64 %27, %.reload %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %arg1, i64 %30) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %32 = load i64, i64* %9, align 8 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %32, i64* %.reg2mem store i64 %32, i64* %.lcssa.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %33 = call i64 @FUNC(i64 %arg1, i64 %.lcssa.reload) %34 = call i64 @FUNC(i64 %arg1, i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_9: %.reload40 = load i64, i64* %.reg2mem39 %indvars.iv35.reload = load i64, i64* %indvars.iv35.reg2mem br i1 %23, label LBL_12, label LBL_10 LBL_10: br i1 %24, label LBL_11, label LBL_16 LBL_11: %35 = add i64 %.reload40, %21 %36 = inttoptr i64 %35 to i64* store i64 0, i64* %indvars.iv13.reg2mem br label LBL_14 LBL_12: br i1 %24, label LBL_13, label LBL_16 LBL_13: %.reload38 = load i64, i64* %.reg2mem37 %37 = add i64 %.reload40, %21 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = add i64 %.reload38, %.reload40 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %39, i64 0) %44 = trunc i64 %43 to i16 %45 = inttoptr i64 %42 to i16* store i16 %44, i16* %45, align 2 store i64 1, i64* %indvars.iv.next1828.reg2mem br i1 %exitcond2027, label LBL_16, label LBL_15 LBL_14: %indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem %46 = call i64 @FUNC(i64 %indvars.iv13.reload) %47 = load i64, i64* %36, align 8 %48 = load i64, i64* %9, align 8 %49 = add i64 %48, %.reload40 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = mul i64 %indvars.iv13.reload, 2 %53 = add i64 %51, %52 %54 = urem i64 %46, 65536 %55 = call i64 @FUNC(i64 %47, i64 %54) %56 = trunc i64 %55 to i16 %57 = inttoptr i64 %53 to i16* store i16 %56, i16* %57, align 2 %indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1 %exitcond16 = icmp eq i64 %indvars.iv.next14, %wide.trip.count15 store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem br i1 %exitcond16, label LBL_16, label LBL_14 LBL_15: %indvars.iv.next1828.reload = load i64, i64* %indvars.iv.next1828.reg2mem %.pre21 = load i64, i64* %9, align 8 %58 = load i64, i64* %38, align 8 %59 = add i64 %.pre21, %.reload40 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = mul i64 %indvars.iv.next1828.reload, 2 %63 = add i64 %61, %62 %64 = urem i64 %indvars.iv.next1828.reload, 65536 %65 = call i64 @FUNC(i64 %58, i64 %64) %66 = trunc i64 %65 to i16 %67 = inttoptr i64 %63 to i16* store i16 %66, i16* %67, align 2 %indvars.iv.next18 = add nuw nsw i64 %indvars.iv.next1828.reload, 1 %exitcond20 = icmp eq i64 %indvars.iv.next18, %wide.trip.count15 store i64 %indvars.iv.next18, i64* %indvars.iv.next1828.reg2mem br i1 %exitcond20, label LBL_16, label LBL_15 LBL_16: %indvars.iv.next36 = add nuw nsw i64 %indvars.iv35.reload, 1 %68 = icmp slt i64 %indvars.iv.next36, %6 store i64 %0, i64* %rax.0.reg2mem br i1 %68, label LBL_16.dec_label_pc_401269_crit_edge, label LBL_18 LBL_17: %.pre = load i64, i64* %9, align 8 %69 = mul i64 %indvars.iv.next36, 8 %70 = add i64 %69, %.pre %71 = call i64 @FUNC(i64 %arg1, i64 %13, i64 2) %72 = inttoptr i64 %70 to i64* store i64 %71, i64* %72, align 8 %73 = load i64, i64* %9, align 8 %74 = add i64 %73, %69 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = icmp eq i64 %76, 0 %78 = icmp eq i1 %77, false store i64 %indvars.iv.next36, i64* %indvars.iv35.reg2mem store i64 %73, i64* %.reg2mem37 store i64 %69, i64* %.reg2mem39 br i1 %78, label LBL_9, label LBL_5 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %73, { 0, 3, 1, 2 } uselistorder i64 %69, { 0, 2, 1 } uselistorder i64 %indvars.iv.next36, { 0, 1, 4, 3, 2 } uselistorder i64 %indvars.iv13.reload, { 0, 2, 1 } uselistorder i64* %38, { 1, 0 } uselistorder i64 %.reload40, { 1, 3, 0, 2, 4 } uselistorder i64 %13, { 1, 0 } uselistorder i64* %9, { 5, 2, 1, 4, 3, 0, 6 } uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.lcssa.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %indvars.iv35.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem37, { 1, 0, 2 } uselistorder i64* %.reg2mem39, { 1, 0, 2 } uselistorder i64* %indvars.iv13.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.next1828.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 2, 3, 4 } uselistorder i64 (i64, i64)* @cmsEvalToneCurve16, { 2, 1, 0 } uselistorder i64 1, { 1, 2, 3, 0, 4 } uselistorder i64 2, { 3, 0, 1, 2 } uselistorder i64 (i64, i64, i64)* @_cmsCalloc, { 2, 0, 1 } uselistorder i1 false, { 2, 1, 0, 3, 4 } uselistorder i64 %arg1, { 4, 2, 1, 3, 0, 5, 6 } uselistorder label LBL_18, { 0, 4, 1, 2, 3 } uselistorder label LBL_16, { 2, 0, 1, 4, 3 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
rtp_parse_close_14923
rtp_parse_close
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = inttoptr i64 %3 to i8* %5 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %arg1, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) br label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %arg1) ret i64 %12 uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 1, 0 } }
1
BinRealVul
mon_mgmt_tx_4941
mon_mgmt_tx
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.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 i64 @FUNC(i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 16, i64 0) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %9 = call i64 @FUNC(i64 %arg3, i64 0) %10 = inttoptr i64 %5 to i64* store i64 %9, i64* %10, align 8 %11 = icmp eq i64 %9, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0)) %14 = call i64 @FUNC(i64 %5) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %15 = add i64 %5, 8 %16 = inttoptr i64 %15 to i64* store i64 %arg3, i64* %16, align 8 %17 = load i64, i64* %10, align 8 %18 = inttoptr i64 %17 to i64* %19 = trunc i64 %arg3 to i32 %20 = call i64* @memcpy(i64* %18, i64* %arg2, i32 %19) %21 = call i64 @FUNC(i64 %3) 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 %5, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i8*)* @PRINT_ER, { 1, 0 } uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
0
BinRealVul
show_iface_status_4895
show_iface_status
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_10 LBL_1: %5 = inttoptr i64 %2 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 3 br i1 %7, label LBL_7, label LBL_2 LBL_2: %8 = icmp sgt i32 %6, 3 br i1 %8, label LBL_8, label LBL_3 LBL_3: switch i32 %6, label LBL_8 [ i32 2, label LBL_6 i32 0, label LBL_4 i32 1, label LBL_5 ] LBL_4: %9 = bitcast i64* %arg3 to i8* %10 = call i32 (i8*, i8*, ...) @sprintf(i8* %9, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) store i32 %10, i32* %sv_0.0.in.reg2mem br label LBL_9 LBL_5: %11 = bitcast i64* %arg3 to i8* %12 = call i32 (i8*, i8*, ...) @sprintf(i8* %11, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0)) store i32 %12, i32* %sv_0.0.in.reg2mem br label LBL_9 LBL_6: %13 = bitcast i64* %arg3 to i8* %14 = call i32 (i8*, i8*, ...) @sprintf(i8* %13, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0)) store i32 %14, i32* %sv_0.0.in.reg2mem br label LBL_9 LBL_7: %15 = bitcast i64* %arg3 to i8* %16 = call i32 (i8*, i8*, ...) @sprintf(i8* %15, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0)) store i32 %16, i32* %sv_0.0.in.reg2mem br label LBL_9 LBL_8: %17 = bitcast i64* %arg3 to i8* %18 = call i32 (i8*, i8*, ...) @sprintf(i8* %17, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0)) store i32 %18, i32* %sv_0.0.in.reg2mem br label LBL_9 LBL_9: %sv_0.0.in.reload = load i32, i32* %sv_0.0.in.reg2mem %sv_0.0 = sext i32 %sv_0.0.in.reload to i64 %19 = call i64 @FUNC(i64 %2) store i64 %sv_0.0, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_0.0.in.reg2mem, { 0, 4, 5, 3, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 0, 1, 3, 2, 4 } uselistorder i32 3, { 1, 0 } uselistorder i64* %arg3, { 4, 0, 1, 3, 2 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
drm_vblank_get_17464
drm_vblank_get
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = load i64, i64* %0 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = and i64 %1, 4294967295 %9 = icmp slt i64 %4, %8 store i64 4294967274, i64* %storemerge.reg2mem br i1 %9, label LBL_1, label LBL_6 LBL_1: %10 = ashr exact i64 %sext, 29 %11 = add i64 %7, %10 %12 = add i64 %2, 16 %13 = call i64 @FUNC(i64 %12, i64 %3) %14 = add i64 %11, 4 %15 = call i64 @FUNC(i64 1, i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 1 %18 = icmp eq i1 %17, false br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = and i64 %4, 4294967295 %20 = call i64 @FUNC(i64 %2, i64 %19) %phitmp = and i64 %20, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_5 LBL_3: %21 = inttoptr i64 %11 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 0, i64* %sv_0.0.reg2mem br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = call i64 @FUNC(i64 %14) store i64 4294967274, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = call i64 @FUNC(i64 %12, i64 %3) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %11, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
ff_pcm_read_packet_18026
ff_pcm_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = 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 = mul i32 %12, 1024 %14 = call i64 @FUNC(i64 %3, i64 %2, i32 %13) %15 = trunc i64 %1 to i32 %16 = and i32 %15, -2 %17 = bitcast i64* %arg2 to i32* store i32 %16, i32* %17, align 4 %18 = add i64 %2, 4 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 %storemerge = and i64 %14, 4294967295 ret i64 %storemerge }
1
BinRealVul
mov_probe_15772
mov_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %sv_1.07.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp ult i32 %3, 8 store i32 0, i32* %sv_1.07.reg2mem store i64 0, i64* %sv_0.06.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_30, label LBL_1 LBL_1: %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem %5 = zext i32 %sv_1.07.reload to i64 %6 = add i64 %5, %0 %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, -2105376899 br i1 %10, label LBL_28, label LBL_2 LBL_2: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %11 = icmp ult i32 %9, -2105376898 br i1 %11, label LBL_3, label LBL_29 LBL_3: %12 = icmp eq i32 %9, 2003395685 store i64 95, i64* %rax.0.reg2mem br i1 %12, label LBL_30, label LBL_4 LBL_4: %13 = icmp ult i32 %9, 2003395686 br i1 %13, label LBL_5, label LBL_29 LBL_5: %14 = icmp eq i32 %9, 1970628964 br i1 %14, label LBL_28, label LBL_6 LBL_6: %15 = icmp ult i32 %9, 1970628965 br i1 %15, label LBL_7, label LBL_29 LBL_7: %16 = icmp eq i32 %9, 1969517665 store i64 100, i64* %rax.0.reg2mem br i1 %16, label LBL_30, label LBL_8 LBL_8: %17 = icmp ult i32 %9, 1969517666 br i1 %17, label LBL_9, label LBL_29 LBL_9: %18 = icmp eq i32 %9, 1936419184 br i1 %18, label LBL_28, label LBL_10 LBL_10: %19 = icmp ult i32 %9, 1936419185 br i1 %19, label LBL_11, label LBL_29 LBL_11: %20 = icmp eq i32 %9, 1886545516 br i1 %20, label LBL_28, label LBL_12 LBL_12: %21 = icmp ult i32 %9, 1886545517 br i1 %21, label LBL_13, label LBL_29 LBL_13: %22 = icmp eq i32 %9, 1886285684 store i64 100, i64* %rax.0.reg2mem br i1 %22, label LBL_30, label LBL_14 LBL_14: %23 = icmp ult i32 %9, 1886285685 br i1 %23, label LBL_15, label LBL_29 LBL_15: %24 = icmp eq i32 %9, 1885954932 store i64 95, i64* %rax.0.reg2mem br i1 %24, label LBL_30, label LBL_16 LBL_16: %25 = icmp ult i32 %9, 1885954933 br i1 %25, label LBL_17, label LBL_29 LBL_17: %26 = icmp eq i32 %9, 1836019574 store i64 100, i64* %rax.0.reg2mem br i1 %26, label LBL_30, label LBL_18 LBL_18: %27 = icmp ult i32 %9, 1836019575 br i1 %27, label LBL_19, label LBL_29 LBL_19: %28 = icmp eq i32 %9, 1835295092 store i64 100, i64* %rax.0.reg2mem br i1 %28, label LBL_30, label LBL_20 LBL_20: %29 = icmp ult i32 %9, 1835295093 br i1 %29, label LBL_21, label LBL_29 LBL_21: %30 = icmp eq i32 %9, 1786080875 store i64 95, i64* %rax.0.reg2mem br i1 %30, label LBL_30, label LBL_22 LBL_22: %31 = icmp ult i32 %9, 1786080876 br i1 %31, label LBL_23, label LBL_29 LBL_23: %32 = icmp eq i32 %9, 1783636000 store i64 100, i64* %rax.0.reg2mem br i1 %32, label LBL_30, label LBL_24 LBL_24: %33 = icmp ult i32 %9, 1783636001 br i1 %33, label LBL_25, label LBL_29 LBL_25: %34 = icmp eq i32 %9, 1718909296 store i64 100, i64* %rax.0.reg2mem br i1 %34, label LBL_30, label LBL_26 LBL_26: %35 = icmp ult i32 %9, 1718909297 br i1 %35, label LBL_27, label LBL_29 LBL_27: store i64 95, i64* %rax.0.reg2mem store i64 95, i64* %rax.0.reg2mem switch i32 %9, label LBL_29 [ i32 1718773093, label LBL_30 i32 1701079415, label LBL_30 ] LBL_28: %36 = inttoptr i64 %6 to i32* %37 = load i32, i32* %36, align 4 %38 = add i32 %37, %sv_1.07.reload %39 = add i32 %38, 8 %40 = icmp ugt i32 %39, %3 store i32 %38, i32* %sv_1.07.reg2mem store i64 50, i64* %sv_0.06.reg2mem store i64 50, i64* %rax.0.reg2mem br i1 %40, label LBL_30, label LBL_1 LBL_29: store i64 %sv_0.06.reload, i64* %rax.0.reg2mem br label LBL_30 LBL_30: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_1.07.reload, { 1, 0 } uselistorder i32* %sv_1.07.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.06.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 14, 1, 7, 8, 13, 12, 6, 11, 10, 5, 9, 2, 3, 4 } uselistorder i64 100, { 5, 4, 3, 2, 1, 0 } uselistorder i64 95, { 3, 4, 2, 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder label LBL_30, { 13, 0, 7, 6, 12, 11, 5, 10, 9, 4, 8, 1, 2, 3 } uselistorder label LBL_29, { 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 1, 2, 3, 4 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
ext2_xattr_get_7747
ext2_xattr_get
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %rdx.1.lcssa.reg2mem = alloca i64 %rcx.1.lcssa.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %.reg2mem40 = alloca i32 %.reg2mem38 = alloca i64 %rcx.110.reg2mem = alloca i64 %.reg2mem36 = alloca i32 %.in.reg2mem = alloca i64 %.reg2mem34 = alloca i32 %.reg2mem32 = alloca i64 %.reg2mem30 = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %arg2 to i32 %6 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i32 %5, i64 %3, i64 %2, i64 %arg5) %7 = icmp eq i64* %arg3, null %8 = icmp eq i1 %7, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_25 LBL_1: %9 = bitcast i64* %arg3 to i8* %10 = call i32 @strlen(i8* %9) %11 = icmp ult i32 %10, 256 store i64 4294967262, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_25 LBL_2: %12 = trunc i64 %1 to i32 %13 = add i64 %4, 4 %14 = call i64 @FUNC(i64 %13) %15 = icmp eq i32 %12, 0 store i64 0, i64* %sv_1.0.reg2mem store i64 4294967235, i64* %sv_0.0.reg2mem br i1 %15, label LBL_24, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i32 %12, i64 %3, i64 %2, i64 %arg5) %17 = add i64 %4, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = and i64 %1, 4294967295 %21 = call i64 @FUNC(i64 %19, i64 %20) %22 = icmp eq i64 %21, 0 store i64 0, i64* %sv_1.0.reg2mem store i64 4294967291, i64* %sv_0.0.reg2mem br i1 %22, label LBL_24, label LBL_4 LBL_4: %23 = call i64 @FUNC(i64 %21) %24 = add i64 %23, 4 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i64 %21, 12 %28 = call i64 @FUNC(i64 %27) %29 = and i64 %28, 4294967295 %30 = zext i32 %26 to i64 %31 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %29, i64 %30, i64 %2, i64 %arg5) %32 = inttoptr i64 %21 to i64* %33 = load i64, i64* %32, align 8 %34 = add i64 %21, 8 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = call i64 @FUNC(i64 %21) %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = icmp eq i32 %39, -368967680 %41 = icmp eq i1 %40, false %42 = trunc i64 %21 to i32 store i64 %21, i64* %.reg2mem store i32 %42, i32* %.reg2mem30 br i1 %41, label LBL_6, label LBL_5 LBL_5: %43 = call i64 @FUNC(i64 %21) %44 = add i64 %43, 8 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = icmp eq i32 %46, 1 store i64 %21, i64* %.reg2mem store i32 %42, i32* %.reg2mem30 br i1 %47, label LBL_7, label LBL_6 LBL_6: %.reload31 = load i32, i32* %.reg2mem30 %.reload = load i64, i64* %.reg2mem %48 = load i64, i64* %18, align 8 %49 = zext i32 %.reload31 to i64 %50 = call i64 @FUNC(i64 %48, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_4, i64 0, i64 0), i64 %.reload, i64 %49, i64 %arg5) store i64 %21, i64* %sv_1.0.reg2mem store i64 4294967291, i64* %sv_0.0.reg2mem br label LBL_24 LBL_7: %51 = load i64, i64* %32, align 8 %52 = add i64 %51, 4 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = icmp eq i32 %54, 0 %56 = icmp eq i1 %55, false store i64 %30, i64* %rcx.1.lcssa.reg2mem store i64 %33, i64* %rdx.1.lcssa.reg2mem br i1 %56, label LBL_8, label LBL_13 LBL_8: %57 = sext i32 %36 to i64 %58 = add i64 %33, %57 %59 = sext i32 %10 to i64 %60 = trunc i64 %3 to i32 store i64 %21, i64* %.reg2mem32 store i32 %42, i32* %.reg2mem34 store i64 %51, i64* %.in.reg2mem store i32 %54, i32* %.reg2mem36 store i64 %30, i64* %rcx.110.reg2mem br label LBL_9 LBL_9: %.reload37 = load i32, i32* %.reg2mem36 %.in.reload = load i64, i64* %.in.reg2mem %.reload35 = load i32, i32* %.reg2mem34 %.reload33 = load i64, i64* %.reg2mem32 %61 = sext i32 %.reload37 to i64 %62 = add nsw i64 %61, 276 %63 = add i64 %62, %.in.reload %64 = icmp ult i64 %63, %58 %65 = icmp eq i1 %64, false store i64 %.reload33, i64* %.reg2mem store i32 %.reload35, i32* %.reg2mem30 br i1 %65, label LBL_6, label LBL_10 LBL_10: %rcx.110.reload = load i64, i64* %rcx.110.reg2mem %66 = inttoptr i64 %.in.reload to i32* %67 = load i32, i32* %66, align 4 %68 = icmp eq i32 %67, %5 %69 = icmp eq i32 %10, %.reload37 %70 = icmp eq i1 %68, %69 store i64 %.reload33, i64* %.reg2mem38 store i32 %.reload35, i32* %.reg2mem40 store i64 %rcx.110.reload, i64* %rcx.0.reg2mem store i64 %62, i64* %rdx.0.reg2mem br i1 %70, label LBL_11, label LBL_12 LBL_11: %71 = add i64 %.in.reload, 20 %72 = inttoptr i64 %71 to i64* %73 = call i32 @memcmp(i64* %arg3, i64* %72, i32 %10) %74 = icmp eq i32 %73, 0 store i64 %3, i64* %.reg2mem38 store i32 %60, i32* %.reg2mem40 store i64 %71, i64* %rcx.0.reg2mem store i64 %59, i64* %rdx.0.reg2mem br i1 %74, label LBL_15, label LBL_12 LBL_12: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %.reload41 = load i32, i32* %.reg2mem40 %.reload39 = load i64, i64* %.reg2mem38 %75 = add i64 %63, 4 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false store i64 %.reload39, i64* %.reg2mem32 store i32 %.reload41, i32* %.reg2mem34 store i64 %63, i64* %.in.reg2mem store i32 %77, i32* %.reg2mem36 store i64 %rcx.0.reload, i64* %rcx.110.reg2mem store i64 %rcx.0.reload, i64* %rcx.1.lcssa.reg2mem store i64 %rdx.0.reload, i64* %rdx.1.lcssa.reg2mem br i1 %79, label LBL_9, label LBL_13 LBL_13: %80 = call i64 @FUNC(i64 %21) %81 = trunc i64 %80 to i32 %82 = icmp eq i32 %81, 0 store i64 %21, i64* %sv_1.0.reg2mem store i64 4294967235, i64* %sv_0.0.reg2mem br i1 %82, label LBL_24, label LBL_14 LBL_14: %rdx.1.lcssa.reload = load i64, i64* %rdx.1.lcssa.reg2mem %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem %83 = trunc i64 %rdx.1.lcssa.reload to i32 %84 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_5, i64 0, i64 0), i32 %83, i64 %rcx.1.lcssa.reload, i64 %2, i64 %arg5) store i64 %21, i64* %sv_1.0.reg2mem store i64 4294967235, i64* %sv_0.0.reg2mem br label LBL_24 LBL_15: %85 = add i64 %.in.reload, 16 %86 = inttoptr i64 %85 to i32* %87 = load i32, i32* %86, align 4 %88 = icmp eq i32 %87, 0 %89 = icmp eq i1 %88, false store i64 %3, i64* %.reg2mem store i32 %60, i32* %.reg2mem30 br i1 %89, label LBL_6, label LBL_16 LBL_16: %90 = add i64 %.in.reload, 8 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = load i64, i64* %18, align 8 %94 = inttoptr i64 %93 to i32* %95 = load i32, i32* %94, align 4 %96 = icmp ugt i32 %92, %95 store i64 %3, i64* %.reg2mem store i32 %60, i32* %.reg2mem30 br i1 %96, label LBL_6, label LBL_17 LBL_17: %97 = add i64 %.in.reload, 12 %98 = inttoptr i64 %97 to i32* %99 = load i32, i32* %98, align 4 %100 = sext i32 %99 to i64 %101 = sext i32 %92 to i64 %102 = add nsw i64 %100, %101 %103 = sext i32 %95 to i64 %104 = icmp ugt i64 %102, %103 store i64 %3, i64* %.reg2mem store i32 %60, i32* %.reg2mem30 br i1 %104, label LBL_6, label LBL_18 LBL_18: %105 = call i64 @FUNC(i64 %21) %106 = trunc i64 %105 to i32 %107 = icmp eq i32 %106, 0 br i1 %107, label LBL_20, label LBL_19 LBL_19: %108 = trunc i64 %102 to i32 %109 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_5, i64 0, i64 0), i32 %108, i64 %71, i64 %2, i64 %arg5) br label LBL_20 LBL_20: %110 = icmp eq i64* %arg4, null br i1 %110, label LBL_23, label LBL_21 LBL_21: %111 = icmp ugt i64 %101, %arg5 store i64 %21, i64* %sv_1.0.reg2mem store i64 4294967262, i64* %sv_0.0.reg2mem br i1 %111, label LBL_24, label LBL_22 LBL_22: %112 = load i64, i64* %32, align 8 %113 = load i32, i32* %98, align 4 %114 = sext i32 %113 to i64 %115 = add i64 %112, %114 %116 = inttoptr i64 %115 to i64* %117 = call i64* @memcpy(i64* nonnull %arg4, i64* %116, i32 %92) br label LBL_23 LBL_23: %phitmp = zext i32 %92 to i64 store i64 %21, i64* %sv_1.0.reg2mem store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_24 LBL_24: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %118 = call i64 @FUNC(i64 %sv_1.0.reload) %119 = call i64 @FUNC(i64 %13) store i64 %sv_0.0.reload, 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 i64 %101, { 1, 0 } uselistorder i64 %71, { 1, 0, 2 } uselistorder i64 %.in.reload, { 5, 4, 3, 1, 0, 2 } uselistorder i32 %.reload37, { 1, 0 } uselistorder i32 %60, { 2, 3, 1, 0 } uselistorder i64 %33, { 1, 0 } uselistorder i64 %30, { 1, 0, 2 } uselistorder i64 %21, { 3, 2, 10, 1, 0, 9, 5, 4, 6, 11, 7, 8, 12, 13, 15, 14, 17, 16, 18 } uselistorder i32 %12, { 1, 0 } uselistorder i32 %10, { 2, 0, 1, 3 } uselistorder i64 %4, { 1, 0, 2, 3, 4, 5 } uselistorder i64 %3, { 2, 3, 1, 0, 4, 5, 6 } uselistorder i64 %2, { 1, 0, 2, 3, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 5, 6, 4, 1, 0, 2, 3 } uselistorder i32* %.reg2mem30, { 5, 6, 4, 1, 0, 2, 3 } uselistorder i64* %.reg2mem32, { 1, 0, 2 } uselistorder i32* %.reg2mem34, { 1, 0, 2 } uselistorder i64* %.in.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem36, { 1, 0, 2 } uselistorder i64* %rcx.110.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 0, 4, 3, 2, 1, 5, 6, 7 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1, 5, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @ext2_xattr_cache_insert, { 1, 0 } uselistorder i64 (i64)* @HDR, { 2, 1, 0 } uselistorder i64 4294967235, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 4, 5, 3, 0, 6 } uselistorder i64 4, { 1, 0, 2, 3 } uselistorder i64 4294967262, { 1, 0 } uselistorder i1 false, { 1, 3, 2, 0, 4, 5 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @ea_idebug, { 3, 2, 1, 0 } uselistorder i64 %arg5, { 0, 2, 1, 3, 4, 5, 6 } uselistorder label LBL_25, { 2, 0, 1 } uselistorder label LBL_24, { 5, 2, 1, 0, 6, 3, 4 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 2, 1, 3, 0, 5, 4 } }
1
BinRealVul
Strgrow_11564
Strgrow
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 8 %1 = inttoptr i64 %0 to i32* %2 = load i32, i32* %1, align 4 %3 = mul i32 %2, 6 %4 = sdiv i32 %3, 5 %5 = icmp eq i32 %4, %2 %6 = icmp eq i1 %5, false %7 = add nsw i32 %4, 2 %spec.select = select i1 %6, i32 %4, i32 %7 %sv_0.0.in = zext i32 %spec.select to i64 %sv_0.0 = inttoptr i64 %sv_0.0.in to i64* %8 = sext i32 %spec.select to i64 %9 = call i64 @FUNC(i64 %8) %10 = inttoptr i64 %arg1 to i64* store i64 %9, i64* %10, align 8 %11 = add i64 %arg1, 12 %12 = inttoptr i64 %11 to i32* store i32 %spec.select, i32* %12, align 4 %13 = load i32, i32* %1, align 4 %14 = call i64* @memmove(i64* %sv_0.0, i64* %10, i32 %13) %15 = call i64 @FUNC(i64 %arg1) ret i64 %15 uselistorder i32 %spec.select, { 2, 1, 0 } uselistorder i32 %4, { 2, 1, 0 } }
1
BinRealVul
float32_to_uint32_14502
float32_to_uint32
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i128 %sv_0.0.reg2mem = alloca i64 %1 = load i128, i128* %0 %2 = call i64 @FUNC(i128 %1) %3 = trunc i64 %2 to i32 %4 = call i128 @FUNC(i32 %3) %5 = call i64 @FUNC() %6 = icmp slt i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 1) store i64 0, i64* %sv_0.0.reg2mem br label LBL_3 LBL_2: %phitmp = and i64 %5, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 3, 1, 0, 2 } }
1
BinRealVul
sk_receive_skb_6619
sk_receive_skb
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_10, label LBL_1 LBL_1: %5 = inttoptr i64 %arg2 to i64* store i64 0, i64* %5, align 8 %6 = trunc i64 %arg3 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %0) br label LBL_4 LBL_3: %9 = call i64 @FUNC(i64 %0) br label LBL_4 LBL_4: %10 = call i64 @FUNC(i64 %0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = add i64 %0, 4 %15 = call i64 @FUNC(i64 %14, i64 0, i64 1, i64 0) %16 = call i64 @FUNC(i64 %0, i64 %arg2) %17 = call i64 @FUNC(i64 %14, i64 1, i64 0) store i64 %16, i64* %sv_0.0.reg2mem br label LBL_8 LBL_6: %18 = call i64 @FUNC(i64 %0, i64 %arg2) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = call i64 @FUNC(i64 %0) %22 = call i64 @FUNC(i64 %0) br label LBL_10 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %23 = call i64 @FUNC(i64 %0) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_9 LBL_9: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %24 = call i64 @FUNC(i64 %0) %25 = and i64 %sv_0.1.reload, 4294967295 ret i64 %25 LBL_10: %26 = call i64 @FUNC(i64 %arg2) store i64 0, i64* %sv_0.1.reg2mem br label LBL_9 uselistorder i64 %0, { 9, 0, 2, 1, 3, 4, 5, 6, 7, 8, 10 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @bh_unlock_sock, { 1, 0 } uselistorder i64 %arg2, { 3, 1, 0, 2, 4 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
imdct12_3336
imdct12
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 %5 = add i64 %2, 12 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i32 %7, %4 %9 = add i64 %2, 24 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i32 %11, %7 %13 = add i64 %2, 36 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i32 %15, %11 %17 = add i64 %2, 48 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i32 %19, %15 %21 = add i64 %2, 60 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i32 %16, %19 %25 = add i32 %24, %23 %26 = add i32 %16, %8 %27 = mul i32 %12, 2 %28 = ashr i32 %27, 15 %29 = mul i32 %26, 2 %30 = ashr i32 %29, 15 %31 = sub i32 %4, %20 %32 = sub i32 %8, %25 %33 = load i32, i32* @gv_0, align 4 %34 = mul i32 %32, %33 %35 = add i64 %3, 40 %36 = add i32 %34, %31 %37 = inttoptr i64 %35 to i32* store i32 %36, i32* %37, align 4 %38 = add i64 %3, 28 %39 = inttoptr i64 %38 to i32* store i32 %36, i32* %39, align 4 %40 = add i64 %3, 16 %41 = sub i32 %31, %34 %42 = inttoptr i64 %40 to i32* store i32 %41, i32* %42, align 4 %43 = add i64 %3, 4 %44 = inttoptr i64 %43 to i32* store i32 %41, i32* %44, align 4 %45 = ashr i32 %20, 1 %46 = add i32 %45, %4 %47 = add i32 %46, %28 %48 = ashr i32 %25, 1 %49 = add i32 %48, %8 %50 = add i32 %49, %30 %51 = load i32, i32* @gv_1, align 4 %52 = mul i32 %51, %50 %53 = add i64 %3, 36 %54 = add i32 %52, %47 %55 = inttoptr i64 %53 to i32* store i32 %54, i32* %55, align 4 %56 = add i64 %3, 32 %57 = inttoptr i64 %56 to i32* store i32 %54, i32* %57, align 4 %58 = add i64 %3, 12 %59 = sub i32 %47, %52 %60 = inttoptr i64 %58 to i32* store i32 %59, i32* %60, align 4 %61 = add i64 %3, 8 %62 = inttoptr i64 %61 to i32* store i32 %59, i32* %62, align 4 %63 = sub i32 %46, %28 %64 = sub i32 %49, %30 %65 = load i32, i32* inttoptr (i64 4210780 to i32*), align 4 %66 = mul i32 %65, %64 %67 = add i64 %3, 20 %68 = sub i32 %63, %66 %69 = inttoptr i64 %67 to i32* store i32 %68, i32* %69, align 4 %70 = bitcast i64* %arg1 to i32* store i32 %68, i32* %70, align 4 %71 = add i64 %3, 44 %72 = add i32 %66, %63 %73 = inttoptr i64 %71 to i32* store i32 %72, i32* %73, align 4 %74 = add i64 %3, 24 %75 = zext i32 %72 to i64 %76 = inttoptr i64 %74 to i32* store i32 %72, i32* %76, align 4 ret i64 %75 uselistorder i32 %52, { 1, 0 } uselistorder i32 %49, { 1, 0 } uselistorder i32 %47, { 1, 0 } uselistorder i32 %46, { 1, 0 } uselistorder i32 %34, { 1, 0 } uselistorder i32 %31, { 1, 0 } uselistorder i32 %30, { 1, 0 } uselistorder i32 %28, { 1, 0 } uselistorder i32 %19, { 1, 0 } uselistorder i32 %8, { 0, 2, 1 } uselistorder i32 %4, { 0, 2, 1 } }
0
BinRealVul
smacker_probe_15291
smacker_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i8 %2 = icmp eq i8 %1, 83 %3 = icmp eq i1 %2, false br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = add i64 %0, 1 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = icmp eq i8 %6, 77 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = add i64 %0, 2 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = icmp eq i8 %11, 75 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = add i64 %0, 3 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = icmp ne i8 %16, 50 %18 = icmp eq i8 %16, 52 %19 = icmp eq i1 %18, false %or.cond = icmp eq i1 %17, %19 store i64 100, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_4, label LBL_5 LBL_4: store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
alac_decode_init_16125
alac_decode_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* store i64 %0, i64* %4, align 8 %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = load i64, i64* %4, align 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %3, 12 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 ret i64 0 }
1
BinRealVul
gprinter_free_5756
gprinter_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, -48 %3 = call i64 @FUNC(i64 %1, i64 4198766) %4 = call i64 @FUNC(i64 %2) %5 = add i64 %0, -8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i32 %7, -1 store i32 %8, i32* %6, align 4 %9 = call i64 @FUNC(i64 %2) ret i64 %9 uselistorder i64 %2, { 1, 0 } }
0
BinRealVul
TIFFClose_6145
TIFFClose
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %1) store i64 %4, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
0
BinRealVul
mqtt3_db_backup_7887
mqtt3_db_backup
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i32 @htonl(i32 1) %1 = call i32 @htonl(i32 0) ret i64 4294967295 uselistorder i32 (i32)* @htonl, { 1, 0 } }
1
BinRealVul
fdtv_ca_pmt_13003
fdtv_ca_pmt
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %sv_1.01.reg2mem = alloca i32 %sv_0.02.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 3 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = icmp slt i8 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = urem i8 %3, -128 %7 = icmp eq i8 %6, 0 store i64 4, i64* %sv_1.1.reg2mem store i32 0, i32* %sv_0.1.reg2mem br i1 %7, label LBL_6, label LBL_2 LBL_2: %8 = zext i8 %6 to i64 store i32 0, i32* %storemerge3.reg2mem store i32 0, i32* %sv_0.02.reg2mem store i32 4, i32* %sv_1.01.reg2mem br label LBL_3 LBL_3: %sv_1.01.reload = load i32, i32* %sv_1.01.reg2mem %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %9 = mul i32 %sv_0.02.reload, 256 %10 = add i32 %sv_1.01.reload, 1 %11 = sext i32 %sv_1.01.reload to i64 %12 = add i64 %11, %0 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = zext i8 %14 to i32 %16 = or i32 %9, %15 %17 = add i32 %storemerge3.reload, 1 %18 = sext i32 %17 to i64 %19 = icmp slt i64 %18, %8 store i32 %17, i32* %storemerge3.reg2mem store i32 %16, i32* %sv_0.02.reg2mem store i32 %10, i32* %sv_1.01.reg2mem br i1 %19, label LBL_3, label LBL_5 LBL_4: %20 = zext i8 %3 to i32 store i64 4, i64* %sv_1.1.reg2mem store i32 %20, i32* %sv_0.1.reg2mem br label LBL_6 LBL_5: %phitmp = sext i32 %10 to i64 store i64 %phitmp, i64* %sv_1.1.reg2mem store i32 %16, i32* %sv_0.1.reg2mem br label LBL_6 LBL_6: %21 = ptrtoint i64* %arg1 to i64 %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %22 = add i64 %sv_1.1.reload, %0 %23 = call i64 @FUNC(i64 %21, i64 %22, i32 %sv_0.1.reload) ret i64 %23 uselistorder i32 %10, { 1, 0 } uselistorder i32 %sv_1.01.reload, { 1, 0 } uselistorder i8 %3, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.01.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.1.reg2mem, { 0, 1, 3, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 3, 2 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_6, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
perf_group_attach_9028
perf_group_attach
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, 56 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = zext i32 %9 to i64 %11 = icmp eq i32 %9, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = or i32 %8, 1 store i32 %13, i32* %7, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %9, { 1, 0 } uselistorder i32 %8, { 1, 0 } }
0
BinRealVul
dma_aio_cancel_14061
dma_aio_cancel
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, -8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %3) store i64 %5, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
build_huff_939
build_huff
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0.07.reg2mem = alloca i32 %storemerge8.reg2mem = alloca i32 %storemerge2.reg2mem = alloca i32 %sv_1.09.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %2 = load i32, i32* %0 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %3 = ptrtoint i64* %sv_4 to i64 %4 = bitcast i64* %arg3 to i32* store i32 -1, i32* %4, align 4 %5 = add i64 %3, -2064 %6 = add i64 %3, -2060 store i64 0, i64* %indvars.iv.reg2mem store i64 %1, i64* %sv_1.09.reg2mem br label LBL_1 LBL_1: %sv_1.09.reload = load i64, i64* %sv_1.09.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = mul i64 %indvars.iv.reload, 8 %8 = add i64 %7, %5 %9 = inttoptr i64 %8 to i32* %10 = trunc i64 %indvars.iv.reload to i32 store i32 %10, i32* %9, align 8 %11 = add i64 %sv_1.09.reload, 1 %12 = inttoptr i64 %sv_1.09.reload to i8* %13 = load i8, i8* %12, align 1 %14 = zext i8 %13 to i32 %15 = add i64 %7, %6 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, 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 store i64 %11, i64* %sv_1.09.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %17 = ptrtoint i64* %arg2 to i64 call void @qsort(i64* nonnull %sv_3, i32 256, i32 8, i32 (i64*, i64*)* inttoptr (i64 4198710 to i32 (i64*, i64*)*)) %18 = icmp eq i32 %2, 0 %19 = icmp eq i1 %18, false store i32 255, i32* %storemerge2.reg2mem br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = load i64, i64* %sv_3, align 8 %21 = trunc i64 %20 to i32 store i32 %21, i32* %4, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %22 = sext i32 %storemerge2.reload to i64 %23 = mul i64 %22, 8 %24 = add i64 %23, %6 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 255 %28 = icmp eq i32 %storemerge2.reload, 0 %29 = icmp eq i1 %28, false %or.cond = icmp eq i1 %27, %29 %30 = add i32 %storemerge2.reload, -1 store i32 %30, i32* %storemerge2.reg2mem br i1 %or.cond, label LBL_4, label LBL_5 LBL_5: %31 = icmp slt i32 %26, 33 store i64 4294967295, i64* %rax.0.reg2mem br i1 %31, label LBL_6, label LBL_11 LBL_6: %32 = icmp slt i32 %storemerge2.reload, 0 %33 = icmp eq i1 %32, false store i32 %26, i32* %.reg2mem br i1 %33, label LBL_7, label LBL_10 LBL_7: %34 = add i64 %3, -3088 store i32 %storemerge2.reload, i32* %storemerge8.reg2mem store i32 1, i32* %sv_0.07.reg2mem br label LBL_8 LBL_8: %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %35 = sext i32 %storemerge8.reload to i64 %36 = mul i64 %35, 8 %37 = add i64 %36, %6 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = sub i32 0, %39 %41 = urem i32 %40, 32 %42 = lshr i32 %sv_0.07.reload, %41 %43 = mul i64 %35, 4 %44 = add i64 %34, %43 %45 = inttoptr i64 %44 to i32* store i32 %42, i32* %45, align 4 %46 = load i32, i32* %38, align 4 %47 = trunc i32 %46 to i8 %48 = add i64 %35, %3 %49 = add i64 %48, -3344 %50 = inttoptr i64 %49 to i8* store i8 %47, i8* %50, align 1 %51 = add i64 %36, %5 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 8 %54 = trunc i32 %53 to i8 %55 = add i64 %48, -3600 %56 = inttoptr i64 %55 to i8* store i8 %54, i8* %56, align 1 %57 = load i32, i32* %38, align 4 %58 = add i32 %57, 31 %59 = urem i32 %58, 32 %60 = lshr i32 -2147483648, %59 %61 = add i32 %60, %sv_0.07.reload %62 = add i32 %storemerge8.reload, -1 %63 = icmp slt i32 %62, 0 %64 = icmp eq i1 %63, false store i32 %62, i32* %storemerge8.reg2mem store i32 %61, i32* %sv_0.07.reg2mem br i1 %64, label LBL_8, label LBL_9 LBL_9: %.pre = load i32, i32* %25, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_10 LBL_10: %.reload = load i32, i32* %.reg2mem %65 = add i32 %storemerge2.reload, 1 %66 = add i32 %.reload, -11 %67 = sub i32 10, %.reload %68 = and i32 %67, %.reload %69 = icmp slt i32 %68, 0 %70 = icmp eq i32 %66, 0 %71 = icmp slt i32 %66, 0 %72 = icmp ne i1 %71, %69 %73 = or i1 %70, %72 %74 = select i1 %73, i32 %.reload, i32 11 %75 = zext i32 %65 to i64 %76 = call i64 @FUNC(i64 %17, i32 %74, i64 %75, i64* nonnull %sv_2, i64 1, i64 1) store i64 %76, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %66, { 1, 0 } uselistorder i32 %.reload, { 1, 3, 0, 2 } uselistorder i64 %36, { 1, 0 } uselistorder i64 %35, { 2, 0, 1 } uselistorder i32 %sv_0.07.reload, { 1, 0 } uselistorder i32 %storemerge2.reload, { 5, 0, 4, 2, 3, 1 } uselistorder i64 %7, { 1, 0 } uselistorder i64* %sv_3, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.09.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.07.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 255, { 1, 0 } uselistorder i1 false, { 2, 0, 1, 3 } uselistorder i32 0, { 3, 4, 5, 6, 2, 0, 1, 7 } uselistorder i64 1, { 2, 1, 0, 3 } uselistorder i32 -1, { 1, 0, 2 } uselistorder label LBL_11, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
m5206_mbar_readw_14234
m5206_mbar_readw
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = urem i32 %0, 1024 %2 = icmp ult i32 %1, 513 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = zext i32 %1 to i64 %4 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %3) br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = and i64 %arg2, 1020 %7 = add i64 %6, ptrtoint (i32** @gv_1 to i64) %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %5, i64 %6) %12 = trunc i64 %11 to i32 %13 = urem i32 %0, 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false %16 = udiv i32 %12, 65536 %spec.select = select i1 %15, i32 %12, i32 %16 %17 = urem i32 %spec.select, 65536 %18 = zext i32 %17 to i64 store i64 %18, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %19 = icmp eq i32 %9, 2 %20 = zext i32 %1 to i64 br i1 %19, label LBL_6, label LBL_5 LBL_5: %21 = call i64 @FUNC(i64 %5, i64 %20) %22 = mul i64 %21, 256 %23 = add nuw nsw i32 %1, 1 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %5, i64 %24) %26 = or i64 %22, %25 %27 = urem i64 %26, 65536 store i64 %27, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %28 = call i64 @FUNC(i64 %5, i64 %20, i64 2) store i64 %28, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %20, { 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i64 %5, { 3, 2, 1, 0 } uselistorder i32 %1, { 2, 3, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @m5206_mbar_readb, { 1, 0 } uselistorder i32 65536, { 1, 0 } }
1
BinRealVul
pc_q35_2_4_machine_options_15253
pc_q35_2_4_machine_options
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 1, i64* %arg1, align 8 %2 = add i64 %0, 1 %3 = inttoptr i64 %2 to i8* store i8 0, i8* %3, align 1 ret i64 %0 uselistorder i64 %0, { 1, 2, 0 } uselistorder i64 1, { 1, 0 } }
1
BinRealVul
e1000e_io_read_583
e1000e_io_read
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %2 = trunc i64 %arg2 to i32 store i32 0, i32* %sv_0, align 4 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 4 br i1 %6, label LBL_3, label LBL_5 LBL_2: %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %7) store i64 %7, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %9 = ptrtoint i64* %arg1 to i64 %10 = call i64 @FUNC(i64 %9, i32* nonnull %sv_0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_6, label LBL_4 LBL_4: %13 = load i32, i32* %sv_0, align 4 %14 = add i64 %9, 8 %15 = zext i32 %13 to i64 %16 = call i64 @FUNC(i64 %14, i64 %15, i64 8) %17 = load i32, i32* %sv_0, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18, i64 %16) store i64 %16, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %20 = and i64 %4, 4294967295 %21 = call i64 @FUNC(i64 %20) 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, { 1, 0 } uselistorder i32* %sv_0, { 1, 2, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder label LBL_6, { 1, 2, 0, 3 } }
0
BinRealVul
tcp_set_msgfds_15227
tcp_set_msgfds
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i32 %1, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %4 = ashr exact i64 %sext, 30 %5 = call i64 @FUNC(i64 %4) store i64 %5, i64* %arg1, align 8 %6 = inttoptr i64 %4 to i64* %7 = bitcast i32* %arg2 to i64* %8 = mul i32 %1, 4 %9 = call i64* @memcpy(i64* %6, i64* %7, i32 %8) br label LBL_2 LBL_2: %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* store i32 %1, i32* %11, align 4 ret i64 0 uselistorder i64 %4, { 1, 0 } uselistorder i32 %1, { 1, 0, 2 } }
1
BinRealVul
copy_linear_skb_18568
copy_linear_skb
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg2 to i32 %3 = trunc i64 %arg3 to i32 %4 = sub i32 %2, %3 %sext = mul i64 %arg3, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = add i64 %5, %1 %7 = zext i32 %4 to i64 %8 = call i64 @FUNC(i64 %6, i64 %7, i64 %0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %4, %9 %11 = icmp eq i1 %10, false %. = select i1 %11, i64 4294967282, i64 0 ret i64 %. }
1
BinRealVul
iwgif_read_image_12690
iwgif_read_image
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0, i64 %0, i64 9) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %3, label LBL_17, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i32 %6 = add i64 %0, 256 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 %8 = add i64 %0, 2 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = add i64 %0, 260 %12 = inttoptr i64 %11 to i32* store i32 %10, i32* %12, align 4 %13 = add i64 %0, 4 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = add i64 %0, 264 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = add i64 %0, 6 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 %21 = add i64 %0, 268 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = add i64 %0, 8 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = udiv i8 %25, 64 %27 = urem i8 %26, 2 %28 = zext i8 %27 to i32 %29 = add i64 %0, 272 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 %31 = load i8, i8* %24, align 1 %cond = icmp sgt i8 %31, -1 br i1 %cond, label LBL_3, label LBL_2 LBL_2: %32 = urem i8 %31, 8 %narrow = add nuw nsw i8 %32, 1 %33 = zext i8 %narrow to i32 %34 = shl i32 1, %33 %35 = add i64 %0, 288 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = call i64 @FUNC(i64 %0, i64 %35) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %39, label LBL_17, label LBL_3 LBL_3: %40 = add i64 %0, 276 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = icmp eq i32 %42, 0 br i1 %43, label LBL_5, label LBL_4 LBL_4: %44 = add i64 %0, 548 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = sext i32 %46 to i64 %48 = add i64 %0, 292 %49 = add i64 %48, %47 %50 = inttoptr i64 %49 to i8* store i8 0, i8* %50, align 1 br label LBL_5 LBL_5: %51 = call i64 @FUNC(i64 %0, i64 %0, i64 1) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %53, label LBL_17, label LBL_6 LBL_6: %54 = bitcast i64* %rdi to i8* %55 = load i8, i8* %54, align 8 %.off = add i8 %55, -2 %56 = icmp ult i8 %.off, 10 br i1 %56, label LBL_8, label LBL_7 LBL_7: %57 = add i64 %0, 552 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = call i64 @FUNC(i64 %59, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %sv_0.0.reg2mem br label LBL_17 LBL_8: %61 = call i64 @FUNC(i64 %0) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %63, label LBL_17, label LBL_9 LBL_9: %64 = load i32, i32* %17, align 4 %65 = load i32, i32* %22, align 4 %66 = mul i32 %65, %64 %67 = add i64 %0, 280 %68 = inttoptr i64 %67 to i32* store i32 %66, i32* %68, align 4 %69 = call i64 @FUNC(i64 %0) %70 = trunc i64 %69 to i32 %71 = icmp eq i32 %70, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %71, label LBL_17, label LBL_10 LBL_10: %72 = zext i8 %55 to i64 %73 = bitcast i32* %sv_1 to i64* %74 = call i64 @FUNC(i64* nonnull %73, i64 %72) %75 = call i64 @FUNC(i64* nonnull %73) %76 = add i64 %0, 284 %77 = inttoptr i64 %76 to i32* br label LBL_11 LBL_11: %78 = call i64 @FUNC(i64 %0, i64 %0, i64 1) %79 = trunc i64 %78 to i32 %80 = icmp eq i32 %79, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %80, label LBL_17, label LBL_12 LBL_12: %81 = load i8, i8* %54, align 8 %82 = icmp eq i8 %81, 0 store i64 1, i64* %sv_0.0.reg2mem br i1 %82, label LBL_17, label LBL_13 LBL_13: %83 = zext i8 %81 to i64 %84 = call i64 @FUNC(i64 %0, i64 %0, i64 %83) %85 = trunc i64 %84 to i32 %86 = icmp eq i32 %85, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %86, label LBL_17, label LBL_14 LBL_14: %87 = call i64 @FUNC(i64 %0, i64* nonnull %73, i64 %0, i64 %83) %88 = trunc i64 %87 to i32 %89 = icmp eq i32 %88, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %89, label LBL_17, label LBL_15 LBL_15: %90 = load i32, i32* %sv_1, align 4 %91 = icmp eq i32 %90, 0 %92 = icmp eq i1 %91, false store i64 1, i64* %sv_0.0.reg2mem br i1 %92, label LBL_17, label LBL_16 LBL_16: %93 = load i32, i32* %77, align 4 %94 = load i32, i32* %68, align 4 %95 = icmp ult i32 %93, %94 store i64 1, i64* %sv_0.0.reg2mem br i1 %95, label LBL_11, label LBL_17 LBL_17: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i8 %81, { 1, 0 } uselistorder i64 %0, { 3, 4, 5, 6, 7, 8, 2, 9, 10, 11, 12, 13, 14, 16, 17, 15, 1, 0, 19, 18, 20, 21, 22, 23, 24, 25, 26, 27, 29, 28 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 5, 1, 6, 9, 10, 8, 11, 7, 12 } uselistorder i64 1, { 2, 1, 0, 8, 9, 3, 4, 5, 6, 10, 7 } uselistorder i64 256, { 2, 1, 0 } uselistorder i64 (i64)* @iw_get_ui16le, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @iwgif_read, { 3, 2, 1, 0 } uselistorder label LBL_17, { 2, 1, 3, 4, 0, 5, 6, 7, 11, 8, 9, 10 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
eject_device_2066
eject_device
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = icmp eq i32 %arg3, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0) %8 = call i64 @FUNC(i64 1, i64 %7) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %9 = call i64 @FUNC(i64 %0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = call i64 @FUNC(i64 %0) %13 = call i64 @FUNC(i64 2, i64 %12) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %14 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 3, 0, 1, 2, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @qerror_report, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @bdrv_get_device_name, { 1, 0 } }
0
BinRealVul
uc_get_names_18448
uc_get_names
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_1 = alloca i8*, align 8 %sv_2 = alloca i32*, align 8 %0 = icmp ne i64* %arg1, null %1 = icmp eq i64* %arg3, null %2 = icmp eq i1 %1, false %or.cond = icmp eq i1 %0, %2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_23 LBL_1: %3 = call i32 @pthread_mutex_lock(i64* nonnull @gv_0) %4 = load i64, i64* @gv_1, align 8 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_3: %9 = trunc i64 %5 to i32 %10 = call i64* @calloc(i32 %9, i32 8) %11 = ptrtoint i64* %10 to i64 %12 = call i64* @calloc(i32 %9, i32 8) %13 = ptrtoint i64* %12 to i64 %14 = icmp ne i64* %10, null %15 = icmp eq i64* %12, null %16 = icmp eq i1 %15, false %or.cond6 = icmp eq i1 %14, %16 br i1 %or.cond6, label LBL_5, label LBL_4 LBL_4: %17 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %17, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0)) %19 = call i64 @FUNC(i64 %11) %20 = call i64 @FUNC(i64 %13) %21 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0) store i64 12, i64* %rax.0.reg2mem br label LBL_23 LBL_5: %22 = load i64, i64* @gv_1, align 8 %23 = call i64 @FUNC(i64 %22) %24 = bitcast i8** %sv_1 to i64* %25 = bitcast i32** %sv_2 to i64* %sext = mul i64 %5, 4294967296 %26 = ashr exact i64 %sext, 32 %27 = icmp eq i64* %arg2, null store i64 0, i64* %sv_0.0.ph.reg2mem br label LBL_14 LBL_6: %28 = load i32*, i32** %sv_2, align 8 %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_7, label LBL_15 LBL_7: %32 = icmp ult i64 %sv_0.0.ph.reload, %26 br i1 %32, label LBL_9, label LBL_8 LBL_8: call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_6, i64 0, i64 0), i32 76, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0)) br label LBL_9 LBL_9: br i1 %27, label LBL_9.LBL_12_crit_edge, label LBL_11 LBL_10: %.pre = mul i64 %sv_0.0.ph.reload, 8 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_12 LBL_11: %33 = load i32*, i32** %sv_2, align 8 %34 = ptrtoint i32* %33 to i64 %35 = mul i64 %sv_0.0.ph.reload, 8 %36 = add i64 %35, %13 %37 = add i64 %34, 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = inttoptr i64 %36 to i64* store i64 %39, i64* %40, align 8 store i64 %35, i64* %.pre-phi.reg2mem br label LBL_12 LBL_12: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %41 = load i8*, i8** %sv_1, align 8 %42 = add i64 %.pre-phi.reload, %11 %43 = call i8* @strdup(i8* %41) %44 = ptrtoint i8* %43 to i64 %45 = inttoptr i64 %42 to i64* store i64 %44, i64* %45, align 8 %46 = icmp eq i8* %43, null %47 = icmp eq i1 %46, false br i1 %47, label LBL_13, label LBL_16 LBL_13: %48 = add i64 %sv_0.0.ph.reload, 1 store i64 %48, i64* %sv_0.0.ph.reg2mem br label LBL_14 LBL_14: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem br label LBL_15 LBL_15: %49 = call i64 @FUNC(i64 %23, i64* nonnull %24, i64* nonnull %25) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_6, label LBL_19 LBL_16: %52 = call i64 @FUNC(i64 %23) %53 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0) %54 = icmp eq i64 %sv_0.0.ph.reload, 0 store i64 0, i64* %storemerge8.reg2mem br i1 %54, label LBL_18, label LBL_17 LBL_17: %storemerge8.reload = load i64, i64* %storemerge8.reg2mem %55 = mul i64 %storemerge8.reload, 8 %56 = add i64 %55, %11 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = call i64 @FUNC(i64 %58) %60 = add nuw i64 %storemerge8.reload, 1 %exitcond = icmp eq i64 %60, %sv_0.0.ph.reload store i64 %60, i64* %storemerge8.reg2mem br i1 %exitcond, label LBL_18, label LBL_17 LBL_18: %61 = call i64 @FUNC(i64 %11) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_23 LBL_19: %62 = call i64 @FUNC(i64 %23) %63 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0) store i64 %11, i64* %arg1, align 8 br i1 %27, label LBL_21, label LBL_20 LBL_20: store i64 %13, i64* %arg2, align 8 br label LBL_22 LBL_21: %64 = call i64 @FUNC(i64 %13) br label LBL_22 LBL_22: store i64 %sv_0.0.ph.reload, i64* %arg3, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.0.ph.reload, { 2, 3, 4, 1, 5, 6, 0 } uselistorder i64 %13, { 2, 1, 0, 3 } uselistorder i64 %11, { 3, 2, 0, 1, 4 } uselistorder i32 %9, { 1, 0 } uselistorder i32** %sv_2, { 1, 0, 2 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge8.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 5, 2, 1 } uselistorder i64 8, { 0, 3, 1, 2 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64)* @sfree, { 4, 2, 3, 1, 0 } uselistorder i64* (i32, i32)* @calloc, { 1, 0 } uselistorder i32 (i64*)* @pthread_mutex_unlock, { 0, 3, 2, 1 } uselistorder i64 0, { 1, 2, 6, 7, 8, 9, 10, 11, 12, 3, 13, 14, 15, 16, 0, 20, 4, 5, 17, 18, 19 } uselistorder i1 false, { 2, 3, 0, 4, 1 } uselistorder i64* null, { 2, 0, 3, 1, 4 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_23, { 1, 2, 3, 4, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_12, { 1, 0 } }
1
BinRealVul
set_fdc_6486
set_fdc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = trunc i64 %arg1 to i32 %1 = load i32, i32* @gv_0, align 4 %2 = icmp slt i32 %0, 0 store i32 %1, i32* %sv_0.0.reg2mem br i1 %2, label LBL_3, label LBL_1 LBL_1: %sext = mul i64 %arg1, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = trunc i64 %3 to i32 %5 = icmp sgt i32 %4, 3 store i32 %1, i32* %sv_0.0.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = and i64 %3, 4294967295 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 store i32 %4, i32* bitcast (i64* @gv_1 to i32*), align 8 store i32 %8, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %9 = icmp ult i32 %sv_0.0.reload, 2 br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) store i64 %10, i64* %rax.0.reg2mem br label LBL_9 LBL_5: store i32 %sv_0.0.reload, i32* @gv_0, align 4 %11 = zext i32 %sv_0.0.reload to i64 %12 = call i64 @FUNC(i64 %11, i64 4294967295, i64 8) %13 = load i32, i32* @gv_0, align 4 %14 = sub i32 1, %13 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15, i64 4294967287, i64 0) %17 = load i64, i64* @gv_3, align 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 2 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 1) br label LBL_7 LBL_7: %23 = call i64 @FUNC(i64 0) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 1 store i64 %23, i64* %rax.0.reg2mem br i1 %25, label LBL_9, label LBL_8 LBL_8: %26 = load i64, i64* @gv_3, align 8 %27 = add i64 %26, 4 %28 = inttoptr i64 %27 to i32* store i32 1, i32* %28, align 4 store i64 %26, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 1, 0, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64, i64, i64)* @set_dor, { 1, 0 } uselistorder i64 4294967295, { 2, 0, 1 } }
0
BinRealVul
cirrus_bitblt_solidfill_3128
cirrus_bitblt_solidfill
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %0, 12 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %0, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %6 to i64 %17 = call i64 @FUNC(i64 %0, i32 %15, i32 %12, i32 %9, i64 %16) %18 = call i64 @FUNC(i64 %0) store i64 1, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 4, 5, 2, 3, 1, 0, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
add_kid_10463
add_kid
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rsi.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = add i32 %3, 1 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 4 %7 = add i64 %0, 12 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = mul i32 %9, 10 %11 = sext i32 %10 to i64 %12 = icmp ugt i64 %6, %11 store i32 %4, i32* %.pre-phi.reg2mem store i32 %3, i32* %.reg2mem store i64 %0, i64* %rsi.0.reg2mem br i1 %12, label LBL_1, label LBL_2 LBL_1: %13 = add i32 %9, 1 store i32 %13, i32* %8, align 4 %14 = sext i32 %13 to i64 %15 = mul nsw i64 %14, 40 %16 = trunc i64 %15 to i32 %17 = call i64* @realloc(i64* %arg2, i32 %16) %18 = ptrtoint i64* %17 to i64 store i64 %18, i64* %arg2, align 8 %.pre = load i32, i32* %2, align 4 %.pre2 = add i32 %.pre, 1 store i32 %.pre2, i32* %.pre-phi.reg2mem store i32 %.pre, i32* %.reg2mem store i64 %15, i64* %rsi.0.reg2mem br label LBL_2 LBL_2: %sext = mul i64 %arg1, 4294967296 %19 = ashr exact i64 %sext, 32 %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %.reload = load i32, i32* %.reg2mem %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem store i32 %.pre-phi.reload, i32* %2, align 4 %20 = sext i32 %.reload to i64 %21 = mul i64 %20, 4 %22 = add i64 %21, %rsi.0.reload %23 = and i64 %19, 4294967295 %24 = trunc i64 %19 to i32 %25 = inttoptr i64 %22 to i32* store i32 %24, i32* %25, align 4 ret i64 %23 uselistorder i64 %19, { 1, 0 } uselistorder i32* %2, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
qemu_chr_open_tty_206
qemu_chr_open_tty
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %1, i64 2050) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = and i64 %2, 4294967295 %7 = call i64 @FUNC(i64 %6, i64 115200, i64 78, i64 8, i64 1) %8 = call i64 @FUNC(i64 %6, i64 %6) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i32 @close(i32 %3) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %12 = inttoptr i64 %8 to i64* store i64 4198825, i64* %12, align 8 %13 = add i64 %8, 8 %14 = inttoptr i64 %13 to i64* store i64 4198832, i64* %14, align 8 store i64 %8, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
edts_AddBox_9519
edts_AddBox
define i64 @FUNC(i64* %arg1, i32* %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 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_4 LBL_2: %10 = ptrtoint i32* %arg2 to i64 store i64 %10, i64* %7, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %11 = ptrtoint i32* %arg2 to i64 %12 = call i64 @FUNC(i64 %2, i64 %11) store i64 %12, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
nfs_can_extend_write_11022
nfs_can_extend_write
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 2 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = ptrtoint i64* %arg3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %4 to i32 %7 = icmp eq i32 %6, 0 store i64 1, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = ptrtoint i32* %arg2 to i64 %9 = call i64 @FUNC(i64 %8, i64 %4) %10 = trunc i64 %9 to i32 %11 = icmp ne i32 %10, 0 %12 = icmp eq i64* %arg3, null %or.cond = icmp eq i1 %12, %11 %spec.select = zext i1 %or.cond to i64 ret i64 %spec.select LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 0, 2, 1 } }
1
BinRealVul
iwl_sta_ucode_activate_11924
iwl_sta_ucode_activate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 72057594037927936 %4 = ashr exact i64 %sext, 56 %5 = urem i64 %arg2, 256 %6 = mul nuw nsw i64 %5, 7 %7 = add i64 %6, %3 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = urem i8 %9, 2 %11 = icmp eq i8 %10, 0 %12 = icmp eq i1 %11, false %.pre = urem i64 %4, 256 %.pre2 = mul nuw nsw i64 %.pre, 7 %.pre4 = add i64 %.pre2, %3 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = add i64 %.pre4, 1 %14 = trunc i64 %4 to i8 %15 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i8 %14, i64 %13, i64 %2, i64 %1) br label LBL_2 LBL_2: %16 = inttoptr i64 %.pre4 to i8* %17 = load i8, i8* %16, align 1 %18 = and i8 %17, 2 %19 = icmp eq i8 %18, 0 br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = add i64 %.pre4, 1 %21 = trunc i64 %4 to i8 %22 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_1, i64 0, i64 0), i8 %21, i64 %20, i64 %2, i64 %1) store i64 %22, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %23 = or i8 %17, 2 store i8 %23, i8* %16, align 1 %24 = add i64 %.pre4, 1 %25 = trunc i64 %4 to i8 %26 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i8 %25, i64 %24, i64 %2, i64 %1) store i64 %26, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 1, 2, 3, 0 } uselistorder i64 %3, { 3, 4, 2, 0, 1 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i8, i64, i64, i64)* @IWL_DEBUG_ASSOC, { 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i8 2, { 1, 2, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
hyper_rescan_scsi_13333
hyper_rescan_scsi
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = bitcast i64* %sv_0 to %dirent*** %1 = call i32 @scandir(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), %dirent*** nonnull %0, i32 (%dirent*)* null, i32 (%dirent**, %dirent**)* null) %2 = icmp slt i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @perror(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_14 LBL_2: %4 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 256) %5 = icmp sgt i32 %1, 0 br i1 %5, label LBL_3, label LBL_13 LBL_3: %6 = bitcast i64* %sv_1 to i8* %wide.trip.count = zext i32 %1 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = load i64, i64* %sv_0, align 8 %8 = mul i64 %indvars.iv.reload, 8 %9 = add i64 %7, %8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %11, 19 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 46 br i1 %15, label LBL_12, label LBL_5 LBL_5: %16 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %6, i32 256, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i8* %13) %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %19, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0), i8* %13) br label LBL_12 LBL_7: %21 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %22 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %21, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_6, i64 0, i64 0), i64* nonnull %sv_1) %23 = call i32 (i8*, i32, ...) @open(i8* nonnull %6, i32 1) %24 = icmp slt i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_9, label LBL_8 LBL_8: call void @perror(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_7, i64 0, i64 0)) br label LBL_12 LBL_9: %26 = call i32 @write(i32 %23, i64* bitcast ([8 x i8]* @gv_8 to i64*), i32 7) %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_11, label LBL_10 LBL_10: call void @perror(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_9, i64 0, i64 0)) br label LBL_11 LBL_11: %29 = call i32 @close(i32 %23) br label LBL_12 LBL_12: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_13, label LBL_4 LBL_13: %30 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %31 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_10 to i64*), i32 1, i32 17, %_IO_FILE* %30) store i64 0, i64* %storemerge.reg2mem br label LBL_14 LBL_14: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder %_IO_FILE** @gv_5, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder void (i8*)* @perror, { 2, 1, 0 } uselistorder i32 0, { 1, 3, 4, 0, 2, 5 } uselistorder i64 0, { 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 12, 13, 14, 15, 16 } uselistorder i32 1, { 3, 2, 5, 4, 1, 0 } uselistorder label LBL_12, { 1, 2, 3, 0 } }
1
BinRealVul
helper_evpe_1372
helper_evpe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 store i64 %1, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %2 = icmp eq i64 %sv_0.0.reload, %0 br i1 %2, label LBL_4, label LBL_2 LBL_2: %3 = call i64 @FUNC(i64 %sv_0.0.reload) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = inttoptr i64 %sv_0.0.reload to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = or i64 %10, 1 store i64 %11, i64* %9, align 8 %12 = call i64 @FUNC(i64 %sv_0.0.reload) br label LBL_4 LBL_4: %13 = add i64 %sv_0.0.reload, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false store i64 %15, i64* %sv_0.0.reg2mem br i1 %17, label LBL_1, label LBL_5 LBL_5: ret i64 %0 uselistorder i64 %sv_0.0.reload, { 2, 4, 3, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } }
0
BinRealVul
avfilter_default_get_video_buffer_4696
avfilter_default_get_video_buffer
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 80) %3 = call i64 @FUNC(i64 88) %4 = inttoptr i64 %3 to i64* store i64 %2, i64* %4, align 8 %5 = bitcast i64* %rdi to i32* %6 = load i32, i32* %5, align 8 %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i32* store i32 %6, i32* %8, align 4 %9 = add i64 %0, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %3, 12 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = add i64 %3, 16 %15 = inttoptr i64 %14 to i32* store i32 %1, i32* %15, align 4 %16 = inttoptr i64 %2 to i32* store i32 1, i32* %16, align 4 %17 = add i64 %0, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %2, 4 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = add i64 %2, 8 %23 = inttoptr i64 %22 to i64* store i64 4198746, i64* %23, align 8 %24 = load i32, i32* %13, align 4 %25 = load i32, i32* %8, align 4 %26 = load i32, i32* %21, align 4 %27 = call i64 @FUNC(i64 %2, i32 %26, i32 %25, i32 %24) %28 = add i64 %2, 16 %29 = add i64 %3, 24 %30 = inttoptr i64 %29 to i64* %31 = inttoptr i64 %28 to i64* %32 = call i64* @memcpy(i64* %30, i64* %31, i32 32) %33 = add i64 %2, 48 %34 = add i64 %3, 56 %35 = inttoptr i64 %34 to i64* %36 = inttoptr i64 %33 to i64* %37 = call i64* @memcpy(i64* %35, i64* %36, i32 32) ret i64 %3 uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 (i64)* @av_mallocz, { 1, 0 } }
0
BinRealVul
redisAsyncSetTimeout_7132
redisAsyncSetTimeout
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rdi.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 1, i64 16) store i64 %3, i64* %arg1, align 8 store i64 1, i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %4 = icmp eq i64 %rdi.0.reload, %arg2 %5 = icmp eq i1 %4, false %.pre = add i64 %rdi.0.reload, 8 %.pre1 = inttoptr i64 %.pre to i64* br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = load i64, i64* %.pre1, align 8 %7 = icmp eq i64 %6, %arg3 store i64 %arg3, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_4 LBL_4: %8 = inttoptr i64 %rdi.0.reload to i64* store i64 %arg2, i64* %8, align 8 store i64 %arg3, i64* %.pre1, align 8 store i64 %arg2, 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 %rdi.0.reload, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 %arg3, { 2, 0, 1 } uselistorder i64 %arg2, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
prepare_attr_stack_5621
prepare_attr_stack
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.reg2mem7 = alloca i32 %.reg2mem5 = alloca i64 %.reg2mem = alloca i64 %sv_0 = alloca i8*, align 8 %sext = mul i64 %arg2, 4294967296 %sext3 = add i64 %sext, 8589934592 %0 = ashr exact i64 %sext3, 32 %1 = add nsw i64 %0, 14 %2 = bitcast i8** %sv_0 to i64* %3 = call i64 @FUNC(i64* nonnull %2, i64 %1) %4 = load i64, i64* @gv_0, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC() %.pre = load i64, i64* @gv_0, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_2 LBL_2: %8 = ashr exact i64 %sext, 32 %.reload = load i64, i64* %.reg2mem %9 = add i64 %.reload, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 store i64 %11, i64* @gv_0, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_8, label LBL_3 LBL_3: %13 = trunc i64 %8 to i32 %14 = inttoptr i64 %arg1 to i8* store i64 %11, i64* %.reg2mem5 br label LBL_7 LBL_4: %15 = inttoptr i64 %31 to i8* %16 = call i32 @strlen(i8* %15) %17 = load i64, i64* @gv_0, align 8 %18 = icmp sgt i32 %16, %13 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = inttoptr i64 %17 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i8* %22 = call i32 @strncmp(i8* %21, i8* %14, i32 %16) %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_8, label LBL_6 LBL_6: %24 = call i64 @FUNC(i64 %17) %25 = add i64 %17, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 store i64 %27, i64* @gv_0, align 8 %28 = call i64 @FUNC(i64 %17) %.pr = load i64, i64* @gv_0, align 8 %29 = icmp eq i64 %.pr, 0 store i64 %.pr, i64* %.reg2mem5 br i1 %29, label LBL_8, label LBL_7 LBL_7: %.reload6 = load i64, i64* %.reg2mem5 %30 = inttoptr i64 %.reload6 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_4, label LBL_8 LBL_8: %34 = call i64 @FUNC() %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false br i1 %37, label LBL_11, label LBL_9 LBL_9: %38 = load i64, i64* @gv_0, align 8 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = inttoptr i64 %40 to i8* %42 = call i32 @strlen(i8* %41) %43 = trunc i64 %8 to i32 %44 = icmp slt i32 %42, %43 store i32 %42, i32* %.reg2mem7 br i1 %44, label LBL_10, label LBL_11 LBL_10: %.reload8 = load i32, i32* %.reg2mem7 %45 = call i64 @FUNC(i64* nonnull %2) %46 = call i64 @FUNC(i64* nonnull %2, i64 %arg1, i64 %8) %47 = call i64 @FUNC(i64* nonnull %2, i64 47) %48 = load i8*, i8** %sv_0, align 8 %49 = ptrtoint i8* %48 to i64 %50 = sext i32 %.reload8 to i64 %51 = add nsw i64 %50, 1 %52 = add i64 %51, %49 %53 = inttoptr i64 %52 to i8* %54 = call i8* @strchr(i8* %53, i32 47) %55 = ptrtoint i8* %54 to i64 %56 = add i64 %55, 1 %57 = inttoptr i64 %56 to i64* store i64 8247344779535935278, i64* %57, align 8 %58 = add i64 %55, 9 %59 = inttoptr i64 %58 to i32* store i32 1953849961, i32* %59, align 4 %60 = add i64 %55, 13 %61 = inttoptr i64 %60 to i16* store i16 29541, i16* %61, align 2 %62 = add i64 %55, 15 %63 = inttoptr i64 %62 to i8* store i8 0, i8* %63, align 1 %64 = load i8*, i8** %sv_0, align 8 %65 = ptrtoint i8* %64 to i64 %66 = call i64 @FUNC(i64 %65, i64 0) store i8 0, i8* %54, align 1 %67 = load i8*, i8** %sv_0, align 8 %68 = call i8* @strdup(i8* %67) %69 = ptrtoint i8* %68 to i64 %70 = inttoptr i64 %66 to i64* store i64 %69, i64* %70, align 8 %71 = load i64, i64* @gv_0, align 8 %72 = add i64 %66, 8 %73 = inttoptr i64 %72 to i64* store i64 %71, i64* %73, align 8 store i64 %66, i64* @gv_0, align 8 %74 = call i64 @FUNC(i64 %66) %75 = load i64, i64* @gv_0, align 8 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = inttoptr i64 %77 to i8* %79 = call i32 @strlen(i8* %78) %80 = icmp slt i32 %79, %43 store i32 %79, i32* %.reg2mem7 br i1 %80, label LBL_10, label LBL_11 LBL_11: %81 = load i64, i64* @gv_0, align 8 store i64 %81, i64* %10, align 8 store i64 %.reload, i64* @gv_0, align 8 ret i64 %.reload uselistorder i32 %43, { 1, 0 } uselistorder i64 %31, { 1, 0 } uselistorder i64 %17, { 2, 1, 0, 3 } uselistorder i64 %8, { 0, 2, 1 } uselistorder i8** %sv_0, { 2, 1, 0, 3 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem7, { 2, 0, 1 } uselistorder i8* (i8*)* @strdup, { 1, 0 } uselistorder i64 1, { 1, 2, 0, 3, 4 } uselistorder i64* @gv_0, { 3, 4, 7, 5, 6, 1, 2, 8, 9, 10, 0, 11 } uselistorder i64 32, { 1, 0 } uselistorder i32 1, { 9, 5, 4, 3, 2, 1, 0, 7, 6, 8 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0, 2, 3 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
show_signal_msg_5312
show_signal_msg
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0, i64 11) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = call i64 @FUNC() %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = ptrtoint i64* %arg1 to i64 %9 = trunc i64 %1 to i32 %10 = icmp slt i32 %9, 2 %11 = call i64 @FUNC(i64 %0) %12 = and i64 %11, 4294967295 %13 = select i1 %10, i64 ptrtoint ([9 x i8]* @gv_0 to i64), i64 ptrtoint ([8 x i8]* @gv_1 to i64) %14 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i64 %13, i64 %0, i64 %12, i64 %arg3, i64 %0) %15 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 ptrtoint ([50 x i8]* @gv_2 to i64)) %16 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0), i64 ptrtoint ([50 x i8]* @gv_2 to i64), i64 %0, i64 %12, i64 %arg3, i64 %0) %17 = call i64 @FUNC(i64 %8, i64 %13) store i64 %17, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %13, { 1, 0 } uselistorder i64 %0, { 3, 2, 4, 1, 0, 5, 6 } uselistorder i64 ptrtoint ([50 x i8]* @gv_2 to i64), { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @printk, { 1, 0 } uselistorder [50 x i8]* @gv_2, { 1, 0 } uselistorder i64 (i64)* @task_pid_nr, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
pdf_set_font_10264
pdf_set_font
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %storemerge25.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %storemerge25.reg2mem store i32 1, i32* %sv_1.0.lcssa.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %storemerge25.reload = load i64, i64* %storemerge25.reg2mem %4 = add i64 %storemerge25.reload, 8 %5 = inttoptr i64 %4 to i8* %6 = call i32 @strcmp(i8* %5, i8* %arg2) %7 = icmp eq i32 %6, 0 store i64 %storemerge25.reload, i64* %sv_0.0.reg2mem br i1 %7, label LBL_7, label LBL_2 LBL_2: %8 = inttoptr i64 %storemerge25.reload to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 %9, i64* %storemerge25.reg2mem br i1 %11, label LBL_1, label LBL_3 LBL_3: %12 = add i64 %storemerge25.reload, 108 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %phitmp.le = add i32 %14, 1 store i32 %phitmp.le, i32* %sv_1.0.lcssa.reg2mem br label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %0, i64 1) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = add i64 %0, 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 store i64 %21, i64* %storemerge.reg2mem br label LBL_8 LBL_6: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %22 = add i64 %15, 8 %23 = inttoptr i64 %22 to i8* %24 = call i8* @strncpy(i8* %23, i8* %arg2, i32 100) %25 = add i64 %15, 107 %26 = inttoptr i64 %25 to i8* store i8 0, i8* %26, align 1 %27 = add i64 %15, 108 %28 = inttoptr i64 %27 to i32* store i32 %sv_1.0.lcssa.reload, i32* %28, align 4 store i64 %15, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i64 %sv_0.0.reload, i64* %arg1, align 8 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 %15, { 0, 1, 3, 2, 4 } uselistorder i64 %storemerge25.reload, { 3, 1, 0, 2 } uselistorder i64* %storemerge25.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
nsc_rle_decompress_data_7266
nsc_rle_decompress_data
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_11 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %2) %7 = add i64 %2, 48 %8 = inttoptr i64 %7 to i64* store i64 0, i64* %storemerge3.reg2mem store i64 %2, i64* %sv_0.02.reg2mem br label LBL_2 LBL_2: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %9 = mul i64 %storemerge3.reload, 4 %10 = add i64 %9, %2 %11 = add i64 %10, 16 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %10, 32 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = icmp ult i64 %5, %17 %19 = icmp eq i1 %18, false store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_3, label LBL_11 LBL_3: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %20 = icmp eq i32 %16, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_4 LBL_4: %22 = load i64, i64* %8, align 8 %23 = add i64 %22, 32 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = zext i32 %13 to i64 %27 = icmp ult i64 %25, %26 %28 = icmp eq i1 %27, false store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_5, label LBL_11 LBL_5: %29 = mul i64 %storemerge3.reload, 8 %30 = add i64 %22, %29 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32, i64 %26, i64 255) br label LBL_10 LBL_6: %34 = icmp ult i32 %16, %13 %35 = icmp eq i1 %34, false %36 = load i64, i64* %8, align 8 %37 = add i64 %36, 32 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 br i1 %35, label LBL_8, label LBL_7 LBL_7: %40 = mul i64 %storemerge3.reload, 8 %41 = add i64 %36, %40 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = zext i32 %13 to i64 %45 = call i64 @FUNC(i64 %sv_0.02.reload, i64 %5, i64 %43, i64 %39, i64 %44) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false store i64 0, i64* %rax.0.reg2mem br i1 %48, label LBL_10, label LBL_11 LBL_8: %49 = zext i32 %13 to i64 %50 = icmp ult i64 %39, %49 %51 = icmp ult i64 %5, %49 %52 = or i1 %51, %50 %53 = icmp eq i1 %52, false store i64 0, i64* %rax.0.reg2mem br i1 %53, label LBL_9, label LBL_11 LBL_9: %54 = mul i64 %storemerge3.reload, 8 %55 = add i64 %36, %54 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = call i64 @FUNC(i64 %57, i64 %sv_0.02.reload, i32 %13) br label LBL_10 LBL_10: %59 = add i64 %sv_0.02.reload, %17 %60 = add nuw nsw i64 %storemerge3.reload, 1 %61 = icmp ult i64 %60, 4 store i64 %60, i64* %storemerge3.reg2mem store i64 %59, i64* %sv_0.02.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %61, label LBL_2, label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %39, { 1, 0 } uselistorder i64 %sv_0.02.reload, { 2, 1, 0 } uselistorder i32 %13, { 3, 2, 4, 1, 0 } uselistorder i64 %storemerge3.reload, { 0, 4, 3, 2, 1 } uselistorder i64 %5, { 0, 2, 1 } uselistorder i64 %2, { 1, 0, 2, 4, 3 } uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
process_netbios_name_18766
process_netbios_name
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge7.reg2mem = alloca i32 %sv_0.58.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_2.09.reg2mem = alloca i64 %sv_0.410.reg2mem = alloca i64 %sv_1.111.reg2mem = alloca i64 %storemerge312.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = add i64 %1, 15 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 store i32 0, i32* %storemerge312.reg2mem store i64 %2, i64* %sv_1.111.reg2mem store i64 %0, i64* %sv_0.410.reg2mem store i64 %1, i64* %sv_2.09.reg2mem br label LBL_1 LBL_1: %sv_2.09.reload = load i64, i64* %sv_2.09.reg2mem %sv_0.410.reload = load i64, i64* %sv_0.410.reg2mem %sv_1.111.reload = load i64, i64* %sv_1.111.reg2mem %storemerge312.reload = load i32, i32* %storemerge312.reg2mem %6 = inttoptr i64 %sv_2.09.reload to i8* %7 = load i8, i8* %6, align 1 %.off = add i8 %7, -32 %8 = icmp ult i8 %.off, 95 %9 = trunc i64 %sv_1.111.reload to i32 %10 = add i32 %9, -1 br i1 %8, label LBL_2, label LBL_4 LBL_2: %11 = sext i32 %10 to i64 %12 = icmp slt i32 %10, 1 store i64 %sv_0.410.reload, i64* %sv_0.3.reg2mem store i64 %11, i64* %sv_1.0.reg2mem br i1 %12, label LBL_12, label LBL_3 LBL_3: %13 = add i64 %sv_0.410.reload, 1 %14 = inttoptr i64 %sv_0.410.reload to i8* store i8 %7, i8* %14, align 1 store i64 %13, i64* %sv_0.3.reg2mem store i64 %11, i64* %sv_1.0.reg2mem br label LBL_12 LBL_4: %15 = icmp slt i32 %10, 1 store i64 %sv_0.410.reload, i64* %sv_0.0.reg2mem br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = add i64 %sv_0.410.reload, 1 %17 = inttoptr i64 %sv_0.410.reload to i8* store i8 60, i8* %17, align 1 store i64 %16, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %18 = sext i8 %7 to i32 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = add i32 %9, -2 %20 = icmp slt i32 %19, 1 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = udiv i32 %18, 16 %22 = urem i32 %21, 16 %23 = add i64 %sv_0.0.reload, 1 %24 = zext i32 %22 to i64 %25 = add i64 %24, ptrtoint (i8** @gv_0 to i64) %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = inttoptr i64 %sv_0.0.reload to i8* store i8 %27, i8* %28, align 1 store i64 %23, i64* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %29 = add i32 %9, -3 %30 = icmp slt i32 %29, 1 store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br i1 %30, label LBL_10, label LBL_9 LBL_9: %31 = urem i32 %18, 16 %32 = add i64 %sv_0.1.reload, 1 %33 = zext i32 %31 to i64 %34 = add i64 %33, ptrtoint (i8** @gv_0 to i64) %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = inttoptr i64 %sv_0.1.reload to i8* store i8 %36, i8* %37, align 1 store i64 %32, i64* %sv_0.2.reg2mem br label LBL_10 LBL_10: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %38 = add i32 %9, -4 %39 = sext i32 %38 to i64 %40 = icmp slt i32 %38, 1 store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem store i64 %39, i64* %sv_1.0.reg2mem br i1 %40, label LBL_12, label LBL_11 LBL_11: %41 = add i64 %sv_0.2.reload, 1 %42 = inttoptr i64 %sv_0.2.reload to i8* store i8 62, i8* %42, align 1 store i64 %41, i64* %sv_0.3.reg2mem store i64 %39, i64* %sv_1.0.reg2mem br label LBL_12 LBL_12: %43 = add i64 %sv_2.09.reload, 1 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %44 = add nuw nsw i32 %storemerge312.reload, 1 %exitcond = icmp eq i32 %44, 15 store i32 %44, i32* %storemerge312.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.111.reg2mem store i64 %sv_0.3.reload, i64* %sv_0.410.reg2mem store i64 %43, i64* %sv_2.09.reg2mem br i1 %exitcond, label LBL_13, label LBL_1 LBL_13: %45 = inttoptr i64 %sv_0.3.reload to i8* store i8 0, i8* %45, align 1 store i64 %sv_0.3.reload, i64* %sv_0.58.in.reg2mem store i32 0, i32* %storemerge7.reg2mem br label LBL_14 LBL_14: %sv_0.58.in.reload = load i64, i64* %sv_0.58.in.reg2mem %sv_0.58 = add i64 %sv_0.58.in.reload, -1 %46 = inttoptr i64 %sv_0.58 to i8* %47 = load i8, i8* %46, align 1 %48 = icmp eq i8 %47, 32 br i1 %48, label LBL_16, label LBL_15 LBL_15: %49 = inttoptr i64 %sv_0.58.in.reload to i8* store i8 0, i8* %49, align 1 br label LBL_17 LBL_16: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %50 = add nuw nsw i32 %storemerge7.reload, 1 %51 = icmp ult i32 %50, 15 store i64 %sv_0.58, i64* %sv_0.58.in.reg2mem store i32 %50, i32* %storemerge7.reg2mem br i1 %51, label LBL_14, label LBL_17 LBL_17: %52 = zext i8 %5 to i64 ret i64 %52 uselistorder i64 %sv_0.58.in.reload, { 1, 0 } uselistorder i64 %sv_0.2.reload, { 2, 1, 0 } uselistorder i64 %sv_0.1.reload, { 2, 1, 0 } uselistorder i64 %sv_0.0.reload, { 2, 1, 0 } uselistorder i32 %9, { 2, 1, 0, 3 } uselistorder i8 %7, { 2, 1, 0 } uselistorder i64 %sv_0.410.reload, { 4, 5, 1, 2, 3, 0 } uselistorder i64 %sv_2.09.reload, { 1, 0 } uselistorder i32* %storemerge312.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.111.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.410.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.09.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.3.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %sv_0.58.in.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i32 15, { 1, 0 } uselistorder i64 ptrtoint (i8** @gv_0 to i64), { 1, 0 } uselistorder i32 16, { 0, 2, 1 } uselistorder i64 1, { 5, 0, 1, 2, 3, 4 } uselistorder label LBL_14, { 1, 0 } }
1
BinRealVul
mp_wait_until_sent_10721
mp_wait_until_sent
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %1 = load i64, 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_10, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_10, label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = add i64 %4, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = trunc i64 %9 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_2.LBL_5_crit_edge, label LBL_4 LBL_3: %.pre = mul i32 %12, 2 store i32 %.pre, i32* %.pre-phi.reg2mem br label LBL_5 LBL_4: %15 = mul i32 %12, 2 %16 = zext i32 %15 to i64 %17 = icmp sgt i64 %9, %16 store i32 %15, i32* %.pre-phi.reg2mem store i64 %9, i64* %sv_0.0.reg2mem br i1 %17, label LBL_5, label LBL_6 LBL_5: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %18 = sext i32 %.pre-phi.reload to i64 store i64 %18, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = load i64, i64* @gv_0, align 8 %20 = add i64 %19, %sv_0.0.reload %21 = trunc i64 %4 to i32 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_7, label LBL_9 LBL_7: %23 = call i64 @FUNC(i64 1) %24 = call i64 @FUNC(i64 undef) %25 = load i64, i64* @gv_1, align 8 %26 = call i64 @FUNC(i64 %25) %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 = load i64, i64* @gv_0, align 8 %31 = call i64 @FUNC(i64 %30, i64 %20) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_9, label LBL_7 LBL_9: %35 = call i64 @FUNC(i64 2) store i64 %35, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @set_current_state, { 1, 0 } uselistorder label LBL_10, { 2, 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
aux_register_types_15661
aux_register_types
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 4210717) %1 = call i64 @FUNC(i64 4210718) %2 = call i64 @FUNC(i64 4210719) ret i64 %2 uselistorder i64 (i64)* @type_register_static, { 2, 1, 0 } }
1
BinRealVul
vnc_socket_local_addr_628
vnc_socket_local_addr
define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %0 = trunc i64 %arg2 to i32 store i32 128, i32* %sv_1, align 4 %1 = bitcast i64* %sv_0 to %sockaddr* %2 = call i32 @getsockname(i32 %0, %sockaddr* nonnull %1, i32* nonnull %sv_1) %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = load i32, i32* %sv_1, align 4 %6 = ptrtoint i8* %arg1 to i64 %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0, i32 %5) store i64 %7, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
pcie_cap_init_557
pcie_cap_init
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = 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: call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 46, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = trunc i64 %arg2 to i8 %6 = call i64 @FUNC(i64 %0, i64 16, i8 %5, i64 16) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_4 LBL_3: %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* store i32 %7, i32* %11, align 4 %sext6 = mul i64 %6, 4294967296 %12 = ashr exact i64 %sext6, 32 %13 = trunc i64 %arg3 to i8 %14 = trunc i64 %arg4 to i8 %15 = call i64 @FUNC(i64 %0, i8 %14, i8 %13, i64 1) %16 = add i64 %0, 4 %17 = add i64 %16, %12 %18 = call i64 @FUNC(i64 %17, i64 3) %19 = add i64 %0, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add nsw i64 %12, 8 %23 = add i64 %22, %21 %24 = call i64 @FUNC(i64 %23, i64 4) br label LBL_4 LBL_4: %storemerge = and i64 %6, 4294967295 ret i64 %storemerge uselistorder i64 %12, { 1, 0 } uselistorder i64 %6, { 1, 0, 2 } uselistorder i64 %0, { 2, 0, 1, 3, 4, 5 } uselistorder i64 4, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 16, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
raw_create_176
raw_create
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i64 %sv_2.01.reg2mem = alloca i64 %sv_1.13.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null store i64 0, i64* %sv_1.1.lcssa.reg2mem br i1 %0, label LBL_6, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg2 to i64 store i64 0, i64* %sv_1.13.reg2mem store i64 %1, i64* %sv_2.01.reg2mem br label LBL_5 LBL_2: %2 = inttoptr i64 %16 to i8* %3 = call i32 @strcmp(i8* %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = add i64 %sv_2.01.reload, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %8, 511 %10 = icmp slt i64 %8, 0 %11 = select i1 %10, i64 %9, i64 %8 %12 = ashr i64 %11, 9 store i64 %12, i64* %sv_1.0.reg2mem br label LBL_4 LBL_4: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %13 = add i64 %sv_2.01.reload, 16 %14 = icmp eq i64 %13, 0 store i64 %sv_1.0.reload, i64* %sv_1.13.reg2mem store i64 %13, i64* %sv_2.01.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.lcssa.reg2mem br i1 %14, label LBL_6, label LBL_5 LBL_5: %sv_2.01.reload = load i64, i64* %sv_2.01.reg2mem %sv_1.13.reload = load i64, i64* %sv_1.13.reg2mem %15 = inttoptr i64 %sv_2.01.reload to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i64 %sv_1.13.reload, i64* %sv_1.1.lcssa.reg2mem br i1 %18, label LBL_2, label LBL_6 LBL_6: %19 = inttoptr i64 %arg1 to i8* %20 = call i32 (i8*, i32, ...) @open(i8* %19, i32 577) %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_8, label LBL_7 LBL_7: %23 = call i32* @__errno_location() %24 = load i32, i32* %23, align 4 %25 = sub i32 0, %24 store i32 %25, i32* %sv_0.1.reg2mem br label LBL_12 LBL_8: %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem %.tr = trunc i64 %sv_1.1.lcssa.reload to i32 %26 = mul i32 %.tr, 512 %27 = call i32 @ftruncate(i32 %20, i32 %26) %28 = icmp eq i32 %27, 0 store i32 0, i32* %sv_0.0.reg2mem br i1 %28, label LBL_10, label LBL_9 LBL_9: %29 = call i32* @__errno_location() %30 = load i32, i32* %29, align 4 %31 = sub i32 0, %30 store i32 %31, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %32 = call i32 @close(i32 %20) %33 = icmp eq i32 %32, 0 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %33, label LBL_12, label LBL_11 LBL_11: %34 = call i32* @__errno_location() %35 = load i32, i32* %34, align 4 %36 = sub i32 0, %35 store i32 %36, i32* %sv_0.1.reg2mem br label LBL_12 LBL_12: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %37 = zext i32 %sv_0.1.reload to i64 ret i64 %37 uselistorder i64 %16, { 1, 0 } uselistorder i64 %sv_2.01.reload, { 1, 0, 2 } uselistorder i64 %8, { 2, 1, 0 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 3, 1 } uselistorder i32* ()* @__errno_location, { 1, 2, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
__dvb_frontend_free_18973
__dvb_frontend_free
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) 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 = call i64 @FUNC(i64 %0, i64 %5) store i64 %6, i64* %rax.0.reg2mem br i1 %1, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %0) store i64 %7, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 3, 2, 0 } }
1
BinRealVul
MP4_BoxFree_11574
MP4_BoxFree
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %storemerge12.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = icmp eq i64 %arg2, 0 store i64 %arg2, i64* %storemerge12.reg2mem br i1 %4, label LBL_9, label LBL_1 LBL_1: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %5 = add i64 %storemerge12.reload, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %arg1, i64 %storemerge12.reload) %9 = icmp eq i64 %7, 0 %10 = icmp eq i1 %9, false store i64 %7, i64* %storemerge12.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_2: %11 = add i64 %arg2, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_8, label LBL_3 LBL_3: %15 = add i64 %arg2, 16 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 store i32 0, i32* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i32, i32* %storemerge.reg2mem %18 = zext i32 %storemerge.reload to i64 %19 = mul i64 %18, 16 %20 = add i64 %19, ptrtoint (i32** @gv_0 to i64) %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 8 %23 = icmp eq i32 %22, %17 %24 = icmp eq i32 %22, 0 %or.cond = or i1 %24, %23 %25 = add i32 %storemerge.reload, 1 store i32 %25, i32* %storemerge.reg2mem br i1 %or.cond, label LBL_5, label LBL_4 LBL_5: %26 = add i64 %19, ptrtoint (i64* @gv_1 to i64) %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 %30 = icmp eq i1 %29, false store i64 %13, i64* %.reg2mem br i1 %30, label LBL_7, label LBL_6 LBL_6: %31 = add i64 %arg2, 17 %32 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i64 %31, i64 %3, i64 %2, i64 %1) %.pre = load i64, i64* %12, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_7 LBL_7: %.reload = load i64, i64* %.reg2mem %33 = inttoptr i64 %.reload to i64* call void @free(i64* %33) br label LBL_8 LBL_8: %34 = inttoptr i64 %arg2 to i64* call void @free(i64* %34) store i64 ptrtoint (i32* @0 to i64), 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 %19, { 1, 0 } uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i64 %storemerge12.reload, { 1, 0 } uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 3, 1, 2, 4, 0, 5 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
spl_filesystem_info_set_filename_12572
spl_filesystem_info_set_filename
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %.reg2mem = alloca i8* %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = inttoptr i64 %arg1 to i64* call void @free(i64* %1) br label LBL_2 LBL_2: %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %arg4 to i32 %4 = icmp eq i32 %3, 0 %.pre = trunc i64 %2 to i32 store i64 %arg1, i64* %rdi.0.reg2mem store i64 %arg2, i64* %storemerge.reg2mem br i1 %4, label LBL_4, label LBL_3 LBL_3: %5 = inttoptr i64 %arg2 to i8* %6 = call i8* @strndup(i8* %5, i32 %.pre) %7 = ptrtoint i8* %6 to i64 store i64 %arg2, i64* %rdi.0.reg2mem store i64 %7, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %8 = inttoptr i64 %arg1 to i64* store i64 %storemerge.reload, i64* %8, align 8 %9 = add i64 %arg1, 8 %10 = inttoptr i64 %9 to i32* store i32 %.pre, i32* %10, align 4 %11 = add i64 %rdi.0.reload, -1 %12 = add i64 %11, %2 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 47 %16 = icmp eq i8 %14, 92 %or.cond.not8 = or i1 %16, %15 %17 = icmp sgt i32 %.pre, 1 %or.cond69 = icmp eq i1 %17, %or.cond.not8 store i8* %13, i8** %.reg2mem br i1 %or.cond69, label LBL_5, label LBL_6 LBL_5: %.reload = load i8*, i8** %.reg2mem store i8 0, i8* %.reload, align 1 %18 = load i32, i32* %10, align 4 %19 = add i32 %18, -1 store i32 %19, i32* %10, align 4 %20 = sext i32 %19 to i64 %21 = add i64 %11, %20 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 47 %25 = icmp eq i8 %23, 92 %or.cond.not = or i1 %25, %24 %26 = icmp sgt i32 %19, 1 %or.cond6 = icmp eq i1 %26, %or.cond.not store i8* %22, i8** %.reg2mem br i1 %or.cond6, label LBL_5, label LBL_6 LBL_6: %27 = inttoptr i64 %rdi.0.reload to i8* %28 = call i8* @strrchr(i8* %27, i32 47) %29 = icmp eq i8* %28, null br i1 %29, label LBL_8, label LBL_7 LBL_7: %30 = ptrtoint i8* %28 to i64 %31 = sub i64 %30, %rdi.0.reload %32 = trunc i64 %31 to i32 %33 = add i64 %arg1, 24 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 br label LBL_9 LBL_8: %35 = add i64 %arg1, 24 %36 = inttoptr i64 %35 to i32* store i32 0, i32* %36, align 4 br label LBL_9 LBL_9: %37 = add i64 %arg1, 16 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 br i1 %40, label LBL_11, label LBL_10 LBL_10: %41 = inttoptr i64 %39 to i64* call void @free(i64* %41) br label LBL_11 LBL_11: %42 = add i64 %arg1, 24 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = inttoptr i64 %arg2 to i8* %46 = call i8* @strndup(i8* %45, i32 %44) %47 = ptrtoint i8* %46 to i64 store i64 %47, i64* %38, align 8 ret i64 %arg1 uselistorder i8* %28, { 1, 0 } uselistorder i32 %19, { 1, 2, 0 } uselistorder i32* %10, { 1, 2, 0 } uselistorder i64 %rdi.0.reload, { 1, 0, 2 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8** %.reg2mem, { 2, 0, 1 } uselistorder i8 92, { 1, 0 } uselistorder i8 47, { 1, 0 } uselistorder i8* (i8*, i32)* @strndup, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 3, 1, 2, 0 } uselistorder i64 %arg1, { 3, 4, 5, 6, 2, 7, 8, 0, 1, 9 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
btrfs_xattr_acl_set_11413
btrfs_xattr_acl_set
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64 %arg3, 0 store i64 0, i64* %sv_0.0.reg2mem store i64 %0, i64* %rdi.0.reg2mem br i1 %1, label LBL_3, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %arg3, i64 %arg4) %3 = icmp ult i64 %2, -1000 store i64 %2, i64* %sv_0.0.reg2mem store i64 %arg3, i64* %rdi.0.reg2mem br i1 %3, label LBL_3, label LBL_2 LBL_2: %4 = call i64 @FUNC(i64 %2) store i64 %4, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %5 = and i64 %arg6, 4294967295 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %6 = call i64 @FUNC(i64 0, i64 %rdi.0.reload, i64 %sv_0.0.reload, i64 %5) %7 = call i64 @FUNC(i64 %sv_0.0.reload) %8 = and i64 %6, 4294967295 store i64 %8, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 0, 2 } }
1
BinRealVul
equality_12421
equality
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.be.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = and i64 %arg2, 4294967295 %1 = call i64 @FUNC(i64 %arg1, i64 %0) store i64 %1, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %2 = call i64 @FUNC(i64 %arg1, i64 1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_4, label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %arg1, i64 %0) %6 = call i64 @FUNC(i64 5, i64 %sv_0.0.reload, i64 %5) store i64 %6, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_3: %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem store i64 %sv_0.0.be.reload, i64* %sv_0.0.reg2mem br label LBL_1 LBL_4: %7 = call i64 @FUNC(i64 %arg1, i64 2) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_6, label LBL_5 LBL_5: %10 = call i64 @FUNC(i64 %arg1, i64 %0) %11 = call i64 @FUNC(i64 6, i64 %sv_0.0.reload, i64 %10) store i64 %11, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_6: %12 = call i64 @FUNC(i64 %arg1, i64 3) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_8, label LBL_7 LBL_7: %15 = call i64 @FUNC(i64 %arg1, i64 %0) %16 = call i64 @FUNC(i64 7, i64 %sv_0.0.reload, i64 %15) store i64 %16, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_8: %17 = call i64 @FUNC(i64 %arg1, i64 4) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_10, label LBL_9 LBL_9: %20 = call i64 @FUNC(i64 %arg1, i64 %0) %21 = call i64 @FUNC(i64 8, i64 %sv_0.0.reload, i64 %20) store i64 %21, i64* %sv_0.0.be.reg2mem br label LBL_1.backedge LBL_10: ret i64 %sv_0.0.reload uselistorder i64 %sv_0.0.reload, { 4, 0, 1, 2, 3 } uselistorder i64 %0, { 1, 2, 3, 4, 0 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.be.reg2mem, { 4, 3, 2, 0, 1 } uselistorder i64 (i64, i64, i64)* @EXP2, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @jsP_accept, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @relational, { 4, 3, 2, 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 3, 4, 2, 5, 1, 6, 0, 7, 8 } uselistorder label LBL_1.backedge, { 3, 2, 1, 0 } }
1
BinRealVul
readSInt16_6928
readSInt16
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1) %2 = mul i64 %1, 256 %3 = or i64 %2, %0 %4 = and i64 %3, 4294967295 ret i64 %4 }
0
BinRealVul
do_sigreturn_2995
do_sigreturn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %storemerge1.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %3 = load i32, i32* %1 %4 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %5 = call i64 @FUNC(i64 0, i64 %4, i64 %2, i64 1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_4, label LBL_1 LBL_1: %8 = ptrtoint i64* %sv_2 to i64 %9 = zext i32 %3 to i64 %10 = call i64 @FUNC(i64 %9, i64 %4) %11 = add i64 %8, -160 store i64 1, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %12 = mul i64 %indvars.iv.reload, 4 %13 = add i64 %12, %4 %14 = add i64 %11, %12 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %17, i64 %13) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %19 = call i64 @FUNC(i64* nonnull %sv_0, i32* nonnull %sv_1) %20 = call i64 @FUNC(i64 2, i64* nonnull %sv_0, i64 0) %21 = call i64 @FUNC(i64 %4, i64 %2) %22 = call i64 @FUNC(i64 %4, i64 %2, i64 0) %23 = add i64 %2, 80 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 store i64 %25, i64* %storemerge1.reg2mem br label LBL_5 LBL_4: %26 = call i64 @FUNC(i64 11) store i64 %26, i64* %storemerge1.reg2mem br label LBL_5 LBL_5: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem ret i64 %storemerge1.reload uselistorder i64 %4, { 0, 1, 4, 2, 3 } uselistorder i64 %2, { 2, 0, 1, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @__get_user, { 1, 0 } uselistorder i64 1, { 2, 0, 3, 1 } }
0
BinRealVul
prefs_register_protocol_subtree_4371
prefs_register_protocol_subtree
define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %.reg2mem8 = alloca i64 %.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 0) store i64 %3, i64* @gv_0, align 8 store i64 %3, i64* %.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %4 = icmp eq i8* %arg1, null store i64 %.reload, i64* %sv_0.1.reg2mem br i1 %4, label LBL_11, label LBL_3 LBL_3: %5 = ptrtoint i8* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = icmp eq i64 %6, 0 store i64 %6, i64* %.in.reg2mem store i64 %.reload, i64* %sv_0.05.reg2mem store i64 %.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %7, label LBL_10, label LBL_9 LBL_4: %8 = call i8* @strchr(i8* nonnull %17, i32 47) %9 = icmp eq i8* %8, null %10 = ptrtoint i8* %8 to i64 store i64 %10, i64* %.reg2mem8 br i1 %9, label LBL_6, label LBL_5 LBL_5: %11 = add i64 %10, 1 store i8 0, i8* %8, align 1 store i64 %11, i64* %.reg2mem8 br label LBL_6 LBL_6: %.reload9 = load i64, i64* %.reg2mem8 %12 = call i64 @FUNC(i64 %sv_0.05.reload, i64 %.in.reload) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 %12, i64* %sv_1.0.reg2mem br i1 %14, label LBL_8, label LBL_7 LBL_7: %15 = call i64 @FUNC(i64 %sv_0.05.reload, i8* %17, i64 0) store i64 %15, i64* %sv_1.0.reg2mem br label LBL_8 LBL_8: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %16 = icmp eq i64 %.reload9, 0 store i64 %.reload9, i64* %.in.reg2mem store i64 %sv_1.0.reload, i64* %sv_0.05.reg2mem store i64 %sv_1.0.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %16, label LBL_10, label LBL_9 LBL_9: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %.in.reload = load i64, i64* %.in.reg2mem %17 = inttoptr i64 %.in.reload to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 0 %20 = icmp eq i1 %19, false store i64 %sv_0.05.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %20, label LBL_4, label LBL_10 LBL_10: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %21 = call i64 @FUNC(i64 %6) store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.reg2mem br label LBL_11 LBL_11: %22 = and i64 %arg2, 4294967295 %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %23 = call i64 @FUNC(i64 %22) %24 = call i64 @FUNC(i64 %22) %25 = call i64 @FUNC(i64 %23) %26 = call i64 @FUNC(i64 %22) %27 = call i64 @FUNC(i64 %sv_0.1.reload, i64 %26, i64 %25, i64 %24, i64 %arg3) ret i64 %27 uselistorder i8* %17, { 2, 1, 0 } uselistorder i64 %sv_0.05.reload, { 0, 2, 1 } uselistorder i64 %10, { 1, 0 } uselistorder i8* %8, { 1, 0, 2 } uselistorder i64 %6, { 2, 0, 1 } uselistorder i64 %.reload, { 1, 2, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem8, { 0, 2, 1 } uselistorder i64* %.in.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.05.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @prefs_register_subtree, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0, 7 } uselistorder i8* %arg1, { 1, 0 } uselistorder label LBL_10, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
fsg_unbind_4930
fsg_unbind
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %5 = load i64, i64* %2, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %1, %7 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = add i64 %5, 8 %11 = inttoptr i64 %10 to i64* store i64 0, i64* %11, align 8 %12 = load i64, i64* %2, align 8 %13 = call i64 @FUNC(i64 %12, i64 1) %14 = inttoptr i64 %3 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %1, %15 %17 = icmp eq i1 %16, false %18 = add i64 %3, 16 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i1 %17 to i64 %22 = zext i32 %20 to i64 %23 = call i64 @FUNC(i64 %22, i64 %21) br label LBL_2 LBL_2: %24 = call i64 @FUNC(i64 %3) %25 = add i64 %1, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) %29 = add i64 %1, 16 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31) %33 = add i64 %1, 24 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = call i64 @FUNC(i64 %35) %37 = call i64 @FUNC(i64 %1) ret i64 %37 uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 4, 3, 0, 5, 6, 7 } uselistorder i64 (i64)* @usb_free_descriptors, { 2, 1, 0 } }
0
BinRealVul
virtio_serial_device_exit_16813
virtio_serial_device_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %0, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = inttoptr i64 %13 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = load i64, i64* %12, align 8 %19 = add i64 %18, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21) %23 = load i64, i64* %12, align 8 %24 = add i64 %23, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) %28 = load i64, i64* %12, align 8 %29 = call i64 @FUNC(i64 %28) br label LBL_2 LBL_2: %30 = call i64 @FUNC(i64 %0) ret i64 0 uselistorder i64 %0, { 0, 1, 2, 3, 4, 6, 5 } uselistorder i64 (i64)* @g_free, { 4, 3, 2, 1, 0 } }
1
BinRealVul
cpu_disable_ticks_14945
cpu_disable_ticks
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 4210748) %1 = load i32, i32* @gv_0, align 4 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() %4 = trunc i64 %3 to i32 store i32 %4, i32* bitcast (i64* @gv_1 to i32*), align 8 %5 = call i64 @FUNC() %6 = trunc i64 %5 to i32 store i32 %6, i32* bitcast (i64* @gv_2 to i32*), align 8 store i32 0, i32* @gv_0, align 4 br label LBL_2 LBL_2: %7 = call i64 @FUNC(i64* nonnull @gv_3) ret i64 %7 }
1
BinRealVul
h261_decode_init_vlc_1818
h261_decode_init_vlc
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = zext i32 %0 to i64 %2 = icmp eq i32 %0, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: store i32 1, i32* @gv_0, align 4 %4 = call i64 @FUNC(i64* nonnull @gv_1, i64 8, i64 35, i64* nonnull @gv_2, i64 1, i64 1) %5 = call i64 @FUNC(i64* nonnull @gv_3, i64 8, i64 10, i64* nonnull @gv_4, i64 1, i64 1) %6 = call i64 @FUNC(i64* nonnull @gv_5, i64 8, i64 17, i64* nonnull @gv_6, i64 2, i64 1) %7 = call i64 @FUNC(i64* nonnull @gv_7, i64 8, i64 63, i64* nonnull @gv_8, i64 2, i64 1) %8 = call i64 @FUNC(i64* nonnull @gv_9, i64 1) %9 = call i64 @FUNC(i64* nonnull @gv_9, i64 1) store i64 %9, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 (i64*, i64, i64, i64*, i64, i64)* @init_vlc, { 3, 2, 1, 0 } uselistorder i64 1, { 0, 1, 2, 3, 5, 4, 7, 6 } uselistorder i32 0, { 1, 0 } uselistorder i32* @gv_0, { 1, 0 } }
0
BinRealVul
test_server_connect_2624
test_server_connect
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0)) ret i64 %1 }
0
BinRealVul
find_match_text_19178
find_match_text
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem20 = alloca i64 %.lcssa.reg2mem = alloca i8 %.lcssa4.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i32 %storemerge27.reg2mem = alloca i32 %.reg2mem18 = alloca i8 %.reg2mem16 = alloca i8 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %sv_1 = alloca i64, align 8 %1 = and i64 %arg2, 4294967295 store i64 %arg1, i64* %sv_1, align 8 %2 = bitcast i64* %arg3 to i8* store i64 %arg1, i64* %.reg2mem br label LBL_1 LBL_1: %.reload = load i64, i64* %.reg2mem %3 = load i8, i8* %2, align 1 %4 = icmp eq i8 %3, 0 %5 = icmp eq i1 %4, false %6 = load i64, i64* @gv_0, align 8 %7 = add i64 %6, %.reload %8 = add i64 %7, 1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 store i8 %10, i8* %.reg2mem16 store i8 %3, i8* %.reg2mem18 store i32 0, i32* %storemerge27.reg2mem store i32 1, i32* %sv_0.06.reg2mem store i64 1, i64* %.lcssa4.reg2mem store i8 %10, i8* %.lcssa.reg2mem br i1 %5, label LBL_2, label LBL_4 LBL_2: %.reload19 = load i8, i8* %.reg2mem18 %.reload17 = load i8, i8* %.reg2mem16 %11 = icmp eq i8 %.reload19, %.reload17 store i64 %.reload, i64* %.reg2mem20 br i1 %11, label LBL_3, label LBL_7 LBL_3: %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem %storemerge27.reload = load i32, i32* %storemerge27.reg2mem %12 = add i32 %sv_0.06.reload, 1 %13 = add i32 %storemerge27.reload, 1 %14 = sext i32 %13 to i64 %15 = add i64 %14, %0 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 0 %19 = icmp eq i1 %18, false %20 = sext i32 %12 to i64 %21 = add i64 %7, %20 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 store i8 %23, i8* %.reg2mem16 store i8 %17, i8* %.reg2mem18 store i32 %13, i32* %storemerge27.reg2mem store i32 %12, i32* %sv_0.06.reg2mem store i64 %20, i64* %.lcssa4.reg2mem store i8 %23, i8* %.lcssa.reg2mem br i1 %19, label LBL_2, label LBL_4 LBL_4: %.lcssa.reload = load i8, i8* %.lcssa.reg2mem %24 = zext i8 %.lcssa.reload to i64 %25 = call i64 @FUNC(i64 %24) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_4.LBL_7_crit_edge, label LBL_6 LBL_5: %.pre11 = load i64, i64* %sv_1, align 8 store i64 %.pre11, i64* %.reg2mem20 br label LBL_7 LBL_6: %.lcssa4.reload = load i64, i64* %.lcssa4.reg2mem %29 = call i64 @FUNC() %30 = load i32, i32* inttoptr (i64 4210844 to i32*), align 4 store i32 %30, i32* bitcast (i64* @gv_1 to i32*), align 8 %31 = load i64, i64* %sv_1, align 8 store i64 %31, i64* @gv_2, align 8 %32 = load i32, i32* @gv_3, align 4 store i32 %32, i32* bitcast (i64* @gv_4 to i32*), align 8 %33 = add i64 %31, %.lcssa4.reload store i64 %33, i64* @gv_5, align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_9 LBL_7: %.reload21 = load i64, i64* %.reg2mem20 %34 = add i64 %.reload21, 1 store i64 %34, i64* %sv_1, align 8 %35 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, -1 store i64 0, i64* %storemerge.reg2mem br i1 %37, label LBL_9, label LBL_7.LBL_1_crit_edge LBL_8: %.pre = load i64, i64* %sv_1, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_1 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_1, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem16, { 2, 0, 1 } uselistorder i8* %.reg2mem18, { 2, 0, 1 } uselistorder i32* %storemerge27.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.06.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem20, { 0, 2, 1 } uselistorder i64 1, { 4, 0, 1, 3, 2 } uselistorder i1 false, { 1, 2, 0 } uselistorder i8 0, { 2, 0, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
fw_cfg_init1_15998
fw_cfg_init1
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i32 52, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0)) br label LBL_2 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = inttoptr i64 %2 to i32* %8 = trunc i64 %1 to i32 %9 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i64 %6, i64 0) %10 = call i64 @FUNC(i64 %6) %11 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 4) %12 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0), i8* bitcast (i8** @gv_8 to i8*), i64 16) %13 = load i32, i32* %7, align 4 %14 = icmp eq i32 %13, 0 %15 = zext i1 %14 to i64 %16 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_9, i64 0, i64 0), i64 %15) %17 = load i16, i16* @gv_10, align 2 %18 = zext i16 %17 to i64 %19 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_11, i64 0, i64 0), i64 %18) %20 = call i64 @FUNC(i64 %6) %21 = call i64 @FUNC(i64 %6) %22 = icmp eq i32 %8, 0 %spec.select = select i1 %22, i32 1, i32 3 %23 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_12, i64 0, i64 0), i32 %spec.select) %24 = add i64 %6, 8 %25 = inttoptr i64 %24 to i64* store i64 4198799, i64* %25, align 8 %26 = call i64 @FUNC(i64 %24) ret i64 %26 uselistorder i64 %6, { 1, 0, 3, 4, 5, 6, 2, 9, 7, 8 } uselistorder i64 (i64, i8*, i64)* @fw_cfg_add_i16, { 1, 0 } uselistorder i64 (i64, i8*, i8*, i64)* @fw_cfg_add_bytes, { 1, 0 } }
1
BinRealVul
__cleanup_sighand_10372
__cleanup_sighand
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %arg1) %4 = load i64, i64* @gv_0, align 8 %5 = call i64 @FUNC(i64 %4, i64 %arg1) store i64 %5, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %arg1, { 1, 0, 2 } }
0
BinRealVul
qemu_clock_init_14976
qemu_clock_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = and i64 %arg1, 4294967295 %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i32* store i32 %0, i32* %3, align 4 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i8* store i8 1, i8* %5, align 1 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* store i64 -9223372036854775808, i64* %7, align 8 %8 = add i64 %2, 16 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %2, 24 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC(i64 %1, i64 0, i64 0) %13 = mul i64 %arg1, 8 %14 = and i64 %13, 34359738360 %15 = add i64 %14, ptrtoint (i64* @gv_0 to i64) %16 = inttoptr i64 %15 to i64* store i64 %12, i64* %16, align 8 ret i64 %12 uselistorder i64 %12, { 1, 0 } }
1
BinRealVul
ff_fast_malloc_14801
ff_fast_malloc
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = icmp ugt i64 %2, %arg3 %4 = icmp eq i1 %3, false store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_5 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = mul i64 %arg3, 17 %7 = udiv i64 %6, 16 %8 = add nuw nsw i64 %7, 32 %9 = icmp ugt i64 %8, %arg3 %10 = select i1 %9, i64 %8, i64 %arg3 %11 = call i64 @FUNC(i64 %5) %12 = icmp eq i32 %arg4, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %10) store i64 %13, i64* %storemerge2.reg2mem br label LBL_4 LBL_3: %14 = call i64 @FUNC(i64 %10) store i64 %14, i64* %storemerge2.reg2mem br label LBL_4 LBL_4: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem store i64 %storemerge2.reload, i64* %arg1, align 8 %15 = icmp eq i64 %storemerge2.reload, 0 %16 = icmp eq i1 %15, false %17 = trunc i64 %10 to i32 %18 = select i1 %16, i32 %17, i32 0 store i32 %18, i32* %arg2, align 4 store i64 1, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %8, { 1, 0 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 %arg3, { 2, 0, 1, 3 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
validate_and_copy_set_tun_17452
validate_and_copy_set_tun
define i64 @FUNC(i64* %arg1, i64* %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %1 = bitcast i32* %sv_2 to i64* %2 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %1, i64 0) %3 = call i64 @FUNC(i64 %0) %4 = zext i8 %arg3 to i64 %5 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1, i64 0, i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = and i64 %5, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %10 = load i32, i32* %sv_2, align 4 %11 = icmp ne i32 %10, 0 %12 = icmp eq i32 %6, 3 %or.cond = icmp eq i1 %12, %11 br i1 %or.cond, label LBL_3, label LBL_5 LBL_3: %13 = call i64 @FUNC(i64* nonnull %1) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false store i32 %14, i32* %sv_0.0.reg2mem br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = and i64 %13, 4294967295 store i64 %17, i64* %rax.0.reg2mem br label LBL_12 LBL_5: %18 = ptrtoint i64* %arg2 to i64 %19 = call i64 @FUNC(i64 %18, i64 1, i8 %arg3) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = and i64 %19, 4294967295 store i64 %23, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %24 = load i32, i32* %sv_2, align 4 %25 = sext i32 %24 to i64 %26 = add nsw i64 %25, 16 %27 = call i64 @FUNC(i64 %18, i64 2, i64 0, i64 %26, i64 %4) %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %29, label LBL_8, label LBL_12 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %30 = call i64 @FUNC(i64 %27) %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %sv_2, align 4 %33 = add i64 %30, 4 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = icmp eq i32 %32, 0 br i1 %35, label LBL_10, label LBL_9 LBL_9: %36 = load i32, i32* %sv_2, align 4 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64* nonnull %1, i64 %37) %39 = add i64 %30, 16 %40 = inttoptr i64 %39 to i64* %41 = inttoptr i64 %38 to i64* %42 = call i64* @memcpy(i64* %40, i64* %41, i32 %36) %43 = add i64 %30, 8 %44 = inttoptr i64 %43 to i64* store i64 %39, i64* %44, align 8 store i64 %38, i64* %rsi.0.reg2mem br label LBL_11 LBL_10: %45 = add i64 %30, 8 %46 = inttoptr i64 %45 to i64* store i64 0, i64* %46, align 8 store i64 2, i64* %rsi.0.reg2mem br label LBL_11 LBL_11: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %47 = and i64 %19, 4294967295 %48 = call i64 @FUNC(i64 %rsi.0.reload, i64 %47) %49 = zext i32 %sv_0.0.reload to i64 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 %30, { 2, 0, 1, 3, 4 } uselistorder i32* %sv_2, { 3, 2, 1, 0, 4 } uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder i64 (i64)* @nla_data, { 1, 0 } uselistorder label LBL_12, { 1, 0, 2, 3, 4 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
set_event_delegate_6282
set_event_delegate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* @gv_0, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
virtio_scsi_class_init_15727
virtio_scsi_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198680, i64* %arg1, align 8 store i64 4198687, i64* %2, align 8 store i64 4198694, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198701, i64* %6, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
1
BinRealVul
add_av_stream1_17437
add_av_stream1
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %rsi = alloca i64, align 8 %0 = call i64 @FUNC(i64 24) %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_6 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = trunc i64 %arg3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_4, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 0) %7 = inttoptr i64 %0 to i64* store i64 %6, i64* %7, align 8 %8 = inttoptr i64 %6 to i64* %9 = call i64* @memcpy(i64* %8, i64* %arg2, i32 24) %10 = bitcast i64* %rsi to i32* %11 = load i32, i32* %10, align 8 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = sext i32 %11 to i64 %14 = load i64, i64* %7, align 8 %15 = call i64 @FUNC(i64 %13) %16 = add i64 %14, 8 %17 = inttoptr i64 %16 to i64* store i64 %15, i64* %17, align 8 %18 = load i32, i32* %10, align 8 %19 = add i64 %3, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = load i64, i64* %7, align 8 %23 = add i64 %22, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = inttoptr i64 %25 to i64* %27 = inttoptr i64 %21 to i64* %28 = call i64* @memcpy(i64* %26, i64* %27, i32 %18) br label LBL_5 LBL_4: %29 = inttoptr i64 %0 to i64* store i64 %3, i64* %29, align 8 br label LBL_5 LBL_5: %30 = call i64 @FUNC(i64 0) %31 = add i64 %0, 8 %32 = inttoptr i64 %31 to i64* store i64 %30, i64* %32, align 8 %33 = bitcast i64* %rdi to i32* %34 = load i32, i32* %33, align 8 %35 = add i64 %0, 16 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = call i64 @FUNC(i64 %0, i64 33, i64 1, i64 90000) %38 = add i64 %3, 16 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = add i64 %0, 20 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 %43 = ptrtoint i32* %arg1 to i64 %44 = add i64 %43, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = load i32, i32* %33, align 8 %48 = add i32 %47, 1 store i32 %48, i32* %arg1, align 4 %49 = sext i32 %47 to i64 %50 = mul i64 %49, 8 %51 = add i64 %50, %46 %52 = inttoptr i64 %51 to i64* store i64 %0, i64* %52, align 8 store i64 %0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 2, 0 } uselistorder i64 %0, { 0, 2, 4, 3, 5, 6, 7, 1, 8 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @av_mallocz, { 2, 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
fio_cluster_signal_children_13120
fio_cluster_signal_children
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = call i32 @getpid() %3 = icmp eq i32 %2, %1 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC() store i64 %4, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %5 = call i64 @FUNC(i64 0, i64 1, i64 0, i64 0, i64 0, i64 1) %6 = call i64 @FUNC(i64 %5, i64 4294967295) store i64 %6, 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 1, { 1, 0 } }
1
BinRealVul
avr_probe_15412
avr_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1414087218 %4 = icmp eq i1 %3, false %. = select i1 %4, i64 0, i64 50 ret i64 %. }
1
BinRealVul
jas_stream_pad_12679
jas_stream_pad
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64 %sext514.in.reg2mem = alloca i64 %storemerge610.lcssa.reg2mem = alloca i64 %sext = mul i64 %arg2, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp slt i32 %1, 0 %4 = icmp eq i1 %3, false %5 = icmp eq i1 %2, false %6 = icmp eq i1 %4, %5 store i64 %0, i64* %storemerge.in.reg2mem br i1 %6, label LBL_1, label LBL_5 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = and i64 %arg3, 4294967295 %9 = call i64 @FUNC(i64 %7, i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, -1 %12 = icmp eq i1 %11, false store i64 %0, i64* %storemerge610.lcssa.reg2mem store i64 %sext, i64* %sext514.in.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_2: %13 = call i64 @FUNC(i64 %7, i64 %8) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, -1 %16 = icmp eq i1 %15, false store i64 %storemerge6, i64* %storemerge610.lcssa.reg2mem store i64 %sext514, i64* %sext514.in.reg2mem br i1 %16, label LBL_4, label LBL_3 LBL_3: %storemerge610.lcssa.reload = load i64, i64* %storemerge610.lcssa.reg2mem %17 = sub nsw i64 %0, %storemerge610.lcssa.reload store i64 %17, i64* %storemerge.in.reg2mem br label LBL_5 LBL_4: %sext514.in.reload = load i64, i64* %sext514.in.reg2mem %sext514 = add i64 %sext514.in.reload, -4294967296 %storemerge6 = ashr exact i64 %sext514, 32 %18 = trunc i64 %storemerge6 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp slt i32 %18, 0 %21 = icmp eq i1 %20, false %22 = icmp eq i1 %19, false %23 = icmp eq i1 %21, %22 store i64 %0, i64* %storemerge.in.reg2mem br i1 %23, label LBL_2, label LBL_5 LBL_5: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i32 %18, { 1, 0 } uselistorder i64 %storemerge6, { 1, 0 } uselistorder i64 %sext514, { 1, 0 } uselistorder i64 %8, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %0, { 0, 4, 2, 1, 3 } uselistorder i64* %sext514.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 1, 3, 2 } uselistorder i32 -1, { 1, 0 } uselistorder i64 (i64, i64)* @jas_stream_putc, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
print_cfs_stats_6253
print_cfs_stats
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = call i64 @FUNC() ret i64 %1 }
0
BinRealVul
sco_sock_recvmsg_11309
sco_sock_recvmsg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %1 to i32 %6 = icmp eq i32 %5, 1 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %2) %9 = add i64 %8, 4 %10 = call i64 @FUNC(i64 3, i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = inttoptr i64 %3 to i64* %14 = load i64, i64* %13, align 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %17, i64 0) %19 = bitcast i64* %arg2 to i32* store i32 2, i32* %19, align 4 %20 = call i64 @FUNC(i64 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %21 = ptrtoint i64* %arg3 to i64 %22 = ptrtoint i64* %arg1 to i64 %23 = and i64 %arg5, 4294967295 %24 = call i64 @FUNC(i64 %2) %25 = call i64 @FUNC(i64 %22, i64 %2, i64 %21, i64 %arg4, i64 %23) store i64 %25, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 2, 3, 0, 1, 4, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @release_sock, { 1, 0 } }
1
BinRealVul
xps_parse_gradient_stops_7588
xps_parse_gradient_stops
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %sv_0.5.reg2mem = alloca i32 %sv_0.4.reg2mem = alloca i32 %.pre-phi21.reg2mem = alloca i64 %.pre-phi23.reg2mem = alloca i64 %.pre-phi25.reg2mem = alloca i32* %xmm1.0.reg2mem = alloca i128 %zf.0.reg2mem = alloca i1 %cf.0.reg2mem = alloca i1 %xmm0.3293034.reg2mem = alloca i128 %.reg2mem43 = alloca i32 %.reg2mem = alloca i32 %xmm0.32930.reg2mem = alloca i128 %xmm0.32931.reg2mem = alloca i128 %xmm0.26.reg2mem = alloca i128 %storemerge7.reg2mem = alloca i32 %xmm0.1.lcssa26.reg2mem = alloca i128 %rdi.0.lcssa27.reg2mem = alloca i64 %xmm0.0.reg2mem = alloca i128 %sv_0.0.reg2mem = alloca i32 %sv_1.012.reg2mem = alloca i64 %sv_0.113.reg2mem = alloca i32 %xmm0.114.reg2mem = alloca i128 %rcx = alloca i64, align 8 %1 = ptrtoint i64* %arg4 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = load i32, i32* %0 %4 = load i32, i32* %0 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i32, align 4 %5 = trunc i64 %arg5 to i32 %6 = add i32 %5, -2 %7 = icmp ne i64* %arg3, null %8 = icmp sgt i32 %6, 0 %or.cond411 = icmp eq i1 %7, %8 store i64 %2, i64* %rdi.0.lcssa27.reg2mem br i1 %or.cond411, label LBL_1, label LBL_7 LBL_1: %9 = ptrtoint i64* %arg3 to i64 %10 = bitcast i32* %sv_5 to i64* %11 = bitcast i32* %sv_2 to i64* store i32 0, i32* %sv_0.113.reg2mem store i64 %9, i64* %sv_1.012.reg2mem br label LBL_2 LBL_2: %sv_1.012.reload = load i64, i64* %sv_1.012.reg2mem %sv_0.113.reload = load i32, i32* %sv_0.113.reg2mem %xmm0.114.reload = load i128, i128* %xmm0.114.reg2mem %12 = call i64 @FUNC(i64 %sv_1.012.reload) %13 = inttoptr i64 %12 to i8* %14 = call i32 @strcmp(i8* %13, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0)) %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i32 %sv_0.113.reload, i32* %sv_0.0.reg2mem store i128 %xmm0.114.reload, i128* %xmm0.0.reg2mem br i1 %16, label LBL_5, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %sv_1.012.reload, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %18 = call i64 @FUNC(i64 %sv_1.012.reload, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0)) %19 = icmp eq i64 %17, 0 %20 = icmp eq i64 %18, 0 %or.cond = or i1 %19, %20 store i32 %sv_0.113.reload, i32* %sv_0.0.reg2mem store i128 %xmm0.114.reload, i128* %xmm0.0.reg2mem br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %21 = sext i32 %sv_0.113.reload to i64 %22 = mul nsw i64 %21, 24 %23 = add i64 %22, %1 %24 = call i128 @FUNC(i64 %17) %25 = call i32 @FUNC(i128 %24) %26 = inttoptr i64 %23 to i32* store i32 %25, i32* %26, align 4 %27 = add i64 %23, 20 %28 = inttoptr i64 %27 to i32* store i32 %sv_0.113.reload, i32* %28, align 4 %29 = call i64 @FUNC(i64 %2, i64 %arg2, i64 %18, i64* nonnull %sv_4, i64* nonnull %10) %30 = load i64, i64* %sv_4, align 8 %31 = call i64 @FUNC(i64 %2) %32 = call i64 @FUNC(i64 %2, i64 %31, i64* nonnull %11, i64 %30, i64* nonnull %sv_3) %33 = load i32, i32* %sv_2, align 4 %34 = call i128 @FUNC(i32 %33) %35 = call i64 @__asm_movss.1(i128 %34) %36 = add i64 %23, 4 %37 = trunc i64 %35 to i32 %38 = inttoptr i64 %36 to i32* store i32 %37, i32* %38, align 4 %39 = call i128 @FUNC(i32 %4) %40 = call i64 @__asm_movss.1(i128 %39) %41 = add i64 %23, 8 %42 = trunc i64 %40 to i32 %43 = inttoptr i64 %41 to i32* store i32 %42, i32* %43, align 4 %44 = call i128 @FUNC(i32 %3) %45 = call i64 @__asm_movss.1(i128 %44) %46 = add i64 %23, 12 %47 = trunc i64 %45 to i32 %48 = inttoptr i64 %46 to i32* store i32 %47, i32* %48, align 4 %49 = load i32, i32* %sv_5, align 4 %50 = call i128 @FUNC(i32 %49) %51 = call i64 @__asm_movss.1(i128 %50) %52 = add i64 %23, 16 %53 = trunc i64 %51 to i32 %54 = inttoptr i64 %52 to i32* store i32 %53, i32* %54, align 4 %55 = add i32 %sv_0.113.reload, 1 store i32 %55, i32* %sv_0.0.reg2mem store i128 %50, i128* %xmm0.0.reg2mem br label LBL_5 LBL_5: %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %56 = call i64 @FUNC(i64 %sv_1.012.reload) %57 = icmp ne i64 %56, 0 %58 = icmp slt i32 %sv_0.0.reload, %6 %or.cond4 = icmp eq i1 %58, %57 store i128 %xmm0.0.reload, i128* %xmm0.114.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.113.reg2mem store i64 %56, i64* %sv_1.012.reg2mem br i1 %or.cond4, label LBL_2, label LBL_6 LBL_6: %59 = icmp eq i32 %sv_0.0.reload, 0 %60 = icmp eq i1 %59, false store i64 %sv_1.012.reload, i64* %rdi.0.lcssa27.reg2mem store i128 %xmm0.0.reload, i128* %xmm0.1.lcssa26.reg2mem br i1 %60, label LBL_8, label LBL_7 LBL_7: %xmm0.1.lcssa26.reload = load i128, i128* %xmm0.1.lcssa26.reg2mem %rdi.0.lcssa27.reload = load i64, i64* %rdi.0.lcssa27.reg2mem %61 = call i64 @FUNC(i64 %rdi.0.lcssa27.reload, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0)) %62 = call i128 @FUNC(i128 %xmm0.1.lcssa26.reload, i128 %xmm0.1.lcssa26.reload) %63 = call i64 @__asm_movss.1(i128 %62) %64 = trunc i64 %63 to i32 %65 = bitcast i64* %arg4 to i32* store i32 %64, i32* %65, align 4 %66 = call i128 @FUNC(i128 %62, i128 %62) %67 = call i64 @__asm_movss.1(i128 %66) %68 = add i64 %1, 4 %69 = trunc i64 %67 to i32 %70 = inttoptr i64 %68 to i32* store i32 %69, i32* %70, align 4 %71 = call i128 @FUNC(i128 %66, i128 %66) %72 = call i64 @__asm_movss.1(i128 %71) %73 = add i64 %1, 8 %74 = trunc i64 %72 to i32 %75 = inttoptr i64 %73 to i32* store i32 %74, i32* %75, align 4 %76 = call i128 @FUNC(i128 %71, i128 %71) %77 = call i64 @__asm_movss.1(i128 %76) %78 = add i64 %1, 12 %79 = trunc i64 %77 to i32 %80 = inttoptr i64 %78 to i32* store i32 %79, i32* %80, align 4 %81 = call i128 @FUNC(i32 1065353216) %82 = call i64 @__asm_movss.1(i128 %81) %83 = add i64 %1, 16 %84 = trunc i64 %82 to i32 %85 = inttoptr i64 %83 to i32* store i32 %84, i32* %85, align 4 %86 = add i64 %1, 24 %87 = call i128 @FUNC(i32 1065353216) %88 = call i64 @__asm_movss.1(i128 %87) %89 = trunc i64 %88 to i32 %90 = inttoptr i64 %86 to i32* store i32 %89, i32* %90, align 4 %91 = call i128 @FUNC(i32 1065353216) %92 = call i64 @__asm_movss.1(i128 %91) %93 = add i64 %1, 28 %94 = trunc i64 %92 to i32 %95 = inttoptr i64 %93 to i32* store i32 %94, i32* %95, align 4 %96 = call i128 @FUNC(i32 1065353216) %97 = call i64 @__asm_movss.1(i128 %96) %98 = add i64 %1, 32 %99 = trunc i64 %97 to i32 %100 = inttoptr i64 %98 to i32* store i32 %99, i32* %100, align 4 %101 = call i128 @FUNC(i32 1065353216) %102 = call i64 @__asm_movss.1(i128 %101) %103 = add i64 %1, 36 %104 = trunc i64 %102 to i32 %105 = inttoptr i64 %103 to i32* store i32 %104, i32* %105, align 4 %106 = call i128 @FUNC(i32 1065353216) %107 = call i64 @__asm_movss.1(i128 %106) %108 = add i64 %1, 40 %109 = trunc i64 %107 to i32 %110 = inttoptr i64 %108 to i32* store i32 %109, i32* %110, align 4 store i64 2, i64* %rax.0.reg2mem br label LBL_26 LBL_8: %111 = icmp eq i32 %sv_0.0.reload, %6 %112 = icmp eq i1 %111, false br i1 %112, label LBL_10, label LBL_9 LBL_9: %113 = call i64 @FUNC(i64 %sv_1.012.reload, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_4, i64 0, i64 0)) br label LBL_10 LBL_10: call void @qsort(i64* %arg4, i32 %sv_0.0.reload, i32 24, i32 (i64*, i64*)* inttoptr (i64 4198975 to i32 (i64*, i64*)*)) %114 = icmp sgt i32 %sv_0.0.reload, 0 store i32 0, i32* %storemerge7.reg2mem store i128 %xmm0.0.reload, i128* %xmm0.26.reg2mem store i128 %xmm0.0.reload, i128* %xmm0.32931.reg2mem br i1 %114, label LBL_11, label LBL_14.thread LBL_11: %xmm0.26.reload = load i128, i128* %xmm0.26.reg2mem %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %115 = sext i32 %storemerge7.reload to i64 %116 = mul nsw i64 %115, 24 %117 = add i64 %116, %1 %118 = icmp ult i64 %117, %1 %119 = icmp eq i64 %117, 0 %120 = inttoptr i64 %117 to i32* %121 = load i32, i32* %120, align 4 %122 = call i128 @FUNC(i32 %121) %123 = call i128 @FUNC(i128 %xmm0.26.reload, i128 %xmm0.26.reload) call void @FUNC(i128 %123, i128 %122) %124 = or i1 %118, %119 %125 = load i32, i32* %120, align 4 %126 = call i128 @FUNC(i32 %125) %127 = call i128 @FUNC(i32 1065353216) call void @FUNC(i128 %126, i128 %127) br i1 %124, label LBL_12, label LBL_13 LBL_12: %128 = add nuw i32 %storemerge7.reload, 1 %129 = icmp slt i32 %128, %sv_0.0.reload store i32 %128, i32* %storemerge7.reg2mem store i128 %126, i128* %xmm0.26.reg2mem store i128 %126, i128* %xmm0.32931.reg2mem br i1 %129, label LBL_11, label LBL_14.thread LBL_13: %130 = icmp slt i32 %storemerge7.reload, 1 br i1 %130, label LBL_14, label %.thread LBL_14: %136 = icmp slt i32 %storemerge7.reload, 0 %137 = add i32 %storemerge7.reload, 1 store i128 %126, i128* %xmm0.32931.reg2mem store i128 %126, i128* %xmm0.32930.reg2mem store i32 %137, i32* %.reg2mem br i1 %136, label LBL_14.thread, label %138 LBL_15: %xmm0.32931.reload = load i128, i128* %xmm0.32931.reg2mem store i128 %xmm0.32931.reload, i128* %xmm0.32930.reg2mem store i32 %sv_0.0.reload, i32* %.reg2mem br label %138 LBL_16: %141 = add i64 %1, 24 %142 = add i64 %1, 8 %143 = inttoptr i64 %142 to i64* %144 = load i64, i64* %143, align 8 %145 = inttoptr i64 %141 to i64* store i64 %1, i64* %145, align 8 %146 = add i64 %1, 32 %147 = inttoptr i64 %146 to i64* store i64 %144, i64* %147, align 8 %148 = add i64 %1, 16 %149 = inttoptr i64 %148 to i64* %150 = load i64, i64* %149, align 8 %151 = add i64 %1, 40 %152 = inttoptr i64 %151 to i64* store i64 %150, i64* %152, align 8 %153 = call i128 @FUNC(i128 %xmm0.32930.reload, i128 %xmm0.32930.reload) %154 = call i64 @__asm_movss.1(i128 %153) %155 = trunc i64 %154 to i32 %156 = bitcast i64* %arg4 to i32* store i32 %155, i32* %156, align 4 %157 = call i128 @FUNC(i32 1065353216) %158 = call i64 @__asm_movss.1(i128 %157) %159 = trunc i64 %158 to i32 %160 = inttoptr i64 %141 to i32* store i32 %159, i32* %160, align 4 store i64 2, i64* %rax.0.reg2mem br label LBL_26 LBL_17: %xmm0.3293034.reload = load i128, i128* %xmm0.3293034.reg2mem %.reload44 = load i32, i32* %.reg2mem43 %161 = bitcast i64* %rcx to i32* %162 = load i32, i32* %161, align 8 %163 = call i128 @FUNC(i32 %162) %164 = call i128 @FUNC(i128 %xmm0.3293034.reload, i128 %xmm0.3293034.reload) call void @FUNC(i128 %164, i128 %163) %165 = icmp ult i32 %.reload44, 2 br i1 %165, label LBL_19, label LBL_18 LBL_18: %166 = call i128 @FUNC(i32 %162) %167 = call i128 @FUNC(i32 -2147483648) %168 = call i128 @FUNC(i128 %166, i128 %167) %169 = add i64 %1, 24 %170 = inttoptr i64 %169 to i32* %171 = load i32, i32* %170, align 4 %172 = call i128 @FUNC(i32 %171) %173 = call i128 @FUNC(i32 %162) %174 = call i128 @FUNC(i128 %172, i128 %173) %175 = call i128 @FUNC(i128 %168, i128 %174) %176 = call i64 @__asm_movss.1(i128 %175) %177 = trunc i64 %176 to i32 %178 = call i128 @FUNC(i128 %175, i128 %175) %179 = call i64 @__asm_movss.1(i128 %178) %180 = trunc i64 %179 to i32 %181 = bitcast i64* %arg4 to i32* store i32 %180, i32* %181, align 4 %182 = add i64 %1, 28 %183 = inttoptr i64 %182 to i32* %184 = load i32, i32* %183, align 4 %185 = call i128 @FUNC(i32 %184) %186 = add i64 %1, 4 %187 = inttoptr i64 %186 to i32* %188 = load i32, i32* %187, align 4 %189 = call i128 @FUNC(i32 %177) %190 = call i128 @FUNC(i128 %189) %191 = call i128 @FUNC(i128 %185) %192 = call i128 @__asm_movd.3(i32 %188) %193 = call i128 @FUNC() %194 = call i32 @FUNC(i128 %193) store i32 %194, i32* %187, align 4 %195 = add i64 %1, 32 %196 = inttoptr i64 %195 to i32* %197 = load i32, i32* %196, align 4 %198 = call i128 @FUNC(i32 %197) %199 = add i64 %1, 8 %200 = inttoptr i64 %199 to i32* %201 = load i32, i32* %200, align 4 %202 = call i128 @FUNC(i32 %177) %203 = call i128 @FUNC(i128 %202) %204 = call i128 @FUNC(i128 %198) %205 = call i128 @__asm_movd.3(i32 %201) %206 = call i128 @FUNC() %207 = call i32 @FUNC(i128 %206) store i32 %207, i32* %200, align 4 %208 = add i64 %1, 36 %209 = inttoptr i64 %208 to i32* %210 = load i32, i32* %209, align 4 %211 = call i128 @FUNC(i32 %210) %212 = add i64 %1, 12 %213 = inttoptr i64 %212 to i32* %214 = load i32, i32* %213, align 4 %215 = call i128 @FUNC(i32 %177) %216 = call i128 @FUNC(i128 %215) %217 = call i128 @FUNC(i128 %211) %218 = call i128 @__asm_movd.3(i32 %214) %219 = call i128 @FUNC() %220 = call i32 @FUNC(i128 %219) store i32 %220, i32* %213, align 4 %221 = add i64 %1, 40 %222 = inttoptr i64 %221 to i32* %223 = load i32, i32* %222, align 4 %224 = call i128 @FUNC(i32 %223) %225 = add i64 %1, 16 %226 = inttoptr i64 %225 to i32* %227 = load i32, i32* %226, align 4 %228 = call i128 @FUNC(i32 %177) %229 = call i128 @FUNC(i128 %228) %230 = call i128 @FUNC(i128 %224) %231 = call i128 @__asm_movd.3(i32 %227) %232 = call i128 @FUNC() %233 = call i32 @FUNC(i128 %232) store i32 %233, i32* %226, align 4 br label LBL_19 LBL_19: %234 = sext i32 %.reload44 to i64 %235 = mul nsw i64 %234, 24 %236 = add i64 %1, -24 %237 = add i64 %235, %236 %238 = icmp ult i64 %237, %1 %239 = icmp eq i64 %237, 0 %240 = inttoptr i64 %237 to i32* %241 = load i32, i32* %240, align 4 %242 = call i128 @FUNC(i32 %241) %243 = call i128 @FUNC(i32 1065353216) call void @FUNC(i128 %242, i128 %243) %244 = or i1 %238, %239 store i1 %238, i1* %cf.0.reg2mem store i1 %239, i1* %zf.0.reg2mem store i128 %243, i128* %xmm1.0.reg2mem br i1 %244, label LBL_21, label LBL_20 LBL_20: %245 = add i64 %235, %1 %246 = add i64 %245, -48 %247 = inttoptr i64 %246 to i32* %248 = load i32, i32* %247, align 4 %249 = call i128 @FUNC(i32 %248) %250 = call i128 @FUNC(i32 1065353216) %251 = call i128 @FUNC(i128 %250, i128 %249) %252 = load i32, i32* %240, align 4 %253 = call i128 @FUNC(i32 %252) %254 = load i32, i32* %247, align 4 %255 = call i128 @FUNC(i32 %254) %256 = call i128 @FUNC(i128 %253, i128 %255) %257 = call i128 @FUNC(i128 %251, i128 %256) %258 = call i64 @__asm_movss.1(i128 %257) %259 = trunc i64 %258 to i32 %260 = call i128 @FUNC(i32 1065353216) %261 = call i64 @__asm_movss.1(i128 %260) %262 = trunc i64 %261 to i32 store i32 %262, i32* %240, align 4 %263 = add i64 %237, 4 %264 = inttoptr i64 %263 to i32* %265 = load i32, i32* %264, align 4 %266 = call i128 @FUNC(i32 %265) %267 = add i64 %245, -44 %268 = inttoptr i64 %267 to i32* %269 = load i32, i32* %268, align 4 %270 = call i128 @FUNC(i32 %259) %271 = call i128 @FUNC(i128 %270) %272 = call i128 @FUNC(i128 %266) %273 = call i128 @__asm_movd.3(i32 %269) %274 = call i128 @FUNC() %275 = call i32 @FUNC(i128 %274) store i32 %275, i32* %264, align 4 %276 = add i64 %237, 8 %277 = inttoptr i64 %276 to i32* %278 = load i32, i32* %277, align 4 %279 = call i128 @FUNC(i32 %278) %280 = add i64 %245, -40 %281 = inttoptr i64 %280 to i32* %282 = load i32, i32* %281, align 4 %283 = call i128 @FUNC(i32 %259) %284 = call i128 @FUNC(i128 %283) %285 = call i128 @FUNC(i128 %279) %286 = call i128 @__asm_movd.3(i32 %282) %287 = call i128 @FUNC() %288 = call i32 @FUNC(i128 %287) store i32 %288, i32* %277, align 4 %289 = add i64 %237, 12 %290 = inttoptr i64 %289 to i32* %291 = load i32, i32* %290, align 4 %292 = call i128 @FUNC(i32 %291) %293 = add i64 %245, -36 %294 = inttoptr i64 %293 to i32* %295 = load i32, i32* %294, align 4 %296 = call i128 @FUNC(i32 %259) %297 = call i128 @FUNC(i128 %296) %298 = call i128 @FUNC(i128 %292) %299 = call i128 @__asm_movd.3(i32 %295) %300 = call i128 @FUNC() %301 = call i32 @FUNC(i128 %300) store i32 %301, i32* %290, align 4 %302 = add i64 %237, 16 %303 = inttoptr i64 %302 to i32* %304 = load i32, i32* %303, align 4 %305 = call i128 @FUNC(i32 %304) %306 = add i64 %245, -32 %307 = inttoptr i64 %306 to i32* %308 = load i32, i32* %307, align 4 %309 = icmp eq i32 %.reload44, 0 %310 = icmp slt i32 %.reload44, 0 %311 = call i128 @FUNC(i32 %259) %312 = call i128 @FUNC(i128 %311) %313 = call i128 @FUNC(i128 %305) %314 = call i128 @__asm_movd.3(i32 %308) %315 = call i128 @FUNC() %316 = call i32 @FUNC(i128 %315) store i32 %316, i32* %303, align 4 store i1 %310, i1* %cf.0.reg2mem store i1 %309, i1* %zf.0.reg2mem store i128 %313, i128* %xmm1.0.reg2mem br label LBL_21 LBL_21: %xmm1.0.reload = load i128, i128* %xmm1.0.reg2mem %zf.0.reload = load i1, i1* %zf.0.reg2mem %cf.0.reload = load i1, i1* %cf.0.reg2mem %317 = load i32, i32* %161, align 8 %318 = call i128 @FUNC(i32 %317) %319 = call i128 @FUNC(i128 %xmm1.0.reload, i128 %xmm1.0.reload) call void @FUNC(i128 %318, i128 %319) %320 = or i1 %cf.0.reload, %zf.0.reload store i32* %240, i32** %.pre-phi25.reg2mem store i64 %237, i64* %.pre-phi23.reg2mem store i64 %235, i64* %.pre-phi21.reg2mem store i32 %.reload44, i32* %sv_0.4.reg2mem br i1 %320, label LBL_23, label LBL_22 LBL_22: %321 = mul i32 %.reload44, 24 %322 = add i64 %1, 24 %323 = inttoptr i64 %322 to i64* %324 = call i64* @memmove(i64* %323, i64* %arg4, i32 %321) %325 = load i64, i64* %323, align 8 %326 = add i64 %1, 32 %327 = inttoptr i64 %326 to i64* %328 = load i64, i64* %327, align 8 store i64 %325, i64* %arg4, align 8 %329 = add i64 %1, 8 %330 = inttoptr i64 %329 to i64* store i64 %328, i64* %330, align 8 %331 = add i64 %1, 40 %332 = inttoptr i64 %331 to i64* %333 = load i64, i64* %332, align 8 %334 = add i64 %1, 16 %335 = inttoptr i64 %334 to i64* store i64 %333, i64* %335, align 8 %336 = call i128 @FUNC(i128 %318, i128 %318) %337 = call i64 @__asm_movss.1(i128 %336) %338 = trunc i64 %337 to i32 %339 = bitcast i64* %arg4 to i32* store i32 %338, i32* %339, align 4 %340 = add i32 %.reload44, 1 %.pre = sext i32 %340 to i64 %.pre20 = mul nsw i64 %.pre, 24 %.pre22 = add i64 %.pre20, %236 %.pre24 = inttoptr i64 %.pre22 to i32* store i32* %.pre24, i32** %.pre-phi25.reg2mem store i64 %.pre22, i64* %.pre-phi23.reg2mem store i64 %.pre20, i64* %.pre-phi21.reg2mem store i32 %340, i32* %sv_0.4.reg2mem br label LBL_23 LBL_23: %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem %.pre-phi23.reload = load i64, i64* %.pre-phi23.reg2mem %.pre-phi25.reload = load i32*, i32** %.pre-phi25.reg2mem %341 = icmp ult i64 %.pre-phi23.reload, %1 %342 = icmp eq i64 %.pre-phi23.reload, 0 %343 = load i32, i32* %.pre-phi25.reload, align 4 %344 = call i128 @FUNC(i32 %343) %345 = call i128 @FUNC(i32 1065353216) call void @FUNC(i128 %345, i128 %344) %346 = or i1 %341, %342 store i32 %sv_0.4.reload, i32* %sv_0.5.reg2mem br i1 %346, label LBL_25, label LBL_24 LBL_24: %.pre-phi21.reload = load i64, i64* %.pre-phi21.reg2mem %347 = add i64 %.pre-phi21.reload, %1 %348 = inttoptr i64 %.pre-phi23.reload to i64* %349 = load i64, i64* %348, align 8 %350 = add i64 %.pre-phi23.reload, 8 %351 = inttoptr i64 %350 to i64* %352 = load i64, i64* %351, align 8 %353 = inttoptr i64 %347 to i64* store i64 %349, i64* %353, align 8 %354 = add i64 %347, 8 %355 = inttoptr i64 %354 to i64* store i64 %352, i64* %355, align 8 %356 = add i64 %.pre-phi23.reload, 16 %357 = inttoptr i64 %356 to i64* %358 = load i64, i64* %357, align 8 %359 = add i64 %347, 16 %360 = inttoptr i64 %359 to i64* store i64 %358, i64* %360, align 8 %361 = call i128 @FUNC(i32 1065353216) %362 = call i64 @__asm_movss.1(i128 %361) %363 = trunc i64 %362 to i32 %364 = inttoptr i64 %347 to i32* store i32 %363, i32* %364, align 4 %365 = add i32 %sv_0.4.reload, 1 store i32 %365, i32* %sv_0.5.reg2mem br label LBL_25 LBL_25: %sv_0.5.reload = load i32, i32* %sv_0.5.reg2mem %366 = zext i32 %sv_0.5.reload to i64 store i64 %366, 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 i64 %347, { 0, 3, 2, 1 } uselistorder i32 %sv_0.4.reload, { 1, 0 } uselistorder i128 %318, { 1, 0, 2 } uselistorder i32 %259, { 3, 2, 1, 0 } uselistorder i32 %177, { 3, 2, 1, 0 } uselistorder i128 %175, { 2, 1, 0 } uselistorder i32 %.reload44, { 3, 2, 0, 5, 4, 1, 6 } uselistorder i128 %xmm0.32930.reload, { 1, 2, 0 } uselistorder i128 %126, { 1, 3, 0, 2, 4, 5 } uselistorder i32 %storemerge7.reload, { 5, 6, 2, 3, 4, 0, 1 } uselistorder i128 %xmm0.26.reload, { 1, 0 } uselistorder i128 %71, { 2, 1, 0 } uselistorder i128 %66, { 2, 1, 0 } uselistorder i128 %62, { 2, 1, 0 } uselistorder i128 %xmm0.1.lcssa26.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 0, 6, 5, 2, 4, 3, 7, 8, 1 } uselistorder i32 %sv_0.113.reload, { 2, 3, 4, 0, 1 } uselistorder i64 %sv_1.012.reload, { 5, 0, 3, 2, 1, 4 } uselistorder i32 %6, { 2, 1, 0 } uselistorder i64* %sv_4, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 0, 34, 29, 32, 30, 31, 33, 1, 35, 4, 20, 21, 22, 23, 24, 25, 26, 27, 28, 16, 19, 15, 17, 18, 14, 36, 2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 3 } uselistorder i128* %xmm0.114.reg2mem, { 1, 0 } uselistorder i32* %sv_0.113.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.012.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.0.lcssa27.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 } uselistorder i128* %xmm0.26.reg2mem, { 2, 0, 1 } uselistorder i128* %xmm0.32931.reg2mem, { 0, 3, 1, 2 } uselistorder i128* %xmm0.32930.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi25.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi23.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi21.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.4.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %0, { 1, 0 } uselistorder i128 ()* @lerp, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 40, { 3, 0, 1, 2 } uselistorder i64 32, { 3, 0, 1, 2 } uselistorder i32 1065353216, { 1, 2, 3, 4, 5, 6, 0, 7, 8, 9, 10, 11, 12, 13 } uselistorder i64 (i64, i8*)* @fz_warn, { 1, 0 } uselistorder i64 16, { 0, 1, 2, 3, 4, 5, 7, 6 } uselistorder i64 12, { 0, 1, 3, 2 } uselistorder i64 8, { 0, 1, 2, 3, 4, 5, 7, 6, 8 } uselistorder i64 4, { 0, 1, 3, 2 } uselistorder i64 (i128)* @__asm_movss.1, { 0, 1, 2, 3, 4, 5, 6, 7, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 8, 9, 10, 11, 22, 23, 24 } uselistorder i128 (i32)* @__asm_movss, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 40, 41, 42, 43, 44, 45, 36, 37, 38, 39, 46 } uselistorder i64 24, { 0, 4, 3, 5, 6, 2, 7, 1 } uselistorder i64 (i64, i8*)* @fz_xml_att, { 1, 0 } uselistorder i1 false, { 0, 1, 3, 2 } uselistorder i32 0, { 4, 5, 6, 0, 2, 8, 7, 1, 3 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label %138, { 1, 0 } uselistorder label LBL_14.thread, { 2, 0, 1 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ftrace_graph_open_10910
ftrace_graph_open
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.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 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 4294967277, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_6 LBL_1: %7 = trunc i64 %1 to i32 %8 = call i64 @FUNC(i64* nonnull @gv_1) %9 = and i32 %7, 2 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = ptrtoint i32* %arg2 to i64 %12 = add i64 %11, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = and i32 %14, 512 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8 store i32 0, i32* bitcast (i64* @gv_3 to i32*), align 8 %17 = load i64, i64* @gv_4, align 8 %18 = inttoptr i64 %17 to i64* %19 = call i64* @memset(i64* %18, i32 0, i32 8) br label LBL_4 LBL_4: %20 = call i64 @FUNC(i64* nonnull @gv_1) %21 = urem i32 %7, 2 %22 = icmp eq i32 %21, 0 store i64 0, i64* %storemerge.reg2mem br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = ptrtoint i32* %arg2 to i64 %24 = call i64 @FUNC(i64 %23, i64 4210904) %phitmp = and i64 %24, 4294967295 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 0, { 2, 0, 3, 4, 5, 6, 7, 8, 1 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } }
0
BinRealVul
visit_type_int_16957
visit_type_int
define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg4 to i64 %1 = call i64 @FUNC(i64 %0) %2 = and i64 %1, 4294967295 %3 = xor i64 %2, 1 %4 = trunc i64 %3 to i8 %5 = icmp eq i8 %4, 0 %6 = ptrtoint i64* %arg1 to i64 %spec.select = select i1 %5, i64 %3, i64 %6 ret i64 %spec.select }
1
BinRealVul
afs_deliver_cb_tell_me_about_yourself_17620
afs_deliver_cb_tell_me_about_yourself
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %2, 4294967295 store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %7 = bitcast i64* %arg1 to i32* store i32 1, i32* %7, align 4 %8 = add i64 %0, 8 %9 = call i64 @FUNC(i64 %8, i64 2) %10 = load i64, i64* @gv_1, align 8 %11 = call i64 @FUNC(i64 %10, i64 %8) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1