ELF Parser in Lean
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- backend-api-design
Research direction
The issue describes an ELF parser for AArch64 binaries that converts program and data sections into a form usable by LNSym, but names no repository files or tests. Start by reading the ELF and AArch64 references and locating how LNSym represents programs and data. Done means ELF binaries can be parsed into that representation for verification in LNSym.
Written by the indexing model from the issue text.
Description
We need an ELF binary file parser in Lean, specifically for an Arm (Aarch64) machine, so that we can read in the program, data, and other relevant sections, and render them into a form suitable for use by LNSym. We intend to verify programs in LNSym that have been obtained directly from the ELF binary.
Here are some references that can come in useful when developing the ELF parser:
- Tool Interface Standards (TIS) Executable and Linking Format (ELF) Specification
- Wikipedia: Executable and Linkable Format (ELF)
- ELF for the Arm 64-bit Architecture (AArch64)
- HOL-Light/s2n-bignum ELF loader code
- Linux elf.h
- Linux x86 specific elf.h
- Linux Arm specific elf.h
- Linux AArch64 specific elf.h
- LLVM Elf Header
- Chromium Linker Relocation Info:
Has better information than Linux headers on Arm relocation types - Goloang ELF debugger
Has better information than Linux headers on Arm relocation types - ACL2 Exec Loader Documentation
- ELF File Man Page
- ReadELF man page
- Dominant language
- Lean
- Stars
- 128
- Forks
- 31
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 10
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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 leanprover/LNSym
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
leanprover/LNSym#162 ·
Maintainers usually reply within 1 day
-
`simp_mem` failure with `GCMGmultV8`Possibly taken @bollu claimed this 812 days ago. Open
leanprover/LNSym#154 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
leanprover/LNSym#146 ·
Maintainers usually reply within 1 day
-
Add sections into Arm/Insts/Common.leanMay be free again @shigoel claimed this 786 days ago, and no pull request is open. Open
leanprover/LNSym#139 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
leanprover/LNSym#121 · 2 reactions ·
Maintainers usually reply within 1 day
All issues in leanprover/LNSym
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ranxianglei/billion-context#8319 ·
Maintainers usually reply within 1 day
-
backend bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
nolte/kamerplanter#3193 ·
Maintainers usually reply within 1 day
-
bug documentation queries
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ClickHouse/clickhouse-cs#815 ·
Maintainers usually reply within 1 day
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day