#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stringsearch.h>
Go to the source code of this file.
Functions | |
void | fillBM (const char *srch, size_t srch_len, size_t *bml, size_t bm_len) |
fill up an array with offset values used to advance the pointer | |
void * | inMem (const char *space, size_t space_len, const char *item, size_t item_len) |
find the item in the space concerned |
It's the horspool string search algorithm, except used for searching for memory patterns.
Definition in file stringsearch.c.
|
fill up an array with offset values used to advance the pointer
Definition at line 24 of file stringsearch.c. Referenced by inMem(). |
|
find the item in the space concerned
Definition at line 36 of file stringsearch.c. References fillBM(). Referenced by savegame_open(). |