mbox series

[0/6] teach sparse about wide string initializers

Message ID 20200808161143.28272-1-luc.vanoostenryck@gmail.com (mailing list archive)
Headers show
Series teach sparse about wide string initializers | expand

Message

Luc Van Oostenryck Aug. 8, 2020, 4:11 p.m. UTC
This series adds support for wide string initializers.
It's obviously not much important for the kernel but it's
used in a few places related to EFI.

Luc Van Oostenryck (6):
  wstring: add support for evaluation of wide string
  wstring: add support for checking size in string initializer
  wstring: add support for examination of string initialization
  wstring: add helper is_wchar_type()
  wstring: extend is_string_type() to also detect wide strings
  wstring: call is_string_type() only when needed

 evaluate.c                | 25 ++++++++++++++----------
 symbol.c                  | 25 ++++++++++++++++++++++++
 symbol.h                  |  7 +++++++
 validation/init-wstring.c | 40 +++++++++++++++++++++++++++++++++++++++
 validation/init_cstring.c |  2 ++
 5 files changed, 89 insertions(+), 10 deletions(-)
 create mode 100644 validation/init-wstring.c


base-commit: e1578773182e8f69c3a0cd8add8dfbe7561a8240