Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1284851 > unrolled thread

[RFC BUG] coccinelle: use_after_iter parse error

Started by"Geyslan G. Bem" <geyslan@gmail.com>
First post2015-12-06 14:10 +0100
Last post2015-12-06 14:30 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [RFC BUG] coccinelle: use_after_iter parse error "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-06 14:10 +0100
    Re: [RFC BUG] coccinelle: use_after_iter parse error "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-06 14:20 +0100
      Re: [RFC BUG] coccinelle: use_after_iter parse error Julia Lawall <julia.lawall@lip6.fr> - 2015-12-06 14:20 +0100
        Re: [RFC BUG] coccinelle: use_after_iter parse error "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-06 14:30 +0100

#1284851 — [RFC BUG] coccinelle: use_after_iter parse error

From"Geyslan G. Bem" <geyslan@gmail.com>
Date2015-12-06 14:10 +0100
Subject[RFC BUG] coccinelle: use_after_iter parse error
Message-ID<qCHeF-7kf-1@gated-at.bofh.it>
Hi maintainers,

I'm having these error output using coccinelle.


-- 
Regards,

Geyslan G. Bem
hackingbits.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1284853

From"Geyslan G. Bem" <geyslan@gmail.com>
Date2015-12-06 14:20 +0100
Message-ID<qCHol-7oQ-3@gated-at.bofh.it>
In reply to#1284851
2015-12-06 10:09 GMT-03:00 Geyslan G. Bem <geyslan@gmail.com>:
> Hi maintainers,
>
> I'm having these error output using coccinelle.

Sorry, gmail and its ctrl+enter shortcut. :/

geyslan@hb ~/Projects/linux $ make coccicheck V=2 M=drivers/usb/host/
-j4 > cocciout
Fatal error: exception Failure("minus: parse error: \n = File
\"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
column 0,  charpos = 3561\n    around = '&', whole content =
&c->member\n")
Fatal error: exception Failure("minus: parse error: \n = File
\"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
column 0,  charpos = 3561\n    around = '&', whole content =
&c->member\n")
Fatal error: exception Failure("minus: parse error: \n = File
\"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
column 0,  charpos = 3561\n    around = '&', whole content =
&c->member\n")
Fatal error: exception Failure("minus: parse error: \n = File
\"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
column 0,  charpos = 3561\n    around = '&', whole content =
&c->member\n")
Fatal error: exception Failure("minus: parse error: \n = File
\"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
column 0,  charpos = 3561\n    around = '&', whole content =
&c->member\n")
Fatal error: exception Failure("minus: parse error: \n = File
\"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
column 0,  charpos = 3561\n    around = '&', whole content =
&c->member\n")
Fatal error: exception Failure("minus: parse error: \n = File
\"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
column 0,  charpos = 3561\n    around = '&', whole content =
&c->member\n")
Fatal error: exception Failure("minus: parse error: \n = File
\"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
column 0,  charpos = 3561\n    around = '&', whole content =
&c->member\n")

sizeof(<+...c...+>)
|
&c->member  // Line 126
|
c = E

geyslan@hb ~/Projects/linux $ spatch --version
spatch version 1.0.4 with Python support and with PCRE support


>
>
> --
> Regards,
>
> Geyslan G. Bem
> hackingbits.com



-- 
Regards,

Geyslan G. Bem
hackingbits.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1284858

FromJulia Lawall <julia.lawall@lip6.fr>
Date2015-12-06 14:20 +0100
Message-ID<qCHom-7oQ-21@gated-at.bofh.it>
In reply to#1284853

On Sun, 6 Dec 2015, Geyslan G. Bem wrote:

> 2015-12-06 10:09 GMT-03:00 Geyslan G. Bem <geyslan@gmail.com>:
> > Hi maintainers,
> >
> > I'm having these error output using coccinelle.
>
> Sorry, gmail and its ctrl+enter shortcut. :/
>
> geyslan@hb ~/Projects/linux $ make coccicheck V=2 M=drivers/usb/host/
> -j4 > cocciout
> Fatal error: exception Failure("minus: parse error: \n = File
> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
> column 0,  charpos = 3561\n    around = '&', whole content =
> &c->member\n")

Thanks ever so much for the report.  Since version 1.0.4, & cannot be in
column 0, so it would need a space in front of it.  I will submit a patch.

julia

> Fatal error: exception Failure("minus: parse error: \n = File
> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
> column 0,  charpos = 3561\n    around = '&', whole content =
> &c->member\n")
> Fatal error: exception Failure("minus: parse error: \n = File
> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
> column 0,  charpos = 3561\n    around = '&', whole content =
> &c->member\n")
> Fatal error: exception Failure("minus: parse error: \n = File
> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
> column 0,  charpos = 3561\n    around = '&', whole content =
> &c->member\n")
> Fatal error: exception Failure("minus: parse error: \n = File
> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
> column 0,  charpos = 3561\n    around = '&', whole content =
> &c->member\n")
> Fatal error: exception Failure("minus: parse error: \n = File
> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
> column 0,  charpos = 3561\n    around = '&', whole content =
> &c->member\n")
> Fatal error: exception Failure("minus: parse error: \n = File
> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
> column 0,  charpos = 3561\n    around = '&', whole content =
> &c->member\n")
> Fatal error: exception Failure("minus: parse error: \n = File
> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
> column 0,  charpos = 3561\n    around = '&', whole content =
> &c->member\n")
>
> sizeof(<+...c...+>)
> |
> &c->member  // Line 126
> |
> c = E
>
> geyslan@hb ~/Projects/linux $ spatch --version
> spatch version 1.0.4 with Python support and with PCRE support
>
>
> >
> >
> > --
> > Regards,
> >
> > Geyslan G. Bem
> > hackingbits.com
>
>
>
> --
> Regards,
>
> Geyslan G. Bem
> hackingbits.com
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1284866

From"Geyslan G. Bem" <geyslan@gmail.com>
Date2015-12-06 14:30 +0100
Message-ID<qCHy2-7sE-23@gated-at.bofh.it>
In reply to#1284858
2015-12-06 10:17 GMT-03:00 Julia Lawall <julia.lawall@lip6.fr>:
>
>
> On Sun, 6 Dec 2015, Geyslan G. Bem wrote:
>
>> 2015-12-06 10:09 GMT-03:00 Geyslan G. Bem <geyslan@gmail.com>:
>> > Hi maintainers,
>> >
>> > I'm having these error output using coccinelle.
>>
>> Sorry, gmail and its ctrl+enter shortcut. :/
>>
>> geyslan@hb ~/Projects/linux $ make coccicheck V=2 M=drivers/usb/host/
>> -j4 > cocciout
>> Fatal error: exception Failure("minus: parse error: \n = File
>> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
>> column 0,  charpos = 3561\n    around = '&', whole content =
>> &c->member\n")
>
> Thanks ever so much for the report.  Since version 1.0.4, & cannot be in
> column 0, so it would need a space in front of it.  I will submit a patch.

You're welcome. :)

>
> julia
>
>> Fatal error: exception Failure("minus: parse error: \n = File
>> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
>> column 0,  charpos = 3561\n    around = '&', whole content =
>> &c->member\n")
>> Fatal error: exception Failure("minus: parse error: \n = File
>> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
>> column 0,  charpos = 3561\n    around = '&', whole content =
>> &c->member\n")
>> Fatal error: exception Failure("minus: parse error: \n = File
>> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
>> column 0,  charpos = 3561\n    around = '&', whole content =
>> &c->member\n")
>> Fatal error: exception Failure("minus: parse error: \n = File
>> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
>> column 0,  charpos = 3561\n    around = '&', whole content =
>> &c->member\n")
>> Fatal error: exception Failure("minus: parse error: \n = File
>> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
>> column 0,  charpos = 3561\n    around = '&', whole content =
>> &c->member\n")
>> Fatal error: exception Failure("minus: parse error: \n = File
>> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
>> column 0,  charpos = 3561\n    around = '&', whole content =
>> &c->member\n")
>> Fatal error: exception Failure("minus: parse error: \n = File
>> \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126,
>> column 0,  charpos = 3561\n    around = '&', whole content =
>> &c->member\n")
>>
>> sizeof(<+...c...+>)
>> |
>> &c->member  // Line 126
>> |
>> c = E
>>
>> geyslan@hb ~/Projects/linux $ spatch --version
>> spatch version 1.0.4 with Python support and with PCRE support
>>
>>
>> >
>> >
>> > --
>> > Regards,
>> >
>> > Geyslan G. Bem
>> > hackingbits.com
>>
>>
>>
>> --
>> Regards,
>>
>> Geyslan G. Bem
>> hackingbits.com
>>



-- 
Regards,

Geyslan G. Bem
hackingbits.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web