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

go build elf file, elf.write error Invalid ElfObjectFile #20

Open
send010 opened this issue May 25, 2022 · 3 comments
Open

go build elf file, elf.write error Invalid ElfObjectFile #20

send010 opened this issue May 25, 2022 · 3 comments
Labels
question Further information is requested

Comments

@send010
Copy link

send010 commented May 25, 2022

go build a elf file
elf.write error:
Invalid ElfObjectFile
Error LB0154: Invalid PT_LOAD segment alignment requirements: (VirtualAddress - Range.Offset) & (Alignment - 1) == 128 while it must be == 0

image

@filipnavara
Copy link
Contributor

Can you share the main ELF file? I don't think there's anything easily actionable without it.

@send010
Copy link
Author

send010 commented May 25, 2022

main.zip

main file

@send010
Copy link
Author

send010 commented May 25, 2022

i want to add a section to the elf file.

@xoofx xoofx added the question Further information is requested label Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants