This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] validate binary before use
On Thu, 27 Dec 2012 22:03:03 +0100, Aleksandar Ristovski wrote:
> In any case, what I am trying to do does not disqualify build-id
I understand that part but I find disappointing a feature designed
specifically for this purpose and already deployed for 5+ years is being IIUC
ignored.
> (I'll use it in fact, if present).
I do not see how you verify the NT_GNU_BUILD_ID content.
> Note also that I really want a solution that does *not* rely on
> section headers but rather only on load-time required stuff.
build-id specifically does not depend on any link-time data (sections) to be
usable for runtime core generations. It is (also) available from program
header PT_NOTE as NT_GNU_BUILD_ID.
Thanks,
Jan