go build elf file, elf.write error Invalid ElfObjectFile
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- compilers, operating-systems
Research direction
Reproduce with the Go-built ELF described in the report and start at the elf.write path that emits “Invalid ElfObjectFile” and LB0154, then inspect the PT_LOAD alignment check. Done means the reported ELF can be written without the alignment error, with the behavior covered by a regression test.
Written by the indexing model from the issue text.
Description
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

- Dominant language
- C#
- Stars
- 184
- Forks
- 17
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from xoofx/LibObjectFile
-
question
Difficulty 3/5 1-2 days Newbie friendliness 20/100
xoofx/LibObjectFile#43 ·
-
enhancement Help Welcome
Difficulty 5/5 Over a week Newbie friendliness 25/100
xoofx/LibObjectFile#40 ·
-
enhancement Help Welcome
Difficulty 5/5 Over a week Newbie friendliness 25/100
xoofx/LibObjectFile#39 · 1 comment ·
-
enhancement Help Welcome
Difficulty 5/5 Over a week Newbie friendliness 20/100
xoofx/LibObjectFile#37 ·
-
enhancement Help Welcome
Difficulty 4/5 3-5 days Newbie friendliness 35/100
xoofx/LibObjectFile#36 · 2 comments ·
All issues in xoofx/LibObjectFile
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1425 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
RayWangQvQ/BiliBiliToolPro#1137 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100