-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on win64, use SEH unwind tables to walk callstack #1222
Comments
Summary at WIP point Dec 2015: Unfortunately RtlLookupFunctionTable acquires a lock Fortunately, we already have .pdata parsing code in DR in Xref:
Challenges:
|
We would want to put this in place for any general library for #823. |
This was referenced Apr 2, 2021
derekbruening
added a commit
that referenced
this issue
Oct 17, 2021
Updates DR to 53af6c7 for the new drcallstack library. Adds a new option -callstack_use_unwind which is on by default for Linux. This uses drcallstack's libunwind-based callstack walk, which fixes problems of missing frames. If the starting PC is not in a module, the old callstack walking is used. Updates malloc replacement contexts to include the PC as of the same point as the captured stack pointer, for proper libunwind input. Issue: #823, #2399, #2392, #1222 Fixes #2392
derekbruening
added a commit
that referenced
this issue
Oct 18, 2021
Updates DR to 53af6c7 for the new drcallstack library. Adds a new option -callstack_use_unwind which is on by default for Linux. This uses drcallstack's libunwind-based callstack walk, which fixes problems of missing frames. If the starting PC is not in a module, the old callstack walking is used. Updates malloc replacement contexts to include the PC as of the same point as the captured stack pointer, for proper libunwind input. Issue: #823, #2399, #2392, #1222 Fixes #2392
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From [email protected] on May 08, 2013 22:42:06
With the common lack of frame pointers for win64 code, we should use the
SEH unwind tables to construct callstacks.
I'm seeing a lot of callstack issues with extra frames on win64 with
-replace_malloc, and this is one solution.
Original issue: http://code.google.com/p/drmemory/issues/detail?id=1222
The text was updated successfully, but these errors were encountered: