Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Cannot print backtrace after syscall interception #108

Open
@wujysh

Description

@wujysh

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions