dumpshreds

package
v0.0.0-...-7621e06 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = cobra.Command{
	Use:   "dump-shreds <rocksdb> <out> <slots>",
	Short: "Dump shreds to file system",
	Long: `dump-shreds writes raw code and data shreds from RocksDB to the file system.
Slots can be specified as integers or ranges separated by comma.

Creates file paths ./<out>/<slot>/<type><index>
  type is either 'd' (data) or 'c' (code)

File paths are written to stdout.`,
	Example: `    dump-shreds ./rocksdb ./shreds 1,2,100:200
      ./shreds/1/d000
      ./shreds/1/d001
      ...
      ./shreds/2/d000
      ./shreds/2/d001
      ...
      ./shreds/100/d000
      ./shreds/100/d001
      ...
      ./shreds/101/d000
      ./shreds/101/d001`,
	Args: cobra.ExactArgs(3),
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL