Closed Timonheu closed 4 months ago
Hi @Timonheu
The documentation you are pointing is actually for the nightly build. For the latest release you should use the stable dir: https://lief.re/doc/stable/
Note that on the left bar you have the exact commit/version for which the documentation is generated.
Ah I completely missed that, and did not manage to find the stable docs. Thank you very much!
Describe the bug According to the header documentation, a header object has the property
flags_list
, but this appears to not be true. (I get AttributeError: 'Header' object has no attribute 'flags_list')I can get the processor flags as an integer using the
processor_flag
property, but when I want to parse this withlief.ELF.PROCESSOR_FLAGS.from_value()
, (found in the documentation on this class) it appears that the classPROCESSOR_FLAGS
does not exist either. (I get AttributeError: 'lief._lief.ELF' has no attribute 'PROCESSOR_FLAGS').To Reproduce Steps to reproduce the behavior:
Expected behavior For
flags_list
to give a list oflief.ELF.PROCESSOR_FLAG
objects, and forlief.ELF.PROCESSOR_FLAG
to exist, in accordance with the documentation.Environment (please complete the following information):
Additional context Is there another way to parse the processor flags that is not in the documentation/documented elsewhere?
I did find that attributes like
arm_flags_list
do exist in a Header object, but I only found this under the header of version 0.8.0 in the changelog.