[RFC PATCH v1 0/3] Add decoding of general DRM ioctl.

Zhibin Li haoyouab at gmail.com
Mon Jun 3 13:24:32 UTC 2019


This series of patch set is based on what Patrik sent months ago. For
now I basically finish the general part (those driver-specific ioctls
are not finished or tested). But I think there will be some issues and
other problems so I put RFC and the beginning of the patches.

Zhibin Li (3):
  drm: add config for detecting libdrm
  drm: implement decoding of DRM ioctls
  tests: add tests for DRM ioctl decoding

 Makefile.am                  |   2 +
 configure.ac                 |   9 +
 defs.h                       |   2 +
 drm.c                        | 629 +++++++++++++++++++++++++
 drm_mpers.c                  | 201 ++++++++
 ioctl.c                      |   8 +
 tests/.gitignore             |   2 +
 tests/Makefile.am            |   2 +
 tests/gen_tests.in           |   1 +
 tests/ioctl_drm-success.c    | 881 +++++++++++++++++++++++++++++++++++
 tests/ioctl_drm-success.test |  18 +
 tests/ioctl_drm.c            |  90 ++++
 tests/pure_executables.list  |   1 +
 13 files changed, 1846 insertions(+)
 create mode 100644 drm.c
 create mode 100644 drm_mpers.c
 create mode 100644 tests/ioctl_drm-success.c
 create mode 100755 tests/ioctl_drm-success.test
 create mode 100644 tests/ioctl_drm.c

-- 
2.21.0



More information about the Strace-devel mailing list