[PATCH 0/2] fix missing evaluation when using '-include <file>'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This mini series is to fix a bug where functions included via
'-include <file>' are not evaluated and thus not expanded or
linearized as they should be.

Thanks to Jason A. Donenfeld for catching that and having enough
perseverance to create a small reproducer.

----------------------------------------------------------------

The patches are also available in the git repository at:

  git://github.com/lucvoo/sparse.git fix-include-eval

for you to fetch changes up to 36d1d8b9a453c1f7c215136624198aee9a6f174c:

  fix: missing evaluate with '-include' (2017-09-17 11:54:23 +0200)

----------------------------------------------------------------
Luc Van Oostenryck (2):
      fix: missing evaluate with '-include' : add testcase
      fix: missing evaluate with '-include'

 lib.c                       | 14 ++++++++++++++
 validation/include-eval.c   |  6 ++++++
 validation/include-eval.inc | 12 ++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 validation/include-eval.c
 create mode 100644 validation/include-eval.inc
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux