dereference: don't talk about dereferencing arrays (only pointers)
commite9fd075a42311bd4714c3816b4584a758d4f4c76
authorDan Carpenter <dan.carpenter@linaro.org>
Wed, 2 Aug 2023 12:08:52 +0000 (2 15:08 +0300)
committerDan Carpenter <dan.carpenter@linaro.org>
Wed, 2 Aug 2023 12:08:52 +0000 (2 15:08 +0300)
treeb59ed9b2b962c684de315caf12d0a2e1ed004f84
parent9c0b007ab4d9f355c1c332ed4896309c8632b877
dereference: don't talk about dereferencing arrays (only pointers)

If you have:

char array[10];
char *p = &array[0];

Then you can do array[0] or p[0] and it's the same.  But in terms of
static analysis and tracking dereferences only the pointer dereference is
interesting.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
smatch_dereference.c