2.2 addon-manager 2.4 install-simics
Simics Reference Manual  /  2 Command-Line Tools and Programs  / 

2.3 craff

SYNOPSIS

craff [options] [input-file ...]

DESCRIPTION

The compressed random access file format is used by Simics's image module to handle sparse block data. The craff command line utility can be used to create and manipulate craff files.

The default operation is to merge the input files, each of which can be either in craff format, fixed-type VHD format, VHDX format, or raw files (e.g., disk or memory dumps) and to output the merged result to an output file. The order of the input files is important: data from later input files override earlier files. Since craff files can have holes (gaps) in them, data from earlier files can propagate to the result.

Each file argument is on the form filename[,start[,size[,offset]]] where start, size and offset are optional numerical parameters as follows:

For example, the argument myfile.craff,300,100,700 will take 100 bytes at offset 700 from myfile.craff and place them at offset 300 in the output.

OPTIONS

2.2 addon-manager 2.4 install-simics