CodeExplorer Posted December 2, 2022 Posted December 2, 2022 C# (.NET) how to change the call stack trace of a running method?? Without throwing exceptions! Is this even possible?
CodeExplorer Posted December 2, 2022 Author Posted December 2, 2022 a non-working example here: https://stackoverflow.com/questions/25244325/can-i-change-current-stacktrace-in-c still unable to find solution at this moment.
BataBo Posted December 2, 2022 Posted December 2, 2022 To do that you'll need to find and modify call stack in memory, which I don't think you can do in c# without getting creative
Hadits follower Posted December 4, 2022 Posted December 4, 2022 its possible by c# by using pointer all we need to reach the native function pointer of the call
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now