See discussion here: https://github.com/llvm/llvm-project/pull/178395, https://github.com/llvm/llvm-project/pull/178994 Detect when the total number of elements overflows, and allocate poison instead of the overflowed size.
See discussion here: https://github.com/llvm/llvm-project/pull/178395, https://github.com/llvm/llvm-project/pull/178994 Detect when the total number of elements overflows, and allocate poison instead of the overflowed size.