Azure / vld

Visual Leak Detector for Visual C++ 2008-2015
https://kinddragon.github.io/vld/
GNU Lesser General Public License v2.1
41 stars 25 forks source link

Fix AV in FindRealCode and increment version number #8

Closed dcristoloveanu closed 3 years ago

dcristoloveanu commented 3 years ago

The issue here was that FindRealCode attempts to skip over the jmp mnemonics (most likely causing issues if detouring APIs). When reading the addresses (absolute or relative) in the code of the exporting/importing DLLs, the code would not change the protect status to make sure it can read it. In some obscure and infrequent cases the page would have PAGE_NOACCESS and then a read would cause an AV.

mattdurak commented 3 years ago

We should tag the branch as 2.5.7 when this is merged and then upload a release with the installer binary https://github.com/Azure/vld/releases #Resolved

dcristoloveanu commented 3 years ago

Will do


In reply to: 796335447 [](ancestors = 796335447)