Skip to content

Refactoring elf sturct#29

Merged
katsyoshi merged 32 commits intomainfrom
refactoring-elf-sturct
Jan 10, 2026
Merged

Refactoring elf sturct#29
katsyoshi merged 32 commits intomainfrom
refactoring-elf-sturct

Conversation

@katsyoshi
Copy link
Owner

@katsyoshi katsyoshi commented Jan 6, 2026

Checklist

  • Common ELF structures live under Caotral::Binary::ELF (Header/ProgramHeader/SectionHeader + Strtab/Symtab/Rel)
  • Linker no longer depends on linker/elf (directory removed; readers/writers use Binary::ELF)
  • Section is data-only (header, section_name, body) and creation happens in Reader/Writer
  • ELF#sections is a plain array and access helpers are on ELF (no Sections wrapper)
  • section_name behavior preserved ("null" maps to empty name when writing)

@katsyoshi katsyoshi merged commit 57071ec into main Jan 10, 2026
2 checks passed
@katsyoshi katsyoshi deleted the refactoring-elf-sturct branch January 10, 2026 15:28
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

Successfully merging this pull request may close these issues.

1 participant