Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seanenck/toobz
EFI zboot unpacker/decompressor
https://github.com/seanenck/toobz
arm64 efi risc-v
Last synced: about 2 months ago
JSON representation
EFI zboot unpacker/decompressor
- Host: GitHub
- URL: https://github.com/seanenck/toobz
- Owner: seanenck
- License: gpl-3.0
- Created: 2024-09-10T23:05:51.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-15T14:40:13.000Z (4 months ago)
- Last Synced: 2024-09-15T15:56:31.389Z (4 months ago)
- Topics: arm64, efi, risc-v
- Language: Go
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
toobz
===A Go implementation of un-zbooting an EFI zboot image (mainly for arm64).
## Why?
Run into an image with `file` output like
```
PE32+ executable (EFI application) Aarch64 (stripped to external PDB), for MS Windows
```or?
```
PE32+ executable (EFI application) RISC-V 64-bit (stripped to external PDB), for MS Windows
```These files need to be unpacked in a few cases where the raw kernel is desired.
There are other formats and types of similar looking files (e.g. sectioned) that
`toobz` does not currently support.## Build
Clone and run
```
make
```## Usage
To extract an image
```
toobz -in -out
```To extract and decompress an image:
```
toobz -in -out -decompress
```## Reference
This is a Go re-implementation of [unzboot](https://github.com/eballetbo/unzboot) which is actually an
implementation derived from
[qemu](https://github.com/qemu/qemu/blob/master/hw/core/loader.c) both of which
are written in C.