[libcxx-commits] [libcxx] [libc++][hardening] Reclassify string_view(ptr, len)'s size assertion (PR #79297)

David Benjamin via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 25 15:58:15 PST 2024


davidben wrote:

> By the way, thanks a lot for the hardening patches and issues, we spent some time looking at them with @var-const and we're really excited to collaborate with you on hardening.

Likewise! I can't do much with optimizers beyond finding missing optimizations and filing bugs, so most of what I'm looking at is centered around https://github.com/llvm/llvm-project/issues/78771. I jotted down a rough plan in https://github.com/llvm/llvm-project/issues/78771#issuecomment-1911188368.

LMK if that plan seems reasonable to you, or if you think a different direction would be better! (Probably in issue #78771. This PR was just something I noticed while poking around.)

https://github.com/llvm/llvm-project/pull/79297


More information about the libcxx-commits mailing list