-
-
Notifications
You must be signed in to change notification settings - Fork 638
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
Corrupted ELF generated without any modification #970
Comments
@weimingzha0 this issue is incomplete and does not contain enough information to reproduce the error:
Corrupted: crash? missing symbol?
You didn't attach the library isn't? Please re-open an issue with all the details and the information needed to reproduce the error. Thank you |
Sorry for no providing enough info to reproduce. If I run readelf on the original, unmodified .so :
If I run the same command on generated .so file (just parse and write):
You can see the "" after "@@" If I use "nm"
|
I'm attaching the files |
@romainthomas I don't have permission to reopen it. Please let me know if anything else is needed to reproduce it |
Thank you @weimingzha0 for the new details. I confirm the bug and I'm going to address it quickly. |
Describe the bug
I tried to rename a symbol in libcudart.so, but the resulting shared lib is corrupted.
Even without changing anything, the new lib is corrupted.
readelf -sw new_lib.so
shows something like:To Reproduce
Steps to reproduce the behavior:
Then run readelf:
readelf -św /tmp/patched.so
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: