[compiler-rt] Work around a C language bug in libFuzzer (PR #96775)
David Benjamin via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 16 08:55:21 PDT 2024
davidben wrote:
> "work around a C language bug" is not a good way to describe this usability issue. The function signature is unfortunate and should be fixed, but I am not sure calling it a language bug is useful.
I mean, the non-null precondition does actually come from C itself, so that is where it'd need to be fixed. I think it's also demonstrably a problem on the spec side, seeing as it's inconsistent with how anyone anywhere writes C code. (Chrome for Linux currently cannot even compile with the relevant UBSan bit turned on because some tool used during the build computes `(T*)NULL + 0`.) But, fair enough, I will reword the commit message. :)
https://github.com/llvm/llvm-project/pull/96775
More information about the llvm-commits
mailing list