samp-plugin-crashdetect icon indicating copy to clipboard operation
samp-plugin-crashdetect copied to clipboard

detect SCTRL [cip] and match the address to a function

Open YashasSamaga opened this issue 6 years ago • 1 comments

There are many libraries which manually set the instruction pointer. It would be quite useful if crashdetect would catch these instructions, find out which function the address belonged to and display it in the backtrace.

YashasSamaga avatar Jan 02 '18 16:01 YashasSamaga

Jumps are not part of the call stack, there is no trace of them on the stack. I can't think of an efficient implementation of showing jumps in stack traces.

Including them in [trace] would be easier I think. I could add a separate option to control this because I imagine not everybody wants to see jump spam in their function call trace.

Zeex avatar Jan 12 '18 12:01 Zeex