You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Cannot set properties on lief.PE.Binary like has_debug or has_signatures properties on the binary like you can on other properties like "binary.header.time_date_stamps".
To Reproduce
binary = lief.PE.parse(binary_location)
binary.has_debug = 1 # AttributeError: property of 'Binary' object has no setter
Expected behavior
Should be able to set the variable for binary.has_debug so that it can later be written to the binary with binary.write(). This functionality exists for other PE properties like everything in binary.data_directories, etc.
Environment (please complete the following information):
System and Version: micromamba:0.25.1
Target format: PE
LIEF commit version: 0.14.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Cannot set properties on
lief.PE.Binary
likehas_debug
orhas_signatures
properties on the binary like you can on other properties like "binary.header.time_date_stamps".To Reproduce
Expected behavior
Should be able to set the variable for
binary.has_debug
so that it can later be written to the binary withbinary.write()
. This functionality exists for other PE properties like everything inbinary.data_directories
, etc.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: