commit | 0e271c53f580f08bd346d3915b6873b23376e5f0 | [log] [tgz] |
---|---|---|
author | Simon Ser <[email protected]> | Mon Aug 08 09:38:35 2022 +0200 |
committer | Simon Ser <[email protected]> | Mon Aug 08 16:32:12 2022 +0000 |
tree | 55e1185a3ca2e45de78efb944533519508ecb9a9 | |
parent | 9198ef48a3db33c49a05272dca29ba1b80c64ad7 [diff] |
edid: check first byte descriptor is a DTD EDID 1.2- allow the first byte descriptor to contain a display descriptor. EDID 1.3+ require the first byte descriptor to contain a detailed timing definition describing the display's preferred (ie, optimal) mode. Signed-off-by: Simon Ser <[email protected]>
EDID and DisplayID library.
Goals:
Open issues and merge requests on the GitLab project.
In general, the Wayland contribution guidelines should be followed. In particular, each commit must carry a Signed-off-by tag to denote that the submitter adheres to the Developer Certificate of Origin 1.1. This project follows the freedesktop.org Contributor Covenant.
libdisplay-info is built using Meson. It has no dependencies.
meson build/ ninja -C build/
The low-level EDID library is tested against edid-decode. test/data/
contains a small collection of EDID blobs and diffs between upstream edid-decode
and our di-edid-decode
clone. Our CI ensures the diffs are up-to-date. A patch should never make the diffs grow larger. To add a new EDID blob or update a diff, use test/edid-decode-diff.sh test/data/<edid>
.
To fuzz libdisplay-info with AFL, the library needs to be instrumented:
CC=afl-gcc meson build/ ninja -C build/ afl-fuzz -i test/data/ -o afl/ build/di-edid-decode