Skip to content

Differentiate embedded flexible arrays from flexible ones

Arnaldo Carvalho de Melo dwarves 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fprintf: Differentiate embedded flexible arrays from flexible arraysdwarves_fprintf.c+9 -30 replies
2/3fprintf: Show statistics about members with flexible arraysdwarves_fprintf.c+20 -00 replies
3/3tests: Add a test for the accounting of flexible arraystests/flexible_arrays.sh+77 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Differentiate embedded flexible arrays from flexible ones

From: Arnaldo Carvalho de Melo <[email protected]>

Hi Willy, Gustavo,

Now it has even a regression test, this now have what I think is
needed, take a look at the output of:

   pahole --with_embedded_flexible_arrays > \
	 http://vger.kernel.org/~acme/pahole--with_embedded_flexible_array-6.10.11-200.fc40.x86_64.c

And go on searching for 'flexible' :-)

Now I'm flexibly moving to other final issues to release pahole
1.28.

- Arnaldo

Arnaldo Carvalho de Melo (3):
fprintf: Differentiate embedded flexible arrays from flexible arrays
fprintf: Show statistics about members with flexible arrays
tests: Add a test for the accounting of flexible arrays

 dwarves_fprintf.c        | 32 +++++++++++++++--
 tests/flexible_arrays.sh | 77 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+), 3 deletions(-)
 create mode 100755 tests/flexible_arrays.sh
Signature · 1 line
2.46.0