On 10/15/19 6:24 PM, Wei Yang wrote:
>               if ($line =~ /\bbzero\(/) {
>                       ERROR("use memset() instead of bzero()\n" . $herecurr);
>               }
> +             if ($line =~ /getpagesize\(\)/) {
> +                     ERROR("use qemu_real_host_page_size instead of 
> getpagesize()\n" . $herecurr);
> +             }
> +             if ($line =~ /sysconf\(_SC_PAGESIZE\)/) {

Use \b to match beginning of symbol like bzero did?


r~

Reply via email to