[PATCH] D119000: [Bitcode] Add fuzzer for bitcode reading

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 4 08:37:55 PST 2022


nikic added a comment.

After fixing some issues in the bitstream reader to report errors using the right mechanism, this now quickly runs into OOM, because we do unconditional vector reservations. Can be fixed (a standard approach is to reject reservations larger than the input size for example), just not sure if making bitcode parsing more resilient is something I should invest time in.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119000/new/

https://reviews.llvm.org/D119000



More information about the llvm-commits mailing list