
The sandbox normally closes open handles when lowering the token, however this often includes querying object type information from invalid handles. When the Handles checker is enabled this triggers exceptions which then make App Verifier harder to use. Since the Handles checker is quite useful it is worth disabling the closing of handles when App Verifier is loaded. This is detected by looking for vrfcore.dll. Bug: 836315 Change-Id: I2c794caf5e9b1c719376aabe780c7dcde7be56cd Reviewed-on: https://chromium-review.googlesource.com/1032783 Reviewed-by: Justin Schuh <jschuh@chromium.org> Reviewed-by: Will Harris <wfh@chromium.org> Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Cr-Commit-Position: refs/heads/master@{#555104}