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:
Wenzel/checksec.py#77
Thanks !
Describe the bug
Testing whether
GUARD_RF_FLAGS.INSTRUMENTEDis present with thehasmethod on aload_configurationobject returns a TypeErrorTo Reproduce
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):
0.10.1-bfe5414Additional context
I need this feature to check RFG support:
Wenzel/checksec.py#77
Thanks !