syscall_intercept icon indicating copy to clipboard operation
syscall_intercept copied to clipboard

Cannot print backtrace after syscall interception

Open wujysh opened this issue 5 years ago • 1 comments

All backtrace functions are not working in the syscall overriden functions, e.g.

int backtrace(void **buffer, int size);
#include <boost/stacktrace.hpp>
std::cout << boost::stacktrace::stacktrace();

Looks like the interception assembly doesn't set the ss and sp back correctly. Not sure if this is the root cause. Is it possible to recover the full stack trace to ease trouble-shooting?

wujysh avatar Mar 22 '21 13:03 wujysh

@GBuella Can you help take a look? Thanks!

wujysh avatar Mar 26 '21 08:03 wujysh