SMASHEM(1)

NAME
smaSHeM - a System V shared memory segment manipulator

SYNOPSIS
smaSHeM -v | -i < shmemid > -l < shmemlength > < -@ < patchoffset > -s < patchstring > | -d [ -p | -c | -P | -j -x < xstart > -X < endx > -y < starty > -Y < yend > ] >

DESCRIPTION
smaSHeM is a System V shared memory segment manipulator.

OPTIONS

-v  Displays the version number andd terminates.

shmemid
    Specifies the segment identifier.

shmemlength
    Specifies the length of the segment.

patchoffset
    Specifies the start of the patch.

patchstring
    Specifies the string to patch in.

-d  Specifies that the segment should be displayed. On it's own, it will lead to a raw memory dump being performed.

-p  Specifies that the segment should be displayed as a Perl string.

-c  Specifies that the segment should be displayed as a C string.

-P  Specifies that the segment should be displayed prettily.

-j  Specified that the segment should be image dumped. As we are looking at raw memory, this involves brute forcing the x and y dimensions.
    By default, smaSHeM will fix the y dimension at 30 pixels and try 0 through 2000 as valid x values. You can however change this as follows:

-x  Specifies the minimum x dimension.

-X  Specifies the maximum x dimension.

-y  Specifies the minimum y dimension.

-Y  Specifies the maximum y dimension.
    When dumping images, files will be written out as JPEGs to the current working directory in the form x-y.jpeg.

AUTHOR
Written by Tim Brown <mailto:timb@nth-dimension.org.uk>.

REPORTING BUGS
Report bugs to Tim Brown <mailto:timb@nth-dimension.org.uk>.

COPYRIGHT
Copyright © Tim Brown, 2013.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.