]> git.ipfire.org Git - thirdparty/systemd.git/commit
ukify: add a verb to inspect the PE sections
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>
Tue, 20 Jun 2023 08:52:40 +0000 (04:52 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 15 Jul 2023 17:41:51 +0000 (19:41 +0200)
commitdf4a46733a609f1673de0bebb38e89fffd70c16c
tree941527c3ac7eab0a5c3b9d8bf9f56174ccf8aaa4
parentb708789dc4ec43e6ef61c387d0a4625a36df0593
ukify: add a verb to inspect the PE sections

Since PE can't be read with a normal editor, provide functionality to read PE
sections and output their name and when possible the content too.

ukify inspect <file> describes the sections and print the content of the
well-known sections to stdout.

Co-authored-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
src/ukify/ukify.py