misc fixes
Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/viro/sparse.git
local15.
A bunch of bug fixes + more typechecking sanitized.
Contents:
add __builtin_strlen()
no such thing as array of functions
new helper: unfoul()
handling of typeof in evaluate_member_dereference()
file and global scopes are the same for purposes of struct redefining ...,array should degenerate
sanitize evaluate_ptr_add(), start checking for pointers to functions fix evaluate_compare()
sanitize evaluate_postop()
saner -Wtypesign
braino in conditional_expression()
Diffstat:
evaluate.c | 170 +++++++++++++++++++++++----------------- expression.c | 2 +- lib.c | 1 + parse.c | 2 +- scope.c | 10 +++ scope.h | 1 + validation/comma.c | 10 +++ validation/member_of_typeof.c | 14 ++++ validation/outer-scope.c | 19 +++++ 9 files changed, 155 insertions(+), 74 deletions(-) create mode 100644 validation/comma.c create mode 100644 validation/member_of_typeof.c create mode 100644 validation/outer-scope.c
Quoted 5 lines · Al Viro
Please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/viro/sparse.git
local15.A bunch of bug fixes + more typechecking sanitized.
Quoted 12 lines
Contents:
add__builtin_strlen()
no such thing as array of functions
new helper:unfoul()
handling of typeof inevaluate_member_dereference()
file and global scopes are the same for purposes of struct redefining ...,array should degenerate
sanitizeevaluate_ptr_add(), start checking for pointers to functions fixevaluate_compare()
sanitizeevaluate_postop()
saner -Wtypesign
braino inconditional_expression()
Merged; thanks!
- Josh Triplett