When emulating a load pair or store pair in dtrace on arm64 we need to copy the data between the stack and trap frame. When the registers are either the link register or the zero register we will access memory past the end of the trap frame as these are encoded as registers 30 and 31 respectively while the array they access only has 30 entries. Fix this by creating 2 helper functions to perform the operation with special cases for these registers. Sponsored by: Innovate UK |
||
---|---|---|
.. | ||
dtmalloc | ||
dtrace | ||
fbt | ||
profile | ||
sdt | ||
systrace | ||
prototype.c |