LIEF/examples/python/pe_resources_manager.py
Romain Thomas 733053bc63 Enhance PE resources
* Improve Resource Manager
* Fix bug when rebuilding resources (aligment issue)
* Provide a Python API to access to the resource tree
* Pretty print lang/sublang of resources
* Parse resource dialog
* Parse resource icons
* Parse resource version
* Add tests on the resource builder
* Add tutorial (related to #28)
2017-06-11 16:47:16 +02:00

7 lines
183 B
Python

import lief
b = lief.parse("/home/romain/dev/LIEF/LIEF/tests/samples/PE/PE64_x86-64_binary_mfc-application.exe")
manager = b.resources_manager
print(manager)
print(manager.manifest)