| # ********************************************************** |
| # Copyright (c) 2010-2014 Google, Inc. All rights reserved. |
| # ********************************************************** |
| # |
| # Dr. Memory: the memory debugger |
| # |
| # This library is free software; you can redistribute it and/or |
| # modify it under the terms of the GNU Lesser General Public |
| # License as published by the Free Software Foundation; |
| # version 2.1 of the License, and no later version. |
| # |
| # This library is distributed in the hope that it will be useful, |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| # Library General Public License for more details. |
| # |
| # You should have received a copy of the GNU Lesser General Public |
| # License along with this library; if not, write to the Free Software |
| # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| # |
| # 4 unaddressable access, 4 uninitialized access and 4 leak errors are |
| # generated by the test. For each of the 4, the first two will be suppressed |
| # mod+offs style (i.e., inside libdrmemory.so) and the latter two by mod!func |
| # suppression in postprocess.pl. |
| # with PR 477013 the summary is printed by postprocess after both types of |
| # suppression. |
| testing uninitialized access |
| testing access after free |
| testing leak |
| testing warning |
| testing invalid free |
| done |
| ~~Dr.M~~ ERRORS FOUND: |
| ~~Dr.M~~ 7 unique, 7 total unaddressable access(es) |
| ~~Dr.M~~ 13 unique, 13 total uninitialized access(es) |
| ~~Dr.M~~ 1 unique, 1 total invalid heap argument(s) |
| ~~Dr.M~~ 1 unique, 1 total warning(s) |
| # i#292: We can only find the 5th leak on Vista+ if we have ntdll.pdb and |
| # drsyms. Accept 4 or 5. |
| %ANYLINE |
| ~~Dr.M~~ 5 unique, 5 total, 48 byte(s) of leak(s) |
| ~~Dr.M~~ 4 unique, 4 total, 16 byte(s) of leak(s) |
| %ENDANYLINE |
| ~~Dr.M~~ 2 unique, 2 total, 32 byte(s) of possible leak(s) |