aboutsummaryrefslogtreecommitdiff
path: root/src/relocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/relocation.c')
-rw-r--r--src/relocation.c7
1 files changed, 7 insertions, 0 deletions
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;