-
-
Notifications
You must be signed in to change notification settings - Fork 591
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
Mach-O : cannot set bind_opcodes #857
Comments
Hi Nicolas, Yes actually you can't modify the raw Dyld opcodes as they are recomputed in the build process. Nevertheless I could add an option in the build process to avoid this re-computation. |
I finally didn't manage to do what I wanted by modifying Another solution could be to mark the property as readonly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I try to set
target.dyld_info.bind_opcodes
on a MachO binary. The property seems to be set to the expected value before thewrite
method, but is back to the previous value when write the modified binary.To Reproduce
returns
Expected behavior
The opcode is replaced in the output binary.
Environment (please complete the following information):
pip install lief
)Additional context
n/a
The text was updated successfully, but these errors were encountered: