libgbsed is a Perl module to search/replace in binary files.
SYNOPSIS
#include < libgbsed.h >
// using file names.
struct gbsed_arguments
{
char *search;
char *replace;
char *infilename;
char *outfilename;
int minmatch;
int maxmatch;
};
typedef struct gbsed_arguments GBSEDargs;
int
gbsed_binary_search_replace(struct gbsed_arguments *)
// using FILE*s
struct fgbsed_arguments
{
char *search;
char *replace;
FILE *infile;
FILE *outfile;
int minmatch;
int maxmatch;
};
typedef struct fgbsed_arguments fGBSEDargs;
int
gbsed_fbinary_search_replace(struct fgbsed_arguments *);
// Error handling
extern int
gbsed_errno;
const char*
gbsed_errtostr(int);
Product's homepage
Requirements:
· Perl