jam1garner / jam1garner/nail

Extracting matched sections to a new buffer (feature request)

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
25
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Some binary formats embed other formats. It would be useful to be able to search for these, and where possible extract either to a specified end marker or just 'x bytes from the match', then open this in a fresh buffer.

If this buffer could then be saved to disk as a new binary file (for example on finding a valid image file or audio stream) so much the better.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by locating the existing search and buffer-opening entry points in the Rust hex editor. Define how a match, end marker, or byte count selects data, then verify that the extracted buffer can be opened and saved as a new binary file.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.