aboutsummaryrefslogtreecommitdiff
path: root/backend.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-10-18 17:27:48 +0200
committerPetr Machata <pmachata@redhat.com>2012-10-24 17:22:59 +0200
commitda69ed0785ff0a9790f8edadb73fe21013aa118b (patch)
treeb64e28e3446684d653f06befcbcc29895381a422 /backend.h
parent0475ac36f22c9531cd0e0ba7d02cee5a1c5c67ea (diff)
downloadltrace-da69ed0785ff0a9790f8edadb73fe21013aa118b.tar.gz
Support tracing PIE executables
Diffstat (limited to 'backend.h')
-rw-r--r--backend.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/backend.h b/backend.h
index bf0d850..24d77af 100644
--- a/backend.h
+++ b/backend.h
@@ -203,10 +203,8 @@ void process_removed(struct Process *proc);
/* This should extract entry point address and interpreter (dynamic
* linker) bias if possible. Returns 0 if there were no errors, -1
* otherwise. Sets *ENTRYP and *INTERP_BIASP to non-zero values if
- * the corresponding value is known. Unknown values are set to 0.
- *
- * XXX This is not currently used, but it will be necessary for proper
- * support of PIE binaries. */
+ * the corresponding value is known, or zero otherwise; this is not
+ * done for pointers that are NULL. */
int process_get_entry(struct Process *proc,
arch_addr_t *entryp,
arch_addr_t *interp_biasp);