DescriptionImprove the ScopedHandle verifier.
1. Automate the selection of the proper channel to enable the verifier.
Now the code is enabled at runtime.
2. Switch to a hash_map to track handles.
3. Intercept CloseHandle to detect the code that is closing handles owned
by ScopedHandles. The initial implementation only covers chrome.exe/dll,
but the plan is to extend that in the future to all modules loaded in the
process.
BUG=362176
See https://codereview.chromium.org/490043002/ for the initial review.
Committed: https://crrev.com/86d7c90f6a309ecf7b499e8c2c30490d6e1f03ba
Cr-Commit-Position: refs/heads/master@{#293365}
Patch Set 1 #Patch Set 2 : Move initialization down the line #Patch Set 3 : Fix tests targets #Patch Set 4 : Fix map #
Total comments: 1
Patch Set 5 : Add comment to the lock #
Total comments: 2
Messages
Total messages: 12 (3 generated)
|