summaryrefslogtreecommitdiffstats
path: root/base/debug/asan_invalid_access.h
Commit message (Collapse)AuthorAgeFilesLines
* Hide some SyzyASan specific code behind an '#if defined(COMPILER_MSVC)'.sebmarchand@chromium.org2014-07-311-2/+2
| | | | | | | | | | | This is necessary for the code in base/debug/... because it gets included by base_nacl which is compiled with g++ which doesn't support SyzyASan. R=thakis@chromium.org BUG= Review URL: https://codereview.chromium.org/433493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286699 0039d316-1c4b-4281-b951-d872f2087c98
* Export ASAN helpers for component builds.dcheng@chromium.org2014-06-161-5/+6
| | | | | | | | | | Fixes ASAN component build after r277201. TBR=ajwong@chromium.org Review URL: https://codereview.chromium.org/339543002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277390 0039d316-1c4b-4281-b951-d872f2087c98
* Add some function to induce ASan crashes.sebmarchand@chromium.org2014-06-141-0/+46
This will allows to induce ASan crashes in the browser and in the renderer processes, this is really useful when trying to debug an ASan crash (to make sure that the build is really instrumented). This code add the following crash urls to chrome: chrome://crash/browser-heap-overflow chrome://crash/browser-heap-underflow chrome://crash/browser-use-after-free chrome://crash/browser-corrupt-heap-block chrome://crash/browser-corrupt-heap Those URLs induce a crash in the browser process, while those: chrome://crash/heap-overflow chrome://crash/heap-underflow chrome://crash/use-after-free chrome://crash/corrupt-heap-block chrome://crash/corrupt-heap induce a crash in the renderer process. We need this because as these process use a different DLL (chrome.dll vs chrome_child.dll) one of them could be ASan-instrumented while the other one isn't... So the current code in renderer/ is useless for the browser-only instrumented builds... BUG= Review URL: https://codereview.chromium.org/306753003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277201 0039d316-1c4b-4281-b951-d872f2087c98