diff options
author | Simon McVittie <smcv@collabora.com> | 2022-09-12 13:28:29 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-10-05 10:24:22 +0100 |
commit | d633016f7340f83142f19f4bcac08c57e1f2fd2f (patch) | |
tree | 50af195ac15d8d75ef22479945c3f5f83baaaad1 /cmake | |
parent | 079bbf16186e87fb0157adf8951f19864bc2ed69 (diff) | |
download | dbus-d633016f7340f83142f19f4bcac08c57e1f2fd2f.tar.gz |
test/data: Add messages that reproduce dbus/dbus#413, dbus/dbus#418
In debug builds with "embedded tests" enabled, these will automatically
be used as input for the message-internals test.
Some of the messages themselves are output from a fuzzer, others are
simplifications to include only one reason for lack of validity per
message.
I've included an annotated hex-dump for each message here, but the dbus
test suite doesn't currently know how to convert hex to binary, so I've
also committed the corresponding binary. See the comment at the top of
each hex-dump for how to create the binary version (which requires the
xxd tool shipped with vim).
It would be nice for the dbus test suite to be able to convert the
annotated hex-dump to binary, either at build-time with a Python script
or at runtime by loading the text file and decoding the hex, but I don't
want to block on that for dbus/dbus#413 and dbus/dbus#418.
Reproduces: https://gitlab.freedesktop.org/dbus/dbus/-/issues/413
Reproduces: https://gitlab.freedesktop.org/dbus/dbus/-/issues/418
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions