samp-plugin-crashdetect
samp-plugin-crashdetect copied to clipboard
detect SCTRL [cip] and match the address to a function
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.
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.