-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Fix CET debugger stepping over CALL instructions #108809
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
7ff15c7
Initial changes to support in-place single-stepping over call instruc…
tommcdon 81070ee
ThreadSuspension WIP
tommcdon 877ab0e
Change how in-place single step is tracked
tommcdon fa1529b
Pass fSSCompleted to the right side
tommcdon 6c87a98
Only suspend other threads for in-place single step
tommcdon 232c7d5
Add thread resume in HandleSetThreadContextNeeded
tommcdon e70d2a9
ScanForTriggers should return DebuggerPatchSkip
tommcdon 8b6413c
Refactor out of proc thread suspension into CordbThread
tommcdon 44431bd
Avoid using DebuggerPatchSkip for tracking in-place single step on le…
tommcdon e8b4128
Track InplaceSteppingThreads at the process level on the RS, ApplyRem…
tommcdon 83a3043
Block detach if m_inplaceSteppingThreads is not empty
tommcdon 961d07c
Refactor InplaceSteppingThreads impl
tommcdon 7942742
Track thread create and exit for thread suspension
tommcdon 657102b
Change comments to minimize size of change
tommcdon 826721d
Fix blank space diff
tommcdon 331d4fd
Keep track of single step thread suspension count at the process level
tommcdon 141eb8c
Cleanup and correctly pass bool from LS to RS
tommcdon dc0ae8c
Workaround crash caused by SSP restore on fake context
tommcdon 983616f
Change page protections when clearing or writing breakpoints
tommcdon 79a1b71
Remove debug output and perform some cleanup
tommcdon 2169333
Track unmanaged threads with SHash instead of unordered_map
tommcdon 190dfab
Revert "Workaround crash caused by SSP restore on fake context"
tommcdon 2feac80
Fix func-eval abort with minimal code change
tommcdon cc1bdc8
Apply suggestions from noahfalk
tommcdon 42c90eb
Always define IsInPlaceSingleStep and return false if not implemented
tommcdon efafaa7
CR feedback from mikelle-rogers - correctly set begin iterator for su…
tommcdon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.