File-BSED

 view release on metacpan or  search on metacpan

doc/libgbsed.pod  view on Meta::CPAN

character sequence C<??>, which will match any byte. The string
can start with C<0x>, but this is optional.

=item C<char *replace>

What to replace with. Must also be a string with hex values,
but no wildcards allowed. It must also be of the same length
as the search string (This is by intention, as binary data is always
in structured form. If you add extra information to a binary executable
it will be rendered useless as address offsets will be shifted and
relocation tables and internal address references will point to the
wrong place).

=item C<char *infilename>

The file name of the file to search in.

=item C<char *outfilename>

The file name to save the modified binary as.

libgbsed.c  view on Meta::CPAN

character sequence C<??>, which will match any byte. The string
can start with C<0x>, but this is optional.

=item C<char *replace>

What to replace with. Must also be a string with hex values,
but no wildcards allowed. It must also be of the same length
as the search string (This is by intention, as binary data is always
in structured form. If you add extra information to a binary executable
it will be rendered useless as address offsets will be shifted and
relocation tables and internal address references will point to the
wrong place).

=item C<char *infilename>

The file name of the file to search in.

=item C<char *outfilename>

The file name to save the modified binary as.

man/man3/libgbsed.3  view on Meta::CPAN

character sequence \f(CW\*(C`??\*(C'\fR, which will match any byte. The string
can start with \f(CW\*(C`0x\*(C'\fR, but this is optional.
.ie n .IP """char *replace""" 4
.el .IP "\f(CWchar *replace\fR" 4
.IX Item "char *replace"
What to replace with. Must also be a string with hex values,
but no wildcards allowed. It must also be of the same length
as the search string (This is by intention, as binary data is always
in structured form. If you add extra information to a binary executable
it will be rendered useless as address offsets will be shifted and
relocation tables and internal address references will point to the
wrong place).
.ie n .IP """char *infilename""" 4
.el .IP "\f(CWchar *infilename\fR" 4
.IX Item "char *infilename"
The file name of the file to search in.
.ie n .IP """char *outfilename""" 4
.el .IP "\f(CWchar *outfilename\fR" 4
.IX Item "char *outfilename"
The file name to save the modified binary as.
.ie n .IP """int minmatch""" 4



( run in 0.921 second using v1.01-cache-2.11-cpan-71847e10f99 )