Re: [patch] validate binary before use

Aleksandar Ristovski
2013-02-22T15:09:42Z

On 13-01-31 09:24 AM, Aleksandar Ristovski wrote:
> On 13-01-31 01:35 AM, Jan Kratochvil wrote:
>>
>> Therefore there should be new build_id field in struct so_list where
>> svr4_current_sos_via_xfer_libraries will put it from gdbserver. In
>> local mode
>> it should remain mostly as you wrote it / as suggested in the review
>> as there
>> is currently no easy non-Linux way how to find PT_NOTE without bfd at
>> hand.
>>
>>
>
> Ok, I can add this. Will be included in the new patch.
>
>

I have added build-id to gdbserver response. Patch is posted here:
http://sourceware.org/ml/gdb-patches/2013-02/msg00590.html

I will be posting renewed "validate binary before use" patch which uses
build-id from gdbserver here soon.

Thanks,

Aleksandar