Documentation ¶
Overview ¶
Package extractors contains file extractors for various formats
Index ¶
- Constants
- func BinarySlice(e *types.Env, name string, positions ...uint64) (string, error)
- func MbrLba(e *types.Env, name string) (string, error)
- func UnUimage(e *types.Env, prefix string) (string, error)
- func Uncpio(e *types.Env, prefix string) (string, error)
- func Uncramfs(e *types.Env, prefix string) (string, error)
- func Ungzip(e *types.Env, prefix string) (string, error)
- func Unjffs2(e *types.Env, prefix string) (string, error)
- func Untar(e *types.Env, prefix string) (string, error)
- func Unzip(e *types.Env, prefix string) (string, error)
Constants ¶
View Source
const ( DT_CHR = 0x2 DT_BLK = 0x6 DT_DIR = 0x4 DT_REG = 0x8 DT_LNK = 0xa )
these are in syscall but thats not available on Windows:
Variables ¶
This section is empty.
Functions ¶
func BinarySlice ¶
BinarySlice creates a file from a slice
func Uncramfs ¶
Uncramfs attempts to unpack a cramfs image.
This is a quick and dirty cramfs implementation and the cramfs tools that create these files seem to be very buggy so don't be surprised if this code fails to handle your images.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.