From 8ae4f8f5985445b1ce3547975f407847c0fee0f7 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sat, 28 Dec 2019 14:49:46 -0500 Subject: Documentation (and stubs) --- src/relocation.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/relocation.c') diff --git a/src/relocation.c b/src/relocation.c index 681cded..ad65f11 100644 --- a/src/relocation.c +++ b/src/relocation.c @@ -280,6 +280,13 @@ int prefixes_write(const char *output_file, int mode, char **prefix, const char return 0; } +/** + * Wrapper for `reloc` program. Replace text in binary data. + * @param _filename + * @param _oldstr + * @param _newstr + * @return + */ int relocate(const char *_filename, const char *_oldstr, const char *_newstr) { int returncode; Process *proc = NULL; -- cgit