https://github.com/aixiansheng/lzfse
An LZFSE decompressor written in Go. Mostly useful for decompressing iOS kernel caches via blacktop/ipsw.
https://github.com/aixiansheng/lzfse
apple decompression golang ios kernelcache lzfse lzfse-compression-algorithm lzfse-decompressor
Last synced: about 2 months ago
JSON representation
An LZFSE decompressor written in Go. Mostly useful for decompressing iOS kernel caches via blacktop/ipsw.
- Host: GitHub
- URL: https://github.com/aixiansheng/lzfse
- Owner: aixiansheng
- License: unlicense
- Created: 2020-04-11T02:09:22.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-24T16:53:05.000Z (over 5 years ago)
- Last Synced: 2024-06-21T05:03:44.942Z (over 1 year ago)
- Topics: apple, decompression, golang, ios, kernelcache, lzfse, lzfse-compression-algorithm, lzfse-decompressor
- Language: Go
- Homepage:
- Size: 40 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lzfse
[](https://github.com/aixiansheng/lzfse/actions) [](https://pkg.go.dev/github.com/aixiansheng/lzfse)
> An LZFSE decompressor written in Go
```golang
package main
import (
"os"
"gihub.com/aixiansheng/lzfse"
)
func main() {
inf, err := os.Open("some.lzfse")
outf, err := os.Create("some.file")
d := lzfse.NewReader(fh)
io.Copy(outf, d)
}
```
## Testing
```
make -C test/
# all tests
go test -v
# just one test
go test -v -run TestVariousSizes/test/test.small.dec.cmp
```