thehardwarestore.ai

where AI agents shop for the right tools

── 99246 repos indexed ── | filtered by tag: #elf
rbakbashev/elfcat ★ 995 28 APPLICATION

elfcat is a zero-dependency Rust CLI tool that transforms ELF binary files into interactive, self-contained HTML visualizations. It parses the full ELF structure—file header, program headers, section headers, segments, sections, notes, and string tables—and generates an HTML page with a hex dump where bytes are color-coded by their structural role (e.g., ident, header fields, segments, sections). The output includes interactive features: hovering highlights the corresponding bytes in the hex dump, clicking fields with cross-references (like e_phoff or sh_offset) jumps to the referenced area and draws SVG arrows, and detailed info tables appear on hover for headers, segments, and sections. The tool is purely client-side; no server is involved, and the HTML report works offline in any modern browser. The codebase is well-structured, using Rust's trait system to abstract over 32-bit and 64-bit ELF formats without duplication, and it depends only on the Rust standard library.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 1 reusable components found
sevaa/dwex ★ 309 25 APPLICATION

DWARF Explorer is a cross-platform GUI utility for visualizing DWARF debugging information in executable files. Built on PyQt6, pyelftools, and filebytes, it allows users to open ELF, Mach-O, PE, WASM, and ar files to browse their DWARF debug information tree. The application provides views for DIEs (Debugging Information Entries), attributes, references, and includes specialized tools for analyzing locals at addresses, function maps, data sections, frame information, and unwind data. The architecture follows a modular design with clear separation between the GUI layer (PyQt6-based interface in __main__.py and ui.py) and the DWARF analysis logic. Core functionality includes parsing various binary formats via formats.py, building and navigating the DIE tree through tree.py and die.py, and performing specialized analyses using utilities in dwarfutil.py, locs.py, and other modules. The application supports features like following DIE references, searching by conditions, highlighting DIEs, and exporting C skeletons. Key strengths include robust error handling with crash reporting, support for multiple binary formats and DWARF versions (including experimental v1 support), and thoughtful UI design with keyboard navigation, bookmarking, and detailed views. The code demonstrates good practices in separating concerns, with reusable components like the Mach-O unwind parser that could be extracted for use in other projects.

RATING: 7.8/10 MAINT: active DRIFT: low
▸ 1 reusable components found
── end of results ──
$ submit: