On Sat, 2020-02-08 at 09:30 +0100, Markus Elfring wrote:
> > For a pointer, the C parser constructed an AST dissimilar from that
> > of the Cocci AST. This caused failures in matching with certain
> > pointer types. For example, for the following case:
> >
> > char *1 const *2 id;
> >
> > The C AST constructed would be:
> > const Pointer1 -> Pointer2 -> char
> >
> > The Cocci AST constructed would be:
> > Pointer2 -> const Pointer1 -> char
>
> Which software development tools support to check such information?
>
A little collection of scripts/tools I've written[1], and the
invaluable OCaml debugger :)
Cheers,
Jaskaran.
[1]http://github.com/jajajasalu2/cocci-type-test-suite
> Regards,
> Markus
___
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci