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

[question] How to patch the path of section headers? #500

Open
Freed-Wu opened this issue Jun 5, 2023 · 0 comments
Open

[question] How to patch the path of section headers? #500

Freed-Wu opened this issue Jun 5, 2023 · 0 comments

Comments

@Freed-Wu
Copy link
Contributor

Freed-Wu commented Jun 5, 2023

If a wrong path exists in section headers of a binary program, how to substitue it with correct path? I try to patchelf --set-interpreter its interpreter then sed the path, however, it breaks the correctness of elf format.

TIA!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant