Skip to content
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

Use PEImage API get export symbols for single file apps #2674

Merged
merged 7 commits into from
Oct 18, 2021

Conversation

mikem8361
Copy link
Member

Add single file app testing support.

Disable bpmd testing for single-file on Linux/MacOS

Issues: #2515 and #2438

Add single file app testing support.

Disable bpmd testing for single-file on Linux/MacOS

Issues: dotnet#2515 and dotnet#2438
@mikem8361 mikem8361 requested a review from hoyosjs October 13, 2021 23:38
@mikem8361 mikem8361 requested a review from a team as a code owner October 13, 2021 23:38
@mikem8361 mikem8361 self-assigned this Oct 13, 2021
IDebuggerServices::GetOffsetBySymbol is used to get the runtime info export and so most
of the changes are making the interface available on the libsos "side" under Linux/MacOS
since there is a Extensions instance both in libsosplugin and libsos. The libsos side
Extensions::GetDebuggerServices always returned null before this change. Now it only
returns null if hosted under a managed host like dotnet-dump.
Simplify to what the managed Runtime code does without the debugshim
and library provider. SOS no longer needs debugshim, but left it for
the future dbgshim out-of-band work.
Copy link
Member

@hoyosjs hoyosjs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few questions just to make sure I understood all this correctly.

Copy link
Member Author

@mikem8361 mikem8361 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all your feedback.

src/SOS/Strike/platform/runtimeimpl.cpp Show resolved Hide resolved
src/SOS/Strike/CMakeLists.txt Show resolved Hide resolved
src/SOS/SOS.UnitTests/SOSRunner.cs Show resolved Hide resolved
src/SOS/SOS.UnitTests/SOSRunner.cs Show resolved Hide resolved
src/SOS/Strike/platform/runtimeimpl.cpp Outdated Show resolved Hide resolved
src/SOS/Strike/platform/runtimeimpl.cpp Show resolved Hide resolved
@mikem8361
Copy link
Member Author

mikem8361 commented Oct 18, 2021 via email

@hoyosjs hoyosjs merged commit dc9d61a into dotnet:main Oct 18, 2021
@mikem8361 mikem8361 deleted the newclrmd branch October 18, 2021 23:47
@github-actions github-actions bot locked and limited conversation to collaborators Jan 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants