Re: [patch] validate binary before use

Jan Kratochvil
2013-02-21T21:07:22Z

On Thu, 21 Feb 2013 22:00:37 +0100, Aleksandar Ristovski wrote:
> This, however, has little to do with the semantics of l_addr which,
> as I already stated, should be load base and not displacement.

When we talk about GDB internal value lm_info->l_addr then sure I agree it
could be the absolute address. This would be a separate "code cleanup" (=with
no GDB functionality impact) patch. If it simplifies the GDB code then sure
it is a win. If not then it is worth a discussion, matching glibc's l_addr
meaning also makes sense (at least ot me).

(I will check more of the mail later.)

Thanks,
Jan