Hangar.La tienda de software del Amiga

ksc_GrepMem

Search memory for text

Short:        Search memory for text
Author:       Kyzer/CSG
Uploader:     Kyzer/CSG <kyzer 4u net>
Type:         util/cli
Architecture: m68k-amigaos

GrepMem is named after a unix program that hunts through files for a string
or  a  pattern.  However,  GrepMem  doesn't do patterns. It searches for an
exact  match  of  the string you supply. Also, GrepMem doesn't look through
files. It looks through raw memory.

Usage: GrepMem "<search text>" [START <address>] [END <address>] [PADZERO]

Notes:
- You  do  not  have to, but it is a good idea to put "double quotes" round
  the  string  that  you  want to search for. Why? Well, getting your input
  into memory and printing it out a few times will leave some copies around
  in  memory.  If you put quotes around your string, it will search for the
  string WITHOUT THE QUOTES, and if it finds a copy that *is* in quotes, it
  will NOT match it.

- To  define  an area of memory to search, you must supply both a start and
  end  address,  which  both  must  be valid hexadecimal numbers (these can
  begin  with  '0x'  or  '$'  if you like). If you don't complete this, the
  assumed search area will be all of chip memory.

- There is a PADZERO option which, if enabled, means GrepMem will print the
  addresses of matches with full 8 byte addresses, instead of using spaces.

- You  can  break  any  time by pressing CTRL-C. The break is checked every
  time a match is found.

- GrepMem is pure and can be made resident.

- GrepMem is incompatible with Enforcer-like tools, for obvious reasons.

Examples:

look through chipmem for a powerpacker file
1> grepmem "PP20"
look through the amiga rom for references to Amiga
1> grepmem "Amiga" f80000 1000000

Requires 2.0 or better.

****************************************************************************
*          THIS PROGRAM IS PART OF THE "KYZER'S SMALLS" COLLECTION         *
*           The KyzSmlClxn is a set of small yet useful commands.          *
*                                                                          *
*       Commands are installed by copying them to your C: directory.       *
*     Source is included, and is licensed under the GNU GPL version 2.     *
*                                                                          *
*  Email Kyzer/CSG <kyzer@4u.net> or see the website at http://zap.to/kyz  *
****************************************************************************

Gratis

Web del proyecto ↗

Descargar 4 KB

Desde el Amiga: abre Hangar y busca ksc_GrepMem.

AutorKyzer/CSG
Categoríautil/cli
Tamaño4 KB
Param68k-amigaos
OrigenAminet