[LTP] [PATCH] nm01: fix regex matching internal symbols

Li Wang liwang@redhat.com
Mon May 11 08:33:57 CEST 2020


On Sun, May 10, 2020 at 4:22 PM Petr Vorel <pvorel@suse.cz> wrote:

> > Current regex matches any word character followed by space
> > and one of letters "abdft". So it doesn't match only symbol type,
> > but can match for example value and size:
> >   $ grep "\w [a,b,d,f,t]" nm.out
> >   __libc_csu_init T 10000640 b4
> >                    matches ^ ^
>
> > Signed-off-by: Jan Stancek <jstancek@redhat.com>
> Reviewed-by: Petr Vorel <pvorel@suse.cz>
> Good catch, Jan.
>

Tested and pushed.

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200511/d55a97d0/attachment.htm>


More information about the ltp mailing list