[PATCH] D16599: ELF: Define another entry point.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 1 12:44:42 PST 2016

On 1 February 2016 at 15:27, Rui Ueyama <ruiu at google.com> wrote:
> Even if a file is technically sane, you can craft a malicious one; for
> example, you can probably crash the linker by OOM by setting a very large
> number as an alignment requirement for each section so that the size of
> output becomes huge. It is easily doable using assembly. So my answer is
> "any clang or gcc produced .o not including inline asm". (It does not mean
> that we do not try to recover from errors caused by bad assembly code, but
> we don't/can't guarantee 100% recovery.)

Sounds good to me.


More information about the llvm-commits mailing list