LIEF
LIEF copied to clipboard
TypeError: load_configuration.has GUARD_RF_FLAGS.INSTRUMENTED
Describe the bug
Testing whether GUARD_RF_FLAGS.INSTRUMENTED is present with the has method on a load_configuration object returns a TypeError
To Reproduce
- load a PE with LIEF
- run
b.load_configuration.has(GUARD_RF_FLAGS.INSTRUMENTED)

Expected behavior The method should have returned a boolean to indicate whether this flag was present or not.
Environment (please complete the following information):
- System and Version : Ubuntu 20.04
- Target format PE
- LIEF commit version:
0.10.1-bfe5414
Additional context I need this feature to check RFG support: https://github.com/Wenzel/checksec.py/issues/77
Thanks !
In progress on the branch issue/473