dereference: add strlen() as a dereference function
commit9c0b007ab4d9f355c1c332ed4896309c8632b877
authorDan Carpenter <dan.carpenter@linaro.org>
Wed, 2 Aug 2023 12:02:58 +0000 (2 15:02 +0300)
committerDan Carpenter <dan.carpenter@linaro.org>
Wed, 2 Aug 2023 12:02:58 +0000 (2 15:02 +0300)
tree80796462d2ac310f1efcde31f5a0a53b947e0973
parent999b42717f0ff3d32025ee42f35f233b28a4b734
dereference: add strlen() as a dereference function

Normal strlen() would be detected as a dereference function automatically
but __builtin_strlen() can't be so it needs to be hardcoded.

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