lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 13 Sep 2021 16:24:52 -0300
From:   Arnaldo Carvalho de Melo <acme@...nel.org>
To:     Rémi Bernon <rbernon@...eweavers.com>
Cc:     Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Mark Rutland <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Jiri Olsa <jolsa@...hat.com>,
        Namhyung Kim <namhyung@...nel.org>,
        linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf symbol: Look for ImageBase in PE file to compute
 .text offset

Em Sun, Sep 12, 2021 at 10:25:26AM +0200, Rémi Bernon escreveu:
> On 9/9/21 10:27 PM, Arnaldo Carvalho de Melo wrote:
> > Em Thu, Sep 09, 2021 at 09:26:36PM +0200, Remi Bernon escreveu:
> > > Instead of using the file offset in the debug file.
> > > 
> > > This fixes a regression from 00a3423492bc90be99e529a64f13fdd80a0e8c0a,
> > > causing incorrect symbol resolution when debug file have been stripped
> > > from non-debug sections (in which case its .text section is empty and
> > > doesn't have any file position).
> > > 
> > > The debug files could also be created with a different file alignment,
> > > and have different file positions from the mmap-ed binary, or have the
> > > section reordered.
> > > 
> > > This instead looks for the file image base, using the corresponding bfd
> > > *ABS* symbols. As PE symbols only have 4 bytes, it also needs to keep
> > > .text section vma high bits.
> > 
> > I added a:
> > 
> > Fixes: 00a3423492bc90be ("perf symbols: Make dso__load_bfd_symbols() load PE files from debug cache only")
> > 
> > To help stable@...nel.org to pick it, its on my local tree now.
> > 
> > It would be great to get a:
> > 
> > Reviewed-by: Nicholas Fraser <nfraser@...eweavers.com>
> > 
> > Can we have it, please?
> > 
> 
> Well, Nicholas doesn't work with us anymore. I've reached them separately
> but didn't get any answer so I'm thinking they may not be interested.

No problem, its already upstream now.

Thanks,

- Arnaldo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ