Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for adding or modifying PE's LoadConfiguration #1033

Open
cmdstack opened this issue Mar 4, 2024 · 1 comment
Open

Add support for adding or modifying PE's LoadConfiguration #1033

cmdstack opened this issue Mar 4, 2024 · 1 comment

Comments

@cmdstack
Copy link

cmdstack commented Mar 4, 2024

Describe the bug
Need to create Load Configuration when does not exist.
Need to update existing Load Configuration.

To Reproduce
Load your PE first to myPE

>>> load_config = lief.PE.LoadConfiguration()
>>> myPE.load_configuration = load_config
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: property of 'Binary' object has no setter

Expected behavior
No error, update the PE.

Environment (please complete the following information):
NA

Additional context
NA

NOTICE

If the issue does not contain enough information to be reproduced,
it will be flagged as incomplete
and closed.

/NOTICE

@romainthomas
Copy link
Member

Yes currently LIEF does not support adding or modifying PE's load config structure.

@romainthomas romainthomas changed the title Cannot create Load Configuration Add support for adding or modifying PE's LoadConfiguration Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants