Export find_dynamic_entry_addr
Export find_dynamic_entry_addr as proc_find_dynamic_entry_addr.
Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
diff --git a/proc.h b/proc.h
index 9864e1b..b1b22b5 100644
--- a/proc.h
+++ b/proc.h
@@ -237,4 +237,9 @@
void *data),
void *data);
+/* Iterate through the dynamic section at src_addr looking for D_TAG.
+ * If tag is found, fill it's value in RET and return 0.
+ * If tag is not found, return a negative value. */
+int proc_find_dynamic_entry_addr(struct Process *proc, arch_addr_t src_addr,
+ int d_tag, arch_addr_t *ret);
#endif /* _PROC_H_ */