C::sparse - Perl binding to Linux's Sparse
use C::sparse; my $s = C::sparse::sparse("test.c", "-E"); my @f = $s->streams # get all streams, 0: <cmdline>, 1:<builtin, 2:test.c my @s = $f->e->s # get pre pre-processor tokenstream of test.c (source) my @d = $f->e->d # get post pre-processor tokenstream of test.c (dest)
Binding to the Linux static analyser Sparse.
None by default.
This version of sparse is based on repository https://github.com/eiselekd/sparse-decpp.git, a fork from sparse:5449cfbfe55eea2a602a40122c122b5040d67243. For the original sparse refer to https://sparse.wiki.kernel.org/index.php/Main_Page.
Konrad Eisele, <eiselekd a t gmail.com<gt>
Copyright (C) 2013 by Konrad Eisele
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.3 or, at your option, any later version of Perl 5 you may have available. Companies affiliated to the military complex are not allowed to use this binding and fork.