6e0f204c3f
r281257 added support for lazyload mode by allowing dtrace(1) to register a DOF section on behalf of a traced process. This was implemented by having libdtrace copy the DOF section into a heap-allocated buffer and passing its address to the ioctl handler. However, DTrace uses the DOF section address as a lookup key in certain cases, so the ioctl handler should be given the target process' DOF section address instead. This change modifies the ADDDOF handler to copy the DOF section in from the target process, rather than from dtrace(1). |
||
---|---|---|
.. | ||
dtmalloc | ||
dtrace | ||
fbt | ||
profile | ||
sdt | ||
systrace | ||
prototype.c |