| # ********************************************************** |
| # Copyright (c) 2011-2013 Google, Inc. All rights reserved. |
| # Copyright (c) 2009-2010 VMware, 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. |
| # |
| %ANYLINE |
| # MSVC |
| size=4 capacity=15 |
| # Linux, MinGW |
| size=4 capacity=4 |
| %ENDANYLINE |
| getval: childAB |
| myfunc: parB |
| hi |
| bye |
| ~~Dr.M~~ ERRORS FOUND: |
| %ANYLINE |
| # MinGW xp64 |
| ~~Dr.M~~ 6 unique, 6 total unaddressable access(es) |
| # Linux wrap |
| ~~Dr.M~~ 4 unique, 4 total unaddressable access(es) |
| # everything else |
| ~~Dr.M~~ 5 unique, 5 total unaddressable access(es) |
| %ENDANYLINE |
| %ANYLINE |
| # Linux/MinGW/VS2005 |
| ~~Dr.M~~ 2 unique, 2 total uninitialized access(es) |
| # VS2008 Win7 |
| ~~Dr.M~~ 3 unique, 3 total uninitialized access(es) |
| %ENDANYLINE |
| %ANYLINE |
| # Linux/MinGW |
| ~~Dr.M~~ 11 unique, 12 total invalid heap argument(s) |
| # MinGW xp64 |
| ~~Dr.M~~ 10 unique, 11 total invalid heap argument(s) |
| # MSVC |
| ~~Dr.M~~ 9 unique, 12 total invalid heap argument(s) |
| %ENDANYLINE |
| ~~Dr.M~~ 0 unique, 0 total warning(s) |
| %ANYLINE |
| # Windows: FIXME PR 587093: string code disabled for now |
| # MSVC: mismatches don't end up freeing anything |
| ~~Dr.M~~ 4 unique, 4 total, 551 byte(s) of leak(s) |
| # Linux/MinGW |
| ~~Dr.M~~ 5 unique, 5 total, 574 byte(s) of leak(s) |
| %ENDANYLINE |
| ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s) |