[PATCH] D43958: [llvm-readobj][ELF] Move ELF note parsing into lib/Object

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 15:44:51 PST 2018


scott at scottlinder.com writes:

> Hi Rafael,
>
> There is no bound to reference here; only in the context of the 
> containing section or program header are there bounds to check.

I am not sure I understand. A broken file can have any n_namesz value,
no? It could point past the end of the file.

Cheers,
Rafael


More information about the llvm-commits mailing list