Re: [RFC] scripts: add leaking_addresses.pl

From: Tobin C. Harding
Date: Thu Oct 19 2017 - 16:22:20 EST


On Thu, Oct 19, 2017 at 08:44:31AM -0400, Steven Rostedt wrote:
> On Thu, 19 Oct 2017 17:34:44 +1100
> "Tobin C. Harding" <me@xxxxxxxx> wrote:
>
> >
> > My usual disclaimer; I am a long way from being a Perl monger, any tips,
>
> I'm a semi Perl monger.
>
> > however trivial, most welcome.
> >
> > Parses dmesg output first then;
> >
> > Algorithm walks the directory tree of /proc and /sys, opens each file
> > for reading and parses file line by line. We therefore need to skip
> > certain files;
> >
> > - binary files.
> > - relay large files of fixed format that _definitely_ won't leak.
>
> "relay large files"? What do the files relay with? ;-)

:) All bugs are shallow to enough eyes eh.

Good tips, thank you. V2 to come.

thanks,
Tobin.