Support array and pointer types in scanf generated function
authorBrenden Blanco <bblanco@plumgrid.com>
Sun, 7 Feb 2016 04:59:10 +0000 (20:59 -0800)
committerBrenden Blanco <bblanco@plumgrid.com>
Sun, 7 Feb 2016 05:16:54 +0000 (21:16 -0800)
commit39354092a8f24f576ae221b5dee3c2494f105939
tree3670b20f96e67e6f07531a4c41f2aa85468dab5b
parenta4645289f1fdc32090fb30ea7b91d16001d9b55b
Support array and pointer types in scanf generated function

The rewriter-created sscanf and snprintf routines did not support map
structs with arrays or pointer types in them. Add such support.

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
src/cc/bpf_module.cc
tests/cc/test_clang.py