This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] validate binary before use


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]