feature request: extract_pe32 command
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 373
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
I was trying to extract a NERF kernel from an existing BIOS and what I had to do was:
```
$ utk bios extract dir/
$ utk table
```
then I had to find the GUID in the table from the "NERF" name (because the directory structure doesn't include the names)
so then I found the right directory, but the file has the 4 byte EFI section header, so you gotta
```
$ cd
$ dd if=0.sec of=linux.bin bs=1 skip=4
$ file linux.bin
linux.bin: Linux kernel x86 boot executable bzImage, ...
```
A command for doing this would be easier
Contributor 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.
Research direction
Start by tracing the existing `utk bios extract` command and the output directory containing `0.sec`; the issue describes the manual `dd` step needed after locating a NERF entry with `utk table`. Done means a new `extract_pe32` command performs that extraction without the manual header removal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100