[PATCH v2 0/3] Parse <elf.h> in the glibcelf Python module

Florian Weimer fweimer@redhat.com
Wed Sep 14 14:59:52 GMT 2022


This version addresses Siddhesh's review comments and adds a check that
the prefix filter actually matches anything.

Tested on i686-linux-gnu and x86_64-linux-gnu.

Thanks,
Florian

Florian Weimer (3):
  scripts: Extract glibcpp.py from check-obsolete-constructs.py
  scripts: Enhance glibcpp to do basic macro processing
  elf: Extract glibcelf constants from <elf.h>

 elf/tst-glibcelf.py                  |   79 +-
 scripts/check-obsolete-constructs.py |  189 +----
 scripts/glibcelf.py                  | 1016 ++++++++++----------------
 scripts/glibcpp.py                   |  529 ++++++++++++++
 support/Makefile                     |   10 +-
 support/tst-glibcpp.py               |  217 ++++++
 6 files changed, 1197 insertions(+), 843 deletions(-)
 create mode 100644 scripts/glibcpp.py
 create mode 100644 support/tst-glibcpp.py


base-commit: 05967faf0e3df6aad07f0b05e138e86f82363deb
-- 
2.37.2



More information about the Libc-alpha mailing list