dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
ProcEstablishConnection_11646
ProcEstablishConnection
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64* @malloc(i32 8) %3 = icmp eq i64* %2, null %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = ptrtoint i64* %2 to i64 %6 = call i64* @memset(i64* %2, i32 0, i32 8) %7 = add i64 %5, 8 %8 = add i64 %5, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11) %13 = inttoptr i64 %7 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = icmp eq i32 %14, 11 %17 = icmp eq i1 %16, false store i64 %15, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_2 LBL_2: %18 = add i64 %5, 12 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = icmp eq i32 %20, 0 store i64 %21, i64* %rax.0.reg2mem br i1 %22, label LBL_3, label LBL_4 LBL_3: %23 = call i64 @FUNC(i64 %1) store i64 %23, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %2, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 } uselistorder i32 0, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_4, { 3, 2, 1, 0 } }
1
BinRealVul
qemu_rdma_drain_cq_15506
qemu_rdma_drain_cq
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 = ptrtoint i32* %arg2 to i64 %4 = call i64 @FUNC(i64 %2, i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_6 LBL_1: %8 = trunc i64 %1 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br label LBL_4 LBL_2: %11 = call i64 @FUNC(i64 %3, i64 1, i64 0) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %16 = call i32 @fwrite(i64* bitcast ([41 x i8]* @gv_1 to i64*), i32 1, i32 40, %_IO_FILE* %15) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_6 LBL_4: br i1 %10, label LBL_2, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %3) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 0, { 0, 3, 1, 2, 4 } uselistorder i64 4294967291, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
av_crc_init_952
av_crc_init
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv23.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.118.reg2mem = alloca i32 %storemerge1119.reg2mem = alloca i32 %sv_0.016.reg2mem = alloca i32 %storemerge1017.reg2mem = alloca i32 %indvars.iv28.reg2mem = alloca i64 %0 = trunc i64 %arg3 to i32 %sext4 = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext4, 32 %2 = icmp slt i32 %0, 8 %3 = trunc i64 %1 to i32 %4 = icmp sgt i32 %3, 32 %or.cond = or i1 %2, %4 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_15, label LBL_1 LBL_1: %sext5 = mul i64 %arg4, 4294967296 %5 = ashr exact i64 %sext5, 32 %6 = and i64 %5, 4294967295 %7 = urem i64 %1, 64 %8 = shl i64 1, %7 %9 = icmp slt i64 %6, %8 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_15 LBL_2: %10 = trunc i64 %arg5 to i32 store i64 4294967295, i64* %rax.0.reg2mem switch i32 %10, label LBL_15 [ i32 1028, label LBL_3 i32 4096, label LBL_3 ] LBL_3: %11 = ptrtoint i64* %arg1 to i64 %12 = trunc i64 %arg2 to i32 %13 = icmp eq i32 %12, 0 %14 = trunc i64 %5 to i32 %15 = sub i32 0, %3 %16 = urem i32 %15, 32 %17 = icmp eq i32 %16, 0 %18 = shl i32 %14, %16 %19 = zext i32 %18 to i64 %storemerge12 = select i1 %17, i64 %5, i64 %19 %20 = trunc i64 %storemerge12 to i32 store i64 0, i64* %indvars.iv28.reg2mem br label LBL_4 LBL_4: %indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem %indvars.iv28.tr = trunc i64 %indvars.iv28.reload to i32 store i32 0, i32* %storemerge1017.reg2mem store i32 %indvars.iv28.tr, i32* %sv_0.016.reg2mem br i1 %13, label LBL_7, label LBL_5 LBL_5: %sv_0.016.reload = load i32, i32* %sv_0.016.reg2mem %storemerge1017.reload = load i32, i32* %storemerge1017.reg2mem %21 = udiv i32 %sv_0.016.reload, 2 %22 = urem i32 %sv_0.016.reload, 2 %23 = sub nsw i32 0, %22 %24 = and i32 %23, %14 %25 = xor i32 %24, %21 %26 = add nuw nsw i32 %storemerge1017.reload, 1 %exitcond26 = icmp eq i32 %26, 8 store i32 %26, i32* %storemerge1017.reg2mem store i32 %25, i32* %sv_0.016.reg2mem br i1 %exitcond26, label LBL_6, label LBL_5 LBL_6: %27 = mul i64 %indvars.iv28.reload, 4 %28 = add i64 %27, %11 %29 = inttoptr i64 %28 to i32* store i32 %25, i32* %29, align 4 br label LBL_10 LBL_7: %30 = mul i32 %indvars.iv28.tr, 16777216 store i32 0, i32* %storemerge1119.reg2mem store i32 %30, i32* %sv_0.118.reg2mem br label LBL_8 LBL_8: %sv_0.118.reload = load i32, i32* %sv_0.118.reg2mem %storemerge1119.reload = load i32, i32* %storemerge1119.reg2mem %31 = mul i32 %sv_0.118.reload, 2 %32 = ashr i32 %sv_0.118.reload, 31 %33 = and i32 %32, %20 %34 = xor i32 %33, %31 %35 = add nuw nsw i32 %storemerge1119.reload, 1 %exitcond27 = icmp eq i32 %35, 8 store i32 %35, i32* %storemerge1119.reg2mem store i32 %34, i32* %sv_0.118.reg2mem br i1 %exitcond27, label LBL_9, label LBL_8 LBL_9: %36 = mul i64 %indvars.iv28.reload, 4 %37 = add i64 %36, %11 %38 = zext i32 %34 to i64 %39 = call i64 @FUNC(i64 %38) %40 = trunc i64 %39 to i32 %41 = inttoptr i64 %37 to i32* store i32 %40, i32* %41, align 4 br label LBL_10 LBL_10: %indvars.iv.next29 = add nuw nsw i64 %indvars.iv28.reload, 1 %exitcond30 = icmp eq i64 %indvars.iv.next29, 256 store i64 %indvars.iv.next29, i64* %indvars.iv28.reg2mem br i1 %exitcond30, label LBL_11, label LBL_4 LBL_11: %42 = add i64 %11, 1024 %43 = inttoptr i64 %42 to i32* store i32 1, i32* %43, align 4 %44 = icmp ult i32 %10, 4096 store i64 0, i64* %indvars.iv23.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_15, label LBL_14 LBL_12: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %45 = mul i64 %indvars.iv.reload, 256 %46 = add nuw nsw i64 %45, %indvars.iv23.reload %47 = mul i64 %46, 4 %48 = add i64 %47, %11 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = udiv i32 %50, 256 %52 = mul i32 %50, 4 %53 = and i32 %52, 1020 %54 = zext i32 %53 to i64 %55 = add i64 %54, %11 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = add i64 %42, %47 %59 = xor i32 %57, %51 %60 = inttoptr i64 %58 to i32* store i32 %59, i32* %60, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_13, label LBL_12 LBL_13: %indvars.iv.next24 = add nuw nsw i64 %indvars.iv23.reload, 1 %exitcond25 = icmp eq i64 %indvars.iv.next24, 256 store i64 %indvars.iv.next24, i64* %indvars.iv23.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %exitcond25, label LBL_15, label LBL_14 LBL_14: %indvars.iv23.reload = load i64, i64* %indvars.iv23.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_12 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv23.reload, { 1, 0 } uselistorder i64 %47, { 1, 0 } uselistorder i32 %34, { 1, 0 } uselistorder i32 %25, { 1, 0 } uselistorder i32 %indvars.iv28.tr, { 1, 0 } uselistorder i64 %indvars.iv28.reload, { 0, 3, 2, 1 } uselistorder i32 %16, { 1, 0 } uselistorder i64 %11, { 0, 1, 4, 2, 3 } uselistorder i64* %indvars.iv28.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1017.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.016.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge1119.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.118.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv23.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 3, 5, 4 } uselistorder i64 256, { 2, 0, 1 } uselistorder i32 2, { 0, 2, 1 } uselistorder i32 4096, { 1, 0 } uselistorder i64 4294967295, { 0, 2, 3, 1 } uselistorder label LBL_15, { 0, 1, 2, 4, 3 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
handle_aiocb_ioctl_2466
handle_aiocb_ioctl
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = trunc i64 %1 to i32 %7 = call i32 (i32, i32, ...) @ioctl(i32 %6, i32 %5) %8 = icmp eq i32 %7, -1 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i32* @__errno_location() %11 = load i32, i32* %10, align 4 %12 = sub i32 0, %11 %13 = sext i32 %12 to i64 store i64 %13, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %14 = add i64 %2, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 store i64 %16, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
serial_exit_core_14868
serial_exit_core
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 4198688, i64 %0) ret i64 %2 }
1
BinRealVul
evbuffer_add_5638
evbuffer_add
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i64 %.pre-phi7.reg2mem = alloca i64* %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %5, label LBL_16, label LBL_1 LBL_1: %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = sub i64 1024, %8 %10 = icmp ult i64 %9, %arg3 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %10, label LBL_16, label LBL_2 LBL_2: %11 = icmp eq i64* %arg1, null %12 = icmp eq i1 %11, false store i64 %0, i64* %sv_2.0.reg2mem br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %arg3) %14 = icmp eq i64 %13, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %14, label LBL_16, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %0, i64 %13) store i64 %13, i64* %sv_2.0.reg2mem br label LBL_5 LBL_5: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %16 = add i64 %sv_2.0.reload, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = urem i32 %18, 2 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false %.pre = inttoptr i64 %sv_2.0.reload to i64* store i32 0, i32* %sv_1.0.reg2mem br i1 %21, label LBL_10, label LBL_6 LBL_6: %22 = load i64, i64* %.pre, align 8 %23 = add i64 %sv_2.0.reload, 20 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = sext i32 %25 to i64 %27 = sub i64 %22, %26 %28 = add i64 %sv_2.0.reload, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = sub i64 %27, %30 %32 = icmp ult i64 %31, %arg3 br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = add i64 %sv_2.0.reload, 24 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %30, %26 %37 = add i64 %36, %35 %38 = inttoptr i64 %37 to i64* %39 = inttoptr i64 %arg2 to i64* %40 = trunc i64 %arg3 to i32 %41 = call i64* @memcpy(i64* %38, i64* %39, i32 %40) %42 = load i64, i64* %29, align 8 %43 = add i64 %42, %arg3 store i64 %43, i64* %29, align 8 %44 = load i64, i64* %7, align 8 %45 = add i64 %44, %arg3 store i64 %45, i64* %7, align 8 %46 = add i64 %0, 16 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = add i64 %48, %arg3 store i64 %49, i64* %47, align 8 br label LBL_15 LBL_8: %50 = trunc i64 %31 to i32 %51 = call i64 @FUNC(i64 %sv_2.0.reload, i64 %arg3) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 store i32 %50, i32* %sv_1.0.reg2mem br i1 %53, label LBL_10, label LBL_9 LBL_9: %54 = call i64 @FUNC(i64 %sv_2.0.reload) %55 = add i64 %sv_2.0.reload, 24 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = load i64, i64* %29, align 8 %59 = add i64 %58, %57 %60 = inttoptr i64 %59 to i64* %61 = inttoptr i64 %arg2 to i64* %62 = trunc i64 %arg3 to i32 %63 = call i64* @memcpy(i64* %60, i64* %61, i32 %62) %64 = load i64, i64* %29, align 8 %65 = add i64 %64, %arg3 store i64 %65, i64* %29, align 8 %66 = load i64, i64* %7, align 8 %67 = add i64 %66, %arg3 store i64 %67, i64* %7, align 8 %68 = add i64 %0, 16 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = add i64 %70, %arg3 store i64 %71, i64* %69, align 8 br label LBL_15 LBL_10: %72 = load i64, i64* %.pre, align 8 %73 = icmp ult i64 %72, 257 %74 = zext i1 %73 to i64 %spec.select = shl i64 %72, %74 %75 = icmp ult i64 %spec.select, %arg3 %sv_3.1 = select i1 %75, i64 %arg3, i64 %spec.select %76 = call i64 @FUNC(i64 %sv_3.1) %77 = icmp eq i64 %76, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %77, label LBL_16, label LBL_11 LBL_11: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %78 = icmp eq i32 %sv_1.0.reload, 0 br i1 %78, label LBL_11.LBL_14_crit_edge, label LBL_13 LBL_12: %.pre4 = add i64 %0, 16 %.pre6 = inttoptr i64 %.pre4 to i64* store i64* %.pre6, i64** %.pre-phi7.reg2mem store i64 0, i64* %.pre-phi3.reg2mem br label LBL_14 LBL_13: %79 = add i64 %sv_2.0.reload, 24 %80 = inttoptr i64 %79 to i64* %81 = load i64, i64* %80, align 8 %82 = add i64 %sv_2.0.reload, 20 %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = sext i32 %84 to i64 %86 = add i64 %sv_2.0.reload, 8 %87 = inttoptr i64 %86 to i64* %88 = load i64, i64* %87, align 8 %89 = add i64 %81, %85 %90 = add i64 %89, %88 %91 = inttoptr i64 %90 to i64* %92 = inttoptr i64 %arg2 to i64* %93 = call i64* @memcpy(i64* %91, i64* %92, i32 %sv_1.0.reload) %94 = load i64, i64* %87, align 8 %95 = sext i32 %sv_1.0.reload to i64 %96 = add i64 %94, %95 store i64 %96, i64* %87, align 8 %97 = load i64, i64* %7, align 8 %98 = add i64 %97, %95 store i64 %98, i64* %7, align 8 %99 = add i64 %0, 16 %100 = inttoptr i64 %99 to i64* %101 = load i64, i64* %100, align 8 %102 = add i64 %101, %95 store i64 %102, i64* %100, align 8 store i64* %100, i64** %.pre-phi7.reg2mem store i64 %95, i64* %.pre-phi3.reg2mem br label LBL_14 LBL_14: %.pre-phi3.reload = load i64, i64* %.pre-phi3.reg2mem %.pre-phi7.reload = load i64*, i64** %.pre-phi7.reg2mem %103 = add i64 %.pre-phi3.reload, %arg2 %104 = sub i64 %arg3, %.pre-phi3.reload %105 = add i64 %76, 24 %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = inttoptr i64 %107 to i64* %109 = inttoptr i64 %103 to i64* %110 = trunc i64 %104 to i32 %111 = call i64* @memcpy(i64* %108, i64* %109, i32 %110) %112 = add i64 %76, 8 %113 = inttoptr i64 %112 to i64* store i64 %104, i64* %113, align 8 %114 = call i64 @FUNC(i64 %0, i64 %76) %115 = load i64, i64* %.pre-phi7.reload, align 8 %116 = add i64 %115, %104 store i64 %116, i64* %.pre-phi7.reload, align 8 br label LBL_15 LBL_15: %117 = call i64 @FUNC(i64 %0) store i64 0, i64* %sv_0.0.reg2mem br label LBL_16 LBL_16: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64* %87, { 1, 0, 2 } uselistorder i32 %sv_1.0.reload, { 2, 0, 1 } uselistorder i64 %spec.select, { 1, 0 } uselistorder i64 %30, { 1, 0 } uselistorder i64* %29, { 3, 2, 4, 1, 0, 5 } uselistorder i64 %sv_2.0.reload, { 3, 4, 5, 7, 8, 6, 9, 0, 1, 10, 2 } uselistorder i64* %7, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i64 %0, { 6, 7, 5, 1, 4, 3, 2, 0, 8, 9 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1, 4, 5 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 3, 2, 1, 0 } uselistorder i64 16, { 1, 0, 2, 3, 4, 5 } uselistorder i64 (i64, i64)* @evbuffer_chain_insert, { 1, 0 } uselistorder i64 (i64)* @evbuffer_chain_new, { 1, 0 } uselistorder i64* null, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i64 %arg3, { 14, 6, 7, 0, 1, 2, 10, 12, 3, 4, 5, 13, 11, 9, 8 } uselistorder i64 %arg2, { 0, 3, 2, 1 } uselistorder label LBL_16, { 4, 0, 1, 2, 3 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
cnt_recv_prep_5597
cnt_recv_prep
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %6 = trunc i64 %3 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_5, label LBL_1 LBL_1: %9 = add i64 %5, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 1) %13 = load i64, i64* %10, align 8 %14 = call i64 @FUNC(i64 %13, i64 1, i64* nonnull %sv_0) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = load i64, i64* %10, align 8 br i1 %16, label LBL_3, label LBL_2 LBL_2: %18 = call i64 @FUNC(i64 %17, i64 1) %19 = load i64, i64* %sv_0, align 8 %20 = load i64, i64* %10, align 8 %21 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %arg2, i64 %2, i64 %1) br label LBL_4 LBL_3: %22 = call i64 @FUNC(i64 %17, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %4, i64 %2, i64 %1) br label LBL_4 LBL_4: %23 = load i64, i64* %10, align 8 %24 = call i64 @FUNC(i64 %23, i64 2) %25 = add i64 %5, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) %29 = add i64 %5, 32 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 %31 = add i64 %5, 40 %32 = inttoptr i64 %31 to i32* store i32 -1, i32* %32, align 4 %33 = add i64 %5, 44 %34 = inttoptr i64 %33 to i32* store i32 -1, i32* %34, align 4 %35 = add i64 %5, 48 %36 = inttoptr i64 %35 to i32* store i32 0, i32* %36, align 4 %37 = add i64 %5, 52 %38 = inttoptr i64 %37 to i32* store i32 0, i32* %38, align 4 %39 = add i64 %5, 56 %40 = inttoptr i64 %39 to i32* store i32 0, i32* %40, align 4 %41 = add i64 %5, 64 %42 = inttoptr i64 %41 to i64* store i64 0, i64* %42, align 8 %43 = add i64 %5, 72 %44 = inttoptr i64 %43 to i64* store i64 0, i64* %44, align 8 br label LBL_5 LBL_5: %45 = add i64 %5, 24 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = add i64 %47, 80 %49 = inttoptr i64 %48 to i32* store i32 0, i32* %49, align 4 %50 = add i64 %5, 84 %51 = inttoptr i64 %50 to i32* store i32 0, i32* %51, align 4 %52 = add i64 %5, 88 %53 = inttoptr i64 %52 to i32* store i32 0, i32* %53, align 4 %54 = add i64 %5, 92 %55 = inttoptr i64 %54 to i32* store i32 0, i32* %55, align 4 %56 = add i64 %5, 96 %57 = inttoptr i64 %56 to i32* store i32 0, i32* %57, align 4 %58 = add i64 %5, 104 %59 = inttoptr i64 %58 to i64* store i64 0, i64* %59, align 8 ret i64 %5 uselistorder i64 %17, { 1, 0 } uselistorder i64* %10, { 1, 0, 2, 3, 4 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %5, { 10, 11, 12, 13, 14, 15, 16, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @http_PrintfHeader, { 1, 0 } uselistorder i64 (i64, i64)* @http_CollectHdr, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
0
BinRealVul
GENERAL_NAME_get0_value_13255
GENERAL_NAME_get0_value
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg2, null %3 = trunc i64 %1 to i32 br i1 %2, label LBL_2, label LBL_1 LBL_1: %4 = bitcast i64* %arg2 to i32* store i32 %3, i32* %4, align 4 br label LBL_2 LBL_2: %5 = and i64 %1, 4294967295 store i64 %5, i64* @0, align 8 store i64 0, i64* %rax.0.reg2mem switch i32 %3, label LBL_9 [ i32 1, label LBL_3 i32 2, label LBL_3 i32 3, label LBL_4 i32 4, label LBL_5 i32 5, label LBL_5 i32 6, label LBL_5 i32 7, label LBL_6 i32 8, label LBL_7 i32 9, label LBL_8 ] LBL_3: %6 = ptrtoint i32* %arg1 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 store i64 %9, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %10 = ptrtoint i32* %arg1 to i64 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 store i64 %13, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %14 = ptrtoint i32* %arg1 to i64 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 store i64 %17, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %18 = ptrtoint i32* %arg1 to i64 %19 = add i64 %18, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 store i64 %21, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %22 = ptrtoint i32* %arg1 to i64 %23 = add i64 %22, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 store i64 %25, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %26 = ptrtoint i32* %arg1 to i64 %27 = add i64 %26, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 store i64 %29, 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 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 } uselistorder i32* %arg1, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_9, { 1, 2, 3, 4, 5, 6, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
gen_mfmsr_5059
gen_mfmsr
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %2 = ptrtoint i64* %sv_1 to i64 %3 = bitcast i64* %sv_0 to i8* call void @FUNC(i8* nonnull %3, i64 0, i64 16) %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4) %sext = mul i64 %5, 4294967296 %6 = ashr exact i64 %sext, 30 %7 = add i64 %2, -128 %8 = add i64 %7, %6 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11, i64 0) ret i64 %12 }
0
BinRealVul
vga_common_init_18700
vga_common_init
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.215.reg2mem = alloca i32 %storemerge616.reg2mem = alloca i32 %indvars.iv28.reg2mem = alloca i64 %sv_0.120.reg2mem = alloca i32 %storemerge921.reg2mem = alloca i32 %sv_0.018.reg2mem = alloca i32 %storemerge1119.reg2mem = alloca i32 %rdi = alloca i64, align 8 store i64 0, i64* %indvars.iv28.reg2mem br label LBL_5 LBL_1: %sv_0.018.reload = load i32, i32* %sv_0.018.reg2mem %storemerge1119.reload = load i32, i32* %storemerge1119.reg2mem %0 = lshr i32 %18, %storemerge1119.reload %1 = urem i32 %0, 2 %2 = mul i32 %storemerge1119.reload, 4 %3 = shl i32 %1, %2 %4 = or i32 %3, %sv_0.018.reload %5 = add nuw nsw i32 %storemerge1119.reload, 1 %exitcond26 = icmp eq i32 %5, 8 store i32 %5, i32* %storemerge1119.reg2mem store i32 %4, i32* %sv_0.018.reg2mem br i1 %exitcond26, label LBL_2, label LBL_1 LBL_2: %6 = mul i64 %indvars.iv28.reload, 4 %7 = add i64 %6, ptrtoint (i32** @gv_0 to i64) %8 = inttoptr i64 %7 to i32* store i32 %4, i32* %8, align 4 store i32 0, i32* %storemerge921.reg2mem store i32 0, i32* %sv_0.120.reg2mem br label LBL_3 LBL_3: %sv_0.120.reload = load i32, i32* %sv_0.120.reg2mem %storemerge921.reload = load i32, i32* %storemerge921.reg2mem %9 = mul i32 %storemerge921.reload, 2 %10 = ashr i32 %18, %9 %11 = urem i32 %10, 4 %12 = mul i32 %storemerge921.reload, 4 %13 = shl i32 %11, %12 %14 = or i32 %13, %sv_0.120.reload %15 = add nuw nsw i32 %storemerge921.reload, 1 %exitcond27 = icmp eq i32 %15, 4 store i32 %15, i32* %storemerge921.reg2mem store i32 %14, i32* %sv_0.120.reg2mem br i1 %exitcond27, label LBL_4, label LBL_3 LBL_4: %16 = add i64 %6, ptrtoint (i32** @gv_1 to i64) %17 = inttoptr i64 %16 to i32* store i32 %14, i32* %17, align 4 %indvars.iv.next29 = add nuw nsw i64 %indvars.iv28.reload, 1 %exitcond30 = icmp eq i64 %indvars.iv.next29, 256 store i64 %indvars.iv.next29, i64* %indvars.iv28.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %exitcond30, label LBL_8, label LBL_5 LBL_5: %indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem %18 = trunc i64 %indvars.iv28.reload to i32 store i32 0, i32* %storemerge1119.reg2mem store i32 0, i32* %sv_0.018.reg2mem br label LBL_1 LBL_6: %sv_0.215.reload = load i32, i32* %sv_0.215.reg2mem %storemerge616.reload = load i32, i32* %storemerge616.reg2mem %19 = lshr i32 %31, %storemerge616.reload %20 = urem i32 %19, 2 %21 = mul i32 %storemerge616.reload, 2 %22 = shl i32 %20, %21 %23 = or i32 %22, %sv_0.215.reload %24 = or i32 %21, 1 %25 = shl i32 %20, %24 %26 = or i32 %23, %25 %27 = add nuw nsw i32 %storemerge616.reload, 1 %exitcond = icmp eq i32 %27, 4 store i32 %27, i32* %storemerge616.reg2mem store i32 %26, i32* %sv_0.215.reg2mem br i1 %exitcond, label LBL_7, label LBL_6 LBL_7: %28 = mul i64 %indvars.iv.reload, 4 %29 = add i64 %28, ptrtoint (i32** @gv_2 to i64) %30 = inttoptr i64 %29 to i32* store i32 %26, i32* %30, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond25 = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond25, label LBL_9, label LBL_8 LBL_8: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %31 = trunc i64 %indvars.iv.reload to i32 store i32 0, i32* %storemerge616.reg2mem store i32 0, i32* %sv_0.215.reg2mem br label LBL_6 LBL_9: %32 = ptrtoint i64* %arg1 to i64 %33 = bitcast i64* %rdi to i32* %34 = load i32, i32* %33, align 8 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i64 %35, i64 1, i64 512) %37 = trunc i64 %36 to i32 %38 = bitcast i64* %arg1 to i32* store i32 %37, i32* %38, align 4 %39 = call i64 @FUNC(i64 %35) %40 = trunc i64 %39 to i32 store i32 %40, i32* %38, align 4 %41 = mul i32 %34, 1048576 %42 = add i64 %32, 4 %43 = inttoptr i64 %42 to i32* store i32 %41, i32* %43, align 4 %44 = add i64 %32, 8 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_11, label LBL_10 LBL_10: store i32 %41, i32* %45, align 4 br label LBL_11 LBL_11: %49 = add i64 %32, 12 %50 = inttoptr i64 %49 to i32* store i32 1, i32* %50, align 4 %51 = load i32, i32* %43, align 4 %52 = add i64 %32, 16 %53 = zext i32 %51 to i64 %54 = call i64 @FUNC(i64 %52, i64 %arg2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %53, i64 4198773) %55 = trunc i64 %arg3 to i8 %56 = icmp eq i8 %55, 0 %57 = icmp eq i1 %56, false store i64 0, i64* %storemerge.reg2mem br i1 %57, label LBL_13, label LBL_12 LBL_12: %58 = call i64 @FUNC(i64 %arg2) store i64 %58, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem %59 = call i64 @FUNC(i64 %52, i64 %storemerge.reload) %60 = call i64 @FUNC(i64 %52) %61 = call i64 @FUNC(i64 %52) %62 = add i64 %32, 24 %63 = inttoptr i64 %62 to i64* store i64 %61, i64* %63, align 8 %64 = add i64 %32, 32 %65 = inttoptr i64 %64 to i64* store i64 4198729, i64* %65, align 8 %66 = add i64 %32, 40 %67 = inttoptr i64 %66 to i64* store i64 4198740, i64* %67, align 8 %68 = add i64 %32, 48 %69 = inttoptr i64 %68 to i64* store i64 4198751, i64* %69, align 8 %70 = add i64 %32, 56 %71 = inttoptr i64 %70 to i64* store i64 ptrtoint (i64* @gv_4 to i64), i64* %71, align 8 %72 = load i32, i32* @gv_5, align 4 switch i32 %72, label LBL_16 [ i32 0, label LBL_14 i32 1, label LBL_15 ] LBL_14: %73 = add i64 %32, 64 %74 = inttoptr i64 %73 to i64* store i64 4198871, i64* %74, align 8 %75 = add i64 %32, 72 %76 = inttoptr i64 %75 to i64* store i64 4198885, i64* %76, align 8 br label LBL_16 LBL_15: %77 = add i64 %32, 64 %78 = inttoptr i64 %77 to i64* store i64 4198878, i64* %78, align 8 %79 = add i64 %32, 72 %80 = inttoptr i64 %79 to i64* store i64 4198892, i64* %80, align 8 br label LBL_16 LBL_16: %81 = add i64 %32, 80 %82 = inttoptr i64 %81 to i8* store i8 0, i8* %82, align 1 %83 = call i64 @FUNC(i64 %32) ret i64 %83 uselistorder i32 %41, { 1, 0 } uselistorder i64 %32, { 2, 3, 0, 1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 } uselistorder i64 %indvars.iv.reload, { 1, 2, 0 } uselistorder i32 %26, { 1, 0 } uselistorder i32 %20, { 1, 0 } uselistorder i32 %storemerge616.reload, { 0, 2, 1 } uselistorder i32 %18, { 1, 0 } uselistorder i64 %indvars.iv28.reload, { 1, 2, 0 } uselistorder i32 %14, { 1, 0 } uselistorder i32 %storemerge921.reload, { 0, 2, 1 } uselistorder i64 %6, { 1, 0 } uselistorder i32 %4, { 1, 0 } uselistorder i32 %storemerge1119.reload, { 0, 2, 1 } uselistorder i32* %storemerge1119.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.018.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge921.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.120.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge616.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.215.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 32, { 3, 1, 0, 2 } uselistorder i64 16, { 1, 0 } uselistorder i32 0, { 6, 9, 0, 1, 4, 5, 2, 3, 7, 10, 11, 12, 13, 8 } uselistorder i64 4, { 2, 0, 1 } uselistorder i32 4, { 4, 3, 0, 2, 1 } uselistorder i32 2, { 0, 2, 1, 3, 4 } uselistorder label LBL_16, { 1, 2, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
nsv_read_header_10811
nsv_read_header
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = inttoptr i64 %arg1 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %arg1, 16 %6 = inttoptr i64 %5 to i64* store i64 0, i64* %6, align 8 %7 = add i64 %arg1, 8 %8 = inttoptr i64 %7 to i64* store i64 0, i64* %8, align 8 %9 = bitcast i64* %rdi to i32* %10 = load i32, i32* %9, align 8 %11 = icmp eq i32 %10, 1 %12 = icmp eq i1 %11, false %13 = icmp eq i32 %10, 2 %14 = icmp eq i1 %13, false store i32 0, i32* %storemerge1.reg2mem br label LBL_1 LBL_1: %15 = call i64 @FUNC(i64 %arg1) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_2, label LBL_11 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem br i1 %12, label LBL_5, label LBL_3 LBL_3: %19 = call i64 @FUNC(i64 %arg1) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = and i64 %19, 4294967295 store i64 %23, i64* %rax.0.reg2mem br label LBL_11 LBL_5: br i1 %14, label LBL_8, label LBL_6 LBL_6: %24 = call i64 @FUNC(i64 %arg1) %25 = trunc i64 %24 to i32 %26 = icmp slt i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_9, label LBL_7 LBL_7: %28 = and i64 %24, 4294967295 store i64 %28, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %29 = add nuw nsw i32 %storemerge1.reload, 1 %30 = icmp ult i32 %29, 10 store i32 %29, i32* %storemerge1.reg2mem br i1 %30, label LBL_1, label LBL_9 LBL_9: %31 = inttoptr i64 %7 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 %34 = icmp slt i32 %32, 0 %35 = icmp eq i1 %34, false %36 = icmp eq i1 %33, false %37 = icmp eq i1 %35, %36 store i64 4294967295, i64* %rax.0.reg2mem br i1 %37, label LBL_10, label LBL_11 LBL_10: %38 = call i64 @FUNC(i64 %arg1, i64 1) %39 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) %40 = and i64 %38, 4294967295 store i64 %40, 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 %32, { 1, 0 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 4, 3, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i1 false, { 1, 0, 2, 4, 6, 3, 5 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6 } uselistorder i64 %arg1, { 1, 2, 3, 0, 4, 5, 6, 7 } uselistorder label LBL_11, { 2, 1, 3, 4, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
hba_setup_cid_tbls_7586
hba_setup_cid_tbls
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge3.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i32 %storemerge515.reg2mem = alloca i32 %storemerge716.reg2mem = alloca i32 %storemerge917.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 56 %5 = add i64 %3, 8 store i32 0, i32* %storemerge917.reg2mem br label LBL_1 LBL_1: %storemerge917.reload = load i32, i32* %storemerge917.reg2mem %6 = urem i32 %storemerge917.reload, 65536 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %7, i64 %4) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_7, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 16, i64 0) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %1) br label LBL_19 LBL_4: %15 = call i64 @FUNC(i64 %3, i64 %7) %16 = mul i64 %15, 8 %17 = and i64 %16, 524280 %18 = call i64 @FUNC(i64 %17, i64 0) %19 = inttoptr i64 %11 to i64* store i64 %18, i64* %19, align 8 %20 = icmp eq i64 %18, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 0, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_2, i64 0, i64 0), i64 %7, i64 %1) %23 = call i64 @FUNC(i64 %11) br label LBL_19 LBL_6: %24 = call i64 @FUNC(i64 %3, i64 %7) %25 = trunc i64 %24 to i16 %26 = add i64 %11, 10 %27 = inttoptr i64 %26 to i16* store i16 %25, i16* %27, align 2 %28 = mul i32 %storemerge917.reload, 8 %29 = and i32 %28, 524280 %30 = zext i32 %29 to i64 %31 = add i64 %5, %30 %32 = inttoptr i64 %31 to i64* store i64 %11, i64* %32, align 8 br label LBL_7 LBL_7: %33 = mul i32 %storemerge917.reload, 65536 %sext8 = add i32 %33, 65536 %34 = ashr exact i32 %sext8, 16 %35 = trunc i32 %34 to i16 %36 = icmp ult i16 %35, 4 store i32 %34, i32* %storemerge917.reg2mem br i1 %36, label LBL_1, label LBL_8 LBL_8: %37 = bitcast i64* %rdi to i16* %38 = load i16, i16* %37, align 8 %39 = zext i16 %38 to i64 %40 = mul i64 %39, 8 %41 = call i64 @FUNC(i64 %40, i64 0) %42 = add i64 %3, 40 %43 = inttoptr i64 %42 to i64* store i64 %41, i64* %43, align 8 %44 = icmp eq i64 %41, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_10, label LBL_9 LBL_9: %46 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 0, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_3, i64 0, i64 0), i64 %2, i64 %1) br label LBL_19 LBL_10: %47 = load i16, i16* %37, align 8 %48 = zext i16 %47 to i64 %49 = mul i64 %48, 8 %50 = call i64 @FUNC(i64 %49, i64 0) %51 = add i64 %3, 48 %52 = inttoptr i64 %51 to i64* store i64 %50, i64* %52, align 8 %53 = icmp eq i64 %50, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_12, label LBL_11 LBL_11: %55 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 0, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_4, i64 0, i64 0), i64 %2, i64 %1) %56 = load i64, i64* %43, align 8 %57 = call i64 @FUNC(i64 %56) store i64 0, i64* %43, align 8 br label LBL_12 LBL_12: %58 = load i16, i16* %37, align 8 %59 = icmp eq i16 %58, 0 br i1 %59, label LBL_15, label LBL_13 LBL_13: %60 = add i64 %3, 64 %61 = inttoptr i64 %60 to i64* store i32 0, i32* %storemerge716.reg2mem br label LBL_14 LBL_14: %storemerge716.reload = load i32, i32* %storemerge716.reg2mem %62 = load i64, i64* %61, align 8 %63 = mul i32 %storemerge716.reload, 4 %64 = and i32 %63, 262140 %65 = zext i32 %64 to i64 %66 = add i64 %62, %65 %67 = inttoptr i64 %66 to i16* %68 = load i16, i16* %67, align 2 %69 = zext i16 %68 to i64 %70 = mul i64 %69, 8 %71 = add i64 %70, %5 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = add i64 %66, 2 %75 = inttoptr i64 %74 to i16* %76 = load i16, i16* %75, align 2 %77 = zext i16 %76 to i64 %78 = inttoptr i64 %73 to i64* %79 = load i64, i64* %78, align 8 %80 = add i64 %73, 8 %81 = inttoptr i64 %80 to i16* %82 = load i16, i16* %81, align 2 %83 = add i16 %82, 1 store i16 %83, i16* %81, align 2 %84 = zext i16 %82 to i64 %85 = mul i64 %84, 8 %86 = add i64 %85, %79 %87 = inttoptr i64 %86 to i64* store i64 %77, i64* %87, align 8 %88 = mul i32 %storemerge716.reload, 65536 %sext6 = add i32 %88, 65536 %89 = ashr exact i32 %sext6, 16 %90 = load i16, i16* %37, align 8 %91 = trunc i32 %89 to i16 %92 = icmp ugt i16 %90, %91 store i32 %89, i32* %storemerge716.reg2mem br i1 %92, label LBL_14, label LBL_15 LBL_15: store i32 0, i32* %storemerge515.reg2mem br label LBL_16 LBL_16: %storemerge515.reload = load i32, i32* %storemerge515.reg2mem %93 = urem i32 %storemerge515.reload, 65536 %94 = zext i32 %93 to i64 %95 = call i64 @FUNC(i64 %94, i64 %4) %96 = trunc i64 %95 to i32 %97 = icmp eq i32 %96, 0 br i1 %97, label LBL_18, label LBL_17 LBL_17: %98 = mul i32 %storemerge515.reload, 8 %99 = and i32 %98, 524280 %100 = zext i32 %99 to i64 %101 = add i64 %5, %100 %102 = inttoptr i64 %101 to i64* %103 = load i64, i64* %102, align 8 %104 = add i64 %103, 8 %105 = inttoptr i64 %104 to i16* store i16 0, i16* %105, align 2 %106 = add i64 %103, 12 %107 = inttoptr i64 %106 to i16* store i16 0, i16* %107, align 2 br label LBL_18 LBL_18: %108 = mul i32 %storemerge515.reload, 65536 %sext4 = add i32 %108, 65536 %109 = ashr exact i32 %sext4, 16 %110 = trunc i32 %109 to i16 %111 = icmp ult i16 %110, 4 store i32 %109, i32* %storemerge515.reg2mem store i64 0, i64* %storemerge3.reg2mem br i1 %111, label LBL_16, label LBL_24 LBL_19: store i32 0, i32* %storemerge14.reg2mem br label LBL_20 LBL_20: %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %112 = urem i32 %storemerge14.reload, 65536 %113 = zext i32 %112 to i64 %114 = call i64 @FUNC(i64 %113, i64 %4) %115 = trunc i64 %114 to i32 %116 = icmp eq i32 %115, 0 br i1 %116, label LBL_23, label LBL_21 LBL_21: %117 = mul i32 %storemerge14.reload, 8 %118 = and i32 %117, 524280 %119 = zext i32 %118 to i64 %120 = add i64 %5, %119 %121 = inttoptr i64 %120 to i64* %122 = load i64, i64* %121, align 8 %123 = icmp eq i64 %122, 0 br i1 %123, label LBL_23, label LBL_22 LBL_22: %124 = inttoptr i64 %122 to i64* %125 = load i64, i64* %124, align 8 %126 = call i64 @FUNC(i64 %125) %127 = call i64 @FUNC(i64 %122) store i64 0, i64* %121, align 8 br label LBL_23 LBL_23: %128 = mul i32 %storemerge14.reload, 65536 %sext = add i32 %128, 65536 %129 = ashr exact i32 %sext, 16 %130 = trunc i32 %129 to i16 %131 = icmp ult i16 %130, 4 store i32 %129, i32* %storemerge14.reg2mem store i64 4294967284, i64* %storemerge3.reg2mem br i1 %131, label LBL_20, label LBL_24 LBL_24: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem ret i64 %storemerge3.reload uselistorder i64 %122, { 1, 0, 2 } uselistorder i32 %storemerge14.reload, { 2, 1, 0 } uselistorder i32 %storemerge515.reload, { 2, 1, 0 } uselistorder i32 %storemerge716.reload, { 1, 0 } uselistorder i16* %37, { 1, 0, 2, 3 } uselistorder i64 %11, { 1, 2, 0, 3, 4 } uselistorder i64 %7, { 2, 0, 3, 1, 4 } uselistorder i32 %storemerge917.reload, { 2, 1, 0 } uselistorder i64 %5, { 2, 0, 3, 1 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64 %3, { 0, 1, 2, 3, 4, 6, 7, 8, 9, 5, 10 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i32* %storemerge917.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge716.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge515.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i16 0, { 1, 2, 0 } uselistorder i32 524280, { 2, 1, 0 } uselistorder i64 10, { 1, 0 } uselistorder i64 (i64, i64)* @BEISCSI_GET_CID_COUNT, { 1, 0 } uselistorder i64 (i64, i8*, i64, i8*, i64, i64)* @beiscsi_log, { 3, 0, 2, 1 } uselistorder i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), { 2, 3, 0, 1 } uselistorder i1 false, { 0, 3, 1, 2, 4 } uselistorder i64 (i64, i64)* @kzalloc, { 3, 0, 2, 1 } uselistorder i64 (i64, i64)* @test_bit, { 2, 1, 0 } uselistorder i32 65536, { 11, 0, 4, 10, 1, 5, 9, 2, 8, 3, 6, 7 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_19, { 2, 0, 1 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
kvm_arch_vcpu_uninit_8712
kvm_arch_vcpu_uninit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %0) %8 = load i64, i64* %4, align 8 %9 = and i64 %6, 4294967295 %10 = call i64 @FUNC(i64 %8, i64 %9) %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) ret i64 %14 }
0
BinRealVul
__return_cfs_rq_runtime_12741
__return_cfs_rq_runtime
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = icmp slt i64 %3, 1 store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_7, label LBL_1 LBL_1: %6 = add i64 %4, 24 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %4, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, -1 br i1 %11, label LBL_6, label LBL_2 LBL_2: %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %4, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %14, %17 %19 = icmp eq i1 %18, false br i1 %19, label LBL_6, label LBL_3 LBL_3: %20 = inttoptr i64 %4 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %21, %3 store i64 %22, i64* %20, align 8 %23 = call i64 @FUNC() %24 = icmp sgt i64 %22, %23 br i1 %24, label LBL_4, label LBL_6 LBL_4: %25 = add i64 %4, 32 %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_6, label LBL_5 LBL_5: %30 = call i64 @FUNC(i64 %4) br label LBL_6 LBL_6: %31 = call i64 @FUNC(i64 %6) %32 = sub i64 %6, %3 store i64 %32, i64* %arg1, align 8 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 %6, { 1, 0, 2 } uselistorder i64 %4, { 0, 1, 3, 2, 5, 4 } uselistorder i64 %3, { 2, 1, 0, 3, 4 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0, 3, 4 } }
1
BinRealVul
get_ctl_id_hash_5964
get_ctl_id_hash
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem6 = alloca i8 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %1, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = mul nsw i64 %3, 31 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = sext i32 %7 to i64 %9 = add nsw i64 %4, %8 %10 = mul nsw i64 %9, 31 %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = sext i32 %13 to i64 %15 = add nsw i64 %10, %14 %16 = add i64 %2, 12 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 0 %20 = mul nsw i64 %15, 31 store i64 0, i64* %indvars.iv.reg2mem store i64 %20, i64* %.reg2mem store i8 %18, i8* %.reg2mem6 store i64 %20, i64* %.lcssa.reg2mem br i1 %19, label LBL_2, label LBL_1 LBL_1: %.reload7 = load i8, i8* %.reg2mem6 %.reload = load i64, i64* %.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %21 = sext i8 %.reload7 to i64 %22 = add i64 %.reload, %21 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %23 = add i64 %indvars.iv.next, %16 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = icmp ne i8 %25, 0 %27 = icmp ult i64 %indvars.iv.next, 32 %or.cond = icmp eq i1 %27, %26 %28 = mul i64 %22, 31 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %28, i64* %.reg2mem store i8 %25, i8* %.reg2mem6 store i64 %28, i64* %.lcssa.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_2: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %29 = add i64 %2, 44 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = sext i32 %31 to i64 %33 = add i64 %.lcssa.reload, %32 %34 = and i64 %33, 9223372036854775807 ret i64 %34 uselistorder i64 %indvars.iv.next, { 0, 2, 1 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem6, { 2, 0, 1 } uselistorder i8 0, { 1, 0 } uselistorder i64 31, { 1, 0, 2, 3 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
vnc_dpy_update_1465
vnc_dpy_update
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext2 = add i64 %arg5, %arg3 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = trunc i64 %arg3 to i32 %7 = sub i32 %6, %5 %8 = xor i32 %5, %6 %9 = xor i32 %7, %6 %10 = and i32 %9, %8 %11 = icmp slt i32 %10, 0 %12 = icmp eq i32 %7, 0 %13 = icmp slt i32 %7, 0 %14 = icmp ne i1 %13, %11 %15 = or i1 %12, %14 %16 = select i1 %15, i32 %6, i32 %5 %17 = trunc i64 %sext2 to i32 %18 = sub i32 %17, %5 %19 = xor i32 %5, %17 %20 = xor i32 %18, %17 %21 = and i32 %20, %19 %22 = icmp slt i32 %21, 0 %23 = icmp eq i32 %18, 0 %24 = icmp slt i32 %18, 0 %25 = icmp ne i1 %24, %22 %26 = or i1 %23, %25 %27 = select i1 %26, i32 %17, i32 %5 %28 = icmp slt i32 %16, %27 store i32 %16, i32* %sv_0.0.lcssa.reg2mem br i1 %28, label LBL_1, label LBL_6 LBL_1: %29 = trunc i64 %arg2 to i32 %30 = trunc i64 %arg4 to i32 %31 = ashr i32 %29, 31 %32 = udiv i32 %31, 268435456 %33 = add i32 %32, %29 %34 = urem i32 %33, 16 %35 = sub nsw i32 %32, %34 %36 = add i32 %35, %29 %37 = trunc i64 %1 to i32 %38 = sub i32 %36, %37 %39 = xor i32 %36, %37 %40 = xor i32 %38, %36 %41 = and i32 %40, %39 %42 = icmp slt i32 %41, 0 %43 = icmp eq i32 %38, 0 %44 = icmp slt i32 %38, 0 %45 = icmp ne i1 %44, %42 %46 = or i1 %43, %45 %47 = select i1 %46, i32 %36, i32 %37 %48 = sub i32 %30, %32 %49 = add i32 %48, %34 %50 = add i32 %49, %47 %51 = sub i32 %37, %50 %52 = xor i32 %50, %37 %53 = xor i32 %51, %37 %54 = and i32 %53, %52 %55 = icmp slt i32 %54, 0 %56 = icmp eq i32 %51, 0 %57 = icmp slt i32 %51, 0 %58 = icmp eq i1 %57, %55 %59 = icmp eq i1 %56, false %60 = icmp eq i1 %58, %59 %61 = select i1 %60, i32 %50, i32 %37 %62 = sub i32 %61, %47 %63 = icmp sgt i32 %62, 0 %64 = add i64 %2, 8 %65 = inttoptr i64 %64 to i64* %66 = sext i32 %16 to i64 %wide.trip.count = sext i32 %27 to i64 store i64 %66, i64* %indvars.iv.reg2mem br label LBL_4 LBL_2: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %67 = add i32 %storemerge3.reload, %47 %68 = sdiv i32 %67, 32768 %69 = load i64, i64* %65, align 8 %70 = add i64 %69, %77 %71 = inttoptr i64 %70 to i64* %72 = load i64, i64* %71, align 8 %73 = zext i32 %68 to i64 %74 = call i64 @FUNC(i64 %72, i64 %73) %75 = add i32 %storemerge3.reload, 16 %76 = icmp slt i32 %75, %62 store i32 %75, i32* %storemerge3.reg2mem br i1 %76, label LBL_2, label LBL_3 LBL_3: %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %27, i32* %sv_0.0.lcssa.reg2mem br i1 %exitcond, label LBL_6, label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem br i1 %63, label LBL_2.lr.ph, label LBL_3 LBL_5: %77 = mul i64 %indvars.iv.reload, 8 store i32 0, i32* %storemerge3.reg2mem br label LBL_2 LBL_6: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %78 = zext i32 %sv_0.0.lcssa.reload to i64 ret i64 %78 uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i32 %62, { 1, 0 } uselistorder i32 %51, { 1, 2, 0 } uselistorder i32 %50, { 1, 0, 2 } uselistorder i32 %47, { 0, 2, 1 } uselistorder i32 %38, { 1, 2, 0 } uselistorder i32 %37, { 5, 1, 2, 6, 4, 0, 3 } uselistorder i32 %36, { 2, 1, 0, 3 } uselistorder i32 %34, { 1, 0 } uselistorder i32 %32, { 2, 0, 1 } uselistorder i32 %18, { 1, 2, 0 } uselistorder i32 %17, { 2, 0, 1, 3 } uselistorder i32 %16, { 1, 0, 2 } uselistorder i32 %7, { 1, 2, 0 } uselistorder i32 %6, { 2, 0, 1, 3 } uselistorder i32 %5, { 3, 0, 2, 4, 1, 5 } uselistorder i32* %storemerge3.reg2mem, { 2, 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i32 0, { 0, 1, 5, 6, 7, 11, 12, 13, 2, 3, 4, 8, 9, 10 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
qemu_egl_rendernode_open_16187
qemu_egl_rendernode_open
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %.in.reg2mem = alloca %dirent* %sv_1 = alloca i8*, align 8 %0 = call %__dirstream* @opendir(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) %1 = icmp eq %__dirstream* %0, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_1, label LBL_8 LBL_1: %3 = call %dirent* @readdir(%__dirstream* %0) %4 = icmp eq %dirent* %3, null %5 = icmp eq i1 %4, false store %dirent* %3, %dirent** %.in.reg2mem store i32 -1, i32* %sv_0.0.reg2mem br i1 %5, label LBL_2, label LBL_7 LBL_2: %.in.reload = load %dirent*, %dirent** %.in.reg2mem %6 = ptrtoint %dirent* %.in.reload to i64 %7 = add i64 %6, 18 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = icmp eq i8 %9, 2 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call %dirent* @readdir(%__dirstream* %0) %12 = icmp eq %dirent* %11, null %13 = icmp eq i1 %12, false store %dirent* %11, %dirent** %.in.reg2mem store i32 -1, i32* %sv_0.0.reg2mem br i1 %13, label LBL_2, label LBL_7 LBL_4: %14 = add i64 %6, 19 %15 = inttoptr i64 %14 to i8* %16 = call i32 @strncmp(i8* %15, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i32 7) %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_5, label LBL_3 LBL_5: %18 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i8* %15) %19 = icmp slt i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_6, label LBL_8 LBL_6: %21 = load i8*, i8** %sv_1, align 8 %22 = call i32 (i8*, i32, ...) @open(i8* %21, i32 526594) %23 = icmp slt i32 %22, 0 %24 = icmp eq i1 %23, false %25 = load i8*, i8** %sv_1, align 8 %26 = bitcast i8* %25 to i64* call void @free(i64* %26) store i32 %22, i32* %sv_0.0.reg2mem br i1 %24, label LBL_7, label LBL_3 LBL_7: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %27 = call i32 @closedir(%__dirstream* %0) %28 = icmp slt i32 %sv_0.0.reload, 0 %29 = icmp eq i1 %28, false %30 = zext i32 %sv_0.0.reload to i64 %spec.select = select i1 %29, i64 %30, i64 4294967295 ret i64 %spec.select LBL_8: ret i64 4294967295 uselistorder %__dirstream* %0, { 1, 2, 0, 3 } uselistorder i8** %sv_1, { 1, 0, 2 } uselistorder %dirent** %.in.reg2mem, { 2, 0, 1 } uselistorder %dirent* null, { 1, 0 } uselistorder %dirent* (%__dirstream*)* @readdir, { 1, 0 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_3, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
float32_to_int32_round_to_zero_14340
float32_to_int32_round_to_zero
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %5 to i32 %sext6 = mul i32 %6, 65536 %7 = ashr exact i32 %sext6, 16 %8 = call i64 @FUNC(i64 %2) %9 = trunc i64 %8 to i8 %10 = trunc i64 %5 to i16 %11 = add i16 %10, -158 %12 = icmp slt i16 %11, 0 br i1 %12, label LBL_5, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %2) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, -822083584 br i1 %15, label LBL_4, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 1) %17 = icmp eq i8 %9, 0 store i64 2147483647, i64* %rax.0.reg2mem br i1 %17, label LBL_11, label LBL_3 LBL_3: %18 = trunc i32 %7 to i16 %19 = icmp eq i16 %18, 255 %20 = icmp eq i1 %19, false %21 = icmp eq i32 %4, 0 %or.cond = or i1 %21, %20 store i64 2147483647, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_11 LBL_4: store i64 2147483648, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %22 = trunc i32 %7 to i16 %23 = icmp sgt i16 %22, 126 br i1 %23, label LBL_8, label LBL_6 LBL_6: %24 = or i32 %7, %4 %25 = icmp eq i32 %24, 0 store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_11, label LBL_7 LBL_7: %26 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %27 = or i32 %26, 2 store i32 %27, i32* bitcast (i64* @gv_0 to i32*), align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %28 = sext i16 %11 to i32 %29 = mul i32 %4, 256 %30 = or i32 %29, -2147483648 %31 = urem i32 %28, 32 %32 = shl i32 %30, %31 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_10, label LBL_9 LBL_9: %34 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %35 = or i32 %34, 2 store i32 %35, i32* bitcast (i64* @gv_0 to i32*), align 8 br label LBL_10 LBL_10: %36 = sub nsw i32 0, %28 %37 = urem i32 %36, 32 %38 = lshr i32 %30, %37 %39 = icmp eq i8 %9, 0 %40 = sub i32 0, %38 %spec.select = select i1 %39, i32 %38, i32 %40 %41 = zext i32 %spec.select to i64 store i64 %41, 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 %30, { 1, 0 } uselistorder i32 %28, { 1, 0 } uselistorder i16 %11, { 1, 0 } uselistorder i8 %9, { 1, 0 } uselistorder i32 %7, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 5, 4, 3 } uselistorder i32 32, { 1, 0 } uselistorder i32 0, { 2, 1, 3, 4, 0 } uselistorder i64 2147483647, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_11, { 4, 1, 0, 5, 3, 2 } }
1
BinRealVul
seek_to_sector_1039
seek_to_sector
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = mul i64 %arg2, 512 %5 = add i64 %3, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = udiv i64 %4, %7 %9 = inttoptr i64 %3 to i64* %10 = load i64, i64* %9, align 8 %11 = mul i64 %8, 4 %12 = add i64 %10, %11 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, -1 %16 = icmp eq i1 %15, false store i64 -1, i64* %rax.0.reg2mem br i1 %16, label LBL_1, label LBL_4 LBL_1: %17 = urem i64 %4, %7 %18 = udiv i64 %17, 512 %19 = add i64 %3, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = mul i32 %14, 512 %23 = add i64 %3, 24 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = add i64 %3, 32 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = add i64 %28, %25 %30 = zext i32 %22 to i64 %31 = mul i64 %29, %30 %32 = add i64 %31, %21 %sext3 = mul i64 %18, 4294967296 %33 = ashr exact i64 %sext3, 32 %34 = udiv i64 %33, 8 %35 = add i64 %32, %34 %36 = bitcast i32* %sv_0 to i64* %37 = call i64 @FUNC(i64 %7, i64 %35, i64* nonnull %36, i64 1) %38 = icmp eq i64 %37, 1 store i64 -1, i64* %rax.0.reg2mem br i1 %38, label LBL_2, label LBL_4 LBL_2: %39 = trunc i64 %18 to i32 %40 = load i32, i32* %sv_0, align 4 %41 = zext i32 %40 to i64 %sext = mul i64 %41, 72057594037927936 %42 = ashr exact i64 %sext, 56 %43 = urem i32 %39, 8 %44 = icmp eq i32 %43, 0 %45 = trunc i64 %42 to i32 %46 = lshr i32 %45, %43 %47 = zext i32 %46 to i64 %rdx.0 = select i1 %44, i64 %42, i64 %47 %48 = urem i64 %rdx.0, 2 %49 = icmp eq i64 %48, 0 %50 = icmp eq i1 %49, false store i64 -1, i64* %rax.0.reg2mem br i1 %50, label LBL_3, label LBL_4 LBL_3: %51 = load i64, i64* %27, align 8 %52 = add i64 %51, %33 %53 = mul i64 %52, 512 %54 = add i64 %53, %32 store i64 %54, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %43, { 1, 0 } uselistorder i64 %33, { 1, 0 } uselistorder i64 %18, { 1, 0 } uselistorder i64 %7, { 1, 0, 2 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %3, { 1, 2, 0, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 512, { 0, 2, 1 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
0
BinRealVul
tcp_get_msgfds_2425
tcp_get_msgfds
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rdi.0.lcssa.reg2mem = alloca i64 %rdi.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = trunc i64 %arg3 to i32 %5 = sub i32 %4, %3 %6 = xor i32 %3, %4 %7 = xor i32 %5, %4 %8 = and i32 %7, %6 %9 = icmp slt i32 %8, 0 %10 = icmp eq i32 %5, 0 %11 = icmp slt i32 %5, 0 %12 = icmp ne i1 %11, %9 %13 = or i1 %10, %12 %14 = select i1 %13, i32 %4, i32 %3 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_1 LBL_1: %16 = ptrtoint i64* %arg2 to i64 %17 = mul i32 %14, 4 %18 = call i64* @memcpy(i64* %arg2, i64* %arg1, i32 %17) %19 = load i32, i32* %2, align 4 %20 = zext i32 %19 to i64 %21 = sext i32 %14 to i64 %22 = icmp slt i64 %21, %20 store i64 %21, i64* %.reg2mem store i32 %14, i32* %storemerge2.reg2mem store i64 %16, i64* %rdi.01.reg2mem store i64 %16, i64* %rdi.0.lcssa.reg2mem br i1 %22, label LBL_2, label LBL_3 LBL_2: %rdi.01.reload = load i64, i64* %rdi.01.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %23 = mul i64 %.reload, 4 %24 = add i64 %rdi.01.reload, %23 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 %28 = call i32 @close(i32 %26) %29 = add i32 %storemerge2.reload, 1 %30 = load i32, i32* %2, align 4 %31 = zext i32 %30 to i64 %32 = sext i32 %29 to i64 %33 = icmp slt i64 %32, %31 store i64 %32, i64* %.reg2mem store i32 %29, i32* %storemerge2.reg2mem store i64 %27, i64* %rdi.01.reg2mem store i64 %27, i64* %rdi.0.lcssa.reg2mem br i1 %33, label LBL_2, label LBL_3 LBL_3: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %34 = call i64 @FUNC(i64 %rdi.0.lcssa.reload) store i64 0, i64* %arg1, align 8 store i32 0, i32* %2, align 4 br label LBL_4 LBL_4: %35 = zext i32 %14 to i64 ret i64 %35 uselistorder i32 %14, { 3, 0, 2, 1, 4 } uselistorder i32 %5, { 1, 2, 0 } uselistorder i32 %4, { 2, 0, 1, 3 } uselistorder i32 %3, { 1, 0, 2 } uselistorder i32* %2, { 1, 2, 0, 3 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
get_extra_meta_func_2962
get_extra_meta_func
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 0 %storemerge3.in.in.v = select i1 %1, i64 ptrtoint ([4 x i8]** @gv_0 to i64), i64 ptrtoint ([3 x i8*]* @gv_1 to i64) %2 = inttoptr i64 %arg1 to i64* %3 = select i1 %1, i32 3, i32 4 %storemerge3.in6 = inttoptr i64 %storemerge3.in.in.v to i64* %storemerge37 = load i64, i64* %storemerge3.in6, align 8 %4 = inttoptr i64 %storemerge37 to i64* %5 = call i32 @memcmp(i64* %2, i64* %4, i32 %3) %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i32 1, i32* %.reg2mem store i64 ptrtoint ([4 x i8]** @gv_0 to i64), i64* %.lcssa.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_1: %storemerge3.in.in = add i64 %14, %storemerge3.in.in.v %storemerge3.in = inttoptr i64 %storemerge3.in.in to i64* %storemerge3 = load i64, i64* %storemerge3.in, align 8 %8 = inttoptr i64 %storemerge3 to i64* %9 = call i32 @memcmp(i64* %2, i64* %8, i32 %3) %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false %12 = add i32 %.reload, 1 store i32 %12, i32* %.reg2mem store i64 %15, i64* %.lcssa.reg2mem br i1 %11, label LBL_2, label LBL_3 LBL_2: %.reload = load i32, i32* %.reg2mem %13 = sext i32 %.reload to i64 %14 = mul i64 %13, 16 %15 = add i64 %14, ptrtoint ([4 x i8]** @gv_0 to i64) %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 %15, i64* %.lcssa.reg2mem br i1 %19, label LBL_1, label LBL_3 LBL_3: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %15, { 1, 2, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %2, { 1, 0 } uselistorder i64 %storemerge3.in.in.v, { 1, 0 } uselistorder i1 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 } uselistorder i64 ptrtoint ([4 x i8]** @gv_0 to i64), { 2, 0, 1 } uselistorder i32 0, { 7, 0, 8, 1, 2, 3, 4, 5, 6 } uselistorder i32 1, { 3, 1, 2, 0 } uselistorder label LBL_3, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
virtio_config_readw_2197
virtio_config_readw
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = add nuw nsw i64 %1, 2 %3 = and i64 %0, 4294967295 %4 = icmp ugt i64 %2, %3 store i64 4294967295, i64* %storemerge.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %7, %1 %9 = call i64 @FUNC(i64 %8) %10 = urem i64 %9, 65536 store i64 %10, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
alloc_top_12372
alloc_top
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = sub i64 %0, %arg1 store i64 %1, i64* @gv_0, align 8 %2 = load i64, i64* @gv_1, align 8 %3 = icmp ult i64 %1, %2 %4 = icmp eq i1 %3, false store i64 %1, i64* %.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC() %6 = load i64, i64* @gv_0, align 8 %7 = sub i64 %6, %arg1 store i64 %7, i64* @gv_0, align 8 store i64 %7, i64* %.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem ret i64 %.reload uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64 1024, { 1, 0 } }
1
BinRealVul
xps_parse_render_transform_10716
xps_parse_render_transform
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.23.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %2 = ptrtoint i64* %sv_1 to i64 %3 = load i32, i32* inttoptr (i64 4202548 to i32*), align 4 %4 = call i128 @FUNC(i32 %3) %5 = call i64 @__asm_movss.1(i128 %4) %6 = trunc i64 %5 to i32 %7 = call i128 @FUNC(i128 %4, i128 %4) %8 = call i64 @__asm_movss.1(i128 %7) %9 = trunc i64 %8 to i32 %10 = call i128 @FUNC(i128 %7, i128 %7) %11 = call i64 @__asm_movss.1(i128 %10) %12 = trunc i64 %11 to i32 %13 = call i128 @FUNC(i32 1065353216) %14 = call i64 @__asm_movss.1(i128 %13) %15 = trunc i64 %14 to i32 %16 = call i128 @FUNC(i128 %13, i128 %13) %17 = call i64 @__asm_movss.1(i128 %16) %18 = trunc i64 %17 to i32 %19 = call i128 @FUNC(i128 %16, i128 %16) %20 = call i64 @__asm_movss.1(i128 %19) %21 = trunc i64 %20 to i32 %22 = add i64 %2, -48 store i64 0, i64* %indvars.iv.reg2mem store i64 %1, i64* %sv_0.23.reg2mem br label LBL_4 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %23 = call i64 @FUNC(i64 %sv_0.23.reload) %24 = call i32 @FUNC(i128 %19) %25 = mul i64 %indvars.iv.reload, 4 %26 = add i64 %22, %25 %27 = inttoptr i64 %26 to i32* store i32 %24, i32* %27, align 4 store i64 %sv_0.23.reload, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %28 = inttoptr i64 %sv_0.0.reload to i8* %29 = load i8, i8* %28, align 1 %30 = icmp ne i8 %29, 0 %31 = icmp eq i8 %29, 44 %32 = icmp eq i1 %31, false %or.cond = icmp eq i1 %30, %32 %33 = add i64 %sv_0.0.reload, 1 store i64 %33, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_3 LBL_3: %spec.select = select i1 %32, i64 %sv_0.0.reload, i64 %33 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %34 = icmp ugt i64 %indvars.iv.reload, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %spec.select, i64* %sv_0.23.reg2mem br i1 %34, label LBL_5, label LBL_4 LBL_4: %sv_0.23.reload = load i64, i64* %sv_0.23.reg2mem %35 = inttoptr i64 %sv_0.23.reload to i8* %36 = load i8, i8* %35, align 1 %37 = icmp eq i8 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_1, label LBL_5 LBL_5: %39 = call i128 @FUNC(i32 %6) %40 = call i64 @__asm_movss.1(i128 %39) %41 = trunc i64 %40 to i32 %42 = bitcast i64* %arg3 to i32* store i32 %41, i32* %42, align 4 %43 = call i128 @FUNC(i32 %9) %44 = call i64 @__asm_movss.1(i128 %43) %45 = add i64 %0, 4 %46 = trunc i64 %44 to i32 %47 = inttoptr i64 %45 to i32* store i32 %46, i32* %47, align 4 %48 = call i128 @FUNC(i32 %12) %49 = call i64 @__asm_movss.1(i128 %48) %50 = add i64 %0, 8 %51 = trunc i64 %49 to i32 %52 = inttoptr i64 %50 to i32* store i32 %51, i32* %52, align 4 %53 = call i128 @FUNC(i32 %15) %54 = call i64 @__asm_movss.1(i128 %53) %55 = add i64 %0, 12 %56 = trunc i64 %54 to i32 %57 = inttoptr i64 %55 to i32* store i32 %56, i32* %57, align 4 %58 = call i128 @FUNC(i32 %18) %59 = call i64 @__asm_movss.1(i128 %58) %60 = add i64 %0, 16 %61 = trunc i64 %59 to i32 %62 = inttoptr i64 %60 to i32* store i32 %61, i32* %62, align 4 %63 = call i128 @FUNC(i32 %21) %64 = call i64 @__asm_movss.1(i128 %63) %65 = add i64 %0, 20 %66 = trunc i64 %64 to i32 %67 = inttoptr i64 %65 to i32* store i32 %66, i32* %67, align 4 ret i64 %0 uselistorder i64 %33, { 1, 0 } uselistorder i1 %32, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 2, 0, 1 } uselistorder i64 %indvars.iv.reload, { 1, 0, 2 } uselistorder i128 %16, { 2, 1, 0 } uselistorder i128 %13, { 2, 1, 0 } uselistorder i128 %7, { 2, 1, 0 } uselistorder i128 %4, { 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i64 4, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
mxf_read_cryptographic_context_17145
mxf_read_cryptographic_context
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i32 %arg4, 16 store i64 4294967295, i64* %storemerge.reg2mem br i1 %0, label LBL_1, label LBL_2 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = ptrtoint i64* %arg2 to i64 %3 = call i64 @FUNC(i64 %2, i64 %1, i64 16) store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
encrypt_callback_9292
encrypt_callback
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %sv_1.03.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %arg3 to i32 %5 = and i64 %arg3, 4294967295 %6 = and i64 %1, 4294967295 %7 = call i64 @FUNC(i64 %6, i64 %5) %8 = trunc i64 %7 to i32 %9 = bitcast i64* %arg1 to i32* store i32 %8, i32* %9, align 4 %10 = icmp eq i32 %4, 64 %11 = icmp eq i1 %10, false br i1 %11, label LBL_1, label LBL_3 LBL_1: %12 = icmp ult i32 %4, 16 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_5, label LBL_2 LBL_2: %13 = udiv i32 %4, 16 %.zext = zext i32 %13 to i64 %14 = add i64 %3, 8 %15 = inttoptr i64 %14 to i64* store i32 0, i32* %sv_1.03.reg2mem store i64 %2, i64* %sv_0.02.reg2mem br label LBL_4 LBL_3: %16 = add i64 %3, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18, i64 %2, i64 %2) store i64 %19, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem %20 = load i64, i64* %15, align 8 %21 = call i64 @FUNC(i64 %20, i64 %sv_0.02.reload, i64 %sv_0.02.reload) %22 = add nuw nsw i32 %sv_1.03.reload, 1 %23 = add i64 %sv_0.02.reload, 16 %exitcond = icmp eq i32 %22, %13 store i32 %22, i32* %sv_1.03.reg2mem store i64 %23, i64* %sv_0.02.reg2mem store i64 %.zext, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 2, 0 } uselistorder i32* %sv_1.03.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64 8, { 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder label LBL_5, { 0, 2, 1 } }
0
BinRealVul
sbi_init_14988
sbi_init
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = mul i64 %indvars.iv.reload, 8 %5 = add i64 %4, %0 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %3, i64 %indvars.iv.reload, i64 %9) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %11 = call i64 @FUNC(i64 %3, i64 0, i64 %arg1) ret i64 %1 uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
1
BinRealVul
rpcrdma_max_reply_header_size_11998
rpcrdma_max_reply_header_size
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = mul i64 %arg1, 64 %1 = or i64 %0, 4 %2 = add nsw i64 %1, 4 %3 = and i64 %2, 4294967240 ret i64 %3 }
1
BinRealVul
xan_decode_chroma_140
xan_decode_chroma
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.19.reg2mem = alloca i64 %sv_1.111.reg2mem = alloca i64 %sv_2.013.reg2mem = alloca i64 %sv_3.015.reg2mem = alloca i64 %storemerge317.reg2mem = alloca i32 %.reg2mem70 = alloca i32 %.reg2mem68 = alloca i32 %.reg2mem66 = alloca i32 %.reg2mem64 = alloca i32 %.reg2mem62 = alloca i32 %.reg2mem60 = alloca i32 %.reg2mem58 = alloca i32 %.reg2mem56 = alloca i32 %storemerge47.reg2mem = alloca i32 %.reg2mem54 = alloca i64 %sv_0.019.reg2mem = alloca i64 %sv_1.021.reg2mem = alloca i64 %storemerge23.reg2mem = alloca i32 %.reg2mem52 = alloca i32 %.reg2mem50 = alloca i8* %.reg2mem48 = alloca i32 %.reg2mem46 = alloca i32 %.reg2mem44 = alloca i8* %.reg2mem42 = alloca i32 %.reg2mem40 = alloca i8* %storemerge218.reg2mem = alloca i32 %.reg2mem38 = alloca i64 %.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %sv_4 = alloca i8*, align 8 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_25 LBL_1: %10 = ptrtoint i64* %arg1 to i64 %11 = add i32 %7, 10 %12 = add i64 %4, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp ult i32 %11, %14 br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %10, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_25 LBL_3: %17 = zext i32 %7 to i64 %18 = add i64 %5, %17 %19 = inttoptr i64 %18 to i8* store i8* %19, i8** %sv_4, align 8 %20 = bitcast i8** %sv_4 to i64* %21 = call i64 @FUNC(i64* nonnull %20) %22 = call i64 @FUNC(i64* nonnull %20) %23 = trunc i64 %22 to i32 %24 = mul i32 %23, 2 %25 = load i8*, i8** %sv_4, align 8 %26 = ptrtoint i8* %25 to i64 %27 = sub i64 %26, %4 %28 = load i32, i32* %13, align 4 %29 = sub i32 %28, %24 %30 = sext i32 %29 to i64 %31 = icmp slt i64 %27, %30 br i1 %31, label LBL_5, label LBL_4 LBL_4: %32 = call i64 @FUNC(i64 %10, i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_25 LBL_5: %33 = add i64 %10, 48 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = add i64 %10, 40 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = inttoptr i64 %38 to i64* %40 = call i64* @memset(i64* %39, i32 0, i32 %35) %41 = load i32, i32* %13, align 4 %42 = sub i32 %41, %24 %43 = load i8*, i8** %sv_4, align 8 %44 = ptrtoint i8* %43 to i64 %45 = trunc i64 %44 to i32 %factor = mul i32 %42, 2 %46 = sub i32 %factor, %45 %47 = zext i32 %46 to i64 %48 = sext i32 %24 to i64 %49 = add i64 %44, %48 %50 = load i32, i32* %34, align 4 %51 = load i64, i64* %37, align 8 %52 = call i64 @FUNC(i64 %51, i32 %50, i64 %49, i64 %47) %53 = trunc i64 %52 to i32 %54 = icmp slt i32 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_7, label LBL_6 LBL_6: %56 = call i64 @FUNC(i64 %10, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %47, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_25 LBL_7: %57 = add i64 %18, 2 %58 = trunc i64 %21 to i32 %59 = add i64 %10, 8 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = add i64 %10, 16 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = load i64, i64* %37, align 8 %66 = inttoptr i64 %65 to i8* store i8* %66, i8** %sv_4, align 8 %67 = icmp eq i32 %58, 0 br i1 %67, label LBL_17, label LBL_8 LBL_8: %68 = add i64 %10, 12 %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %71 = icmp ugt i32 %70, 1 store i64 0, i64* %rax.0.reg2mem br i1 %71, label LBL_9, label LBL_25 LBL_9: %sext = mul i64 %52, 4294967296 %72 = ashr exact i64 %sext, 32 %73 = add i64 %65, %72 %74 = inttoptr i64 %59 to i32* %75 = add i64 %10, 28 %76 = inttoptr i64 %75 to i32* %77 = add i64 %10, 32 %78 = inttoptr i64 %77 to i32* %.pre = load i32, i32* %74, align 4 store i32 %70, i32* %.reg2mem48 store i8* %66, i8** %.reg2mem50 store i32 %.pre, i32* %.reg2mem52 store i32 0, i32* %storemerge23.reg2mem store i64 %64, i64* %sv_1.021.reg2mem store i64 %61, i64* %sv_0.019.reg2mem br label LBL_13.preheader LBL_10: %storemerge218.reload = load i32, i32* %storemerge218.reg2mem %.reload = load i8*, i8** %.reg2mem %79 = ptrtoint i8* %.reload to i64 %80 = add i64 %79, 1 %81 = inttoptr i64 %80 to i8* store i8* %81, i8** %sv_4, align 8 %82 = load i8, i8* %.reload, align 1 %83 = icmp eq i8 %82, 0 store i8* %81, i8** %.reg2mem40 br i1 %83, label LBL_12, label LBL_11 LBL_11: %.reload39 = load i64, i64* %.reg2mem38 %84 = zext i8 %82 to i64 %85 = mul i64 %84, 2 %86 = add i64 %85, %57 %87 = inttoptr i64 %86 to i16* %88 = load i16, i16* %87, align 2 %89 = zext i16 %88 to i32 %90 = udiv i32 %89, 8 %91 = and i32 %90, 248 %92 = udiv i32 %89, 256 %93 = and i32 %92, 248 %94 = udiv i32 %91, 32 %95 = or i32 %94, %91 %96 = add i64 %.reload39, %sv_0.019.reload %97 = trunc i32 %95 to i8 %98 = inttoptr i64 %96 to i8* store i8 %97, i8* %98, align 1 %99 = udiv i32 %89, 8192 %100 = or i32 %93, %99 %101 = add i64 %.reload39, %sv_1.021.reload %102 = trunc i32 %100 to i8 %103 = inttoptr i64 %101 to i8* store i8 %102, i8* %103, align 1 %.pre24 = load i8*, i8** %sv_4, align 8 store i8* %.pre24, i8** %.reg2mem40 br label LBL_12 LBL_12: %.reload41 = load i8*, i8** %.reg2mem40 %104 = ptrtoint i8* %.reload41 to i64 %105 = icmp eq i64 %73, %104 %106 = icmp eq i1 %105, false store i64 0, i64* %rax.0.reg2mem br i1 %106, label LBL_13, label LBL_25 LBL_13: %107 = add i32 %storemerge218.reload, 1 %108 = load i32, i32* %74, align 4 %109 = ashr i32 %108, 1 %110 = zext i32 %109 to i64 %111 = sext i32 %107 to i64 %112 = icmp slt i64 %111, %110 store i8* %.reload41, i8** %.reg2mem store i64 %111, i64* %.reg2mem38 store i32 %107, i32* %storemerge218.reg2mem br i1 %112, label LBL_10, label LBL_13.LBL_15_crit_edge LBL_14: %.pre25 = load i32, i32* %69, align 4 store i32 %.pre25, i32* %.reg2mem42 store i8* %.reload41, i8** %.reg2mem44 store i32 %108, i32* %.reg2mem46 br label LBL_15 LBL_15: %.reload47 = load i32, i32* %.reg2mem46 %.reload45 = load i8*, i8** %.reg2mem44 %.reload43 = load i32, i32* %.reg2mem42 %113 = load i32, i32* %76, align 4 %114 = sext i32 %113 to i64 %115 = add i64 %sv_0.019.reload, %114 %116 = load i32, i32* %78, align 4 %117 = sext i32 %116 to i64 %118 = add i64 %sv_1.021.reload, %117 %119 = add i32 %storemerge23.reload, 1 %120 = ashr i32 %.reload43, 1 %121 = zext i32 %120 to i64 %122 = sext i32 %119 to i64 %123 = icmp slt i64 %122, %121 store i32 %.reload43, i32* %.reg2mem48 store i8* %.reload45, i8** %.reg2mem50 store i32 %.reload47, i32* %.reg2mem52 store i32 %119, i32* %storemerge23.reg2mem store i64 %118, i64* %sv_1.021.reg2mem store i64 %115, i64* %sv_0.019.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %123, label LBL_13.preheader, label LBL_25 LBL_16: %sv_0.019.reload = load i64, i64* %sv_0.019.reg2mem %sv_1.021.reload = load i64, i64* %sv_1.021.reg2mem %storemerge23.reload = load i32, i32* %storemerge23.reg2mem %.reload53 = load i32, i32* %.reg2mem52 %.reload51 = load i8*, i8** %.reg2mem50 %.reload49 = load i32, i32* %.reg2mem48 %124 = icmp ugt i32 %.reload53, 1 store i8* %.reload51, i8** %.reg2mem store i64 0, i64* %.reg2mem38 store i32 0, i32* %storemerge218.reg2mem store i32 %.reload49, i32* %.reg2mem42 store i8* %.reload51, i8** %.reg2mem44 store i32 %.reload53, i32* %.reg2mem46 br i1 %124, label LBL_10, label LBL_15 LBL_17: %125 = add i64 %10, 12 %126 = inttoptr i64 %125 to i32* %127 = load i32, i32* %126, align 4 %128 = icmp ugt i32 %127, 3 store i64 0, i64* %rax.0.reg2mem br i1 %128, label LBL_18, label LBL_25 LBL_18: %129 = add i64 %10, 28 %130 = inttoptr i64 %129 to i32* %131 = add i64 %10, 32 %132 = inttoptr i64 %131 to i32* %133 = load i32, i32* %132, align 4 %134 = sext i32 %133 to i64 %135 = add i64 %64, %134 %136 = load i32, i32* %130, align 4 %137 = sext i32 %136 to i64 %138 = add i64 %61, %137 %139 = inttoptr i64 %59 to i32* %.pre26 = load i32, i32* %139, align 4 store i32 %127, i32* %.reg2mem64 store i32 %133, i32* %.reg2mem66 store i32 %136, i32* %.reg2mem68 store i32 %.pre26, i32* %.reg2mem70 store i32 0, i32* %storemerge317.reg2mem store i64 %135, i64* %sv_3.015.reg2mem store i64 %138, i64* %sv_2.013.reg2mem store i64 %64, i64* %sv_1.111.reg2mem store i64 %61, i64* %sv_0.19.reg2mem br label LBL_24 LBL_19: %storemerge47.reload = load i32, i32* %storemerge47.reg2mem %140 = load i8*, i8** %sv_4, align 8 %141 = ptrtoint i8* %140 to i64 %142 = add i64 %141, 1 %143 = inttoptr i64 %142 to i8* store i8* %143, i8** %sv_4, align 8 %144 = load i8, i8* %140, align 1 %145 = icmp eq i8 %144, 0 br i1 %145, label LBL_21, label LBL_20 LBL_20: %.reload55 = load i64, i64* %.reg2mem54 %146 = zext i8 %144 to i64 %147 = mul i64 %146, 2 %148 = add i64 %147, %57 %149 = inttoptr i64 %148 to i16* %150 = load i16, i16* %149, align 2 %151 = zext i16 %150 to i32 %152 = udiv i32 %151, 8 %153 = and i32 %152, 248 %154 = udiv i32 %151, 256 %155 = and i32 %154, 248 %156 = udiv i32 %153, 32 %157 = or i32 %156, %153 %158 = or i32 %storemerge47.reload, 1 %159 = sext i32 %158 to i64 %160 = add i64 %sv_2.013.reload, %159 %161 = trunc i32 %157 to i8 %162 = inttoptr i64 %160 to i8* store i8 %161, i8* %162, align 1 %163 = add i64 %.reload55, %sv_2.013.reload %164 = inttoptr i64 %163 to i8* store i8 %161, i8* %164, align 1 %165 = add i64 %sv_0.19.reload, %159 %166 = inttoptr i64 %165 to i8* store i8 %161, i8* %166, align 1 %167 = add i64 %.reload55, %sv_0.19.reload %168 = inttoptr i64 %167 to i8* store i8 %161, i8* %168, align 1 %169 = udiv i32 %151, 8192 %170 = or i32 %155, %169 %171 = add i64 %sv_3.015.reload, %159 %172 = trunc i32 %170 to i8 %173 = inttoptr i64 %171 to i8* store i8 %172, i8* %173, align 1 %174 = add i64 %.reload55, %sv_3.015.reload %175 = inttoptr i64 %174 to i8* store i8 %172, i8* %175, align 1 %176 = add i64 %sv_1.111.reload, %159 %177 = inttoptr i64 %176 to i8* store i8 %172, i8* %177, align 1 %178 = add i64 %.reload55, %sv_1.111.reload %179 = inttoptr i64 %178 to i8* store i8 %172, i8* %179, align 1 br label LBL_21 LBL_21: %180 = add i32 %storemerge47.reload, 2 %181 = load i32, i32* %139, align 4 %182 = ashr i32 %181, 1 %183 = zext i32 %182 to i64 %184 = sext i32 %180 to i64 %185 = icmp slt i64 %184, %183 store i64 %184, i64* %.reg2mem54 store i32 %180, i32* %storemerge47.reg2mem br i1 %185, label LBL_19, label LBL_22 LBL_22: %.pre27 = load i32, i32* %130, align 4 %.pre28 = load i32, i32* %132, align 4 %.pre29 = load i32, i32* %126, align 4 store i32 %.pre29, i32* %.reg2mem56 store i32 %.pre28, i32* %.reg2mem58 store i32 %.pre27, i32* %.reg2mem60 store i32 %181, i32* %.reg2mem62 br label LBL_23 LBL_23: %.reload63 = load i32, i32* %.reg2mem62 %.reload61 = load i32, i32* %.reg2mem60 %.reload59 = load i32, i32* %.reg2mem58 %.reload57 = load i32, i32* %.reg2mem56 %186 = mul i32 %.reload61, 2 %187 = sext i32 %186 to i64 %188 = add i64 %sv_0.19.reload, %187 %189 = mul i32 %.reload59, 2 %190 = sext i32 %189 to i64 %191 = add i64 %sv_1.111.reload, %190 %192 = add i64 %sv_2.013.reload, %187 %193 = add i64 %sv_3.015.reload, %190 %194 = add i32 %storemerge317.reload, 1 %195 = ashr i32 %.reload57, 2 %196 = zext i32 %195 to i64 %197 = sext i32 %194 to i64 %198 = icmp slt i64 %197, %196 store i32 %.reload57, i32* %.reg2mem64 store i32 %.reload59, i32* %.reg2mem66 store i32 %.reload61, i32* %.reg2mem68 store i32 %.reload63, i32* %.reg2mem70 store i32 %194, i32* %storemerge317.reg2mem store i64 %193, i64* %sv_3.015.reg2mem store i64 %192, i64* %sv_2.013.reg2mem store i64 %191, i64* %sv_1.111.reg2mem store i64 %188, i64* %sv_0.19.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %198, label LBL_24, label LBL_25 LBL_24: %sv_0.19.reload = load i64, i64* %sv_0.19.reg2mem %sv_1.111.reload = load i64, i64* %sv_1.111.reg2mem %sv_2.013.reload = load i64, i64* %sv_2.013.reg2mem %sv_3.015.reload = load i64, i64* %sv_3.015.reg2mem %storemerge317.reload = load i32, i32* %storemerge317.reg2mem %.reload71 = load i32, i32* %.reg2mem70 %.reload69 = load i32, i32* %.reg2mem68 %.reload67 = load i32, i32* %.reg2mem66 %.reload65 = load i32, i32* %.reg2mem64 %199 = icmp ugt i32 %.reload71, 1 store i64 0, i64* %.reg2mem54 store i32 0, i32* %storemerge47.reg2mem store i32 %.reload65, i32* %.reg2mem56 store i32 %.reload67, i32* %.reg2mem58 store i32 %.reload69, i32* %.reg2mem60 store i32 %.reload71, i32* %.reg2mem62 br i1 %199, label LBL_19, label LBL_23 LBL_25: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload71, { 1, 0 } uselistorder i64 %sv_3.015.reload, { 2, 0, 1 } uselistorder i64 %sv_2.013.reload, { 2, 0, 1 } uselistorder i64 %sv_1.111.reload, { 2, 0, 1 } uselistorder i64 %sv_0.19.reload, { 2, 0, 1 } uselistorder i8 %172, { 1, 0, 2, 3 } uselistorder i8 %161, { 1, 0, 2, 3 } uselistorder i32 %153, { 1, 0 } uselistorder i64 %.reload55, { 3, 2, 1, 0 } uselistorder i32 %storemerge47.reload, { 1, 0 } uselistorder i32* %139, { 1, 0 } uselistorder i8* %.reload51, { 1, 0 } uselistorder i32 %.reload53, { 1, 0 } uselistorder i8* %.reload41, { 0, 2, 1 } uselistorder i32 %91, { 1, 0 } uselistorder i64 %.reload39, { 1, 0 } uselistorder i32* %74, { 1, 0 } uselistorder i64 %64, { 0, 2, 1 } uselistorder i64 %61, { 0, 2, 1 } uselistorder i64 %59, { 1, 0, 2 } uselistorder i64 %10, { 7, 8, 6, 3, 4, 5, 10, 9, 2, 12, 11, 1, 0 } uselistorder i8** %sv_4, { 7, 6, 0, 5, 4, 3, 2, 8, 1 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i8** %.reg2mem, { 1, 2, 0 } uselistorder i64* %.reg2mem38, { 1, 2, 0 } uselistorder i32* %storemerge218.reg2mem, { 1, 2, 0 } uselistorder i8** %.reg2mem40, { 0, 2, 1 } uselistorder i32* %.reg2mem42, { 1, 0, 2 } uselistorder i8** %.reg2mem44, { 1, 0, 2 } uselistorder i32* %.reg2mem46, { 1, 0, 2 } uselistorder i64* %.reg2mem54, { 1, 2, 0 } uselistorder i32* %storemerge47.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem56, { 1, 0, 2 } uselistorder i32* %.reg2mem58, { 1, 0, 2 } uselistorder i32* %.reg2mem60, { 1, 0, 2 } uselistorder i32* %.reg2mem62, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 1, 2, 4, 9, 8, 7, 6 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 32, { 1, 2, 0 } uselistorder i32 2, { 5, 0, 1, 4, 2, 3 } uselistorder i64 (i64*)* @bytestream_get_le16, { 1, 0 } uselistorder i64 4294967295, { 2, 1, 0, 4, 3 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i32 0, { 1, 0, 3, 2, 5, 6, 4, 7 } uselistorder label LBL_25, { 2, 4, 0, 1, 3, 6, 7, 8, 5 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_13.preheader, { 1, 0 } uselistorder label LBL_15, { 1, 0 } }
1
BinRealVul
bdrv_check_1779
bdrv_check
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false %storemerge = select i1 %2, i64 %0, i64 4294967201 ret i64 %storemerge }
0
BinRealVul
mpegts_audio_write_14870
mpegts_audio_write
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i32 %4, %1 %6 = add i64 %0, 12 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp ugt i32 %5, %8 store i64 4294967291, i64* %storemerge.reg2mem br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = sext i32 %4 to i64 %11 = add i64 %10, %0 %12 = inttoptr i64 %11 to i64* %13 = call i64* @memcpy(i64* %12, i64* %arg2, i32 %1) %14 = load i32, i32* %3, align 4 %15 = add i32 %14, %1 store i32 %15, i32* %3, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %4, { 1, 0 } uselistorder i32* %3, { 1, 0, 2 } uselistorder i32 %1, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
flush_tlb_page_13518
flush_tlb_page
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = load i64, i64* @gv_0, align 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, %0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %arg2) br label LBL_4 LBL_3: %12 = call i64 @FUNC() %13 = and i64 %12, 4294967295 %14 = call i64 @FUNC(i64 %13) %15 = call i64 @FUNC() br label LBL_4 LBL_4: %16 = call i64 @FUNC() %17 = call i64 @FUNC(i64 %0) %18 = and i64 %16, 4294967295 %19 = and i64 %17, 4294967295 %20 = call i64 @FUNC(i64 %19, i64 %18) %21 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %22 = zext i32 %21 to i64 %23 = icmp slt i64 %20, %22 br i1 %23, label LBL_5, label LBL_6 LBL_5: %24 = call i64 @FUNC(i64 %0) %25 = and i64 %24, 4294967295 %26 = call i64 @FUNC(i64 %25, i64 %0, i64 %arg2, i64 0) br label LBL_6 LBL_6: %27 = call i64 @FUNC() ret i64 %27 uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64 (i64)* @mm_cpumask, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 3, 0 } uselistorder i64 ()* @smp_processor_id, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
gnutls_session_get_data_11400
gnutls_session_get_data
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i32, i32* %1 %sv_0 = alloca i64, align 8 %4 = trunc i64 %2 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_6 LBL_1: store i64 %arg2, i64* %sv_0, align 8 %7 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0) %8 = trunc i64 %7 to i32 %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC() %12 = and i64 %7, 4294967295 store i64 %12, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %13 = sext i32 %3 to i64 store i64 %13, i64* %arg3, align 8 %14 = icmp eq i64 %arg2, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = load i64, i64* %sv_0, align 8 %16 = inttoptr i64 %arg2 to i64* %17 = inttoptr i64 %15 to i64* %18 = call i64* @memcpy(i64* %16, i64* %17, i32 %3) br label LBL_5 LBL_5: %19 = call i64 @FUNC(i64* nonnull %sv_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* %sv_0, { 0, 2, 1, 3 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_6, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
nfs4_lock_expired_10177
nfs4_lock_expired
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 store i32 0, i32* %sv_0, align 4 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = add i64 %1, 8 br label LBL_3 LBL_2: %6 = and i64 %2, 4294967295 store i64 %6, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %7 = call i64 @FUNC(i64 0, i64 %5) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_6 LBL_4: %10 = call i64 @FUNC(i64 %1, i64 1, i64 %0, i64 0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 1 %13 = icmp eq i1 %12, false %.pre = and i64 %10, 4294967295 store i64 %.pre, i64* %rax.0.reg2mem br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = call i64 @FUNC(i64 %1, i64 %.pre, i32* nonnull %sv_0) %15 = load i32, i32* %sv_0, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 %.pre, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.pre, { 0, 2, 1 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 4 } uselistorder i64 1, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4 } uselistorder label LBL_6, { 2, 0, 1, 3 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
tracing_init_debugfs_percpu_17738
tracing_init_debugfs_percpu
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %3, i64 %arg2) %5 = call i64 @FUNC(i64 %3, i64 %arg2) %6 = icmp eq i64 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = bitcast i64* %sv_0 to i8* %8 = trunc i64 %arg2 to i32 %9 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %7, i32 30, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i32 %8) %10 = call i64 @FUNC(i64* nonnull %sv_0, i64 %5) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0, i64 %5, i64 %arg2, i64 %2, i64 %1) store i64 %13, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %14 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64 292, i64 %10, i64 %3, i64 %arg2, i64* nonnull @gv_3) %15 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 420, i64 %10, i64 %4, i64 %arg2, i64* nonnull @gv_5) %16 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_6, i64 0, i64 0), i64 292, i64 %10, i64 %3, i64 %arg2, i64* nonnull @gv_7) %17 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_8, i64 0, i64 0), i64 292, i64 %10, i64 %4, i64 %arg2, i64* nonnull @gv_9) %18 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_10, i64 0, i64 0), i64 292, i64 %10, i64 %4, i64 %arg2, i64* nonnull @gv_11) %19 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_12, i64 0, i64 0), i64 420, i64 %10, i64 %4, i64 %arg2, i64* nonnull @gv_13) %20 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_14, i64 0, i64 0), i64 292, i64 %10, i64 %3, i64 %arg2, i64* nonnull @gv_15) store i64 %20, 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 %10, { 2, 1, 0, 6, 5, 4, 3, 7 } uselistorder i64 %4, { 0, 3, 2, 1 } uselistorder i64 %3, { 0, 2, 1, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64*)* @trace_create_cpu_file, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 4, 3, 2, 1, 7, 6, 5, 0, 8, 9, 10 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
initOpensslLocks_13184
initOpensslLocks
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64* @malloc(i32 1) %1 = ptrtoint i64* %0 to i64 store i64 %1, i64* @gv_0, align 8 %2 = call i64 @FUNC(i64 %1) ret i64 1 uselistorder i32 1, { 1, 0 } }
1
BinRealVul
evbuffer_add_5744
evbuffer_add
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i64 %.pre-phi7.reg2mem = alloca i64* %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %5, label LBL_16, label LBL_1 LBL_1: %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = sub i64 1024, %8 %10 = icmp ult i64 %9, %arg3 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %10, label LBL_16, label LBL_2 LBL_2: %11 = icmp eq i64* %arg1, null %12 = icmp eq i1 %11, false store i64 %0, i64* %sv_2.0.reg2mem br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %arg3) %14 = icmp eq i64 %13, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %14, label LBL_16, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %0, i64 %13) store i64 %13, i64* %sv_2.0.reg2mem br label LBL_5 LBL_5: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %16 = add i64 %sv_2.0.reload, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = urem i32 %18, 2 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false %.pre = inttoptr i64 %sv_2.0.reload to i64* store i32 0, i32* %sv_1.0.reg2mem br i1 %21, label LBL_10, label LBL_6 LBL_6: %22 = load i64, i64* %.pre, align 8 %23 = add i64 %sv_2.0.reload, 20 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = sext i32 %25 to i64 %27 = sub i64 %22, %26 %28 = add i64 %sv_2.0.reload, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = sub i64 %27, %30 %32 = icmp ult i64 %31, %arg3 br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = add i64 %sv_2.0.reload, 24 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %30, %26 %37 = add i64 %36, %35 %38 = inttoptr i64 %37 to i64* %39 = trunc i64 %arg3 to i32 %40 = call i64* @memcpy(i64* %38, i64* %arg2, i32 %39) %41 = load i64, i64* %29, align 8 %42 = add i64 %41, %arg3 store i64 %42, i64* %29, align 8 %43 = load i64, i64* %7, align 8 %44 = add i64 %43, %arg3 store i64 %44, i64* %7, align 8 %45 = add i64 %0, 16 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = add i64 %47, %arg3 store i64 %48, i64* %46, align 8 br label LBL_15 LBL_8: %49 = trunc i64 %31 to i32 %50 = call i64 @FUNC(i64 %sv_2.0.reload, i64 %arg3) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 store i32 %49, i32* %sv_1.0.reg2mem br i1 %52, label LBL_10, label LBL_9 LBL_9: %53 = call i64 @FUNC(i64 %sv_2.0.reload) %54 = add i64 %sv_2.0.reload, 24 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = load i64, i64* %29, align 8 %58 = add i64 %57, %56 %59 = inttoptr i64 %58 to i64* %60 = trunc i64 %arg3 to i32 %61 = call i64* @memcpy(i64* %59, i64* %arg2, i32 %60) %62 = load i64, i64* %29, align 8 %63 = add i64 %62, %arg3 store i64 %63, i64* %29, align 8 %64 = load i64, i64* %7, align 8 %65 = add i64 %64, %arg3 store i64 %65, i64* %7, align 8 %66 = add i64 %0, 16 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = add i64 %68, %arg3 store i64 %69, i64* %67, align 8 br label LBL_15 LBL_10: %70 = load i64, i64* %.pre, align 8 %71 = icmp ult i64 %70, 129 %72 = zext i1 %71 to i64 %spec.select = shl i64 %70, %72 %73 = icmp ult i64 %spec.select, %arg3 %sv_3.1 = select i1 %73, i64 %arg3, i64 %spec.select %74 = call i64 @FUNC(i64 %sv_3.1) %75 = icmp eq i64 %74, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %75, label LBL_16, label LBL_11 LBL_11: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %76 = icmp eq i32 %sv_1.0.reload, 0 br i1 %76, label LBL_11.LBL_14_crit_edge, label LBL_13 LBL_12: %.pre4 = add i64 %0, 16 %.pre6 = inttoptr i64 %.pre4 to i64* store i64* %.pre6, i64** %.pre-phi7.reg2mem store i64 0, i64* %.pre-phi3.reg2mem br label LBL_14 LBL_13: %77 = add i64 %sv_2.0.reload, 24 %78 = inttoptr i64 %77 to i64* %79 = load i64, i64* %78, align 8 %80 = add i64 %sv_2.0.reload, 20 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = sext i32 %82 to i64 %84 = add i64 %sv_2.0.reload, 8 %85 = inttoptr i64 %84 to i64* %86 = load i64, i64* %85, align 8 %87 = add i64 %79, %83 %88 = add i64 %87, %86 %89 = inttoptr i64 %88 to i64* %90 = call i64* @memcpy(i64* %89, i64* %arg2, i32 %sv_1.0.reload) %91 = load i64, i64* %85, align 8 %92 = sext i32 %sv_1.0.reload to i64 %93 = add i64 %91, %92 store i64 %93, i64* %85, align 8 %94 = load i64, i64* %7, align 8 %95 = add i64 %94, %92 store i64 %95, i64* %7, align 8 %96 = add i64 %0, 16 %97 = inttoptr i64 %96 to i64* %98 = load i64, i64* %97, align 8 %99 = add i64 %98, %92 store i64 %99, i64* %97, align 8 store i64* %97, i64** %.pre-phi7.reg2mem store i64 %92, i64* %.pre-phi3.reg2mem br label LBL_14 LBL_14: %100 = ptrtoint i64* %arg2 to i64 %.pre-phi3.reload = load i64, i64* %.pre-phi3.reg2mem %.pre-phi7.reload = load i64*, i64** %.pre-phi7.reg2mem %101 = add i64 %.pre-phi3.reload, %100 %102 = sub i64 %arg3, %.pre-phi3.reload %103 = add i64 %74, 24 %104 = inttoptr i64 %103 to i64* %105 = load i64, i64* %104, align 8 %106 = inttoptr i64 %105 to i64* %107 = inttoptr i64 %101 to i64* %108 = trunc i64 %102 to i32 %109 = call i64* @memcpy(i64* %106, i64* %107, i32 %108) %110 = add i64 %74, 8 %111 = inttoptr i64 %110 to i64* store i64 %102, i64* %111, align 8 %112 = call i64 @FUNC(i64 %0, i64 %74) %113 = load i64, i64* %.pre-phi7.reload, align 8 %114 = add i64 %113, %102 store i64 %114, i64* %.pre-phi7.reload, align 8 br label LBL_15 LBL_15: %115 = call i64 @FUNC(i64 %0) store i64 0, i64* %sv_0.0.reg2mem br label LBL_16 LBL_16: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64* %85, { 1, 0, 2 } uselistorder i32 %sv_1.0.reload, { 2, 0, 1 } uselistorder i64 %spec.select, { 1, 0 } uselistorder i64 %30, { 1, 0 } uselistorder i64* %29, { 3, 2, 4, 1, 0, 5 } uselistorder i64 %sv_2.0.reload, { 3, 4, 5, 7, 8, 6, 9, 0, 1, 10, 2 } uselistorder i64* %7, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i64 %0, { 6, 7, 5, 1, 4, 3, 2, 0, 8, 9 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1, 4, 5 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 3, 2, 1, 0 } uselistorder i64 16, { 1, 0, 2, 3, 4, 5 } uselistorder i64 (i64, i64)* @evbuffer_chain_insert, { 1, 0 } uselistorder i64 (i64)* @evbuffer_chain_new, { 1, 0 } uselistorder i64* null, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i64 %arg3, { 14, 6, 7, 0, 1, 2, 10, 12, 3, 4, 5, 13, 11, 9, 8 } uselistorder i64* %arg2, { 3, 0, 1, 2 } uselistorder label LBL_16, { 4, 0, 1, 2, 3 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
lan9118_eeprom_cmd_17031
lan9118_eeprom_cmd
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rsi.3.reg2mem = alloca i64 %rdx.6.reg2mem = alloca i64 %rcx.3.reg2mem = alloca i64 %.pre-phi31.reg2mem = alloca i32* %sv_0.0.reg2mem = alloca i64 %rdx.5.reg2mem = alloca i64 %rcx.2.reg2mem = alloca i64 %.pre-phi27.reg2mem = alloca i32* %storemerge10.reg2mem = alloca i64 %rsi.2.reg2mem = alloca i64 %rdx.3.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %.pre-phi23.reg2mem = alloca i32* %rdx.2.reg2mem = alloca i64 %.pre-phi19.reg2mem = alloca i32* %rsi.1.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %.pre-phi13.reg2mem = alloca i32* %.pre-phi15.reg2mem = alloca i32 %rsi.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %7 = ashr exact i64 %sext, 32 %sext2 = mul i64 %arg3, 4294967296 %8 = ashr exact i64 %sext2, 32 %9 = trunc i64 %3 to i32 %10 = and i32 %9, 16 %11 = mul i32 %6, 268435456 %12 = trunc i64 %8 to i32 %13 = or i32 %11, %12 %14 = or i32 %13, %10 %15 = zext i32 %14 to i64 %16 = bitcast i64* %arg1 to i32* store i32 %14, i32* %16, align 4 %17 = and i64 %7, 4294967295 store i64 %17, i64* @0, align 8 %18 = mul i64 %17, 8 %19 = add i64 %18, ptrtoint (i64* @gv_0 to i64) %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %trunc = trunc i64 %7 to i32 store i64 %15, i64* %rdx.0.reg2mem store i64 %arg2, i64* %rsi.0.reg2mem store i64 %21, i64* %rax.0.reg2mem switch i32 %trunc, label LBL_24 [ i32 0, label LBL_6 i32 1, label LBL_7 i32 2, label LBL_0.LBL_8_crit_edge i32 3, label LBL_0.LBL_9_crit_edge i32 4, label LBL_0.LBL_12_crit_edge i32 5, label LBL_0.LBL_17_crit_edge i32 6, label LBL_0.LBL_20_crit_edge i32 7, label LBL_23 ] LBL_1: %.pre = add i64 %5, 520 %.pre12 = inttoptr i64 %.pre to i32* store i32 %14, i32* %.pre-phi15.reg2mem store i32* %.pre12, i32** %.pre-phi13.reg2mem store i64 %15, i64* %rdx.1.reg2mem store i64 %arg2, i64* %rsi.1.reg2mem br label LBL_8 LBL_2: %.pre16 = add i64 %5, 520 %.pre18 = inttoptr i64 %.pre16 to i32* store i32* %.pre18, i32** %.pre-phi19.reg2mem store i64 %15, i64* %rdx.2.reg2mem br label LBL_9 LBL_3: %.pre20 = add i64 %5, 520 %.pre22 = inttoptr i64 %.pre20 to i32* store i32* %.pre22, i32** %.pre-phi23.reg2mem store i64 %15, i64* %rdx.3.reg2mem store i64 %arg2, i64* %rsi.2.reg2mem br label LBL_12 LBL_4: %.pre24 = add i64 %5, 520 %.pre26 = inttoptr i64 %.pre24 to i32* store i32* %.pre26, i32** %.pre-phi27.reg2mem store i64 %15, i64* %rdx.5.reg2mem store i64 %8, i64* %sv_0.0.reg2mem br label LBL_17 LBL_5: %.pre28 = add i64 %5, 520 %.pre30 = inttoptr i64 %.pre28 to i32* store i32* %.pre30, i32** %.pre-phi31.reg2mem store i64 %15, i64* %rdx.6.reg2mem store i64 %arg2, i64* %rsi.3.reg2mem br label LBL_20 LBL_6: %22 = ashr exact i64 %sext2, 30 %23 = add i64 %5, 8 %24 = add i64 %23, %22 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i64 %5, 4 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = zext i32 %26 to i64 %30 = and i64 %8, 4294967295 %31 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %30, i32 %26, i64 %4, i64 %2, i64 %1) store i64 %29, i64* %rdx.0.reg2mem store i64 %30, i64* %rsi.0.reg2mem br label LBL_7 LBL_7: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %32 = add i64 %5, 520 %33 = inttoptr i64 %32 to i32* store i32 0, i32* %33, align 4 %34 = trunc i64 %rdx.0.reload to i32 %35 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i64 %rsi.0.reload, i32 %34, i64 %4, i64 %2, i64 %1) store i32 %34, i32* %.pre-phi15.reg2mem store i32* %33, i32** %.pre-phi13.reg2mem store i64 %rdx.0.reload, i64* %rdx.1.reg2mem store i64 %rsi.0.reload, i64* %rsi.1.reg2mem br label LBL_8 LBL_8: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %.pre-phi13.reload = load i32*, i32** %.pre-phi13.reg2mem %.pre-phi15.reload = load i32, i32* %.pre-phi15.reg2mem store i32 1, i32* %.pre-phi13.reload, align 4 %36 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i64 %rsi.1.reload, i32 %.pre-phi15.reload, i64 %4, i64 %2, i64 %1) store i32* %.pre-phi13.reload, i32** %.pre-phi19.reg2mem store i64 %rdx.1.reload, i64* %rdx.2.reg2mem br label LBL_9 LBL_9: %.pre-phi19.reload = load i32*, i32** %.pre-phi19.reg2mem %37 = load i32, i32* %.pre-phi19.reload, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_11, label LBL_10 LBL_10: %39 = ashr exact i64 %sext2, 30 %40 = add i64 %5, 8 %41 = add i64 %40, %39 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = add i64 %5, 4 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = and i32 %46, %43 %48 = zext i32 %47 to i64 store i32 %47, i32* %42, align 4 %49 = load i32, i32* %45, align 4 %50 = zext i32 %49 to i64 %51 = and i64 %8, 4294967295 %52 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0), i64 %51, i32 %49, i64 %48, i64 %2, i64 %1) store i32* %.pre-phi19.reload, i32** %.pre-phi23.reg2mem store i64 %48, i64* %rcx.0.reg2mem store i64 %50, i64* %rdx.3.reg2mem store i64 %51, i64* %rsi.2.reg2mem br label LBL_12 LBL_11: %rdx.2.reload = load i64, i64* %rdx.2.reg2mem %53 = and i64 %8, 4294967295 %54 = trunc i64 %rdx.2.reload to i32 %55 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0), i64 %53, i32 %54, i64 %4, i64 %2, i64 %1) store i32* %.pre-phi19.reload, i32** %.pre-phi23.reg2mem store i64 %rdx.2.reload, i64* %rdx.3.reg2mem store i64 %53, i64* %rsi.2.reg2mem br label LBL_12 LBL_12: %.pre-phi23.reload = load i32*, i32** %.pre-phi23.reg2mem %56 = load i32, i32* %.pre-phi23.reload, align 4 %57 = icmp eq i32 %56, 0 br i1 %57, label LBL_16, label LBL_13 LBL_13: %58 = add i64 %5, 8 %59 = add i64 %5, 4 %60 = inttoptr i64 %59 to i32* store i64 0, i64* %storemerge10.reg2mem br label LBL_14 LBL_14: %storemerge10.reload = load i64, i64* %storemerge10.reg2mem %61 = mul i64 %storemerge10.reload, 4 %62 = add i64 %58, %61 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = load i32, i32* %60, align 4 %66 = and i32 %65, %64 store i32 %66, i32* %63, align 4 %67 = mul i64 %storemerge10.reload, 4294967296 %sext6 = add i64 %67, 4294967296 %68 = ashr exact i64 %sext6, 32 %69 = trunc i64 %68 to i32 %70 = icmp slt i32 %69, 128 store i64 %68, i64* %storemerge10.reg2mem br i1 %70, label LBL_14, label LBL_15 LBL_15: %71 = zext i32 %66 to i64 %72 = load i32, i32* %60, align 4 %73 = zext i32 %72 to i64 %74 = trunc i64 %storemerge10.reload to i32 %75 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_6, i64 0, i64 0), i64 %73, i32 %74, i64 %71, i64 %2, i64 %1) store i32* %.pre-phi23.reload, i32** %.pre-phi27.reg2mem store i64 %71, i64* %rcx.2.reg2mem store i64 %storemerge10.reload, i64* %rdx.5.reg2mem store i64 %68, i64* %sv_0.0.reg2mem br label LBL_17 LBL_16: %rsi.2.reload = load i64, i64* %rsi.2.reg2mem %rdx.3.reload = load i64, i64* %rdx.3.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %76 = trunc i64 %rdx.3.reload to i32 %77 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_7, i64 0, i64 0), i64 %rsi.2.reload, i32 %76, i64 %rcx.0.reload, i64 %2, i64 %1) store i32* %.pre-phi23.reload, i32** %.pre-phi27.reg2mem store i64 %rcx.0.reload, i64* %rcx.2.reg2mem store i64 %rdx.3.reload, i64* %rdx.5.reg2mem store i64 %8, i64* %sv_0.0.reg2mem br label LBL_17 LBL_17: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %.pre-phi27.reload = load i32*, i32** %.pre-phi27.reg2mem %78 = load i32, i32* %.pre-phi27.reload, align 4 %79 = icmp eq i32 %78, 0 br i1 %79, label LBL_19, label LBL_18 LBL_18: %80 = mul i64 %sv_0.0.reload, 4 %81 = add i64 %5, 8 %82 = add i64 %81, %80 %83 = inttoptr i64 %82 to i32* store i32 255, i32* %83, align 4 %84 = and i64 %sv_0.0.reload, 4294967295 %85 = trunc i64 %sv_0.0.reload to i32 %86 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_8, i64 0, i64 0), i64 %84, i32 %85, i64 %rcx.2.reload, i64 %2, i64 %1) store i32* %.pre-phi27.reload, i32** %.pre-phi31.reg2mem store i64 %rcx.2.reload, i64* %rcx.3.reg2mem store i64 %sv_0.0.reload, i64* %rdx.6.reg2mem store i64 %84, i64* %rsi.3.reg2mem br label LBL_20 LBL_19: %rdx.5.reload = load i64, i64* %rdx.5.reg2mem %87 = and i64 %sv_0.0.reload, 4294967295 %88 = trunc i64 %rdx.5.reload to i32 %89 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_9, i64 0, i64 0), i64 %87, i32 %88, i64 %rcx.2.reload, i64 %2, i64 %1) store i32* %.pre-phi27.reload, i32** %.pre-phi31.reg2mem store i64 %rcx.2.reload, i64* %rcx.3.reg2mem store i64 %rdx.5.reload, i64* %rdx.6.reg2mem store i64 %87, i64* %rsi.3.reg2mem br label LBL_20 LBL_20: %rcx.3.reload = load i64, i64* %rcx.3.reg2mem %.pre-phi31.reload = load i32*, i32** %.pre-phi31.reg2mem %90 = load i32, i32* %.pre-phi31.reload, align 4 %91 = icmp eq i32 %90, 0 br i1 %91, label LBL_22, label LBL_21 LBL_21: %92 = add i64 %5, 8 %93 = inttoptr i64 %92 to i64* %94 = call i64* @memset(i64* %93, i32 255, i32 128) %95 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_10, i64 0, i64 0), i64 255, i32 128, i64 %rcx.3.reload, i64 %2, i64 %1) br label LBL_23 LBL_22: %rsi.3.reload = load i64, i64* %rsi.3.reg2mem %rdx.6.reload = load i64, i64* %rdx.6.reg2mem %96 = trunc i64 %rdx.6.reload to i32 %97 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_11, i64 0, i64 0), i64 %rsi.3.reload, i32 %96, i64 %rcx.3.reload, i64 %2, i64 %1) br label LBL_23 LBL_23: %98 = call i64 @FUNC(i64 %5) store i64 %98, i64* %rax.0.reg2mem br label LBL_24 LBL_24: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %.pre-phi27.reload, { 1, 0, 2 } uselistorder i64 %rcx.2.reload, { 1, 2, 0, 3 } uselistorder i64 %sv_0.0.reload, { 1, 0, 3, 2, 4 } uselistorder i64 %storemerge10.reload, { 0, 1, 3, 2 } uselistorder i32* %.pre-phi23.reload, { 1, 0, 2 } uselistorder i32* %.pre-phi19.reload, { 1, 0, 2 } uselistorder i32 %26, { 1, 0, 2 } uselistorder i64 %8, { 0, 4, 3, 2, 1, 5 } uselistorder i64 %sext2, { 1, 2, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %5, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 0, 1, 2, 3, 4 } uselistorder i64 %2, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32** %.pre-phi23.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rdx.3.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rsi.2.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge10.reg2mem, { 1, 0, 2 } uselistorder i32** %.pre-phi27.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rcx.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.5.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32** %.pre-phi31.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rcx.3.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.6.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rsi.3.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 128, { 1, 2, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @DPRINTF, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 30, { 1, 0 } uselistorder i64 8, { 1, 2, 3, 4, 5, 0 } uselistorder i64 4294967295, { 3, 4, 1, 2, 0, 5 } uselistorder i64 4294967296, { 3, 0, 1, 2 } uselistorder label LBL_20, { 1, 2, 0 } uselistorder label LBL_17, { 1, 2, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
reposvul_c_test
CompositeOperatorToPSDBlendMode_220
CompositeOperatorToPSDBlendMode
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i8* %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = and i64 %0, 4294967295 store i64 %1, i64* @0, align 8 %trunc = trunc i64 %0 to i32 store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem switch i32 %trunc, label LBL_23 [ i32 0, label LBL_24 i32 1, label LBL_1 i32 2, label LBL_2 i32 3, label LBL_3 i32 4, label LBL_4 i32 5, label LBL_5 i32 6, label LBL_6 i32 7, label LBL_7 i32 8, label LBL_8 i32 9, label LBL_9 i32 10, label LBL_10 i32 11, label LBL_11 i32 12, label LBL_12 i32 13, label LBL_13 i32 14, label LBL_14 i32 15, label LBL_15 i32 16, label LBL_16 i32 17, label LBL_17 i32 18, label LBL_18 i32 19, label LBL_19 i32 20, label LBL_20 i32 21, label LBL_21 i32 22, label LBL_22 ] LBL_1: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_2: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_3: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_4: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_5: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_6: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_7: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_8: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_9: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_10: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_10, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_11: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_11, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_12: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_12, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_13: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_13, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_14: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_14, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_15: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_15, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_16: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_16, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_17: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_17, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_18: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_18, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_19: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_19, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_20: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_20, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_21: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_21, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_22: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_22, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_23: store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_16, i64 0, i64 0), i8** %sv_0.0.reg2mem br label LBL_24 LBL_24: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %2 = ptrtoint i8* %sv_0.0.reload to i64 ret i64 %2 uselistorder i64 %0, { 1, 0 } uselistorder i8** %sv_0.0.reg2mem, { 0, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_16, i64 0, i64 0), { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_24, { 23, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 0 } }
0
BinRealVul
add_entry_15019
add_entry
define i64 @FUNC(i64 %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 16 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = add i64 %2, 1 store i64 %3, i64* %1, align 8 %4 = inttoptr i64 %arg1 to i64* %.tr = trunc i64 %3 to i32 %5 = mul i32 %.tr, 8 %6 = add i32 %5, 24 %7 = call i64* @realloc(i64* %4, i32 %6) %8 = ptrtoint i64* %7 to i64 %9 = load i64, i64* %7, align 8 %10 = add i64 %8, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %8, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = mul i64 %15, 8 %17 = add i64 %12, -8 %18 = add i64 %17, %16 %19 = ptrtoint i8* %arg2 to i64 %20 = call i64 @FUNC(i64 %9, i64 %8, i64 %19) %21 = inttoptr i64 %18 to i64* store i64 %20, i64* %21, align 8 %22 = load i64, i64* %11, align 8 %23 = load i64, i64* %14, align 8 %24 = mul i64 %23, 8 %25 = add i64 %22, -8 %26 = add i64 %25, %24 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %28) store i64 %29, i64* %27, align 8 ret i64 %8 }
1
BinRealVul
fd_coroutine_enter_16956
fd_coroutine_enter
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 0) %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7, i64 0) ret i64 %8 }
1
BinRealVul
verify_level_key_4143
verify_level_key
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, %arg3 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 1) %8 = and i64 %4, 4294967295 %9 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_0, i64 0, i64 0), i64 %2, i32 %arg3, i64 %8, i64 %1) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %10 = icmp eq i64* %arg4, null %11 = icmp eq i1 %10, false store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_10 LBL_3: %12 = call i64 @FUNC(i64 %2) %sext = mul i64 %12, 4294967296 %13 = ashr exact i64 %sext, 32 %14 = icmp ugt i64 %13, %2 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_10, label LBL_4 LBL_4: %15 = icmp eq i32 %arg3, 0 br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 0) br label LBL_7 LBL_6: %17 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 0) br label LBL_7 LBL_7: %18 = ptrtoint i64* %arg4 to i64 %19 = call i64 @FUNC(i64 %18, i64* nonnull %sv_0) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_9, label LBL_8 LBL_8: %22 = ptrtoint i64* %sv_0 to i64 %23 = call i64 @FUNC(i64 1) %24 = load i64, i64* %sv_0, align 8 %25 = add i64 %18, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = add i64 %18, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %30 to i64 %32 = trunc i64 %22 to i32 %33 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([97 x i8], [97 x i8]* @gv_1, i64 0, i64 0), i64 %24, i32 %32, i64 %31, i64 %27) br label LBL_9 LBL_9: %34 = and i64 %19, 4294967295 store i64 %34, 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 %18, { 1, 0, 2 } uselistorder i64* %sv_0, { 3, 4, 0, 1, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 2, 4, 3, 0, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64, i8*, i64, i32, i64, i64)* @btrfs_err, { 1, 0 } uselistorder i64 (i64)* @WARN_ON, { 1, 0 } uselistorder i64* %arg4, { 1, 0 } uselistorder label LBL_10, { 2, 0, 1, 3 } }
0
BinRealVul
http_server_8
http_server
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.reg2mem19 = alloca i64* %.reg2mem17 = alloca i64 %.pre-phi.reg2mem = alloca i64 %.reg2mem15 = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32* %sv_0.0.reg2mem = alloca i32* %sv_0.15.reg2mem = alloca i32* %.reg2mem = alloca i32* %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32*, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i32, align 4 %sv_6 = alloca i64, align 8 store i64 %arg1, i64* %sv_6, align 8 %0 = call i32 @socket(i32 2, i32 1, i32 0) %1 = icmp slt i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) br label LBL_40 LBL_2: store i32 1, i32* %sv_5, align 4 %3 = bitcast i32* %sv_5 to i64* %4 = call i32 @setsockopt(i32 %0, i32 1, i32 2, i64* nonnull %3, i32 4) %5 = bitcast i64* %sv_6 to %sockaddr* %6 = call i32 @bind(i32 %0, %sockaddr* nonnull %5, i32 16) %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: call void @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %9 = call i32 @close(i32 %0) br label LBL_40 LBL_4: %10 = call i32 @listen(i32 %0, i32 5) %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_6, label LBL_5 LBL_5: call void @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %13 = call i32 @close(i32 %0) br label LBL_40 LBL_6: %14 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0)) %15 = load i64, i64* @gv_4, align 8 %16 = call i64 @FUNC(i64 %15) %17 = call i32 (i32, i32, ...) @fcntl(i32 %0, i32 4) store i32 0, i32* @gv_5, align 4 store i32* null, i32** @gv_6, align 8 %18 = ptrtoint i64* %sv_4 to i64 %19 = bitcast i64* %sv_4 to i32* %20 = or i64 %18, 4 %21 = inttoptr i64 %20 to i16* %22 = add i64 %18, 8 %23 = inttoptr i64 %22 to i32* %24 = bitcast i32** %sv_3 to i64* %25 = bitcast i64* %sv_4 to %pollfd* %26 = or i64 %18, 6 %27 = inttoptr i64 %26 to i16* %28 = bitcast i64* %sv_1 to %sockaddr* br label LBL_7 LBL_7: store i32 %0, i32* %19, align 8 store i16 1, i16* %21, align 4 %29 = load i32*, i32** @gv_6, align 8 %30 = ptrtoint i32* %29 to i64 store i64 %30, i64* %24, align 8 %31 = icmp eq i32* %29, null %32 = icmp eq i1 %31, false store i32* %23, i32** %sv_0.1.lcssa.reg2mem br i1 %32, label LBL_8, label LBL_19 LBL_8: store i32* %29, i32** %.reg2mem store i32* %23, i32** %sv_0.15.reg2mem br label LBL_9 LBL_9: %sv_0.15.reload = load i32*, i32** %sv_0.15.reg2mem %.reload = load i32*, i32** %.reg2mem %33 = load i32, i32* %.reload, align 4 %34 = ptrtoint i32* %.reload to i64 %35 = add i64 %34, 32 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %37, 6 br i1 %38, label LBL_16, label LBL_10 LBL_10: %39 = icmp sgt i32 %37, 6 br i1 %39, label LBL_17, label LBL_11 LBL_11: switch i32 %37, label LBL_12 [ i32 5, label LBL_15 i32 0, label LBL_13 ] LBL_12: %40 = icmp sgt i32 %37, -1 %41 = add i32 %37, -1 %42 = icmp ult i32 %41, 4 %or.cond = icmp eq i1 %40, %42 br i1 %or.cond, label LBL_14, label LBL_17 LBL_13: %43 = ptrtoint i32* %sv_0.15.reload to i64 %44 = add i64 %34, 24 %45 = inttoptr i64 %44 to i64* store i64 %43, i64* %45, align 8 store i32 %33, i32* %sv_0.15.reload, align 4 %46 = add i64 %43, 4 %47 = inttoptr i64 %46 to i16* store i16 1, i16* %47, align 2 %48 = add i64 %43, 8 %49 = inttoptr i64 %48 to i32* store i32* %49, i32** %sv_0.0.reg2mem br label LBL_18 LBL_14: %50 = ptrtoint i32* %sv_0.15.reload to i64 %51 = add i64 %34, 24 %52 = inttoptr i64 %51 to i64* store i64 %50, i64* %52, align 8 store i32 %33, i32* %sv_0.15.reload, align 4 %53 = add i64 %50, 4 %54 = inttoptr i64 %53 to i16* store i16 4, i16* %54, align 2 %55 = add i64 %50, 8 %56 = inttoptr i64 %55 to i32* store i32* %56, i32** %sv_0.0.reg2mem br label LBL_18 LBL_15: %57 = ptrtoint i32* %sv_0.15.reload to i64 %58 = add i64 %34, 24 %59 = inttoptr i64 %58 to i64* store i64 %57, i64* %59, align 8 store i32 %33, i32* %sv_0.15.reload, align 4 %60 = add i64 %57, 4 %61 = inttoptr i64 %60 to i16* store i16 1, i16* %61, align 2 %62 = add i64 %57, 8 %63 = inttoptr i64 %62 to i32* store i32* %63, i32** %sv_0.0.reg2mem br label LBL_18 LBL_16: %64 = ptrtoint i32* %sv_0.15.reload to i64 %65 = add i64 %34, 24 %66 = inttoptr i64 %65 to i64* store i64 %64, i64* %66, align 8 store i32 %33, i32* %sv_0.15.reload, align 4 %67 = add i64 %64, 4 %68 = inttoptr i64 %67 to i16* store i16 1, i16* %68, align 2 %69 = add i64 %64, 8 %70 = inttoptr i64 %69 to i32* store i32* %70, i32** %sv_0.0.reg2mem br label LBL_18 LBL_17: %71 = add i64 %34, 24 %72 = inttoptr i64 %71 to i64* store i64 0, i64* %72, align 8 store i32* %sv_0.15.reload, i32** %sv_0.0.reg2mem br label LBL_18 LBL_18: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %73 = load i32*, i32** %sv_3, align 8 %74 = ptrtoint i32* %73 to i64 %75 = add i64 %74, 40 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = inttoptr i64 %77 to i32* store i32* %78, i32** %sv_3, align 8 %79 = icmp eq i64 %77, 0 %80 = icmp eq i1 %79, false store i32* %78, i32** %.reg2mem store i32* %sv_0.0.reload, i32** %sv_0.15.reg2mem store i32* %sv_0.0.reload, i32** %sv_0.1.lcssa.reg2mem br i1 %80, label LBL_9, label LBL_19 LBL_19: %sv_0.1.lcssa.reload = load i32*, i32** %sv_0.1.lcssa.reg2mem %81 = ptrtoint i32* %sv_0.1.lcssa.reload to i64 %82 = sub i64 %81, %18 %83 = udiv i64 %82, 8 %84 = trunc i64 %83 to i32 br label LBL_20 LBL_20: %85 = call i32 @poll(%pollfd* nonnull %25, i32 %84, i32 1000) %86 = icmp eq i32 %85, -1 br i1 %86, label LBL_20, label LBL_21 LBL_21: %87 = call i64 @FUNC() %88 = load i32*, i32** @gv_6, align 8 %89 = ptrtoint i32* %88 to i64 %90 = icmp eq i32* %88, null %91 = icmp eq i1 %90, false store i64 %89, i64* %.reg2mem17 store i64* bitcast (i32** @gv_6 to i64*), i64** %.reg2mem19 br i1 %91, label LBL_22.lr.ph, label LBL_28 LBL_22: %.reload16 = load i64, i64* %.reg2mem15 %92 = inttoptr i64 %.reload16 to i32* store i32* %92, i32** %sv_3, align 8 %93 = call i64 @FUNC(i64 %.reload16, i64 %87) %94 = trunc i64 %93 to i32 %95 = icmp slt i32 %94, 0 %96 = icmp eq i1 %95, false %97 = load i32*, i32** %sv_3, align 8 %98 = ptrtoint i32* %97 to i64 br i1 %96, label LBL_26, label LBL_23 LBL_23: %99 = call i64 @FUNC(i64 %98) %100 = load i32*, i32** %sv_3, align 8 %101 = load i32, i32* %100, align 4 %102 = call i32 @close(i32 %101) %103 = load i32*, i32** %sv_3, align 8 %104 = ptrtoint i32* %103 to i64 %105 = add i64 %104, 112 %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = icmp eq i64 %107, 0 store i64 %104, i64* %.pre-phi.reg2mem br i1 %108, label LBL_25, label LBL_24 LBL_24: %109 = call i64 @FUNC(i64 %107) %.pre = load i32*, i32** %sv_3, align 8 %.pre10 = ptrtoint i32* %.pre to i64 store i64 %.pre10, i64* %.pre-phi.reg2mem br label LBL_25 LBL_25: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %110 = add i64 %.pre-phi.reload, 40 %111 = inttoptr i64 %110 to i64* %112 = load i64, i64* %111, align 8 store i64 %112, i64* %.reload20, align 8 %113 = load i64, i64* @gv_7, align 8 %114 = load i32*, i32** %sv_3, align 8 %115 = ptrtoint i32* %114 to i64 %116 = add i64 %115, 96 %117 = inttoptr i64 %116 to i32* %118 = load i32, i32* %117, align 4 %119 = sext i32 %118 to i64 %120 = sub i64 %113, %119 store i64 %120, i64* @gv_7, align 8 %121 = add i64 %115, 48 %122 = inttoptr i64 %121 to i64* %123 = load i64, i64* %122, align 8 %124 = call i64 @FUNC(i64 %123) %125 = load i32*, i32** %sv_3, align 8 %126 = ptrtoint i32* %125 to i64 %127 = add i64 %126, 56 %128 = inttoptr i64 %127 to i64* %129 = load i64, i64* %128, align 8 %130 = call i64 @FUNC(i64 %129) %131 = load i32*, i32** %sv_3, align 8 %132 = ptrtoint i32* %131 to i64 %133 = call i64 @FUNC(i64 %132) %134 = load i32, i32* @gv_5, align 4 %135 = add i32 %134, -1 store i32 %135, i32* @gv_5, align 4 %136 = load i64, i64* %.reload20, align 8 %137 = icmp eq i64 %136, 0 %138 = icmp eq i1 %137, false store i64 %136, i64* %.reg2mem15 br i1 %138, label LBL_22, label LBL_28 LBL_26: %139 = add i64 %98, 40 %140 = inttoptr i64 %139 to i64* %141 = load i64, i64* %140, align 8 %142 = icmp eq i64 %141, 0 %143 = icmp eq i1 %142, false store i64 %141, i64* %.reg2mem17 store i64* %140, i64** %.reg2mem19 br i1 %143, label LBL_22.lr.ph, label LBL_28 LBL_27: %.reload20 = load i64*, i64** %.reg2mem19 %.reload18 = load i64, i64* %.reg2mem17 store i64 %.reload18, i64* %.reg2mem15 br label LBL_22 LBL_28: %144 = load i16, i16* %27, align 2 %145 = urem i16 %144, 2 %146 = icmp eq i16 %145, 0 br i1 %146, label LBL_39, label LBL_29 LBL_29: store i32 16, i32* %sv_2, align 4 %147 = call i32 @accept(i32 %0, %sockaddr* nonnull %28, i32* nonnull %sv_2) %148 = icmp slt i32 %147, 0 br i1 %148, label LBL_39, label LBL_30 LBL_30: %149 = call i32 (i32, i32, ...) @fcntl(i32 %147, i32 4) %150 = load i32, i32* @gv_5, align 4 %151 = load i32, i32* inttoptr (i64 4210836 to i32*), align 4 %152 = icmp ult i32 %150, %151 br i1 %152, label LBL_32, label LBL_31 LBL_31: store i32* null, i32** %sv_3, align 8 br label LBL_37 LBL_32: %153 = call i64 @FUNC(i64 120) %154 = inttoptr i64 %153 to i32* store i32* %154, i32** %sv_3, align 8 %155 = icmp eq i64 %153, 0 br i1 %155, label LBL_37, label LBL_33 LBL_33: %156 = load i32*, i32** @gv_6, align 8 %157 = ptrtoint i32* %156 to i64 %158 = add i64 %153, 40 %159 = inttoptr i64 %158 to i64* store i64 %157, i64* %159, align 8 %160 = load i32*, i32** %sv_3, align 8 %161 = ptrtoint i32* %160 to i64 store i64 %161, i64* bitcast (i32** @gv_6 to i64*), align 8 store i32 %147, i32* %160, align 4 %162 = load i32*, i32** %sv_3, align 8 %163 = ptrtoint i32* %162 to i64 %164 = add i64 %163, 24 %165 = inttoptr i64 %164 to i64* store i64 0, i64* %165, align 8 %166 = load i32*, i32** %sv_3, align 8 %167 = ptrtoint i32* %166 to i64 %168 = load i64, i64* %sv_1, align 8 %169 = add i64 %167, 4 %170 = inttoptr i64 %169 to i64* store i64 %168, i64* %170, align 8 %171 = add i64 %167, 12 %172 = inttoptr i64 %171 to i64* %173 = load i32*, i32** %sv_3, align 8 %174 = ptrtoint i32* %173 to i64 %175 = add i64 %174, 32 %176 = inttoptr i64 %175 to i32* store i32 0, i32* %176, align 4 %177 = load i32*, i32** %sv_3, align 8 %178 = ptrtoint i32* %177 to i64 %179 = add i64 %178, 100 %180 = inttoptr i64 %179 to i32* store i32 4096, i32* %180, align 4 %181 = load i32*, i32** %sv_3, align 8 %182 = ptrtoint i32* %181 to i64 %183 = call i64 @FUNC(i64 4096) %184 = add i64 %182, 48 %185 = inttoptr i64 %184 to i64* store i64 %183, i64* %185, align 8 %186 = load i32*, i32** %sv_3, align 8 %187 = ptrtoint i32* %186 to i64 %188 = add i64 %187, 104 %189 = inttoptr i64 %188 to i32* store i32 4096, i32* %189, align 4 %190 = load i32*, i32** %sv_3, align 8 %191 = ptrtoint i32* %190 to i64 %192 = call i64 @FUNC(i64 4096) %193 = add i64 %191, 56 %194 = inttoptr i64 %193 to i64* store i64 %192, i64* %194, align 8 %195 = load i32*, i32** %sv_3, align 8 %196 = ptrtoint i32* %195 to i64 %197 = add i64 %196, 48 %198 = inttoptr i64 %197 to i64* %199 = load i64, i64* %198, align 8 %200 = icmp eq i64 %199, 0 br i1 %200, label LBL_35, label LBL_34 LBL_34: %201 = add i64 %196, 56 %202 = inttoptr i64 %201 to i64* %203 = load i64, i64* %202, align 8 %204 = icmp eq i64 %203, 0 %205 = icmp eq i1 %204, false br i1 %205, label LBL_36, label LBL_35 LBL_35: %206 = call i64 @FUNC(i64 %199) %207 = load i32*, i32** %sv_3, align 8 %208 = ptrtoint i32* %207 to i64 %209 = add i64 %208, 56 %210 = inttoptr i64 %209 to i64* %211 = load i64, i64* %210, align 8 %212 = call i64 @FUNC(i64 %211) %213 = call i64 @FUNC(i64* nonnull %24) br label LBL_37 LBL_36: %214 = add i64 %196, 64 %215 = inttoptr i64 %214 to i64* store i64 %199, i64* %215, align 8 %216 = load i32*, i32** %sv_3, align 8 %217 = ptrtoint i32* %216 to i64 %218 = add i64 %217, 48 %219 = inttoptr i64 %218 to i64* %220 = load i64, i64* %219, align 8 %221 = add i64 %217, 100 %222 = inttoptr i64 %221 to i32* %223 = load i32, i32* %222, align 4 %224 = sext i32 %223 to i64 %225 = add i64 %220, %224 %226 = add i64 %217, 72 %227 = inttoptr i64 %226 to i64* store i64 %225, i64* %227, align 8 %228 = load i32*, i32** %sv_3, align 8 %229 = ptrtoint i32* %228 to i64 %230 = add i64 %87, 30000 %231 = add i64 %229, 80 %232 = inttoptr i64 %231 to i64* store i64 %230, i64* %232, align 8 %233 = load i32*, i32** %sv_3, align 8 %234 = ptrtoint i32* %233 to i64 %235 = add i64 %234, 88 %236 = inttoptr i64 %235 to i64* store i64 %87, i64* %236, align 8 store i32 ptrtoint (i32* @gv_8 to i32), i32* @gv_5, align 4 br label LBL_37 LBL_37: %237 = load i32*, i32** %sv_3, align 8 %238 = icmp eq i32* %237, null %239 = icmp eq i1 %238, false br i1 %239, label LBL_39, label LBL_38 LBL_38: %240 = call i32 @close(i32 %147) br label LBL_39 LBL_39: br label LBL_7 LBL_40: ret i64 4294967295 uselistorder i64 %199, { 1, 0, 2 } uselistorder i32 %147, { 1, 0, 2, 3 } uselistorder i64 %98, { 1, 0 } uselistorder i64 %.reload16, { 1, 0 } uselistorder i32 %37, { 2, 0, 1, 3, 4 } uselistorder i64 %34, { 0, 4, 3, 1, 2, 5 } uselistorder i32 %33, { 3, 2, 0, 1 } uselistorder i32* %sv_0.15.reload, { 0, 7, 8, 5, 6, 1, 2, 3, 4 } uselistorder i32* %23, { 1, 0 } uselistorder i64 %18, { 1, 0, 3, 2 } uselistorder i32 %0, { 2, 3, 4, 1, 5, 0, 7, 6, 8 } uselistorder i32** %sv_3, { 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 0, 13, 12, 10, 9, 8, 1, 7, 6, 11, 5, 4, 3, 2 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i32** %.reg2mem, { 2, 0, 1 } uselistorder i32** %sv_0.15.reg2mem, { 2, 0, 1 } uselistorder i32** %sv_0.0.reg2mem, { 0, 4, 5, 3, 1, 2 } uselistorder i64* %.reg2mem15, { 2, 1, 0 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem17, { 0, 2, 1 } uselistorder i64** %.reg2mem19, { 0, 2, 1 } uselistorder i64 (i64)* @av_malloc, { 1, 0 } uselistorder i64 (i64)* @av_free, { 4, 3, 2, 1, 0 } uselistorder i64* bitcast (i32** @gv_6 to i64*), { 1, 0 } uselistorder i32 -1, { 2, 3, 1, 0 } uselistorder i32 6, { 1, 0 } uselistorder i64 4, { 1, 2, 3, 4, 5, 0 } uselistorder i32** @gv_6, { 4, 2, 0, 1, 3 } uselistorder i32* null, { 2, 3, 0, 1, 4, 5, 6 } uselistorder i32* @gv_5, { 4, 3, 2, 1, 0 } uselistorder i32 (i32, i32, ...)* @fcntl, { 1, 0 } uselistorder i32 (i32)* @close, { 3, 2, 1, 0 } uselistorder i32 4, { 1, 0, 2, 3 } uselistorder void (i8*)* @perror, { 2, 1, 0 } uselistorder i64 0, { 17, 18, 19, 20, 2, 22, 21, 1, 23, 3, 4, 5, 6, 7, 8, 9, 10, 24, 0, 11, 12, 13, 14, 15, 16 } uselistorder i1 false, { 3, 4, 1, 6, 5, 0, 7, 2, 8, 9, 10 } uselistorder label LBL_22.lr.ph, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
dd_load_text_ext_13162
dd_load_text_ext
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i8* %arg2 to i64 %1 = and i64 %arg3, 4294967295 %2 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false %5 = select i1 %4, i64 %0, i64 ptrtoint ([15 x i8]* @gv_1 to i64) %6 = call i64 @FUNC(i64 %0, i64 %5) %7 = call i64 @FUNC(i64 %6, i64 %1) %8 = inttoptr i64 %6 to i64* call void @free(i64* %8) ret i64 %7 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
get_kobj_path_length_4589
get_kobj_path_length
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 store i32 1, i32* %sv_1.0.reg2mem store i64 %0, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %1 = call i64 @FUNC(i64 %sv_0.0.reload) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_2, label LBL_4 LBL_2: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %4 = call i64 @FUNC(i64 %sv_0.0.reload) %5 = inttoptr i64 %4 to i8* %6 = call i32 @strlen(i8* %5) %7 = add i32 %sv_1.0.reload, 1 %8 = add i32 %7, %6 %9 = add i64 %sv_0.0.reload, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i32 %8, i32* %sv_1.0.reg2mem store i64 %11, i64* %sv_0.0.reg2mem br i1 %13, label LBL_1, label LBL_3 LBL_3: %14 = zext i32 %8 to i64 store i64 %14, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %8, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 2, 1, 0 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kobject_name, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ff_set_fixed_vector_17293
ff_set_fixed_vector
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i32 %.reg2mem = alloca i64 %rsi = alloca i64, align 8 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = call i64 @FUNC(i128 %3) %5 = trunc i64 %2 to i32 %6 = and i64 %2, 4294967295 %7 = icmp eq i32 %5, 0 store i64 %6, i64* %.lcssa.reg2mem br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %9 = trunc i64 %4 to i32 %10 = bitcast i64* %rsi to i32* %11 = ptrtoint i32* %arg2 to i64 %12 = add i64 %11, 8 %13 = inttoptr i64 %12 to i64* %14 = add i64 %11, 16 %15 = inttoptr i64 %14 to i32* %16 = add i64 %11, 24 %17 = inttoptr i64 %16 to i64* %18 = add i64 %11, 32 %19 = inttoptr i64 %18 to i32* %20 = add i64 %11, 36 %21 = inttoptr i64 %20 to i32* %22 = trunc i64 %arg3 to i32 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge4.reg2mem br label LBL_2 LBL_2: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload = load i64, i64* %.reg2mem %23 = load i64, i64* %13, align 8 %24 = mul i64 %.reload, 4 %25 = add i64 %23, %24 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = load i32, i32* %15, align 4 %29 = urem i32 %storemerge4.reload, 32 %30 = shl i32 1, %29 %31 = and i32 %28, %30 %32 = icmp eq i32 %31, 0 %33 = load i64, i64* %17, align 8 %34 = add i64 %33, %24 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = call i128 @__asm_movss.1(i32 %36) %38 = call i128 @__asm_movss.1(i32 %9) %39 = call i128 @FUNC(i128 %37, i128 %38) %40 = call i64 @FUNC(i128 %39) %41 = icmp eq i1 %32, false %42 = icmp eq i1 %41, false store i32 %27, i32* %sv_1.0.reg2mem store i64 %40, i64* %sv_0.0.in.reg2mem br label LBL_3 LBL_3: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %43 = sext i32 %sv_1.0.reload to i64 %44 = mul i64 %43, 4 %45 = add i64 %44, %8 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = call i128 @__asm_movss.1(i32 %47) %49 = call i128 @FUNC(i128 %48, i32 %sv_0.0) %50 = call i64 @FUNC(i128 %49) %51 = trunc i64 %50 to i32 store i32 %51, i32* %46, align 4 %52 = load i32, i32* %19, align 4 %53 = call i128 @__asm_movss.1(i32 %52) %54 = call i128 @__asm_movss.1(i32 %sv_0.0) %55 = call i128 @FUNC(i128 %53, i128 %54) %56 = call i64 @FUNC(i128 %55) %57 = load i32, i32* %21, align 4 %58 = add i32 %57, %sv_1.0.reload %59 = icmp slt i32 %58, %22 %or.cond = icmp eq i1 %42, %59 store i32 %58, i32* %sv_1.0.reg2mem store i64 %56, i64* %sv_0.0.in.reg2mem br i1 %or.cond, label LBL_3, label LBL_4 LBL_4: %60 = add i32 %storemerge4.reload, 1 %61 = load i32, i32* %10, align 8 %62 = zext i32 %61 to i64 %63 = sext i32 %60 to i64 %64 = icmp slt i64 %63, %62 store i64 %63, i64* %.reg2mem store i32 %60, i32* %storemerge4.reg2mem store i64 %62, i64* %.lcssa.reg2mem br i1 %64, label LBL_2, label LBL_5 LBL_5: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32 %sv_0.0, { 1, 0 } uselistorder i32 %sv_1.0.reload, { 1, 0 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.in.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
dns_packet_is_reply_for_4531
dns_packet_is_reply_for
define i64 @FUNC(i64* %arg1, i64* %arg2) 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: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = icmp eq i64* %arg2, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 36, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 1 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_9 LBL_5: %8 = call i64 @FUNC(i64 %4) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_7, label LBL_6 LBL_6: %12 = and i64 %8, 4294967295 store i64 %12, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %13 = trunc i64 %4 to i32 %14 = icmp eq i32 %13, 1 %or.cond = icmp eq i1 %1, %14 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_8, label LBL_9 LBL_8: %15 = ptrtoint i64* %arg2 to i64 %16 = add i64 %4, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 %15) store i64 %21, 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 %4, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i64 0, { 0, 1, 7, 8, 9, 10, 11, 12, 2, 3, 4, 5, 6, 13 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 2, 0, 3, 1 } }
0
BinRealVul
gdb_set_avr_reg_2952
gdb_set_avr_reg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg3 to i32 %3 = icmp sgt i32 %2, 31 br i1 %3, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %4 = call i64 @FUNC(i64 %0) %5 = ashr exact i64 %sext, 28 %6 = add i64 %5, %1 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* store i64 %4, i64* %8, align 8 %9 = add i64 %0, 8 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %6 to i64* store i64 %10, i64* %11, align 8 store i64 16, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %12 = icmp eq i32 %2, 32 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %0) %15 = trunc i64 %14 to i32 %16 = add i64 %1, 544 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 store i64 4, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %18 = icmp eq i32 %2, 33 %19 = icmp eq i1 %18, false store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %0) %21 = and i64 %20, 4294967295 %22 = add i64 %1, 552 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 store i64 4, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %2, { 1, 0, 2 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64 %0, { 3, 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 4, { 1, 0 } uselistorder i64 (i64)* @ldl_p, { 1, 0 } uselistorder i64 (i64)* @ldq_p, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2, 3 } }
0
BinRealVul
doc_ecc_decode_18328
doc_ecc_decode
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %sv_0.2.lcssa.reg2mem = alloca i8 %.pre-phi.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i8 %sv_0.0.reg2mem = alloca i8 %sv_0.217.reg2mem = alloca i8 %indvars.iv.reg2mem = alloca i64 %indvars.iv25.reg2mem = alloca i64 %indvars.iv28.reg2mem = alloca i64 %indvars.iv31.reg2mem = alloca i64 %indvars.iv34.reg2mem = alloca i64 %0 = ptrtoint i32* %arg3 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %1 = ptrtoint i64* %sv_2 to i64 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = add i64 %0, 5 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = zext i8 %7 to i16 %9 = mul i16 %8, 256 %10 = and i16 %9, 768 %11 = zext i8 %4 to i16 %12 = or i16 %10, %11 %13 = add i64 %0, 1 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = add i64 %1, -82 store i64 0, i64* %indvars.iv34.reg2mem br label LBL_1 LBL_1: %indvars.iv34.reload = load i64, i64* %indvars.iv34.reg2mem %17 = mul i64 %indvars.iv34.reload, 2 %18 = add i64 %17, %16 %19 = inttoptr i64 %18 to i16* store i16 %12, i16* %19, align 2 %indvars.iv.next35 = add nuw nsw i64 %indvars.iv34.reload, 1 %exitcond36 = icmp eq i64 %indvars.iv.next35, 4 store i64 %indvars.iv.next35, i64* %indvars.iv34.reg2mem br i1 %exitcond36, label LBL_2, label LBL_1 LBL_2: %20 = ptrtoint i64* %arg2 to i64 %21 = ptrtoint i64* %arg1 to i64 %22 = add i64 %1, -72 %23 = add i64 %21, 512 store i64 1, i64* %indvars.iv31.reg2mem br label LBL_3 LBL_3: %indvars.iv31.reload = load i64, i64* %indvars.iv31.reg2mem %24 = mul i64 %indvars.iv31.reload, 2 %25 = add nuw nsw i64 %22, %24 %26 = inttoptr i64 %25 to i16* %27 = load i16, i16* %26, align 2 %28 = icmp eq i16 %27, 0 br i1 %28, label LBL_6, label LBL_4 LBL_4: %29 = zext i16 %27 to i64 %30 = mul i64 %29, 2 %31 = add i64 %30, %23 %32 = inttoptr i64 %31 to i16* %33 = load i16, i16* %32, align 2 %34 = zext i16 %33 to i64 store i64 0, i64* %indvars.iv28.reg2mem br label LBL_5 LBL_5: %indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem %35 = mul nuw nsw i64 %indvars.iv28.reload, %indvars.iv31.reload %36 = add nuw nsw i64 %35, %34 %37 = call i64 @FUNC(i64 %21, i64 %36) %sext = mul i64 %37, 4294967296 %38 = ashr exact i64 %sext, 31 %39 = add i64 %38, %21 %40 = inttoptr i64 %39 to i16* %41 = load i16, i16* %40, align 2 %42 = mul i64 %indvars.iv28.reload, 2 %43 = add i64 %42, %16 %44 = inttoptr i64 %43 to i16* %45 = load i16, i16* %44, align 2 %46 = xor i16 %45, %41 store i16 %46, i16* %44, align 2 %indvars.iv.next29 = add nuw nsw i64 %indvars.iv28.reload, 1 %exitcond30 = icmp eq i64 %indvars.iv.next29, 4 store i64 %indvars.iv.next29, i64* %indvars.iv28.reg2mem br i1 %exitcond30, label LBL_6, label LBL_5 LBL_6: %indvars.iv.next32 = add nuw nsw i64 %indvars.iv31.reload, 1 %exitcond33 = icmp eq i64 %indvars.iv.next32, 4 store i64 %indvars.iv.next32, i64* %indvars.iv31.reg2mem br i1 %exitcond33, label LBL_7, label LBL_3 LBL_7: %47 = add i64 %1, -120 store i64 0, i64* %indvars.iv25.reg2mem br label LBL_8 LBL_8: %indvars.iv25.reload = load i64, i64* %indvars.iv25.reg2mem %48 = mul i64 %indvars.iv25.reload, 2 %49 = add nuw nsw i64 %47, %48 %50 = inttoptr i64 %49 to i16* %51 = load i16, i16* %50, align 2 %52 = icmp eq i16 %51, 0 br i1 %52, label LBL_10, label LBL_9 LBL_9: %53 = add i64 %48, %16 %54 = inttoptr i64 %53 to i16* %55 = load i16, i16* %54, align 2 %56 = zext i16 %55 to i64 %57 = mul i64 %56, 2 %58 = add i64 %57, %23 %59 = inttoptr i64 %58 to i16* %60 = load i16, i16* %59, align 2 %61 = zext i16 %60 to i64 %62 = sub nuw nsw i64 255, %indvars.iv25.reload %63 = add i64 %62, %61 %64 = and i64 %63, 4294967295 %65 = call i64 @FUNC(i64 %21, i64 %64) %66 = trunc i64 %65 to i16 store i16 %66, i16* %50, align 2 br label LBL_10 LBL_10: %indvars.iv.next26 = add nuw nsw i64 %indvars.iv25.reload, 1 %exitcond27 = icmp eq i64 %indvars.iv.next26, 4 store i64 %indvars.iv.next26, i64* %indvars.iv25.reg2mem br i1 %exitcond27, label LBL_11, label LBL_8 LBL_11: %67 = call i64 @FUNC(i64 %21, i64 0, i64 0, i64 1019, i64* nonnull %sv_1, i64 0) %68 = trunc i64 %67 to i32 %69 = icmp slt i32 %68, 0 %70 = icmp eq i1 %69, false br i1 %70, label LBL_12, label LBL_15 LBL_12: %71 = icmp sgt i32 %68, 0 br i1 %71, label LBL_14, label LBL_12.LBL_24_crit_edge LBL_13: %.pre = and i64 %67, 4294967295 store i64 %.pre, i64* %.pre-phi.reg2mem store i8 %15, i8* %sv_0.2.lcssa.reg2mem br label LBL_24 LBL_14: %72 = add i64 %1, -64 %73 = add i64 %1, -112 %wide.trip.count = and i64 %67, 4294967295 store i64 0, i64* %indvars.iv.reg2mem store i8 %15, i8* %sv_0.217.reg2mem br label LBL_16 LBL_15: %74 = and i64 %67, 4294967295 ret i64 %74 LBL_16: %sv_0.217.reload = load i8, i8* %sv_0.217.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %75 = mul i64 %indvars.iv.reload, 4 %76 = add i64 %72, %75 %77 = inttoptr i64 %76 to i32* %78 = load i32, i32* %77, align 4 %79 = sub i32 1015, %78 %80 = icmp sgt i32 %79, 222 store i8 %sv_0.217.reload, i8* %sv_0.1.reg2mem br i1 %80, label LBL_23, label LBL_17 LBL_17: %81 = sub i32 222, %79 %82 = mul i32 %81, 10 %83 = add i32 %82, -6 %84 = ashr i32 %83, 3 %85 = xor i32 %84, 1 %86 = icmp ugt i32 %85, 255 %87 = icmp eq i32 %85, 257 %88 = icmp eq i1 %87, false %or.cond = icmp eq i1 %86, %88 store i8 %sv_0.217.reload, i8* %sv_0.0.reg2mem br i1 %or.cond, label LBL_20, label LBL_18 LBL_18: %89 = and i32 %83, 6 %90 = mul i64 %indvars.iv.reload, 2 %91 = add i64 %90, %73 %92 = inttoptr i64 %91 to i16* %93 = load i16, i16* %92, align 2 %94 = add nuw nsw i32 %89, 2 %95 = zext i16 %93 to i32 %96 = lshr i32 %95, %94 %97 = trunc i32 %96 to i8 %98 = xor i8 %sv_0.217.reload, %97 %99 = icmp sgt i32 %85, 255 store i8 %98, i8* %sv_0.0.reg2mem br i1 %99, label LBL_20, label LBL_19 LBL_19: %100 = sext i32 %85 to i64 %101 = add i64 %100, %20 %102 = inttoptr i64 %101 to i8* %103 = load i8, i8* %102, align 1 %104 = xor i8 %103, %97 store i8 %104, i8* %102, align 1 store i8 %98, i8* %sv_0.0.reg2mem br label LBL_20 LBL_20: %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %105 = add nsw i32 %84, 1 %106 = xor i32 %105, 1 %107 = icmp ugt i32 %106, 255 %108 = icmp eq i32 %106, 257 %109 = icmp eq i1 %108, false %or.cond16 = icmp eq i1 %107, %109 store i8 %sv_0.0.reload, i8* %sv_0.1.reg2mem br i1 %or.cond16, label LBL_23, label LBL_21 LBL_21: %110 = add i32 %82, 4 %111 = and i32 %110, 6 %112 = icmp eq i32 %111, 0 %113 = mul i64 %indvars.iv.reload, 2 %114 = add i64 %113, %73 %115 = inttoptr i64 %114 to i16* %116 = load i16, i16* %115, align 2 %117 = trunc i16 %116 to i8 %.op = sub nsw i32 8, %111 %118 = icmp eq i32 %.op, 0 %119 = or i1 %112, %118 %120 = zext i16 %116 to i32 %121 = shl i32 %120, %.op %122 = trunc i32 %121 to i8 %rdx.1 = select i1 %119, i8 %117, i8 %122 %123 = xor i8 %rdx.1, %sv_0.0.reload %124 = icmp sgt i32 %106, 255 store i8 %123, i8* %sv_0.1.reg2mem br i1 %124, label LBL_23, label LBL_22 LBL_22: %125 = sext i32 %106 to i64 %126 = add i64 %125, %20 %127 = inttoptr i64 %126 to i8* %128 = load i8, i8* %127, align 1 %129 = xor i8 %128, %rdx.1 store i8 %129, i8* %127, align 1 store i8 %123, i8* %sv_0.1.reg2mem br label LBL_23 LBL_23: %sv_0.1.reload = load i8, i8* %sv_0.1.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i8 %sv_0.1.reload, i8* %sv_0.217.reg2mem store i64 %wide.trip.count, i64* %.pre-phi.reg2mem store i8 %sv_0.1.reload, i8* %sv_0.2.lcssa.reg2mem br i1 %exitcond, label LBL_24, label LBL_16 LBL_24: %sv_0.2.lcssa.reload = load i8, i8* %sv_0.2.lcssa.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %130 = icmp eq i8 %sv_0.2.lcssa.reload, 0 %131 = icmp eq i1 %130, false %spec.select = select i1 %131, i64 4294967295, i64 %.pre-phi.reload ret i64 %spec.select uselistorder i32 %.op, { 1, 0 } uselistorder i16 %116, { 1, 0 } uselistorder i32 %106, { 3, 2, 1, 0 } uselistorder i8 %sv_0.0.reload, { 1, 0 } uselistorder i8 %97, { 1, 0 } uselistorder i32 %85, { 3, 2, 1, 0 } uselistorder i32 %79, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 } uselistorder i8 %sv_0.217.reload, { 2, 1, 0 } uselistorder i64 %67, { 2, 1, 0, 3 } uselistorder i64 %48, { 1, 0 } uselistorder i64 %indvars.iv28.reload, { 0, 2, 1 } uselistorder i64 %21, { 2, 3, 0, 4, 1 } uselistorder i8 %15, { 1, 0 } uselistorder i64 %1, { 1, 2, 0, 3, 4 } uselistorder i64* %indvars.iv34.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv31.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv28.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv25.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i8* %sv_0.217.reg2mem, { 1, 0, 2 } uselistorder i8* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i8* %sv_0.1.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i32 255, { 2, 0, 3, 1 } uselistorder i32 222, { 1, 0 } uselistorder i1 false, { 2, 0, 1, 3 } uselistorder i64 4294967296, { 0, 2, 1 } uselistorder i64 (i64, i64)* @rs_modnn, { 1, 0 } uselistorder i64 4, { 0, 4, 2, 3, 1, 5 } uselistorder label LBL_23, { 2, 3, 0, 1 } uselistorder label LBL_20, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
kvm_arch_release_virq_post_14098
kvm_arch_release_virq_post
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge4.reg2mem = alloca i32* %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = trunc i64 %0 to i32 store i32* bitcast (i32** @gv_0 to i32*), i32** %storemerge4.reg2mem br label LBL_3 LBL_1: %2 = add i64 %19, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 store i64 %4, i64* %18, align 8 br label LBL_5 LBL_2: %5 = ptrtoint i32* %storemerge4.reload to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i32* %10 = icmp eq i64 %8, 0 store i32* %9, i32** %storemerge4.reg2mem br i1 %10, label LBL_5, label LBL_3 LBL_3: %storemerge4.reload = load i32*, i32** %storemerge4.reg2mem %11 = load i32, i32* %storemerge4.reload, align 4 %12 = icmp eq i32 %11, %1 %13 = icmp eq i1 %12, false br i1 %13, label LBL_2, label LBL_4 LBL_4: %14 = and i64 %0, 4294967295 %15 = call i64 @FUNC(i64 %14) %16 = ptrtoint i32* %storemerge4.reload to i64 %17 = add i64 %16, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_5, label LBL_1 LBL_5: ret i64 0 uselistorder i64 %19, { 1, 0 } uselistorder i64* %18, { 1, 0 } uselistorder i32* %storemerge4.reload, { 2, 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
vbe_ioport_write_data_7700
vbe_ioport_write_data
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8 %.pre-phi3.reg2mem = alloca i32* %.pre-phi7.reg2mem = alloca i32* %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp ult i32 %2, 17 store i64 %3, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_22 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = trunc i64 %arg3 to i32 %7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i32 %2, i32 %6) %8 = icmp eq i32 %2, 8 br i1 %8, label LBL_11, label LBL_2 LBL_2: %9 = icmp ult i32 %2, 9 store i64 %3, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_22 LBL_3: %10 = icmp eq i32 %2, 7 br i1 %10, label LBL_10, label LBL_4 LBL_4: %11 = icmp ult i32 %2, 8 store i64 %3, i64* %rax.0.reg2mem br i1 %11, label LBL_5, label LBL_22 LBL_5: %12 = icmp eq i32 %2, 0 br i1 %12, label LBL_7, label LBL_6 LBL_6: %13 = add i32 %2, -1 %14 = zext i32 %13 to i64 %15 = icmp ult i32 %13, 6 store i64 %14, i64* %rax.0.reg2mem br i1 %15, label LBL_9, label LBL_22 LBL_7: %switch = icmp ugt i32 %6, 3 %16 = icmp eq i32 %6, 4 %17 = icmp eq i1 %16, false %or.cond = icmp eq i1 %switch, %17 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_22, label LBL_8 LBL_8: %18 = mul i64 %3, 4 %19 = add i64 %5, 4 %20 = add i64 %19, %18 %21 = inttoptr i64 %20 to i32* store i32 %6, i32* %21, align 4 store i64 %5, i64* %rax.0.reg2mem br label LBL_22 LBL_9: %22 = mul i64 %3, 4 %23 = add i64 %5, 4 %24 = add i64 %23, %22 %25 = inttoptr i64 %24 to i32* store i32 %6, i32* %25, align 4 %26 = call i64 @FUNC(i64 %5) store i64 %26, i64* %rax.0.reg2mem br label LBL_22 LBL_10: %27 = add i64 %5, 16 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, 4 %31 = icmp eq i1 %30, false %32 = add i64 %5, 68 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = udiv i32 %34, 4 %.pn = select i1 %31, i32 %34, i32 %35 %storemerge = and i32 %.pn, %6 %36 = mul i64 %3, 4 %37 = add i64 %5, 4 %38 = add i64 %37, %36 %39 = inttoptr i64 %38 to i32* store i32 %storemerge, i32* %39, align 4 %40 = mul i32 %storemerge, 65536 %41 = add i64 %5, 72 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 %43 = call i64 @FUNC(i64 %5) store i64 %43, i64* %rax.0.reg2mem br label LBL_22 LBL_11: %44 = urem i64 %arg3, 2 %45 = icmp eq i64 %44, 0 br i1 %45, label LBL_20, label LBL_12 LBL_12: %46 = add i64 %5, 36 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = urem i32 %48, 2 %50 = icmp eq i32 %49, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_20, label LBL_13 LBL_13: %52 = add i64 %5, 20 %53 = inttoptr i64 %52 to i32* store i32 0, i32* %53, align 4 %54 = add i64 %5, 24 %55 = inttoptr i64 %54 to i32* store i32 0, i32* %55, align 4 %56 = add i64 %5, 28 %57 = inttoptr i64 %56 to i32* store i32 0, i32* %57, align 4 %58 = load i32, i32* %47, align 4 %59 = or i32 %58, 1 store i32 %59, i32* %47, align 4 %60 = call i64 @FUNC(i64 %5) %61 = and i64 %arg3, 2 %62 = icmp eq i64 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_13.LBL_16_crit_edge, label LBL_15 LBL_14: %.pre = add i64 %5, 88 %.pre2 = inttoptr i64 %.pre to i32* %.pre4 = add i64 %5, 12 %.pre6 = inttoptr i64 %.pre4 to i32* store i32* %.pre6, i32** %.pre-phi7.reg2mem store i32* %.pre2, i32** %.pre-phi3.reg2mem br label LBL_16 LBL_15: %64 = add i64 %5, 12 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = add i64 %5, 88 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = mul i32 %69, %66 %71 = add i64 %5, 80 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = inttoptr i64 %73 to i64* %75 = call i64* @memset(i64* %74, i32 0, i32 %70) store i32* %65, i32** %.pre-phi7.reg2mem store i32* %68, i32** %.pre-phi3.reg2mem br label LBL_16 LBL_16: %.pre-phi3.reload = load i32*, i32** %.pre-phi3.reg2mem %.pre-phi7.reload = load i32*, i32** %.pre-phi7.reg2mem %76 = add i64 %5, 92 %77 = inttoptr i64 %76 to i8* %78 = load i8, i8* %77, align 1 %79 = and i8 %78, -15 %80 = or i8 %79, 6 store i8 %80, i8* %77, align 1 %81 = add i64 %5, 110 %82 = inttoptr i64 %81 to i8* %83 = load i8, i8* %82, align 1 %84 = or i8 %83, 3 store i8 %84, i8* %82, align 1 %85 = load i32, i32* %.pre-phi3.reload, align 4 %86 = udiv i32 %85, 8 %87 = trunc i32 %86 to i8 %88 = add i64 %5, 111 %89 = inttoptr i64 %88 to i8* store i8 %87, i8* %89, align 1 %90 = add i64 %5, 8 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = udiv i32 %92, 8 %94 = trunc i32 %93 to i8 %95 = add i8 %94, -1 %96 = add i64 %5, 112 %97 = inttoptr i64 %96 to i8* store i8 %95, i8* %97, align 1 %98 = load i32, i32* %.pre-phi7.reload, align 4 %99 = add i32 %98, -1 %100 = trunc i32 %99 to i8 %101 = add i64 %5, 113 %102 = inttoptr i64 %101 to i8* store i8 %100, i8* %102, align 1 %103 = add i64 %5, 114 %104 = inttoptr i64 %103 to i8* %105 = load i8, i8* %104, align 1 %106 = and i8 %105, -67 %107 = udiv i32 %99, 128 %108 = and i32 %107, 2 %109 = udiv i32 %99, 8 %110 = and i32 %109, 64 %111 = or i32 %110, %108 %112 = trunc i32 %111 to i8 %113 = or i8 %106, %112 store i8 %113, i8* %104, align 1 %114 = add i64 %5, 115 %115 = inttoptr i64 %114 to i8* store i8 -1, i8* %115, align 1 %116 = load i8, i8* %104, align 1 %117 = or i8 %116, 16 store i8 %117, i8* %104, align 1 %118 = add i64 %5, 116 %119 = inttoptr i64 %118 to i8* %120 = load i8, i8* %119, align 1 %121 = or i8 %120, 64 store i8 %121, i8* %119, align 1 %122 = add i64 %5, 16 %123 = inttoptr i64 %122 to i32* %124 = load i32, i32* %123, align 4 %125 = icmp eq i32 %124, 4 %126 = icmp eq i1 %125, false br i1 %126, label LBL_18, label LBL_17 LBL_17: %127 = add i64 %5, 133 %128 = inttoptr i64 %127 to i8* %129 = load i8, i8* %128, align 1 %130 = and i8 %129, -9 store i8 %130, i8* %128, align 1 store i8 0, i8* %sv_0.0.reg2mem br label LBL_19 LBL_18: %131 = add i64 %5, 134 %132 = inttoptr i64 %131 to i8* %133 = load i8, i8* %132, align 1 %134 = or i8 %133, 11 store i8 %134, i8* %132, align 1 %135 = add i64 %5, 126 %136 = inttoptr i64 %135 to i8* %137 = load i8, i8* %136, align 1 %138 = or i8 %137, 12 store i8 %138, i8* %136, align 1 store i8 64, i8* %sv_0.0.reg2mem br label LBL_19 LBL_19: %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %139 = add i64 %5, 93 %140 = inttoptr i64 %139 to i8* %141 = load i8, i8* %140, align 1 %142 = and i8 %141, -97 %143 = or i8 %142, %sv_0.0.reload store i8 %143, i8* %140, align 1 %144 = load i8, i8* %119, align 1 %145 = and i8 %144, 96 store i8 %145, i8* %119, align 1 br label LBL_21 LBL_20: %146 = add i64 %5, 72 %147 = inttoptr i64 %146 to i32* store i32 0, i32* %147, align 4 br label LBL_21 LBL_21: %148 = bitcast i64* %rdi to i32* %149 = and i64 %arg3, 4 %150 = icmp eq i64 %149, 0 %151 = icmp eq i1 %150, false %152 = zext i1 %151 to i8 %153 = add i64 %5, 140 %154 = inttoptr i64 %153 to i8* store i8 %152, i8* %154, align 1 %155 = load i32, i32* %148, align 8 %156 = zext i32 %155 to i64 %157 = mul i64 %156, 4 %158 = add i64 %5, 4 %159 = add i64 %158, %157 %160 = inttoptr i64 %159 to i32* store i32 %6, i32* %160, align 4 %161 = call i64 @FUNC(i64 %5) store i64 %161, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %119, { 1, 0, 2, 3 } uselistorder i8* %104, { 1, 0, 2, 3 } uselistorder i32* %47, { 1, 0, 2 } uselistorder i32 %34, { 1, 0 } uselistorder i32 %13, { 1, 0 } uselistorder i32 %6, { 5, 0, 2, 3, 4, 1, 6 } uselistorder i64 %5, { 33, 34, 35, 36, 15, 16, 17, 14, 18, 19, 20, 21, 22, 24, 23, 25, 26, 27, 13, 12, 11, 1, 2, 28, 29, 30, 32, 31, 6, 7, 8, 10, 9, 3, 4, 0, 5 } uselistorder i64 %3, { 3, 4, 5, 2, 1, 0 } uselistorder i32 %2, { 1, 2, 3, 4, 5, 6, 7, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i8* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 6, 7, 1, 5, 4, 3, 2 } uselistorder i8 -1, { 1, 0 } uselistorder i64 12, { 1, 0 } uselistorder i64 88, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 (i64)* @vga_update_memory_access, { 1, 0 } uselistorder i64 (i64)* @vbe_fixup_regs, { 1, 0 } uselistorder i64 4, { 5, 0, 4, 6, 1, 7, 2, 8, 3 } uselistorder i32 4, { 2, 0, 3, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i32 0, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64 %arg3, { 2, 3, 0, 1 } uselistorder label LBL_22, { 6, 7, 8, 1, 0, 4, 3, 2, 5 } uselistorder label LBL_16, { 1, 0 } }
1
BinRealVul
ipv6_update_options_11437
ipv6_update_options
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 %9 = icmp eq i32* %arg2, null %or.cond = or i1 %9, %8 br i1 %or.cond, label LBL_4, label LBL_1 LBL_1: %10 = trunc i64 %1 to i32 %11 = urem i32 %10, 32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_4, label %13 LBL_2: %15 = call i64 @FUNC(i64 %3) %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 2130706433 br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = trunc i64 %2 to i32 %20 = call i64 @FUNC(i64 %3) %21 = ptrtoint i32* %arg2 to i64 %22 = add i64 %21, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i32 %24, %19 %26 = inttoptr i64 %20 to i32* store i32 %25, i32* %26, align 4 br label LBL_4 LBL_4: %27 = call i64 @FUNC(i64 %3) %28 = add i64 %27, 8 %29 = ptrtoint i32* %arg2 to i64 %30 = call i64 @FUNC(i64 %28, i64 %29) %31 = call i64 @FUNC(i64 %3) ret i64 %30 uselistorder i32 %11, { 1, 0 } uselistorder i64 %3, { 2, 3, 0, 1, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i32* %arg2, { 1, 0, 2 } uselistorder label LBL_4, { 1, 2, 3, 0, 4 } }
1
BinRealVul
clear_context_7447
clear_context
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv9.reg2mem = alloca i64 %indvars.iv6.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64* @memset(i64* %arg1, i32 0, i32 8) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = call i64* @memset(i64* %3, i32 0, i32 8) %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i64* %7 = call i64* @memset(i64* %6, i32 0, i32 8) %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i64* %10 = call i64* @memset(i64* %9, i32 0, i32 8) %11 = add i64 %0, 32 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i64* %15 = call i64* @memset(i64* %14, i32 0, i32 8) %16 = add i64 %0, 40 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 %18 = add i64 %0, 48 %19 = inttoptr i64 %18 to i64* store i64 0, i64* %19, align 8 %20 = add i64 %0, 72 %21 = inttoptr i64 %20 to i64* store i64 0, i64* %21, align 8 %22 = add i64 %0, 80 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %23, align 8 %24 = add i64 %0, 88 %25 = inttoptr i64 %24 to i64* store i64 0, i64* %25, align 8 %26 = add i64 %0, 96 %27 = inttoptr i64 %26 to i64* %28 = call i64* @memset(i64* %27, i32 0, i32 16) %29 = add i64 %0, 112 %30 = inttoptr i64 %29 to i64* store i64 0, i64* %30, align 8 %31 = add i64 %0, 136 %32 = inttoptr i64 %31 to i64* store i64 0, i64* %32, align 8 %33 = add i64 %0, 128 %34 = inttoptr i64 %33 to i64* store i64 0, i64* %34, align 8 %35 = add i64 %0, 120 %36 = inttoptr i64 %35 to i64* store i64 0, i64* %36, align 8 %37 = add i64 %0, 144 %38 = inttoptr i64 %37 to i64* store i64 0, i64* %38, align 8 %39 = add i64 %0, 56 %40 = inttoptr i64 %39 to i64* store i64 0, i64* %40, align 8 %41 = add i64 %0, 168 %42 = inttoptr i64 %41 to i64* store i64 0, i64* %42, align 8 %43 = add i64 %0, 160 %44 = inttoptr i64 %43 to i64* store i64 0, i64* %44, align 8 %45 = add i64 %0, 152 %46 = inttoptr i64 %45 to i64* store i64 0, i64* %46, align 8 %47 = add i64 %0, 64 %48 = inttoptr i64 %47 to i64* store i64 0, i64* %48, align 8 %49 = add i64 %0, 176 %50 = inttoptr i64 %49 to i64* store i64 0, i64* %50, align 8 %51 = add i64 %0, 184 %52 = inttoptr i64 %51 to i64* store i64 0, i64* %52, align 8 %53 = add i64 %0, 192 %54 = inttoptr i64 %53 to i64* store i64 0, i64* %54, align 8 %55 = add i64 %0, 200 %56 = inttoptr i64 %55 to i64* store i64 0, i64* %56, align 8 %57 = add i64 %0, 208 %58 = inttoptr i64 %57 to i64* store i64 0, i64* %58, align 8 %59 = add i64 %0, 216 %60 = inttoptr i64 %59 to i64* store i64 0, i64* %60, align 8 %61 = add i64 %0, 224 %62 = inttoptr i64 %61 to i64* store i64 0, i64* %62, align 8 %63 = add i64 %0, 232 %64 = inttoptr i64 %63 to i64* store i64 0, i64* %64, align 8 %65 = add i64 %0, 240 %66 = inttoptr i64 %65 to i64* store i64 0, i64* %66, align 8 %67 = add i64 %0, 248 %68 = inttoptr i64 %67 to i64* store i64 0, i64* %68, align 8 %69 = add i64 %0, 256 %70 = inttoptr i64 %69 to i64* store i64 0, i64* %70, align 8 %71 = add i64 %0, 264 %72 = inttoptr i64 %71 to i64* store i64 0, i64* %72, align 8 %73 = add i64 %0, 272 %74 = inttoptr i64 %73 to i64* store i64 0, i64* %74, align 8 %75 = add i64 %0, 280 %76 = inttoptr i64 %75 to i64* store i64 0, i64* %76, align 8 %77 = add i64 %0, 288 %78 = inttoptr i64 %77 to i64* store i64 0, i64* %78, align 8 %79 = add i64 %0, 296 %80 = inttoptr i64 %79 to i64* store i64 0, i64* %80, align 8 %81 = add i64 %0, 304 %82 = inttoptr i64 %81 to i64* store i64 0, i64* %82, align 8 %83 = add i64 %0, 312 %84 = inttoptr i64 %83 to i64* store i64 0, i64* %84, align 8 %85 = add i64 %0, 544 store i64 0, i64* %indvars.iv9.reg2mem br label LBL_5 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %86 = add nuw nsw i64 %indvars.iv.reload, %102 %87 = mul i64 %86, 8 %88 = add i64 %87, %0 %89 = add i64 %88, 320 %90 = inttoptr i64 %89 to i64* store i64 0, i64* %90, align 8 %91 = add i64 %88, 384 %92 = inttoptr i64 %91 to i64* store i64 0, i64* %92, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 2 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %93 = mul i64 %101, 8 %94 = add i64 %93, %0 %95 = add i64 %94, 448 %96 = inttoptr i64 %95 to i64* store i64 0, i64* %96, align 8 %97 = add i64 %94, 480 %98 = inttoptr i64 %97 to i64* store i64 0, i64* %98, align 8 %99 = add i64 %94, 512 %100 = inttoptr i64 %99 to i64* store i64 0, i64* %100, align 8 %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1 %exitcond8 = icmp eq i64 %indvars.iv.next7, 2 store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem br i1 %exitcond8, label LBL_4, label LBL_3 LBL_3: %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem %101 = add nuw nsw i64 %indvars.iv6.reload, %106 %102 = mul i64 %101, 2 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_4: %103 = mul i64 %indvars.iv9.reload, 8 %104 = add i64 %85, %103 %105 = inttoptr i64 %104 to i64* store i64 0, i64* %105, align 8 %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1 %exitcond11 = icmp eq i64 %indvars.iv.next10, 2 store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem br i1 %exitcond11, label LBL_6, label LBL_5 LBL_5: %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem %106 = mul i64 %indvars.iv9.reload, 2 store i64 0, i64* %indvars.iv6.reg2mem br label LBL_3 LBL_6: %107 = add i64 %0, 560 %108 = inttoptr i64 %107 to i64* store i64 0, i64* %108, align 8 %109 = add i64 %0, 568 %110 = inttoptr i64 %109 to i64* store i64 0, i64* %110, align 8 %111 = add i64 %0, 576 %112 = inttoptr i64 %111 to i64* store i64 0, i64* %112, align 8 %113 = add i64 %0, 584 %114 = inttoptr i64 %113 to i64* store i64 0, i64* %114, align 8 %115 = add i64 %0, 592 %116 = inttoptr i64 %115 to i64* store i64 0, i64* %116, align 8 %117 = add i64 %0, 600 %118 = inttoptr i64 %117 to i64* store i64 0, i64* %118, align 8 %119 = add i64 %0, 608 %120 = inttoptr i64 %119 to i64* store i64 0, i64* %120, align 8 %121 = add i64 %0, 616 %122 = inttoptr i64 %121 to i64* store i64 0, i64* %122, align 8 %123 = add i64 %0, 624 %124 = inttoptr i64 %123 to i64* store i64 0, i64* %124, align 8 %125 = add i64 %0, 632 %126 = inttoptr i64 %125 to i64* store i64 0, i64* %126, align 8 %127 = add i64 %0, 640 %128 = inttoptr i64 %127 to i64* store i64 0, i64* %128, align 8 %129 = add i64 %0, 648 %130 = inttoptr i64 %129 to i64* store i64 0, i64* %130, align 8 ret i64 %0 uselistorder i64 %indvars.iv9.reload, { 2, 1, 0 } uselistorder i64 %indvars.iv6.reload, { 1, 0 } uselistorder i64 %0, { 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 1, 2, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv6.reg2mem, { 2, 0, 1 } uselistorder i64 2, { 0, 2, 1, 3, 4 } uselistorder i64* (i64*, i32, i32)* @memset, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
formUpdateBuffer_7609
formUpdateBuffer
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %sv_2.115.reg2mem = alloca i64 %sv_1.216.reg2mem = alloca i32 %sv_0.117.reg2mem = alloca i32 %sv_3.418.reg2mem = alloca i64 %sv_4.020.reg2mem = alloca i32 %sv_3.3.reg2mem = alloca i64 %sv_3.2.reg2mem = alloca i64 %sv_3.122.reg2mem = alloca i64 %sv_5.123.reg2mem = alloca i32 %sv_3.025.reg2mem = alloca i64 %sv_5.026.reg2mem = alloca i32 %rsi.0.reg2mem = alloca i64 %storemerge13237.reg2mem = alloca i32 %sv_1.03039.reg2mem = alloca i32 %sv_1.0293435.reg2mem = alloca i32 %storemerge1313336.reg2mem = alloca i32 %1 = load i64, i64* %0 %rdx = alloca i64, align 8 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %sv_8 = alloca i64, align 8 %6 = call i64 @FUNC(i64* nonnull %sv_7, i64 %4) %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %4, i64 %7) %9 = trunc i64 %2 to i32 %10 = add i32 %9, -1 %11 = icmp ult i32 %10, 7 %12 = add i64 %5, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 br i1 %11, label LBL_1, label LBL_2 LBL_1: %15 = add i64 %5, 12 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %9, 7 br i1 %18, label LBL_10, label LBL_3 LBL_2: %19 = add i32 %14, 1 %20 = add i64 %5, 12 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i32 %22, -1 %24 = icmp sgt i32 %9, 7 store i32 %23, i32* %storemerge1313336.reg2mem store i32 %19, i32* %sv_1.0293435.reg2mem br i1 %24, label LBL_31, label LBL_4 LBL_3: %25 = icmp sgt i32 %9, 4 store i32 %17, i32* %storemerge1313336.reg2mem store i32 %14, i32* %sv_1.0293435.reg2mem br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = icmp eq i32 %9, 0 %27 = icmp slt i32 %9, 0 %28 = icmp eq i1 %27, false %29 = icmp eq i1 %26, false %30 = icmp eq i1 %28, %29 br i1 %30, label LBL_11, label LBL_31 LBL_5: %31 = trunc i64 %1 to i32 %32 = add i32 %9, -5 %33 = icmp ugt i32 %32, 1 %34 = icmp eq i32 %31, 0 %or.cond = or i1 %34, %33 br i1 %or.cond, label LBL_31, label LBL_6 LBL_6: %35 = add nuw nsw i64 %7, 8 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = zext i32 %37 to i64 %39 = sext i32 %14 to i64 %40 = icmp sge i64 %39, %38 %41 = icmp slt i32 %14, 0 %or.cond4 = or i1 %41, %40 br i1 %or.cond4, label LBL_31, label LBL_7 LBL_7: %42 = add i64 %3, 24 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %44, 0 %46 = add nsw i64 %7, %39 %47 = inttoptr i64 %46 to i8* br i1 %45, label LBL_9, label LBL_8 LBL_8: store i8 42, i8* %47, align 1 br label LBL_31 LBL_9: store i8 32, i8* %47, align 1 br label LBL_31 LBL_10: %48 = add i64 %3, 16 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 store i64 %52, i64* %sv_6, align 8 %53 = add i64 %3, 28 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = zext i32 %55 to i64 %57 = call i64 @FUNC(i64 %3, i64 %56) store i32 %14, i32* %sv_1.03039.reg2mem store i32 %17, i32* %storemerge13237.reg2mem store i64 %56, i64* %rsi.0.reg2mem br label LBL_13 LBL_11: %58 = add i64 %3, 8 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = icmp eq i64 %60, 0 br i1 %61, label LBL_31, label LBL_12 LBL_12: %sv_1.0293435.reload = load i32, i32* %sv_1.0293435.reg2mem %storemerge1313336.reload = load i32, i32* %storemerge1313336.reg2mem %62 = inttoptr i64 %60 to i64* %63 = load i64, i64* %62, align 8 store i64 %63, i64* %sv_6, align 8 store i32 %sv_1.0293435.reload, i32* %sv_1.03039.reg2mem store i32 %storemerge1313336.reload, i32* %storemerge13237.reg2mem store i64 %7, i64* %rsi.0.reg2mem br label LBL_13 LBL_13: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %64 = icmp eq i64 %rsi.0.reload, 0 br i1 %64, label LBL_31, label LBL_14 LBL_14: %storemerge13237.reload = load i32, i32* %storemerge13237.reg2mem %sv_1.03039.reload = load i32, i32* %sv_1.03039.reg2mem %65 = icmp eq i32 %9, 1 %66 = icmp eq i1 %65, false store i64 %rsi.0.reload, i64* %sv_3.3.reg2mem br i1 %66, label LBL_20, label LBL_15 LBL_15: %67 = add i64 %5, 16 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = add nuw nsw i64 %rsi.0.reload, 32 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = sub i32 %69, %72 %74 = icmp slt i32 %73, 1 store i32 %73, i32* %sv_5.026.reg2mem store i64 %rsi.0.reload, i64* %sv_3.025.reg2mem br i1 %74, label LBL_17, label LBL_16 LBL_16: %sv_3.025.reload = load i64, i64* %sv_3.025.reg2mem %sv_5.026.reload = load i32, i32* %sv_5.026.reg2mem %75 = add i64 %sv_3.025.reload, 16 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = add i32 %sv_5.026.reload, -1 %79 = icmp ne i64 %77, 0 %80 = icmp eq i32 %78, 0 %81 = icmp eq i1 %80, false %or.cond10 = icmp eq i1 %79, %81 store i32 %78, i32* %sv_5.026.reg2mem store i64 %77, i64* %sv_3.025.reg2mem store i64 %77, i64* %sv_3.2.reg2mem br i1 %or.cond10, label LBL_16, label LBL_19 LBL_17: %82 = icmp ne i32 %73, 0 %83 = icmp eq i32 %73, 0 %84 = icmp eq i1 %83, false %or.cond42 = icmp eq i1 %82, %84 store i32 %73, i32* %sv_5.123.reg2mem store i64 %rsi.0.reload, i64* %sv_3.122.reg2mem store i64 %rsi.0.reload, i64* %sv_3.3.reg2mem br i1 %or.cond42, label LBL_18, label LBL_20 LBL_18: %sv_3.122.reload = load i64, i64* %sv_3.122.reg2mem %sv_5.123.reload = load i32, i32* %sv_5.123.reg2mem %85 = add i64 %sv_3.122.reload, 16 %86 = inttoptr i64 %85 to i64* %87 = load i64, i64* %86, align 8 %88 = add i32 %sv_5.123.reload, 1 %89 = icmp ne i64 %87, 0 %90 = icmp eq i32 %88, 0 %91 = icmp eq i1 %90, false %or.cond12 = icmp eq i1 %89, %91 store i32 %88, i32* %sv_5.123.reg2mem store i64 %87, i64* %sv_3.122.reg2mem store i64 %87, i64* %sv_3.2.reg2mem br i1 %or.cond12, label LBL_18, label LBL_19 LBL_19: %sv_3.2.reload = load i64, i64* %sv_3.2.reg2mem %92 = icmp eq i64 %sv_3.2.reload, 0 store i64 %sv_3.2.reload, i64* %sv_3.3.reg2mem br i1 %92, label LBL_31, label LBL_20 LBL_20: %sv_3.3.reload = load i64, i64* %sv_3.3.reg2mem %93 = add i64 %3, 32 %94 = inttoptr i64 %93 to i32* %95 = load i32, i32* %94, align 4 %96 = icmp eq i32 %95, 0 %spec.select = select i1 %96, i32 1, i32 %95 %97 = load i32, i32* %13, align 4 %98 = zext i32 %97 to i64 %99 = call i64 @FUNC(i64 %sv_3.3.reload, i64 %98) %100 = icmp sgt i32 %spec.select, 0 br i1 %100, label LBL_21, label LBL_31 LBL_21: %101 = ptrtoint i64* %sv_8 to i64 %102 = bitcast i64* %rdx to i32* %103 = and i64 %99, 4294967295 %104 = icmp eq i32 %spec.select, 1 %105 = add i64 %4, 8 %106 = inttoptr i64 %105 to i64* %sext = mul i64 %99, 4294967296 %107 = ashr exact i64 %sext, 32 %108 = add i32 %spec.select, -1 %109 = sub i32 0, %spec.select %110 = and i32 %spec.select, %109 %111 = icmp slt i32 %110, 0 %112 = icmp eq i32 %108, 0 %113 = icmp slt i32 %108, 0 %114 = icmp eq i1 %113, %111 %115 = icmp eq i1 %112, false %116 = icmp eq i1 %114, %115 %117 = add i64 %101, -8 %118 = inttoptr i64 %117 to i64* %119 = zext i1 %116 to i64 %120 = add i64 %4, 24 %121 = inttoptr i64 %120 to i64* %122 = add i64 %4, 16 %123 = inttoptr i64 %122 to i64* %124 = add i64 %4, 32 %125 = inttoptr i64 %124 to i64* %126 = add i64 %4, 40 %127 = inttoptr i64 %126 to i64* store i32 0, i32* %sv_4.020.reg2mem store i64 %sv_3.3.reload, i64* %sv_3.418.reg2mem store i32 %storemerge13237.reload, i32* %sv_0.117.reg2mem store i32 %sv_1.03039.reload, i32* %sv_1.216.reg2mem store i64 %5, i64* %sv_2.115.reg2mem br label LBL_22 LBL_22: %sv_2.115.reload = load i64, i64* %sv_2.115.reg2mem %sv_1.216.reload = load i32, i32* %sv_1.216.reg2mem %sv_0.117.reload = load i32, i32* %sv_0.117.reg2mem %sv_3.418.reload = load i64, i64* %sv_3.418.reg2mem %sv_4.020.reload = load i32, i32* %sv_4.020.reg2mem store i64 %sv_2.115.reload, i64* %sv_2.0.reg2mem store i32 %sv_1.216.reload, i32* %sv_1.1.reg2mem store i32 %sv_0.117.reload, i32* %sv_0.0.reg2mem br i1 %104, label LBL_25, label LBL_23 LBL_23: %128 = call i64 @FUNC(i64 %sv_3.418.reload, i64 %103) %129 = trunc i64 %128 to i32 %130 = add i64 %sv_3.418.reload, 32 %131 = inttoptr i64 %130 to i32* %132 = load i32, i32* %131, align 4 %133 = load i64, i64* %106, align 8 %134 = zext i32 %132 to i64 %135 = call i64 @FUNC(i64 %133, i64 %134, i32 %129) %136 = icmp eq i64 %135, 0 br i1 %136, label LBL_31, label LBL_24 LBL_24: %137 = add i64 %135, 4 %138 = inttoptr i64 %137 to i32* %139 = load i32, i32* %138, align 4 %140 = add i64 %135, 12 %141 = inttoptr i64 %140 to i32* %142 = load i32, i32* %141, align 4 store i64 %135, i64* %sv_2.0.reg2mem store i32 %139, i32* %sv_1.1.reg2mem store i32 %142, i32* %sv_0.0.reg2mem br label LBL_25 LBL_25: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %143 = inttoptr i64 %sv_2.0.reload to i32* %144 = load i32, i32* %143, align 4 %145 = add i64 %sv_2.0.reload, 8 %146 = inttoptr i64 %145 to i32* %147 = load i32, i32* %146, align 4 %148 = icmp eq i32 %144, %147 %149 = icmp eq i1 %148, false %150 = icmp sgt i32 %sv_1.1.reload, %sv_0.0.reload %or.cond13 = or i1 %150, %149 br i1 %or.cond13, label LBL_31, label LBL_26 LBL_26: %151 = add i64 %sv_3.418.reload, 8 %152 = inttoptr i64 %151 to i32* %153 = load i32, i32* %152, align 4 %154 = zext i32 %153 to i64 %155 = sext i32 %sv_0.0.reload to i64 %156 = icmp sge i64 %155, %154 %157 = icmp slt i32 %sv_1.1.reload, 0 %or.cond6 = or i1 %157, %156 %158 = icmp slt i32 %sv_0.0.reload, 0 %or.cond8 = or i1 %158, %or.cond6 br i1 %or.cond8, label LBL_31, label LBL_27 LBL_27: %159 = zext i32 %sv_0.0.reload to i64 %160 = call i64 @FUNC(i64 %sv_3.418.reload, i64 %159) %161 = icmp slt i64 %160, %107 br i1 %161, label LBL_31, label LBL_28 LBL_28: %162 = load i32, i32* %102, align 8 %163 = icmp eq i32 %162, 4 %164 = zext i1 %163 to i64 %165 = call i64 @FUNC(i64 %sv_3.418.reload, i64 %159) %166 = sub i64 %165, %99 store i64 %164, i64* %118, align 8 %167 = and i64 %166, 4294967295 %168 = call i64 @FUNC(i64 %sv_3.418.reload, i64* nonnull %sv_6, i32 %sv_1.1.reload, i32 %sv_0.0.reload, i64 %167, i64 %119) %169 = trunc i64 %168 to i32 %170 = icmp eq i32 %sv_0.0.reload, %169 br i1 %170, label LBL_30, label LBL_29 LBL_29: %171 = sub i32 %169, %sv_0.0.reload %172 = load i32, i32* %143, align 4 %173 = load i64, i64* %121, align 8 %174 = load i64, i64* %123, align 8 %175 = zext i32 %171 to i64 %176 = call i64 @FUNC(i64 %174, i64 %173, i32 %172, i32 %sv_1.1.reload, i64 %175) %177 = load i32, i32* %143, align 4 %178 = load i64, i64* %121, align 8 %179 = load i64, i64* %125, align 8 %180 = call i64 @FUNC(i64 %179, i64 %178, i32 %177, i32 %sv_1.1.reload, i64 %175) %181 = load i32, i32* %143, align 4 %182 = load i64, i64* %121, align 8 %183 = load i64, i64* %127, align 8 %184 = call i64 @FUNC(i64 %183, i64 %182, i32 %181, i32 %sv_1.1.reload, i64 %175) %185 = load i32, i32* %143, align 4 %186 = load i64, i64* %121, align 8 %187 = load i64, i64* %106, align 8 %188 = call i64 @FUNC(i64 %187, i64 %186, i32 %185, i32 %sv_1.1.reload, i64 %175) br label LBL_30 LBL_30: %189 = add nuw nsw i32 %sv_4.020.reload, 1 %190 = add i64 %sv_3.418.reload, 24 %191 = inttoptr i64 %190 to i64* %192 = load i64, i64* %191, align 8 %193 = icmp slt i32 %189, %spec.select store i32 %189, i32* %sv_4.020.reg2mem store i64 %192, i64* %sv_3.418.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.117.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.216.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.115.reg2mem br i1 %193, label LBL_22, label LBL_31 LBL_31: %194 = ptrtoint i64* %sv_7 to i64 %195 = call i64 @FUNC(i64* %arg2, i64 %194) %196 = call i64 @FUNC(i64 %4) ret i64 %196 uselistorder i64 %sv_2.0.reload, { 2, 0, 1 } uselistorder i32 %sv_1.1.reload, { 7, 5, 4, 3, 2, 1, 0, 6 } uselistorder i32 %sv_0.0.reload, { 7, 4, 5, 3, 0, 1, 2, 6 } uselistorder i64 %135, { 0, 2, 1, 3 } uselistorder i64 %sv_3.418.reload, { 6, 5, 4, 2, 3, 1, 0 } uselistorder i32 %108, { 1, 0 } uselistorder i64 %99, { 1, 0, 2 } uselistorder i32 %spec.select, { 5, 3, 4, 2, 0, 1 } uselistorder i32 %73, { 0, 2, 3, 1, 4 } uselistorder i64 %rsi.0.reload, { 0, 2, 3, 5, 1, 4 } uselistorder i8* %47, { 1, 0 } uselistorder i32 %14, { 0, 2, 3, 1, 4 } uselistorder i32 %9, { 0, 1, 3, 2, 4, 5, 6, 7 } uselistorder i64 %7, { 0, 1, 3, 2 } uselistorder i64* %sv_7, { 1, 0 } uselistorder i64 %5, { 0, 1, 4, 3, 2 } uselistorder i64 %4, { 5, 1, 2, 4, 3, 0, 6, 7 } uselistorder i64 %3, { 3, 4, 2, 1, 5, 0 } uselistorder i32* %storemerge1313336.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0293435.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.03039.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge13237.reg2mem, { 0, 2, 1 } uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_5.026.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_3.025.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_5.123.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_3.122.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_3.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_3.3.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_4.020.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.418.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.117.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.216.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.115.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i32, i32, i64)* @shiftAnchorPosition, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @COLPOS, { 2, 1, 0 } uselistorder i64 32, { 2, 1, 0, 3, 4 } uselistorder i1 false, { 5, 4, 1, 0, 2, 6, 7, 3 } uselistorder i32 0, { 7, 8, 0, 11, 12, 13, 10, 2, 14, 3, 1, 6, 4, 15, 9, 5, 16, 17 } uselistorder i32 7, { 2, 0, 1 } uselistorder i32 -1, { 2, 1, 0, 3 } uselistorder i64 4294967295, { 1, 2, 0, 3, 4 } uselistorder i64 (i64*, i64)* @copyBuffer, { 1, 0 } uselistorder label LBL_31, { 1, 3, 2, 4, 0, 5, 6, 7, 8, 12, 13, 9, 10, 11, 14 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_20, { 1, 0, 2 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
git_repository_config__weakptr_17752
git_repository_config__weakptr
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 store i64 %0, i64* %arg1, align 8 ret i64 0 }
1
BinRealVul
d_instantiate_no_diralias_7945
d_instantiate_no_diralias
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %8 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_1 to i64*), i32 1, i32 17, %_IO_FILE* %7) call void @exit(i32 1) unreachable LBL_2: %9 = and i64 %1, 16384 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = ptrtoint i64* %arg2 to i64 %12 = add i64 %11, 8 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i64 4294967280, i64* %storemerge.reg2mem br i1 %16, 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* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
iscsi_if_transport_ep_3854
iscsi_if_transport_ep
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = icmp eq i32 %arg3, 4 br i1 %3, label LBL_8, label LBL_1 LBL_1: %4 = icmp sgt i32 %arg3, 4 store i64 0, i64* %sv_0.0.reg2mem br i1 %4, label LBL_9, label LBL_2 LBL_2: %5 = ptrtoint i64* %arg2 to i64 %6 = icmp sgt i32 %arg3, 2 br i1 %6, label LBL_5, label LBL_3 LBL_3: %7 = icmp eq i32 %arg3, 0 %8 = icmp slt i32 %arg3, 0 %9 = icmp eq i1 %8, false %10 = icmp eq i1 %7, false %11 = icmp eq i1 %9, %10 store i64 0, i64* %sv_0.0.reg2mem br i1 %11, label LBL_4, label LBL_9 LBL_4: %12 = call i64 @FUNC(i64 %2, i64 %5, i32 %arg3) store i64 %12, i64* %sv_0.0.reg2mem br label LBL_9 LBL_5: %13 = icmp eq i64* %arg1, null %14 = icmp eq i1 %13, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %14, label LBL_6, label LBL_10 LBL_6: %15 = and i64 %1, 4294967295 %16 = call i64 @FUNC(i64 %15) %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %18, label LBL_7, label LBL_10 LBL_7: %19 = trunc i64 %16 to i32 %20 = add i64 %5, 8 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 store i64 0, i64* %sv_0.0.reg2mem br label LBL_9 LBL_8: %22 = and i64 %1, 4294967295 %23 = call i64 @FUNC(i64 %2, i64 %22) store i64 %23, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %24 = and i64 %sv_0.0.reload, 4294967295 store i64 %24, 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 %5, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 3, 2, 1, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i32 4, { 1, 0 } uselistorder i32 %arg3, { 4, 3, 2, 1, 0, 5 } uselistorder label LBL_10, { 2, 0, 1 } uselistorder label LBL_9, { 1, 2, 3, 0, 4 } }
0
BinRealVul
menelaus_rtc_hz_15624
menelaus_rtc_hz
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = add i32 %3, -1 %5 = bitcast i64* %arg1 to i32* store i32 %4, i32* %5, align 4 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i32 %8, -1 store i32 %9, i32* %7, align 4 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i32 %12, 1000 store i32 %13, i32* %11, align 4 %14 = add i64 %2, 28 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %13 to i64 %18 = zext i32 %16 to i64 %19 = call i64 @FUNC(i64 %18, i64 %17) %20 = add i64 %2, 12 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = and i32 %22, 24 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_9, label LBL_1 LBL_1: %25 = call i64 @FUNC(i64 %2) %26 = load i32, i32* %21, align 4 %27 = and i32 %26, 24 %28 = icmp eq i32 %27, 8 %29 = icmp eq i1 %28, false br i1 %29, label LBL_4, label LBL_2 LBL_2: %30 = add i64 %2, 16 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_4, label LBL_3 LBL_3: %35 = add i64 %2, 36 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = or i32 %37, 256 store i32 %38, i32* %36, align 4 br label LBL_10 LBL_4: %39 = icmp eq i32 %27, 16 %40 = icmp eq i1 %39, false br i1 %40, label LBL_7, label LBL_5 LBL_5: %41 = add i64 %2, 20 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_7, label LBL_6 LBL_6: %46 = add i64 %2, 36 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = or i32 %48, 256 store i32 %49, i32* %47, align 4 br label LBL_10 LBL_7: %50 = add i64 %2, 24 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_10, label LBL_8 LBL_8: %55 = add i64 %2, 36 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = or i32 %57, 256 store i32 %58, i32* %56, align 4 br label LBL_10 LBL_9: %59 = add i64 %2, 36 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = or i32 %61, 256 store i32 %62, i32* %60, align 4 br label LBL_10 LBL_10: %63 = load i32, i32* %21, align 4 %64 = and i32 %63, 2 %65 = icmp eq i32 %64, 0 br i1 %65, label LBL_13, label LBL_11 LBL_11: %66 = load i32, i32* %7, align 4 %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_13, label LBL_12 LBL_12: %69 = add i64 %2, 36 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = or i32 %71, 512 store i32 %72, i32* %70, align 4 br label LBL_13 LBL_13: %73 = bitcast i64* %rdi to i32* %74 = load i32, i32* %73, align 8 %75 = icmp eq i32 %74, 0 %76 = icmp slt i32 %74, 0 %77 = icmp eq i1 %76, false %78 = icmp eq i1 %75, false %79 = icmp eq i1 %77, %78 br i1 %79, label LBL_15, label LBL_14 LBL_14: %80 = add i64 %2, 32 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %sext = mul i32 %82, 65536 %83 = ashr exact i32 %sext, 16 %84 = zext i32 %83 to i64 %85 = call i64 @FUNC(i64 %84, i64 1000, i64 32768) %86 = load i32, i32* %11, align 4 %87 = trunc i64 %85 to i32 %88 = sub i32 %86, %87 store i32 %88, i32* %11, align 4 store i32 3600, i32* %5, align 4 br label LBL_15 LBL_15: %89 = call i64 @FUNC(i64 %2) ret i64 %89 uselistorder i32 %74, { 1, 0 } uselistorder i32* %21, { 1, 0, 2 } uselistorder i32* %11, { 1, 0, 2, 3 } uselistorder i64 %2, { 7, 6, 8, 9, 1, 0, 3, 2, 5, 4, 10, 14, 13, 12, 11 } uselistorder i64 32, { 2, 0, 1 } uselistorder i32 16, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 0 } }
1
BinRealVul
update_process_times_19189
update_process_times
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = and i64 %arg1, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = call i64 @FUNC() %4 = call i64 @FUNC(i64 %1) %5 = call i64 @FUNC() %6 = call i64 @FUNC() ret i64 %6 }
1
BinRealVul
Sp_search_12317
Sp_search
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64 %arg1, i64 0) %1 = call i64 @FUNC(i64 %arg1, i64 1) %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 %arg1, i64 1) br label LBL_5 LBL_2: %5 = call i64 @FUNC(i64 %arg1, i64 1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_0, i64 0) br label LBL_5 LBL_4: %9 = call i64 @FUNC(i64 %arg1, i64 1) %10 = inttoptr i64 %9 to i64* %11 = call i64 @FUNC(i64 %arg1, i64* %10, i64 0) br label LBL_5 LBL_5: %12 = call i64 @FUNC(i64 %arg1, i64 4294967295) %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14, i64 %0, i64* nonnull %sv_0, i64 0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = load i64, i64* %sv_0, align 8 %20 = call i128 @FUNC(i64 %0, i64 %19) %21 = call i64 @__asm_movq.1(i128 %20) %22 = call i128 @FUNC(i64 %21) %23 = call i64 @FUNC(i64 %arg1) store i64 %23, i64* %storemerge.reg2mem br label LBL_8 LBL_7: %24 = call i128 @FUNC(i64 -4616189618054758400) %25 = call i64 @FUNC(i64 %arg1) store i64 %25, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @js_pushnumber, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @js_newregexp, { 1, 0 } uselistorder i64 1, { 1, 2, 3, 4, 0 } uselistorder i32 1, { 5, 4, 1, 0, 3, 2 } uselistorder i64 %arg1, { 1, 0, 2, 4, 3, 5, 6, 7, 8, 9 } }
1
BinRealVul
cg_mkdir_12605
cg_mkdir
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %0 = call i64 @FUNC() store i64 0, i64* %sv_2, align 8 store i64 0, i64* %sv_1, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_7 LBL_1: %3 = call i64 @FUNC(i64 %0, i64 %arg1) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_7 LBL_2: %6 = call i64 @FUNC(i64 %arg1) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_7 LBL_3: %9 = call i64 @FUNC(i64 %6, i64* nonnull %sv_1, i64* nonnull %sv_2) %10 = load i64, i64* %sv_2, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false %13 = load i64, i64* %sv_1, align 8 %storemerge = select i1 %12, i64 %13, i64 ptrtoint (i64* @gv_0 to i64) %14 = call i64 @FUNC(i64 %0, i64 %3, i64 %storemerge, i64 0, i64 2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 4294967283, i64* %sv_0.0.reg2mem br i1 %17, label LBL_4, label LBL_6 LBL_4: %18 = inttoptr i64 %0 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %20, i64 %3, i64 %storemerge, i64 0) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 4294967283, i64* %sv_0.0.reg2mem br i1 %24, label LBL_5, label LBL_6 LBL_5: %25 = inttoptr i64 %3 to i8* %26 = inttoptr i64 %6 to i8* %27 = add i64 %0, 8 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i64 %0, 4 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = call i64 @FUNC(i64 %3, i64 %6, i32 %32, i32 %29) %34 = and i64 %33, 4294967295 %35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %34, i8* %25, i8* %26) store i64 %34, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %36 = load i64, i64* %sv_1, align 8 %37 = inttoptr i64 %36 to i64* call void @free(i64* %37) store i64 %sv_0.0.reload, 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 %6, { 0, 2, 1, 3 } uselistorder i64 %3, { 0, 3, 1, 2, 4 } uselistorder i64 %0, { 0, 1, 4, 2, 3, 5 } uselistorder i64* %sv_2, { 1, 0, 2 } uselistorder i64* %sv_1, { 1, 2, 0, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_7, { 3, 0, 1, 2 } uselistorder label LBL_6, { 2, 0, 1 } }
1
BinRealVul
startVideoStream_13104
startVideoStream
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false %3 = zext i1 %2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6, i64 1024) %8 = trunc i64 %7 to i32 store i32 %8, i32* @gv_2, align 4 %9 = icmp eq i32 %8, -1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC() store i64 %11, i64* %rax.0.reg2mem br label LBL_14 LBL_2: %12 = call i64 @FUNC(i64 4198861, i64 0, i64* nonnull @gv_3) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = and i64 %12, 4294967295 store i64 %15, i64* %rax.0.reg2mem br label LBL_14 LBL_4: %16 = load i32, i32* @gv_4, align 4 %17 = urem i32 %16, 2 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_7, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 4198876, i64 0, i64* nonnull @gv_5) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = and i64 %20, 4294967295 store i64 %23, i64* %rax.0.reg2mem br label LBL_14 LBL_7: %24 = load i32, i32* inttoptr (i64 4210768 to i32*), align 16 %25 = icmp eq i32 %24, 3 %26 = icmp eq i1 %25, false br i1 %26, label LBL_10, label LBL_8 LBL_8: %27 = load i32, i32* @gv_6, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64* nonnull @gv_1, i64 %28, i64 8080, i64 5) %30 = trunc i64 %29 to i32 store i32 %30, i32* @gv_7, align 4 %31 = icmp eq i32 %30, -1 %32 = icmp eq i1 %31, false br i1 %32, label LBL_10, label LBL_9 LBL_9: %33 = call i64 @FUNC() store i64 %33, i64* %rax.0.reg2mem br label LBL_14 LBL_10: %34 = call i64 @FUNC(i64 4198891, i64 0, i64* nonnull @gv_8) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_12, label LBL_11 LBL_11: %37 = and i64 %34, 4294967295 store i64 %37, i64* %rax.0.reg2mem br label LBL_14 LBL_12: %38 = load i32, i32* @gv_9, align 4 %39 = icmp eq i32 %38, 3 %40 = icmp eq i1 %39, false store i64 0, i64* %rax.0.reg2mem br i1 %40, label LBL_14, label LBL_13 LBL_13: %41 = call i64 @FUNC() %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %44 = and i64 %41, 4294967295 %spec.select = select i1 %43, i64 0, i64 %44 ret i64 %spec.select LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 5, 4, 3, 2 } uselistorder i64 (i64, i64, i64*)* @PltCreateThread, { 2, 1, 0 } uselistorder i64 ()* @LastSocketError, { 1, 0 } uselistorder i32 0, { 3, 4, 5, 6, 7, 8, 9, 0, 1, 2 } uselistorder i32 1, { 1, 2, 3, 0, 4 } }
1
BinRealVul
opt_default_17376
opt_default
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 %sv_1.1.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %3 = call i64 @FUNC() store i64 %3, i64* %sv_7, align 8 %4 = call i64 @FUNC() store i64 %4, i64* %sv_6, align 8 %5 = inttoptr i64 %arg1 to i8* %6 = call i8* @strchr(i8* %5, i32 58) %7 = ptrtoint i8* %6 to i64 %8 = icmp eq i8* %6, null %9 = icmp eq i1 %8, false store i64 %7, i64* %sv_2.0.reg2mem br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i32 @strlen(i8* %5) %11 = sext i32 %10 to i64 %12 = add i64 %11, %arg1 store i64 %12, i64* %sv_2.0.reg2mem br label LBL_2 LBL_2: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %13 = sub i64 %sv_2.0.reload, %arg1 %14 = add i64 %13, 1 %15 = icmp ult i64 %14, 128 %16 = select i1 %15, i64 %14, i64 128 %17 = call i64 @FUNC(i64* nonnull %sv_5, i64 %arg1, i64 %16) %18 = call i64 @FUNC(i64* nonnull %sv_7, i64* nonnull %sv_5, i64 0, i64 0, i64 3) %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 %18, i64* %sv_1.0.reg2mem br i1 %20, label LBL_6, label LBL_3 LBL_3: %21 = trunc i64 %2 to i8 switch i8 %21, label LBL_4 [ i8 118, label LBL_5 i8 97, label LBL_5 ] LBL_4: %22 = icmp eq i8 %21, 115 %23 = icmp eq i1 %22, false store i64 %18, i64* %sv_1.1.reg2mem br i1 %23, label LBL_7, label LBL_5 LBL_5: %24 = add i64 %arg1, 1 %25 = inttoptr i64 %24 to i64* %26 = call i64 @FUNC(i64* nonnull %sv_7, i64* %25, i64 0, i64 0, i64 2) %27 = icmp eq i64 %26, 0 store i64 %26, i64* %sv_1.0.reg2mem store i64 0, i64* %sv_1.1.reg2mem br i1 %27, label LBL_7, label LBL_6 LBL_6: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %28 = call i64 @FUNC(i64* nonnull @gv_0, i64 %arg1, i64 %arg2, i64 0) store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem br label LBL_7 LBL_7: %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %29 = inttoptr i64 %arg1 to i64* %30 = call i64 @FUNC(i64* nonnull %sv_6, i64* %29, i64 0, i64 0, i64 3) %31 = icmp eq i64 %30, 0 br i1 %31, label LBL_9, label LBL_8 LBL_8: %32 = call i64 @FUNC(i64* nonnull @gv_1, i64 %arg1, i64 %arg2, i64 0) br label LBL_9 LBL_9: %33 = call i64 @FUNC() store i64 %33, i64* %sv_4, align 8 %34 = call i64 @FUNC(i64* nonnull %sv_4, i64* %29, i64 0, i64 0, i64 3) %35 = icmp eq i64 %34, 0 br i1 %35, label LBL_12, label LBL_10 LBL_10: %36 = load i64, i64* @gv_2, align 8 %37 = call i64 @FUNC(i64 %36, i64 %arg1, i64 %arg2, i64 0) %38 = trunc i64 %37 to i32 %39 = icmp slt i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_12, label LBL_11 LBL_11: %41 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 %arg1, i64 3, i64 %1) %42 = and i64 %37, 4294967295 store i64 %42, i64* %rax.0.reg2mem br label LBL_18 LBL_12: %43 = call i64 @FUNC() store i64 %43, i64* %sv_3, align 8 %44 = or i64 %30, %sv_1.1.reload %45 = or i64 %44, %34 %46 = icmp eq i64 %45, 0 br i1 %46, label LBL_13, label LBL_16 LBL_13: %47 = call i64 @FUNC(i64* nonnull %sv_3, i64* %29, i64 0, i64 0, i64 3) %48 = icmp eq i64 %47, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %48, label LBL_16, label LBL_14 LBL_14: %49 = load i64, i64* @gv_4, align 8 %50 = call i64 @FUNC(i64 %49, i64 %arg1, i64 %arg2, i64 0) %51 = trunc i64 %50 to i32 %52 = icmp slt i32 %51, 0 %53 = icmp eq i1 %52, false store i64 %47, i64* %sv_0.0.reg2mem br i1 %53, label LBL_16, label LBL_15 LBL_15: %54 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 %arg1, i64 3, i64 %1) %55 = and i64 %50, 4294967295 store i64 %55, i64* %rax.0.reg2mem br label LBL_18 LBL_16: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %56 = or i64 %sv_0.0.reload, %45 %57 = icmp eq i64 %56, 0 store i64 0, i64* %rax.0.reg2mem br i1 %57, label LBL_17, label LBL_18 LBL_17: %58 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0), i64 %arg1, i64 3, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %sv_1.1.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @av_opt_set, { 1, 0 } uselistorder i64 (i64*, i64, i64, i64)* @av_dict_set, { 1, 0 } uselistorder i64 (i64*, i64*, i64, i64, i64)* @av_opt_find, { 4, 3, 2, 1, 0 } uselistorder i64 3, { 0, 2, 3, 1, 4, 5, 6 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i32 1, { 14, 13, 12, 11, 10, 8, 7, 6, 5, 4, 3, 9, 2, 1, 0 } uselistorder i64 %arg2, { 2, 1, 0, 3 } uselistorder i64 %arg1, { 7, 5, 6, 3, 4, 2, 8, 9, 1, 11, 10, 0, 12 } uselistorder label LBL_18, { 1, 0, 2, 3 } uselistorder label LBL_16, { 1, 2, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
1
BinRealVul
init_peercred_12511
init_peercred
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %7) br label LBL_2 LBL_2: %10 = load i64, i64* @gv_0, align 8 %11 = call i64 @FUNC(i64 %10) %12 = and i64 %11, 4294967295 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = bitcast i64* %arg1 to i32* store i32 %14, i32* %15, align 4 %16 = call i64 @FUNC() store i64 %16, i64* %6, align 8 ret i64 %16 uselistorder i64 %16, { 1, 0 } uselistorder i64 4294967295, { 1, 0, 2 } }
1
BinRealVul
decode_colskip_1757
decode_colskip
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %indvars.iv11.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %storemerge10.reg2mem = alloca i32 %0 = icmp sgt i32 %arg2, 0 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %0, label LBL_1, label LBL_9 LBL_1: %1 = ptrtoint i64* %arg5 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = icmp sgt i32 %arg3, 0 %wide.trip.count = zext i32 %arg3 to i64 store i32 0, i32* %storemerge10.reg2mem store i64 %2, i64* %sv_0.06.reg2mem br label LBL_2 LBL_2: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %storemerge10.reload = load i32, i32* %storemerge10.reg2mem %4 = call i64 @FUNC(i64 %1, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* %indvars.iv.reg2mem br i1 %3, label LBL_5, label LBL_7 LBL_4: store i64 0, i64* %indvars.iv11.reg2mem br i1 %3, label LBL_6, label LBL_7 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %8 = trunc i64 %indvars.iv.reload to i32 %9 = mul i32 %8, %arg4 %10 = sext i32 %9 to i64 %11 = add i64 %sv_0.06.reload, %10 %12 = inttoptr i64 %11 to i8* store i8 0, i8* %12, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_7, label LBL_5 LBL_6: %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem %13 = call i64 @FUNC(i64 %1, i64 1) %14 = trunc i64 %indvars.iv11.reload to i32 %15 = mul i32 %14, %arg4 %16 = sext i32 %15 to i64 %17 = add i64 %sv_0.06.reload, %16 %18 = trunc i64 %13 to i8 %19 = inttoptr i64 %17 to i8* store i8 %18, i8* %19, align 1 %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1 %exitcond14 = icmp eq i64 %indvars.iv.next12, %wide.trip.count store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem br i1 %exitcond14, label LBL_7, label LBL_6 LBL_7: %20 = add i64 %sv_0.06.reload, 1 %21 = add nuw nsw i32 %storemerge10.reload, 1 %exitcond15 = icmp eq i32 %21, %arg2 store i32 %21, i32* %storemerge10.reg2mem store i64 %20, i64* %sv_0.06.reg2mem br i1 %exitcond15, label LBL_8, label LBL_2 LBL_8: %phitmp = zext i32 %arg2 to i64 store i64 %phitmp, i64* %storemerge.lcssa.reg2mem br label LBL_9 LBL_9: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %sv_0.06.reload, { 0, 2, 1 } uselistorder i32* %storemerge10.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv11.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @get_bits, { 1, 0 } uselistorder i64 1, { 5, 1, 3, 2, 4, 0 } uselistorder i32 0, { 3, 0, 1, 2 } uselistorder i32 %arg2, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0, 3, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
rdp_decrypt_17336
rdp_decrypt
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %2 = alloca i16 %3 = alloca i8 %rax.0.reg2mem = alloca i64 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %7 = load i32, i32* %1 %8 = load i8, i8* %3 %9 = load i16, i16* %2 %sext = mul i64 %arg3, 4294967296 %10 = ashr exact i64 %sext, 32 %11 = trunc i64 %4 to i32 %12 = icmp eq i32 %11, 1 %13 = icmp eq i1 %12, false %14 = call i64 @FUNC(i64 %5) %15 = trunc i64 %14 to i32 br i1 %13, label LBL_7, label LBL_1 LBL_1: %16 = icmp sgt i32 %15, 11 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_2, label LBL_13 LBL_2: %17 = zext i16 %9 to i64 %18 = call i64 @FUNC(i64 %5, i64 %17) %19 = zext i8 %8 to i64 %20 = call i64 @FUNC(i64 %5, i64 %19) %21 = urem i32 %7, 256 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %5, i64 %22) %24 = call i64 @FUNC(i64 %5, i64 8) %25 = trunc i64 %10 to i32 %26 = add i32 %25, -12 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 8, i64 %27, i64 %6) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_4, label LBL_3 LBL_3: %32 = call i32 @puts(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_4: %33 = sub i32 %26, %21 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %34, i64 %34, i64 %22, i64 %6) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_6, label LBL_5 LBL_5: %39 = call i32 @puts(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_6: %40 = add i64 %5, 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = sub i32 %42, %21 store i32 %43, i32* %41, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_13 LBL_7: %44 = icmp sgt i32 %15, 7 store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_8, label LBL_13 LBL_8: %45 = ptrtoint i64* %sv_1 to i64 %46 = call i64 @FUNC(i64 %5, i64* nonnull %sv_1, i64 8) %47 = trunc i64 %10 to i32 %48 = add i32 %47, -8 %49 = zext i32 %48 to i64 %50 = call i64 @FUNC(i64 %45, i64 %49, i64 %6) %51 = urem i64 %arg4, 2 %52 = icmp eq i64 %51, 0 br i1 %52, label LBL_10, label LBL_9 LBL_9: %53 = call i64 @FUNC(i64 %6, i64 %49, i32 %48, i64 0, i64* nonnull %sv_0) br label LBL_11 LBL_10: %54 = call i64 @FUNC(i64 %6, i64 %49, i32 %48, i64* nonnull %sv_0) br label LBL_11 LBL_11: %55 = call i32 @memcmp(i64* nonnull %sv_1, i64* nonnull %sv_0, i32 8) %56 = icmp eq i32 %55, 0 store i64 1, i64* %rax.0.reg2mem br i1 %56, label LBL_13, label LBL_12 LBL_12: %57 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0)) store i64 1, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %48, { 1, 0, 2 } uselistorder i64 %34, { 1, 0 } uselistorder i32 %21, { 2, 1, 0 } uselistorder i32 %15, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %6, { 2, 3, 4, 0, 1 } uselistorder i64 %5, { 5, 0, 2, 1, 4, 3, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 7, 6, 5, 4 } uselistorder i64 1, { 1, 0, 2, 3, 4, 5 } uselistorder i32 (i8*)* @puts, { 2, 1, 0 } uselistorder i64 8, { 0, 3, 1, 2, 4 } uselistorder i64 (i64, i64)* @stream_read_BYTE, { 1, 0 } uselistorder label LBL_13, { 1, 0, 2, 4, 5, 6, 3 } }
1
BinRealVul
gf_isom_write_11921
gf_isom_write
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 %. = zext i1 %0 to i64 ret i64 %. uselistorder i64 0, { 1, 0 } }
1
BinRealVul
nbd_client_closed_16725
nbd_client_closed
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %1 = add i32 %0, -1 store i32 %1, i32* bitcast (i64* @gv_0 to i32*), align 8 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = load i32, i32* @gv_1, align 4 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = load i32, i32* @gv_2, align 4 %8 = icmp eq i32 %7, 1 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: store i32 2, i32* @gv_2, align 4 br label LBL_4 LBL_4: %10 = ptrtoint i64* %arg1 to i64 %11 = call i64 @FUNC() %12 = call i64 @FUNC(i64 %10) ret i64 %12 uselistorder i32* @gv_2, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } }
1
BinRealVul
clk_pllv3_av_round_rate_18245
clk_pllv3_av_round_rate
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = mul i64 %0, 54 %2 = icmp ult i64 %1, %arg2 store i64 %1, i64* %sv_0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = mul i64 %0, 27 %4 = icmp ugt i64 %3, %arg2 %5 = icmp eq i1 %4, false %spec.select = select i1 %5, i64 %arg2, i64 %3 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %6 = udiv i64 %sv_0.0.reload, %0 %7 = and i64 %6, 4294967295 %8 = mul i64 %7, %0 %9 = sub i64 %sv_0.0.reload, %8 %10 = mul i64 %9, 1000000 %11 = and i64 %0, 4294967295 %12 = call i64 @FUNC(i64 %10, i64 %11) %13 = udiv i64 %0, 1000000 %14 = and i64 %10, 4294967232 %15 = mul i64 %14, %13 %16 = add i64 %15, %8 ret i64 %16 uselistorder i64 %0, { 1, 3, 0, 2, 5, 4 } }
1
BinRealVul
fpu__init_prepare_fx_sw_frame_9941
fpu__init_prepare_fx_sw_frame
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i32, i32* @gv_0, align 4 %1 = add i32 %0, 16 store i32 305419896, i32* bitcast (i64* @gv_1 to i32*), align 8 store i32 %1, i32* bitcast (i64* @gv_2 to i32*), align 8 %2 = load i32, i32* inttoptr (i64 4210720 to i32*), align 32 store i32 %2, i32* bitcast (i64* @gv_3 to i32*), align 8 store i32 %0, i32* bitcast (i64* @gv_4 to i32*), align 8 %3 = load i64, i64* @gv_1, align 8 %4 = load i64, i64* @gv_3, align 8 store i64 %3, i64* @gv_5, align 8 store i64 %4, i64* @gv_6, align 8 %5 = zext i32 %1 to i64 store i32 %1, i32* bitcast (i64* @gv_7 to i32*), align 8 ret i64 %5 }
0
BinRealVul
numtostr_3644
numtostr
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = load i128, i128* %0 %sv_0 = alloca i64, align 8 %2 = call i64 @FUNC(i128 %1) %3 = call i128 @FUNC(i64 %2) %4 = bitcast i64* %sv_0 to i8* %5 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %4, i8* %arg2) %6 = call i8* @strchr(i8* nonnull %4, i32 101) %7 = icmp eq i8* %6, null br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = ptrtoint i8* %6 to i64 %9 = add i64 %8, 1 %10 = inttoptr i64 %9 to i8* %11 = call i32 @atoi(i8* %10) %12 = zext i32 %11 to i64 %13 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %12) br label LBL_2 LBL_2: %14 = ptrtoint i64* %arg1 to i64 %15 = call i64 @FUNC(i64 %14, i64* nonnull %sv_0) ret i64 %15 uselistorder i8* %6, { 1, 0, 2 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 0 } }
0
BinRealVul
arith2_normalise_2271
arith2_normalise
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i32 %.reg2mem6 = alloca i32 %.reg2mem4 = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = udiv i32 %3, 32768 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = udiv i32 %7, 32768 %9 = sub nsw i32 %4, %8 %10 = icmp ult i32 %9, 2 store i32 %9, i32* %.lcssa.reg2mem br i1 %10, label LBL_1, label LBL_5 LBL_1: %11 = bitcast i64* %rdi to i32* %12 = bitcast i64* %arg1 to i32* %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i32* %15 = add i64 %2, 16 %16 = inttoptr i64 %15 to i64* store i32 %3, i32* %.reg2mem store i32 %7, i32* %.reg2mem4 br label LBL_2 LBL_2: %.reload5 = load i32, i32* %.reg2mem4 %.reload = load i32, i32* %.reg2mem %17 = xor i32 %.reload5, %.reload %18 = and i32 %17, 65536 %19 = icmp eq i32 %18, 0 store i32 %.reload, i32* %.reg2mem6 br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = xor i32 %.reload, 32768 store i32 %20, i32* %12, align 4 %21 = load i32, i32* %14, align 4 %22 = xor i32 %21, 32768 store i32 %22, i32* %14, align 4 %23 = load i32, i32* %6, align 4 %24 = xor i32 %23, 32768 store i32 %24, i32* %6, align 4 %.pre = load i32, i32* %11, align 8 store i32 %.pre, i32* %.reg2mem6 br label LBL_4 LBL_4: %.reload7 = load i32, i32* %.reg2mem6 %25 = mul i32 %.reload7, 256 %26 = and i32 %25, 16776960 %27 = or i32 %26, 255 store i32 %27, i32* %12, align 4 %28 = load i32, i32* %14, align 4 %29 = mul i32 %28, 256 %30 = and i32 %29, 16776960 %31 = load i64, i64* %16, align 8 %32 = call i64 @FUNC(i64 %31) %33 = trunc i64 %32 to i32 %34 = urem i32 %33, 256 %35 = or i32 %34, %30 store i32 %35, i32* %14, align 4 %36 = load i32, i32* %6, align 4 %37 = mul i32 %36, 256 %38 = and i32 %37, 16776960 store i32 %38, i32* %6, align 4 %39 = load i32, i32* %11, align 8 %40 = udiv i32 %39, 32768 %41 = udiv i32 %38, 32768 %42 = sub nsw i32 %40, %41 %43 = icmp ult i32 %42, 2 store i32 %39, i32* %.reg2mem store i32 %38, i32* %.reg2mem4 store i32 %42, i32* %.lcssa.reg2mem br i1 %43, label LBL_2, label LBL_5 LBL_5: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %44 = zext i32 %.lcssa.reload to i64 ret i64 %44 uselistorder i32 %.reload, { 1, 0, 2 } uselistorder i32* %14, { 1, 0, 2, 3 } uselistorder i32* %11, { 1, 0 } uselistorder i32* %6, { 4, 3, 2, 1, 0 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem4, { 1, 0, 2 } uselistorder i32* %.reg2mem6, { 0, 2, 1 } uselistorder i32 256, { 0, 3, 1, 2 } uselistorder i32 2, { 1, 0 } uselistorder i32 32768, { 0, 1, 4, 5, 6, 2, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
brcmf_p2p_detach_3869
brcmf_p2p_detach
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6, i64 %1) store i64 0, i64* %arg1, align 8 br label LBL_2 LBL_2: %8 = call i64* @memset(i64* %arg1, i32 0, i32 16) %9 = ptrtoint i64* %8 to i64 ret i64 %9 uselistorder i64 %1, { 0, 2, 1, 3 } uselistorder i64* %arg1, { 0, 1, 3, 2 } }
0
BinRealVul
ieee80211_tids_for_ac_9939
ieee80211_tids_for_ac
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 3 store i64 6, i64* %rax.0.reg2mem br i1 %1, label LBL_6, label LBL_1 LBL_1: %2 = icmp sgt i32 %0, 3 br i1 %2, label LBL_4, label LBL_2 LBL_2: store i64 9, i64* %rax.0.reg2mem switch i32 %0, label LBL_4 [ i32 2, label LBL_6 i32 0, label LBL_5 i32 1, label LBL_3 ] LBL_3: store i64 48, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %3 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %4 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %3) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_5: store i64 192, 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* %rax.0.reg2mem, { 0, 1, 5, 4, 3, 2 } uselistorder i32 3, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_6, { 1, 3, 4, 0, 2 } }
0
BinRealVul
sax_node_start_8221
sax_node_start
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %1 = icmp eq i32 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_10, label LBL_1 LBL_1: %2 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %3 = icmp eq i32 %2, 0 %4 = trunc i64 %arg5 to i32 %5 = icmp eq i32 %4, 0 %or.cond = or i1 %5, %3 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_10, label LBL_2 LBL_2: %6 = ptrtoint i64* %arg4 to i64 %7 = ptrtoint i64* %arg1 to i64 %8 = bitcast i64* %sv_0 to i8* %wide.trip.count = and i64 %arg5, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %9 = mul i64 %indvars.iv.reload, 16 %10 = add i64 %9, %6 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = load i64, i64* %11, align 8 %17 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0)) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_9, label LBL_5 LBL_5: %21 = add i64 %10, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = icmp eq i8 %25, 35 br i1 %26, label LBL_9, label LBL_6 LBL_6: %27 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i64 3) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_9, label LBL_7 LBL_7: %30 = load i64, i64* %22, align 8 %31 = inttoptr i64 %30 to i8* %32 = call i32 @atoi(i8* %31) %33 = zext i32 %32 to i64 %34 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i64 %33) %35 = load i64, i64* %22, align 8 %36 = inttoptr i64 %35 to i8* %37 = call i32 @strcmp(i8* nonnull %8, i8* %36) %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_9, label LBL_8 LBL_8: %39 = load i64, i64* %22, align 8 %40 = call i64 @FUNC(i64 %39) %41 = call i64 @FUNC(i64 %7, i64 %40) br label LBL_9 LBL_9: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %wide.trip.count, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_10, label LBL_3 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i8*)* @stricmp, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6 } uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 } uselistorder i64 %arg5, { 1, 0 } uselistorder label LBL_10, { 0, 2, 1 } uselistorder label LBL_9, { 4, 0, 1, 2, 3 } }
0
BinRealVul
request_firmware_work_func_4959
request_firmware_work_func
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0, i64 %6, i32 %3) %8 = load i64, i64* %5, align 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %0, 40 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %12) %15 = call i64 @FUNC(i64 %0) ret i64 %15 }
0
BinRealVul
dump_json_image_info_15540
dump_json_image_info
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 %0, i64* %sv_1, align 8 store i64 0, i64* %sv_0, align 8 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %sv_1, i64* nonnull %sv_0) %4 = call i64 @FUNC(i64 %1) %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 73, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %5) %9 = inttoptr i64 %8 to i8* %10 = call i32 @puts(i8* %9) %11 = call i64 @FUNC(i64 %4) %12 = call i64 @FUNC(i64 %1) %13 = call i64 @FUNC(i64 %5) ret i64 %13 }
1
BinRealVul
videobuf_vm_open_10992
videobuf_vm_open
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %3 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %9, i64 %0, i64 %6) %11 = load i32, i32* %7, align 4 %12 = add i32 %11, 1 store i32 %12, i32* %7, align 4 ret i64 %3 }
1
BinRealVul
get_stats_qobject_988
get_stats_qobject
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = load i64, i64* @gv_0, align 8 %3 = mul i64 %0, 4096 %4 = sub i64 %2, %3 %5 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %4) %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i64 %8) %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i64 %12) %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0), i64 %16) %18 = add i64 %0, 32 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0), i64 %20) %22 = add i64 %0, 40 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_6, i64 0, i64 0), i64 %24) %26 = add i64 %0, 48 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_7, i64 0, i64 0), i64 %28) %30 = call i64 @FUNC(i64 %1) ret i64 %30 uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i64 (i64, i8*, i64)* @stat_put, { 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
h2_shutw_10240
h2_shutw
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem4 = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* %rdi, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 store i64 1, i64* %rax.0.reg2mem switch i32 %5, label LBL_1 [ i32 1, label LBL_25 i32 2, label LBL_23 i32 3, label LBL_232 ] LBL_1: %6 = add i64 %3, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_8, label LBL_2 LBL_2: %11 = and i32 %8, 6 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i32 %5, i32* %.reg2mem br i1 %13, label LBL_5, label LBL_3 LBL_3: store i64 %3, i64* %rdi, align 8 %14 = call i64 @FUNC(i64 %3) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 1 br i1 %16, label LBL_18, label LBL_3.LBL_5_crit_edge LBL_4: %.pre = load i32, i32* %4, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem %17 = icmp eq i32 %.reload, 4 %18 = icmp eq i1 %17, false br i1 %18, label LBL_7, label LBL_6 LBL_6: store i64 %3, i64* %rdi, align 8 %19 = call i64 @FUNC(i64 %3) br label LBL_15 LBL_7: store i32 1, i32* %4, align 4 br label LBL_15 LBL_8: %20 = and i32 %8, 4 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i32 %8, i32* %.reg2mem4 br i1 %22, label LBL_11, label LBL_9 LBL_9: %23 = add i64 %3, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25, i64 %3) %27 = trunc i64 %26 to i32 %28 = icmp slt i32 %27, 1 br i1 %28, label LBL_18, label LBL_9.LBL_11_crit_edge LBL_10: %.pre3 = load i32, i32* %7, align 4 store i32 %.pre3, i32* %.reg2mem4 br label LBL_11 LBL_11: %.reload5 = load i32, i32* %.reg2mem4 %29 = and i32 %.reload5, 8 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_14, label LBL_12 LBL_12: %32 = add i64 %3, 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = add i64 %34, 8 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = and i32 %37, 384 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_14, label LBL_13 LBL_13: %41 = call i64 @FUNC(i64 %34, i64 %3) %42 = trunc i64 %41 to i32 %43 = icmp slt i32 %42, 1 br i1 %43, label LBL_18, label LBL_14 LBL_14: store i64 %3, i64* %rdi, align 8 %44 = call i64 @FUNC(i64 %3) br label LBL_15 LBL_15: %45 = add i64 %3, 8 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label LBL_18, label LBL_16 LBL_16: %53 = bitcast i64* %rdi to i32* %54 = load i32, i32* %53, align 8 %55 = and i32 %54, 512 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false br i1 %57, label LBL_18, label LBL_17 LBL_17: %58 = load i64, i64* %rdi, align 8 %59 = call i64 @FUNC(i64 %58) br label LBL_18 LBL_18: %60 = add i64 %3, 24 %61 = call i64 @FUNC(i64 %60) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 store i64 %61, i64* %rax.0.reg2mem br i1 %63, label LBL_25, label LBL_19 LBL_19: %64 = load i32, i32* %7, align 4 %65 = and i32 %64, 16 %66 = icmp eq i32 %65, 0 br i1 %66, label LBL_21, label LBL_20 LBL_20: %67 = add i64 %3, 8 %68 = inttoptr i64 %67 to i64* %69 = load i64, i64* %68, align 8 %70 = add i64 %69, 16 %71 = call i64 @FUNC(i64 %70, i64 %60) store i64 %71, i64* %rax.0.reg2mem br label LBL_25 LBL_21: %72 = and i32 %64, 96 %73 = icmp eq i32 %72, 0 store i64 0, i64* %rax.0.reg2mem br i1 %73, label LBL_25, label LBL_22 LBL_22: %74 = add i64 %3, 8 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = add i64 %76, 24 %78 = call i64 @FUNC(i64 %77, i64 %60) store i64 %78, i64* %rax.0.reg2mem br label LBL_25 LBL_23: store i64 2, i64* %rax.0.reg2mem br label LBL_25 LBL_24: store i64 3, 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 %60, { 1, 0, 2 } uselistorder i32 %8, { 0, 2, 3, 1 } uselistorder i32* %7, { 1, 0, 2 } uselistorder i32* %4, { 1, 0, 2 } uselistorder i64 %3, { 4, 5, 6, 7, 1, 0, 2, 3, 12, 13, 9, 8, 10, 11, 14, 15 } uselistorder i64* %rdi, { 4, 3, 2, 1, 0, 5 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem4, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 5, 3, 6, 7 } uselistorder i64 (i64, i64)* @LIST_ADDQ, { 1, 0 } uselistorder i64 (i64)* @h2s_close, { 1, 0 } uselistorder label LBL_25, { 1, 2, 3, 4, 5, 6, 0 } uselistorder label LBL_18, { 5, 1, 0, 2, 3, 4 } }
0
BinRealVul
do_rt_sigreturn_3511
do_rt_sigreturn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64 0, i64 %2, i64 %1, i64 1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2) %7 = call i64 @FUNC(i64 2, i64* nonnull %sv_0, i64 0) %8 = add i64 %2, 128 %9 = call i64 @FUNC(i64 %1, i64 %8) %10 = add i64 %1, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %1, 128 %14 = call i64 @FUNC(i64 %13, i64 0, i64 %12) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, -14 br i1 %16, label LBL_3, label LBL_2 LBL_2: %17 = call i64 @FUNC(i64 %2, i64 %1, i64 0) %18 = add i64 %1, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 store i64 %20, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %21 = call i64 @FUNC(i64 %2, i64 %1, i64 0) %22 = call i64 @FUNC(i64 11) store i64 %22, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 5, 0, 1, 2, 4, 3, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 } uselistorder i64 1, { 1, 0 } }
0
BinRealVul
channelmap_query_formats_3000
channelmap_query_formats
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3) %5 = call i64 @FUNC() %6 = call i64 @FUNC(i64 %2, i64 %5) %7 = call i64 @FUNC() %8 = call i64 @FUNC(i64 %2, i64 %7) %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC() %13 = call i64 @FUNC(i64 %12, i64 %11) %14 = add i64 %2, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = load i64, i64* %sv_0, align 8 %18 = call i64 @FUNC(i64 %17, i64 %16) ret i64 0 uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @ff_channel_layouts_ref, { 1, 0 } }
0
BinRealVul
dissect_log_6238
dissect_log
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %8 = trunc i64 %1 to i32 %9 = icmp eq i32 %8, 2 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = load i64, i64* %5, align 8 %12 = call i64 @FUNC(i64 %11, i64 1, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0)) store i64 %12, i64* %storemerge1.reg2mem br label LBL_9 LBL_2: %13 = ptrtoint i64* %sv_1 to i64 %14 = call i64 @FUNC(i64 %3) %15 = trunc i64 %14 to i32 %16 = icmp ult i32 %15, 255 %spec.select = select i1 %16, i32 %15, i32 255 %17 = zext i32 %spec.select to i64 %18 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i64 0, i64 %17) %19 = add i64 %13, -288 %20 = add i64 %19, %17 %21 = inttoptr i64 %20 to i8* store i8 0, i8* %21, align 1 %22 = icmp eq i32 %spec.select, 0 br i1 %22, label LBL_8, label LBL_3 LBL_3: %23 = add nsw i32 %spec.select, -1 %24 = zext i32 %23 to i64 %25 = add i64 %19, %24 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = icmp eq i8 %27, 10 %29 = icmp eq i1 %28, false br i1 %29, label LBL_5, label LBL_4 LBL_4: store i8 0, i8* %26, align 1 br label LBL_8 LBL_5: %30 = icmp ult i32 %spec.select, 2 br i1 %30, label LBL_8, label LBL_6 LBL_6: %31 = add nsw i32 %spec.select, -2 %32 = zext i32 %31 to i64 %33 = add i64 %19, %32 %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 %36 = icmp eq i8 %35, 10 %37 = icmp eq i1 %36, false br i1 %37, label LBL_8, label LBL_7 LBL_7: store i8 0, i8* %34, align 1 br label LBL_8 LBL_8: %38 = load i64, i64* %5, align 8 %39 = call i64 @FUNC(i64 %38, i64 1, i64* nonnull %sv_0) store i64 %39, i64* %storemerge1.reg2mem br label LBL_9 LBL_9: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %40 = icmp eq i64* %arg3, null store i64 %storemerge1.reload, i64* %rax.0.reg2mem br i1 %40, label LBL_13, label LBL_10 LBL_10: %41 = ptrtoint i64* %arg3 to i64 %42 = bitcast i64* %rsi to i32* %43 = call i64 @FUNC(i64 %41, i64 0, i64 %3, i64 0, i64 4294967295, i64 0) %44 = call i64 @FUNC(i64 %43, i64 0) %45 = load i32, i32* %42, align 8 %46 = icmp eq i32 %45, 2 %47 = icmp eq i1 %46, false br i1 %47, label LBL_12, label LBL_11 LBL_11: %48 = call i64 @FUNC(i64 %44, i64 0, i64 %3, i64 0, i64 0, i64 0) store i64 %48, i64* %rax.0.reg2mem br label LBL_13 LBL_12: %49 = call i64 @FUNC(i64 %44, i64 0, i64 %3, i64 0, i64 4294967295, i64 1) store i64 %49, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %spec.select, { 1, 0, 3, 2, 4 } uselistorder i64* %5, { 1, 0, 2 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64, i64, i64, i64, i64)* @proto_tree_add_item, { 2, 1, 0 } uselistorder i64 4294967295, { 2, 3, 0, 1 } uselistorder i32 2, { 1, 0, 2 } uselistorder i64 (i64, i64, i8*)* @col_set_str, { 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_8, { 1, 2, 3, 4, 0 } }
0
BinRealVul
gen_div_16307
gen_div
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64 0, i64 0) %4 = call i64 @FUNC() %5 = call i64 @FUNC() %6 = call i64 @FUNC() %7 = call i64 @FUNC(i64 0) %8 = and i64 %7, 4294967295 %9 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %10, i32 %9, i64 %8, i64 1) %12 = call i64 @FUNC(i64 %0) %13 = call i64 @FUNC() ret i64 %13 uselistorder i64 ()* @tcg_temp_free, { 1, 0 } uselistorder i64 ()* @tcg_temp_new, { 1, 0 } }
1
BinRealVul
get_sb_block_5261
get_sb_block
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 %3, i64* %sv_0, align 8 %4 = icmp eq i64* %arg1, null store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_7, label LBL_1 LBL_1: %5 = bitcast i64* %arg1 to i8* %6 = call i32 @strncmp(i8* %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 3) %7 = icmp eq i32 %6, 0 store i64 1, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_7 LBL_2: %8 = add i64 %3, 3 store i64 %8, i64* %sv_0, align 8 %9 = call i64 @FUNC(i64 %8, i64* nonnull %sv_0, i64 0) %10 = load i64, i64* %sv_0, align 8 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 switch i8 %12, label LBL_3 [ i8 0, label LBL_4 i8 44, label LBL_4 ] LBL_3: %13 = ptrtoint i64* %arg2 to i64 %14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %15 = icmp eq i8 %12, 44 %16 = icmp eq i1 %15, false store i64 %10, i64* %.reg2mem br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = add i64 %10, 1 store i64 %17, i64* %sv_0, align 8 store i64 %17, i64* %.reg2mem br label LBL_6 LBL_6: %.reload = load i64, i64* %.reg2mem store i64 %.reload, i64* %arg1, align 8 store i64 %9, 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 %10, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 2, 0, 3, 4 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i8 44, { 1, 0 } uselistorder label LBL_7, { 2, 3, 1, 0 } }
0
BinRealVul
MPV_common_init_altivec_2827
MPV_common_init_altivec
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = add i64 %0, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp ne i32 %6, 0 %8 = icmp eq i32 %6, 1 %9 = icmp eq i1 %8, false %or.cond = icmp eq i1 %7, %9 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i64* store i64 4198694, i64* %11, align 8 %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i64* store i64 4198701, i64* %13, align 8 %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 br label LBL_3 LBL_3: %16 = add i64 %0, 48 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = urem i64 %18, 16 %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = add i64 %0, 56 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = urem i64 %24, 16 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([111 x i8], [111 x i8]* @gv_0, i64 0, i64 0)) store i64 %27, i64* %rax.0.reg2mem br label LBL_11 LBL_6: %28 = add i64 %0, 64 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = urem i64 %30, 16 %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([113 x i8], [113 x i8]* @gv_1, i64 0, i64 0)) store i64 %33, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %34 = add i64 %0, 8 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_10, label LBL_9 LBL_9: %38 = zext i32 %36 to i64 %39 = icmp eq i32 %36, 1 %40 = icmp eq i1 %39, false store i64 %38, i64* %rax.0.reg2mem br i1 %40, label LBL_11, label LBL_10 LBL_10: %41 = add i64 %0, 32 %42 = inttoptr i64 %41 to i64* store i64 4198708, i64* %42, align 8 %43 = add i64 %0, 40 %44 = inttoptr i64 %43 to i64* store i64 4198708, i64* %44, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %36, { 1, 0, 2 } uselistorder i64 %0, { 0, 9, 10, 1, 2, 13, 3, 12, 11, 6, 7, 8, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder label LBL_3, { 1, 0, 2 } }
0
BinRealVul
decode_op_hdr_9835
decode_op_hdr
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %1 = load i32, i32* %0 %2 = load i32, i32* %0 %3 = trunc i64 %arg2 to i32 %4 = icmp eq i32 %2, %3 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = and i64 %arg2, 4294967295 %6 = zext i32 %2 to i64 %7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %5) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %8 = icmp eq i32 %1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = zext i32 %1 to i64 %10 = call i64 @FUNC(i64 %9) store i64 %10, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %0, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
smtp_command_parse_parameters_11891
smtp_command_parse_parameters
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.012.reg2mem = alloca i64 %rcx.2.reg2mem = alloca i64 %storemerge2.in.lcssa.reg2mem = alloca i64 %.reg2mem46 = alloca i64 %rdi.3.reg2mem = alloca i64 %.reg2mem44 = alloca i64 %rdi.2.reg2mem = alloca i64 %sv_1.05.reg2mem = alloca i64 %rcx.06.reg2mem = alloca i64 %.reg2mem42 = alloca i64 %rdi.1.reg2mem = alloca i64 %.pre31.reg2mem = alloca i32 %rcx.115.reg2mem = alloca i64 %storemerge218.in.reg2mem = alloca i64 %.reg2mem40 = alloca i64 %.reg2mem38 = alloca i32 %.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i32, align 4 %4 = add i64 %3, 48 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %storemerge3.in.in.v = select i1 %7, i64 40, i64 32 %storemerge3.in.in = add i64 %storemerge3.in.in.v, %3 %storemerge3.in = inttoptr i64 %storemerge3.in.in to i64* %storemerge3 = load i64, i64* %storemerge3.in, align 8 %8 = add i64 %3, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %10, %3 %12 = add i64 %3, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp ult i64 %11, %14 store i64 %3, i64* %rdi.0.reg2mem store i64 %3, i64* %.reg2mem store i32 %6, i32* %.reg2mem38 store i64 %14, i64* %.reg2mem40 store i64 %11, i64* %storemerge218.in.reg2mem store i64 %3, i64* %rdi.3.reg2mem store i64 %3, i64* %.reg2mem46 store i64 %11, i64* %storemerge2.in.lcssa.reg2mem br i1 %15, label LBL_1, label LBL_11 LBL_1: %storemerge218.in.reload = load i64, i64* %storemerge218.in.reg2mem %.reload39 = load i32, i32* %.reg2mem38 %16 = icmp eq i32 %.reload39, 0 br i1 %16, label LBL_3, label LBL_2 LBL_2: %rcx.115.reload = load i64, i64* %rcx.115.reg2mem %.reload = load i64, i64* %.reg2mem %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %storemerge218 = inttoptr i64 %storemerge218.in.reload to i8* %17 = load i8, i8* %storemerge218, align 1 %18 = zext i8 %17 to i32 store i32 %18, i32* %sv_2, align 4 store i32 %18, i32* %.pre31.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.reg2mem store i64 %.reload, i64* %.reg2mem42 store i64 %rcx.115.reload, i64* %rcx.06.reg2mem store i64 1, i64* %sv_1.05.reg2mem br label LBL_6 LBL_3: %.reload41 = load i64, i64* %.reg2mem40 %19 = sub i64 %storemerge218.in.reload, %.reload41 %20 = call i64 @FUNC(i64 %storemerge218.in.reload, i64 %19, i32* nonnull %sv_2) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_3.LBL_6_crit_edge, label LBL_5 LBL_4: %.pre31.pre = load i32, i32* %sv_2, align 4 store i32 %.pre31.pre, i32* %.pre31.reg2mem store i64 %storemerge218.in.reload, i64* %rdi.1.reg2mem store i64 %storemerge218.in.reload, i64* %.reg2mem42 store i64 %19, i64* %rcx.06.reg2mem store i64 %20, i64* %sv_1.05.reg2mem br label LBL_6 LBL_5: %24 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_6: %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem %rcx.06.reload = load i64, i64* %rcx.06.reg2mem %.pre31.reload = load i32, i32* %.pre31.reg2mem %25 = load i32, i32* %5, align 4 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_8, label LBL_7 LBL_7: %.reload43 = load i64, i64* %.reg2mem42 %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %28 = trunc i32 %.pre31.reload to i8 %29 = icmp sgt i8 %28, -1 %30 = icmp eq i1 %29, false store i64 %rdi.1.reload, i64* %rdi.2.reg2mem store i64 %.reload43, i64* %.reg2mem44 br i1 %30, label LBL_9, label LBL_8 LBL_8: %31 = urem i32 %.pre31.reload, 256 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %32) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 store i64 %32, i64* %rdi.2.reg2mem store i64 %32, i64* %.reg2mem44 store i64 %32, i64* %rdi.3.reg2mem store i64 %32, i64* %.reg2mem46 store i64 %storemerge218.in.reload, i64* %storemerge2.in.lcssa.reg2mem store i64 %rcx.06.reload, i64* %rcx.2.reg2mem br i1 %35, label LBL_11, label LBL_9 LBL_9: %.reload45 = load i64, i64* %.reg2mem44 %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %sext = mul i64 %sv_1.05.reload, 4294967296 %36 = ashr exact i64 %sext, 32 %37 = add i64 %36, %storemerge218.in.reload %38 = load i64, i64* %13, align 8 %39 = icmp ult i64 %37, %38 store i64 %rdi.2.reload, i64* %rdi.3.reg2mem store i64 %.reload45, i64* %.reg2mem46 store i64 %37, i64* %storemerge2.in.lcssa.reg2mem store i64 %rcx.06.reload, i64* %rcx.2.reg2mem br i1 %39, label LBL_9.LBL_1_crit_edge, label LBL_11 LBL_10: %.pre = load i32, i32* %5, align 4 store i64 %rdi.2.reload, i64* %rdi.0.reg2mem store i64 %.reload45, i64* %.reg2mem store i32 %.pre, i32* %.reg2mem38 store i64 %38, i64* %.reg2mem40 store i64 %37, i64* %storemerge218.in.reg2mem store i64 %rcx.06.reload, i64* %rcx.115.reg2mem br label LBL_1 LBL_11: %storemerge2.in.lcssa.reload = load i64, i64* %storemerge2.in.lcssa.reg2mem %.reload47 = load i64, i64* %.reg2mem46 %40 = icmp eq i64 %storemerge3, 0 %.pre32 = sub i64 %storemerge2.in.lcssa.reload, %.reload47 %41 = icmp ult i64 %storemerge3, %.pre32 %42 = icmp eq i1 %41, false %or.cond34 = or i1 %40, %42 br i1 %or.cond34, label LBL_13, label LBL_12 LBL_12: %43 = load i32, i32* %5, align 4 %44 = icmp eq i32 %43, 0 %. = select i1 %44, i64 ptrtoint ([8 x i8]* @gv_1 to i64), i64 ptrtoint ([14 x i8]* @gv_2 to i64) %45 = call i64 @FUNC(i64 %3, i64 2, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_3, i64 0, i64 0), i64 %., i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_13: %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %rdi.3.reload = load i64, i64* %rdi.3.reg2mem store i64 %.pre32, i64* %9, align 8 %46 = load i64, i64* %13, align 8 %47 = icmp eq i64 %46, %storemerge2.in.lcssa.reload %48 = icmp eq i1 %47, false store i64 0, i64* %rax.0.reg2mem br i1 %48, label LBL_14, label LBL_20 LBL_14: %49 = icmp ult i64 %rdi.3.reload, %storemerge2.in.lcssa.reload store i64 %storemerge2.in.lcssa.reload, i64* %sv_0.012.reg2mem store i64 %storemerge2.in.lcssa.reload, i64* %sv_0.1.reg2mem br i1 %49, label LBL_16, label LBL_17 LBL_15: %50 = icmp ugt i64 %51, %rdi.3.reload store i64 %51, i64* %sv_0.012.reg2mem store i64 %51, i64* %sv_0.1.reg2mem br i1 %50, label LBL_16, label LBL_17 LBL_16: %sv_0.012.reload = load i64, i64* %sv_0.012.reg2mem %51 = add i64 %sv_0.012.reload, -1 %52 = inttoptr i64 %51 to i8* %53 = load i8, i8* %52, align 1 store i64 %sv_0.012.reload, i64* %sv_0.1.reg2mem switch i8 %53, label LBL_17 [ i8 32, label LBL_15 i8 9, label LBL_15 ] LBL_17: %54 = trunc i64 %rdi.3.reload to i8 %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %55 = load i32, i32* %5, align 4 %56 = icmp ne i32 %55, 0 %57 = icmp ule i64 %sv_0.1.reload, %rdi.3.reload %or.cond.not = or i1 %57, %56 %58 = icmp eq i8 %54, 32 %59 = icmp eq i1 %58, false %or.cond36 = or i1 %59, %or.cond.not br i1 %or.cond36, label LBL_19, label LBL_18 LBL_18: %60 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_4, i64 0, i64 0), i64 %rcx.2.reload, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_19: %61 = call i64 @FUNC(i64 %rdi.3.reload, i64 %sv_0.1.reload) %62 = add i64 %3, 24 %63 = inttoptr i64 %62 to i64* store i64 %61, i64* %63, align 8 store i64 %storemerge2.in.lcssa.reload, i64* %arg1, align 8 store i64 0, i64* %9, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %51, { 3, 2, 1, 0 } uselistorder i64 %rdi.3.reload, { 0, 2, 1, 3, 4 } uselistorder i64 %storemerge2.in.lcssa.reload, { 4, 0, 1, 2, 3, 5 } uselistorder i64 %37, { 1, 0, 2 } uselistorder i64 %rdi.2.reload, { 1, 0 } uselistorder i64 %.reload45, { 1, 0 } uselistorder i32 %.pre31.reload, { 1, 0 } uselistorder i64 %rcx.06.reload, { 2, 1, 0 } uselistorder i64 %19, { 1, 0, 2 } uselistorder i64 %storemerge218.in.reload, { 6, 0, 1, 2, 5, 4, 3 } uselistorder i64* %13, { 0, 2, 1 } uselistorder i32* %5, { 2, 1, 0, 3, 4 } uselistorder i64 %3, { 7, 8, 6, 9, 0, 1, 2, 3, 10, 4, 11, 5, 12 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rdi.0.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem38, { 2, 0, 1 } uselistorder i64* %.reg2mem40, { 2, 0, 1 } uselistorder i64* %storemerge218.in.reg2mem, { 2, 0, 1 } uselistorder i64* %rcx.115.reg2mem, { 1, 0 } uselistorder i32* %.pre31.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem42, { 0, 2, 1 } uselistorder i64* %rcx.06.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.05.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.2.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem44, { 0, 2, 1 } uselistorder i64* %rdi.3.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %.reg2mem46, { 0, 2, 1, 3 } uselistorder i64* %storemerge2.in.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rcx.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.012.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @smtp_command_parser_error, { 2, 1, 0 } uselistorder i1 false, { 0, 2, 1, 3, 4, 5 } uselistorder i64 1, { 0, 3, 4, 1, 2 } uselistorder label LBL_20, { 1, 2, 0, 3, 4 } uselistorder label LBL_17, { 1, 0, 2 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
cbq_deactivate_class_9723
cbq_deactivate_class
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = add i64 %arg1, 16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %1 to i32 %sext = mul i64 %1, 4294967296 %7 = ashr exact i64 %sext, 29 %8 = add i64 %5, %7 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 store i64 %10, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %11 = add i64 %sv_0.0.reload, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, %arg1 %15 = icmp eq i1 %14, false br i1 %15, label LBL_6, label LBL_2 LBL_2: %16 = add i64 %13, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 store i64 %18, i64* %12, align 8 store i64 0, i64* %17, align 8 %19 = load i64, i64* %9, align 8 %20 = icmp eq i64 %13, %19 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_3 LBL_3: store i64 %sv_0.0.reload, i64* %9, align 8 %22 = icmp eq i64 %13, %sv_0.0.reload %23 = icmp eq i1 %22, false br i1 %23, label LBL_5, label LBL_4 LBL_4: store i64 0, i64* %9, align 8 %24 = add i64 %5, 128 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = urem i32 %6, 32 %28 = icmp eq i32 %27, 0 %29 = shl i32 -1, %27 %phitmp = add i32 %29, -1 %storemerge = select i1 %28, i32 -2, i32 %phitmp %30 = and i32 %26, %storemerge store i32 %30, i32* %25, align 4 store i64 %5, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %31 = load i64, i64* %12, align 8 store i64 %31, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %32 = icmp eq i64 %13, %10 %33 = icmp eq i1 %32, false store i64 %13, i64* %sv_0.0.reg2mem store i64 %10, i64* %rax.0.reg2mem br i1 %33, label LBL_1, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %13, { 0, 4, 1, 2, 3, 5 } uselistorder i64 %sv_0.0.reload, { 2, 1, 0 } uselistorder i64 %10, { 0, 2, 1 } uselistorder i64* %9, { 0, 2, 1, 3 } uselistorder i64 %5, { 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } }
0
BinRealVul
nbd_client_co_pdiscard_17078
nbd_client_co_pdiscard
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) store i32 2, i32* %sv_0, align 4 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = urem i32 %3, 2 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_1: %7 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0, i64 0) store i64 %7, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
block_job_sleep_ns_17048
block_job_sleep_ns
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %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 ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %rax.0.reg2mem br i1 %9, label LBL_8, label LBL_3 LBL_3: %10 = bitcast i64* %arg1 to i8* store i8 0, i8* %10, align 1 %11 = call i64 @FUNC(i64 %5) %12 = trunc i64 %11 to i8 %13 = icmp eq i8 %12, 1 br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = and i64 %arg2, 4294967295 %15 = add i64 %5, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) %19 = call i64 @FUNC(i64 %18, i64 %14, i64 %arg3) br label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %5) %21 = trunc i64 %20 to i8 %22 = icmp eq i8 %21, 0 br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = call i64 @FUNC() br label LBL_7 LBL_7: store i8 1, i8* %10, align 1 store i64 %5, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 0, 2, 1, 3, 4 } uselistorder i8 1, { 1, 0 } uselistorder i64 (i64)* @block_job_should_pause, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
recovery_delete_character_12966
recovery_delete_character
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i8, i8* bitcast (i8** @gv_0 to i8*), align 8 %1 = icmp eq i8 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i32 @strlen(i8* bitcast (i8** @gv_0 to i8*)) %3 = sext i32 %2 to i64 %4 = add i64 %3, add (i64 ptrtoint (i8** @gv_0 to i64), i64 -1) %5 = inttoptr i64 %4 to i8* store i8 0, i8* %5, align 1 br label LBL_2 LBL_2: %6 = call i64 @FUNC() ret i64 %6 uselistorder i8 0, { 1, 2, 0 } }
1
BinRealVul
compat_read_14191
compat_read
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge5.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32*, align 8 %1 = icmp eq i64* %arg2, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0) store i64 %3, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %4 = call i64 @FUNC() %5 = inttoptr i64 %4 to i32* store i32* %5, i32** %sv_1, align 8 %6 = icmp eq i64 %4, 0 %7 = icmp eq i1 %6, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_13 LBL_3: %8 = trunc i64 %arg3 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = trunc i64 %arg4 to i32 %12 = call i64 @FUNC(i64 %0, i64 %4, i32 %11) store i64 %12, i64* %storemerge5.in.reg2mem br label LBL_6 LBL_5: %13 = call i64 @FUNC(i64 %0, i64 %4, i32 %8) store i64 %13, i64* %storemerge5.in.reg2mem br label LBL_6 LBL_6: %storemerge5.in.reload = load i64, i64* %storemerge5.in.reg2mem %storemerge5 = trunc i64 %storemerge5.in.reload to i32 %14 = icmp slt i32 %storemerge5, 0 store i64 %storemerge5.in.reload, i64* %sv_0.0.reg2mem br i1 %14, label LBL_12, label LBL_7 LBL_7: %15 = trunc i64 %0 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false %18 = load i32*, i32** %sv_1, align 8 %19 = ptrtoint i32* %18 to i64 br i1 %17, label LBL_9, label LBL_8 LBL_8: %20 = add i64 %19, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %19, 4 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = load i32, i32* %18, align 4 %27 = add i64 %19, 24 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %19, 16 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = zext i32 %22 to i64 %34 = zext i32 %25 to i64 %35 = zext i32 %26 to i64 %sext6 = mul i64 %storemerge5.in.reload, 4294967296 %36 = ashr exact i64 %sext6, 32 %37 = call i64 @FUNC(i64 %32, i64 %29, i64 1, i64 %35, i64 %34, i64 %33, i64 %36) store i64 %37, i64* %storemerge.reg2mem br label LBL_10 LBL_9: %38 = add i64 %19, 40 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = add i64 %19, 8 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = add i64 %19, 12 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = add i64 %19, 24 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = add i64 %19, 32 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = zext i32 %40 to i64 %56 = zext i32 %43 to i64 %57 = zext i32 %46 to i64 %sext7 = mul i64 %storemerge5.in.reload, 4294967296 %58 = ashr exact i64 %sext7, 32 %59 = call i64 @FUNC(i64 %54, i32 %51, i64 1, i64 %57, i64 %56, i64 %55, i64 %58) store i64 %59, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem %60 = icmp eq i64 %storemerge.reload, 0 %61 = icmp eq i1 %60, false store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %61, label LBL_11, label LBL_12 LBL_11: %62 = load i32*, i32** %sv_1, align 8 %63 = ptrtoint i32* %62 to i64 %64 = call i64 @FUNC(i64 %storemerge.reload, i64 %63) %65 = inttoptr i64 %storemerge.reload to i64* %66 = load i64, i64* %65, align 8 %67 = load i32*, i32** %sv_1, align 8 %68 = ptrtoint i32* %67 to i64 %69 = inttoptr i64 %66 to i64* store i64 %68, i64* %69, align 8 %70 = load i64, i64* %65, align 8 %71 = add i64 %70, 8 %72 = inttoptr i64 %71 to i64* store i64 4198924, i64* %72, align 8 store i64 %storemerge.reload, i64* %arg2, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %73 = bitcast i32** %sv_1 to i64* %74 = call i64 @FUNC(i64* nonnull %73) %75 = and i64 %sv_0.0.reload, 4294967295 store i64 %75, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge.reload, { 3, 1, 2, 0 } uselistorder i64 %19, { 3, 4, 5, 6, 8, 0, 1, 2, 7 } uselistorder i64 %storemerge5.in.reload, { 3, 2, 0, 1 } uselistorder i32** %sv_1, { 4, 3, 2, 1, 0 } uselistorder i64 %0, { 0, 3, 2, 1 } uselistorder i64* %storemerge5.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 32, { 0, 2, 1 } uselistorder i64 4294967284, { 1, 0 } uselistorder label LBL_13, { 1, 2, 0, 3 } }
1
BinRealVul
get_ucounts_5498
get_ucounts
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = call i64 @FUNC(i64 %0, i64 %1, i64 %2) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %sv_0.0.reg2mem br i1 %6, label LBL_5, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64* nonnull @gv_0) %8 = call i64 @FUNC(i64 16, i64 0) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_2, label LBL_8 LBL_2: %sext = mul i64 %arg2, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = inttoptr i64 %8 to i64* store i64 %0, i64* %12, align 8 %13 = trunc i64 %11 to i32 %14 = add i64 %8, 8 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = add i64 %8, 12 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = call i64 @FUNC(i64* nonnull @gv_0) %19 = and i64 %11, 4294967295 %20 = call i64 @FUNC(i64 %0, i64 %19, i64 %2) %21 = icmp eq i64 %20, 0 br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %8) store i64 %20, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %23 = add i64 %8, 16 %24 = call i64 @FUNC(i64 %23, i64 %2) store i64 %8, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = add i64 %sv_0.0.reload, 12 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 2147483647 %29 = icmp eq i1 %28, false store i64 0, i64* %sv_0.1.reg2mem br i1 %29, label LBL_6, label LBL_7 LBL_6: %30 = add i32 %27, 1 store i32 %30, i32* %26, align 4 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %31 = call i64 @FUNC(i64* nonnull @gv_0) store i64 %sv_0.1.reload, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 (i64*)* @spin_unlock_irq, { 1, 0 } uselistorder i64 (i64, i64, i64)* @find_ucounts, { 1, 0 } uselistorder i64 (i64*)* @spin_lock_irq, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
png_handle_as_unknown_9544
png_handle_as_unknown
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %sv_1.06.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = icmp eq i32* %arg1, null %3 = icmp eq i32* %arg2, null %or.cond = or i1 %2, %3 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_6, label LBL_1 LBL_1: %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp slt i32 %4, 0 %7 = icmp eq i1 %6, false %8 = icmp eq i1 %5, false %9 = icmp ne i1 %7, %8 %.not8 = icmp ne i1 %7, true %brmerge = or i1 %9, %.not8 store i64 0, i64* %rax.0.reg2mem br i1 %brmerge, label LBL_6, label LBL_2 LBL_2: %sext = mul i64 %1, 21474836480 %10 = ashr exact i64 %sext, 32 %11 = add nsw i64 %10, -5 %12 = ptrtoint i32* %arg1 to i64 %13 = add i64 %12, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %11, %15 %17 = ptrtoint i32* %arg2 to i64 store i32 %4, i32* %sv_1.06.reg2mem store i64 %16, i64* %sv_0.05.reg2mem br label LBL_3 LBL_3: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %18 = call i64 @FUNC(i64 %17, i64 %sv_0.05.reload, i64 4) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = add i64 %sv_0.05.reload, 4 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = zext i8 %24 to i64 store i64 %25, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %26 = add i32 %sv_1.06.reload, -1 %27 = add i64 %sv_0.05.reload, -5 %28 = icmp eq i32 %26, 0 %29 = icmp eq i1 %28, false store i32 %26, i32* %sv_1.06.reg2mem store i64 %27, i64* %sv_0.05.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %29, label LBL_3, label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.05.reload, { 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64 4, { 1, 0 } uselistorder i1 false, { 2, 1, 3, 0 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder label LBL_6, { 0, 3, 1, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
received_builder_3983
received_builder
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 1024) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8 %3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %4 = inttoptr i64 %0 to i64* %5 = call i64* @memcpy(i64* %4, i64* bitcast ([11 x i8]* @gv_4 to i64*), i32 10) %6 = ptrtoint i8* %arg1 to i64 %7 = call i64 @FUNC(i64 %6) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %11 = inttoptr i64 %7 to i8* %12 = call i32 @strlen(i8* %11) %13 = add i32 %12, 10 %14 = add i64 %0, 10 %15 = inttoptr i64 %14 to i64* %16 = inttoptr i64 %7 to i64* %17 = call i64* @memcpy(i64* %15, i64* %16, i32 %12) %18 = sext i32 %13 to i64 %19 = add i64 %0, %18 %20 = inttoptr i64 %19 to i8* store i8 0, i8* %20, align 1 %21 = bitcast i64* %arg2 to i32* store i32 %13, i32* %21, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 1, 3, 2, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i32 10, { 1, 0 } }
0
BinRealVul
readSBits_12413
readSBits
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge3.in.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %arg1, i64 %1) %3 = trunc i64 %2 to i32 %4 = add i32 %0, 31 %5 = urem i32 %4, 32 %6 = icmp eq i32 %5, 0 %7 = lshr i32 %3, %5 %8 = zext i32 %7 to i64 %storemerge = select i1 %6, i64 %2, i64 %8 %9 = urem i64 %storemerge, 2 %10 = icmp eq i64 %9, 0 store i32 %3, i32* %storemerge3.in.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = urem i32 %0, 32 %12 = shl i32 1, %11 %13 = sub i32 %3, %12 store i32 %13, i32* %storemerge3.in.reg2mem br label LBL_2 LBL_2: %storemerge3.in.reload = load i32, i32* %storemerge3.in.reg2mem %storemerge3 = zext i32 %storemerge3.in.reload to i64 ret i64 %storemerge3 uselistorder i32 %5, { 1, 0 } uselistorder i32 %3, { 2, 0, 1 } uselistorder i32* %storemerge3.in.reg2mem, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
session_input_channel_req_8894
session_input_channel_req
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = and i64 %3, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %arg2, i64 %4, i64 %2, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_22 LBL_2: %10 = inttoptr i64 %6 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i64 %12, i64 %arg2, i64 %4, i64 %2, i64 %1) %14 = ptrtoint i32* %arg1 to i64 %15 = add i64 %14, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false %.pre = inttoptr i64 %arg2 to i8* store i64 0, i64* %sv_0.0.reg2mem br i1 %19, label LBL_17, label LBL_3 LBL_3: %20 = call i32 @strcmp(i8* %.pre, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0)) %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = call i64 @FUNC(i64 %6) store i64 %23, i64* %sv_0.0.reg2mem br label LBL_17 LBL_5: %24 = call i32 @strcmp(i8* %.pre, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_7, label LBL_6 LBL_6: %27 = call i64 @FUNC(i64 %6) store i64 %27, i64* %sv_0.0.reg2mem br label LBL_17 LBL_7: %28 = call i32 @strcmp(i8* %.pre, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0)) %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_9, label LBL_8 LBL_8: %31 = call i64 @FUNC(i64 %6) store i64 %31, i64* %sv_0.0.reg2mem br label LBL_17 LBL_9: %32 = call i32 @strcmp(i8* %.pre, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_5, i64 0, i64 0)) %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_11, label LBL_10 LBL_10: %35 = call i64 @FUNC(i64 %6) store i64 %35, i64* %sv_0.0.reg2mem br label LBL_17 LBL_11: %36 = call i32 @strcmp(i8* %.pre, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_6, i64 0, i64 0)) %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_13, label LBL_12 LBL_12: %39 = call i64 @FUNC(i64 %6) store i64 %39, i64* %sv_0.0.reg2mem br label LBL_17 LBL_13: %40 = call i32 @strcmp(i8* %.pre, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_7, i64 0, i64 0)) %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_15, label LBL_14 LBL_14: %43 = call i64 @FUNC(i64 %6) store i64 %43, i64* %sv_0.0.reg2mem br label LBL_17 LBL_15: %44 = call i32 @strcmp(i8* %.pre, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0)) %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false store i64 0, i64* %sv_0.0.reg2mem br i1 %46, label LBL_17, label LBL_16 LBL_16: %47 = call i64 @FUNC(i64 %6) store i64 %47, i64* %sv_0.0.reg2mem br label LBL_17 LBL_17: %48 = call i32 @strcmp(i8* %.pre, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_9, i64 0, i64 0)) %49 = icmp eq i32 %48, 0 %50 = icmp eq i1 %49, false br i1 %50, label LBL_19, label LBL_18 LBL_18: %51 = call i64 @FUNC(i64 %6) store i64 %51, i64* %sv_0.1.reg2mem br label LBL_21 LBL_19: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %52 = call i32 @strcmp(i8* %.pre, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_10, i64 0, i64 0)) %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %54, label LBL_21, label LBL_20 LBL_20: %55 = call i64 @FUNC(i64 %6) store i64 %55, i64* %sv_0.1.reg2mem br label LBL_21 LBL_21: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %56 = and i64 %sv_0.1.reload, 4294967295 store i64 %56, i64* %storemerge.reg2mem br label LBL_22 LBL_22: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %.pre, { 0, 1, 8, 7, 6, 5, 4, 3, 2 } uselistorder i64 %6, { 6, 7, 0, 1, 2, 3, 4, 5, 8, 9, 10 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 7, 4, 1, 2, 5, 3, 0, 8, 6 } uselistorder i64 %arg2, { 0, 2, 1 } uselistorder label LBL_17, { 1, 2, 3, 4, 5, 6, 7, 8, 0 } }
0
BinRealVul
copyonwrite_prepare_8392
copyonwrite_prepare
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64* @malloc(i32 1024) %2 = ptrtoint i64* %1 to i64 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 %2, i64* %4, align 8 %5 = icmp eq i64* %1, null %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_2: %8 = call i32 @getpid() %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = load i64, i64* %4, align 8 %13 = zext i32 %8 to i64 %14 = inttoptr i64 %12 to i8* %15 = inttoptr i64 %11 to i8* %16 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %14, i32 1024, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i8* inttoptr (i64 1024 to i8*), i8* %15, i64 %13) %17 = load i64, i64* %4, align 8 %18 = add i64 %17, 1023 %19 = inttoptr i64 %18 to i8* store i8 0, i8* %19, align 1 %20 = load i64, i64* %4, align 8 %21 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i64 %20) %22 = load i64, i64* %4, align 8 %23 = inttoptr i64 %22 to i8* %24 = call i32 (i8*, i32, ...) @open(i8* %23, i32 578) %25 = add i64 %0, 24 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = icmp slt i32 %24, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_4, label LBL_3 LBL_3: %29 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0)) unreachable LBL_4: %30 = add i64 %0, 32 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = udiv i64 %32, 4096 %34 = trunc i64 %33 to i32 %35 = call i64* @calloc(i32 %34, i32 4) %36 = ptrtoint i64* %35 to i64 %37 = add i64 %0, 40 %38 = inttoptr i64 %37 to i64* store i64 %36, i64* %38, align 8 %39 = icmp eq i64* %35, null %40 = icmp eq i1 %39, false br i1 %40, label LBL_5, label LBL_7 LBL_5: %41 = load i64, i64* %31, align 8 %42 = icmp ugt i64 %41, 4095 br i1 %42, label LBL_6, label LBL_9 LBL_6: %43 = bitcast i64* %35 to i32* store i32 -1, i32* %43, align 4 %44 = load i64, i64* %31, align 8 %45 = icmp ugt i64 %44, 8191 store i64 1, i64* %.reg2mem br i1 %45, label LBL_8, label LBL_9 LBL_7: %46 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0)) unreachable LBL_8: %.reload = load i64, i64* %.reg2mem %.pre = load i64, i64* %38, align 8 %47 = mul i64 %.reload, 4 %48 = add i64 %47, %.pre %49 = inttoptr i64 %48 to i32* store i32 -1, i32* %49, align 4 %50 = add i64 %.reload, 1 %51 = load i64, i64* %31, align 8 %52 = udiv i64 %51, 4096 %53 = icmp ugt i64 %52, %50 store i64 %50, i64* %.reg2mem br i1 %53, label LBL_8, label LBL_9 LBL_9: ret i64 0 uselistorder i64* %31, { 2, 0, 1, 3 } uselistorder i64* %4, { 1, 0, 2, 3, 4 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64 (i8*)* @err, { 2, 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
get_riff_16498
get_riff
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i8 %storemerge.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %.reg2mem22 = alloca i64 %storemerge12.reg2mem = alloca i32 %.reg2mem20 = alloca i64 %.reg2mem = alloca i64* %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = load i8, i8* %1 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %7 = call i64 @FUNC(i64 %5, i64* nonnull %sv_1, i64 4) %8 = call i64 @FUNC(i64 %5) %9 = trunc i64 %8 to i32 %10 = bitcast i64* %arg1 to i32* store i32 %9, i32* %10, align 4 %11 = call i64 @FUNC(i64 %5) %12 = trunc i64 %11 to i32 %13 = trunc i64 %4 to i32 %14 = add i32 %12, %13 store i32 %14, i32* %10, align 4 %15 = call i64 @FUNC(i64 %5, i64* nonnull %sv_0, i64 4) %16 = load i64, i64* bitcast ([4 x i8*]* @gv_0 to i64*), align 16 %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i64* bitcast ([4 x i8*]* @gv_0 to i64*), i64** %.reg2mem store i64 ptrtoint ([4 x i8*]* @gv_0 to i64), i64* %.reg2mem20 store i32 0, i32* %storemerge12.reg2mem store i64 %16, i64* %.reg2mem22 store i64 %5, i64* %rcx.1.reg2mem br i1 %18, label LBL_1, label LBL_4 LBL_1: %.reload21 = load i64, i64* %.reg2mem20 %.reload = load i64*, i64** %.reg2mem %19 = call i32 @memcmp(i64* nonnull %sv_1, i64* %.reload, i32 8) %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_1.LBL_4_crit_edge, label LBL_2 LBL_2: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %21 = add i32 %storemerge12.reload, 1 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 16 %24 = add i64 %23, ptrtoint ([4 x i8*]* @gv_0 to i64) %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 16 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64* %25, i64** %.reg2mem store i64 %24, i64* %.reg2mem20 store i32 %21, i32* %storemerge12.reg2mem store i64 %26, i64* %.reg2mem22 store i64 %.reload21, i64* %rcx.1.reg2mem br i1 %28, label LBL_1, label LBL_4 LBL_3: %.pre = load i64, i64* %.reload, align 16 store i64 %.pre, i64* %.reg2mem22 store i64 %.reload21, i64* %rcx.1.reg2mem br label LBL_4 LBL_4: %.reload23 = load i64, i64* %.reg2mem22 %29 = icmp eq i64 %.reload23, 0 %30 = icmp eq i1 %29, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %30, label LBL_5, label LBL_7 LBL_5: %31 = icmp eq i8 %6, 25 %32 = icmp eq i1 %31, false store i64 0, i64* %storemerge.reg2mem br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = ptrtoint i64* %arg1 to i64 %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %34 = call i64 @FUNC(i64 %33, i64 1, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.1.reload, i64 %3, i64 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %.reload, { 1, 0 } uselistorder i64 %.reload21, { 1, 0 } uselistorder i64** %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem20, { 2, 0, 1 } uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem22, { 0, 3, 1, 2 } uselistorder i64* %rcx.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 ptrtoint ([4 x i8*]* @gv_0 to i64), { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i32 0, { 10, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 } uselistorder [4 x i8*]* @gv_0, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @avio_read, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
1