extra: handle arrays better using the chunk code
commit65662296ea627f612e4c204d120b8dbd6d0da13b
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 30 Jul 2015 09:54:36 +0000 (30 12:54 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 30 Jul 2015 09:54:36 +0000 (30 12:54 +0300)
treeec8bb74eca196ae1b94571a1dc9823e38785458d
parentc5f48e24b8b24441bc18d88c0e32b09cd909ec7a
extra: handle arrays better using the chunk code

This lets use parse code like "if (foo[3] > 10)".  Very exciting.  :)
The offset doesn't have to be a literal, but if you try to mix literals
with variables then it tends to reset to unknown.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_extra.c
smatch_var_sym.c
validation/sm_chunk2.c [new file with mode: 0644]