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]
Message-ID: <20200222002312.GN160988@tassilo.jf.intel.com>
Date:   Fri, 21 Feb 2020 16:23:12 -0800
From:   Andi Kleen <ak@...ux.intel.com>
To:     Jiri Olsa <jolsa@...nel.org>
Cc:     Arnaldo Carvalho de Melo <acme@...nel.org>,
        lkml <linux-kernel@...r.kernel.org>,
        Ingo Molnar <mingo@...nel.org>,
        Namhyung Kim <namhyung@...nel.org>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Peter Zijlstra <a.p.zijlstra@...llo.nl>,
        Michael Petlan <mpetlan@...hat.com>,
        Ravi Bangoria <ravi.bangoria@...ux.ibm.com>,
        Kajol Jain <kjain@...ux.ibm.com>,
        John Garry <john.garry@...wei.com>
Subject: Re: [PATCH 2/4] perf expr: Move expr lexer to flex

> +max		{ return MAX; }
> +min		{ return MIN; }
> +if		{ return IF; }
> +else		{ return ELSE; }
> +#smt_on		{ return SMT_ON; }
> +{number}	{ return value(yyscanner, 10); }
> +{symbol}	{ return str(yyscanner, ID); }
> +"|"		{ return '|'; }
> +"^"		{ return '^'; }
> +"&"		{ return '&'; }
> +"-"		{ return '-'; }
> +"+"		{ return '+'; }
> +"*"		{ return '*'; }
> +"/"		{ return '/'; }
> +"%"		{ return '%'; }
> +"("		{ return '('; }
> +")"		{ return ')'; }
> +","		{ return ','; }

Didn't think there was a comma, but ok.

Looks reasonable to me.

-Andi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ