ELF Parser in Lean

Open
#18 34 comments 5 reactions 0 assignees View on GitHub

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

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

help wanted

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:

Dominant language
Lean
Stars
128
Forks
31
Avg merge
1d 15h
Merged PRs (30d)
10

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from leanprover/LNSym

All issues in leanprover/LNSym

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.