Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tema cu toate functionalitatile implementate:
- > echo "gigel" | cat | cat | cat | cat | cat
- > exit
- $ drmemory.exe -show_reachable ./mini-shell.exe
- ~~Dr.M~~ Dr. Memory version 1.11.0
- ~~Dr.M~~ Running "./mini-shell.exe"
- > echo "gigel" | cat | cat | cat | cat | cat
- ~~6088~~ WARNING: application is missing line number information.
- ~~6088~~
- ~~6088~~ Error #1: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a93f55-0x00a93f58 3 byte(s) within 0x00a93f54-0x00a93f58
- ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226ea3 <mini-shell.exe+0x6ea3>)
- ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
- ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x012213da <mini-shell.exe+0x13da>)
- ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
- ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
- ~~6088~~ # 5 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
- ~~6088~~ Note: @0:00:18.165 in thread 6088
- ~~6088~~ Note: next higher malloc: 0x00a93fa0-0x00a93fb0
- ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
- ~~6088~~ Note: prev lower malloc: 0x00a93f50-0x00a93f55
- ~~6088~~ Note: instruction: mov (%ecx) -> %eax
- ~~6088~~
- ~~6088~~ Error #2: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a93f55-0x00a93f58 3 byte(s) within 0x00a93f54-0x00a93f58
- ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226eac <mini-shell.exe+0x6eac>)
- ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
- ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x012213da <mini-shell.exe+0x13da>)
- ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
- ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
- ~~6088~~ # 5 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
- ~~6088~~ Note: @0:00:18.165 in thread 6088
- ~~6088~~ Note: next higher malloc: 0x00a93fa0-0x00a93fb0
- ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
- ~~6088~~ Note: prev lower malloc: 0x00a93f50-0x00a93f55
- ~~6088~~ Note: instruction: mov (%ecx) -> %edx
- ~~6088~~
- ~~6088~~ Error #3: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a93f55-0x00a93f58 3 byte(s) within 0x00a93f54-0x00a93f58
- ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226ea3 <mini-shell.exe+0x6ea3>)
- ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
- ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x012225ad <mini-shell.exe+0x25ad>)
- ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x01221d6f <mini-shell.exe+0x1d6f>)
- ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x0122142a <mini-shell.exe+0x142a>)
- ~~6088~~ # 5 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
- ~~6088~~ # 6 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
- ~~6088~~ # 7 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
- ~~6088~~ Note: @0:00:18.180 in thread 6088
- ~~6088~~ Note: next higher malloc: 0x00a93fa0-0x00a93fb0
- ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
- ~~6088~~ Note: prev lower malloc: 0x00a93f50-0x00a93f55
- ~~6088~~ Note: instruction: mov (%ecx) -> %eax
- ~~6088~~
- ~~6088~~ Error #4: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a93f55-0x00a93f58 3 byte(s) within 0x00a93f54-0x00a93f58
- ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226eac <mini-shell.exe+0x6eac>)
- ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
- ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x012225ad <mini-shell.exe+0x25ad>)
- ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x01221d6f <mini-shell.exe+0x1d6f>)
- ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x0122142a <mini-shell.exe+0x142a>)
- ~~6088~~ # 5 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
- ~~6088~~ # 6 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
- ~~6088~~ # 7 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
- ~~6088~~ Note: @0:00:18.180 in thread 6088
- ~~6088~~ Note: next higher malloc: 0x00a93fa0-0x00a93fb0
- ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
- ~~6088~~ Note: prev lower malloc: 0x00a93f50-0x00a93f55
- ~~6088~~ Note: instruction: mov (%ecx) -> %edx
- ~~6088~~
- ~~6088~~ Error #5: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a94006-0x00a94008 2 byte(s) within 0x00a94004-0x00a94008
- ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226ea3 <mini-shell.exe+0x6ea3>)
- ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
- ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x0122261e <mini-shell.exe+0x261e>)
- ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x01221d6f <mini-shell.exe+0x1d6f>)
- ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x0122142a <mini-shell.exe+0x142a>)
- ~~6088~~ # 5 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
- ~~6088~~ # 6 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
- ~~6088~~ # 7 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
- ~~6088~~ Note: @0:00:18.180 in thread 6088
- ~~6088~~ Note: next higher malloc: 0x00a94028-0x00a94038
- ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
- ~~6088~~ Note: prev lower malloc: 0x00a94000-0x00a94006
- ~~6088~~ Note: instruction: mov (%ecx) -> %eax
- ~~6088~~
- ~~6088~~ Error #6: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a94006-0x00a94008 2 byte(s) within 0x00a94004-0x00a94008
- ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226eac <mini-shell.exe+0x6eac>)
- ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
- ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x0122261e <mini-shell.exe+0x261e>)
- ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x01221d6f <mini-shell.exe+0x1d6f>)
- ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x0122142a <mini-shell.exe+0x142a>)
- ~~6088~~ # 5 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
- ~~6088~~ # 6 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
- ~~6088~~ # 7 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
- ~~6088~~ Note: @0:00:18.180 in thread 6088
- ~~6088~~ Note: next higher malloc: 0x00a94028-0x00a94038
- ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
- ~~6088~~ Note: prev lower malloc: 0x00a94000-0x00a94006
- ~~6088~~ Note: instruction: mov (%ecx) -> %edx
- ~~6088~~
- ~~6088~~ Error #7: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a94b36-0x00a94b38 2 byte(s) within 0x00a94b34-0x00a94b38
- ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226ea3 <mini-shell.exe+0x6ea3>)
- ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012226bf <mini-shell.exe+0x26bf>)
- ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x01221d6f <mini-shell.exe+0x1d6f>)
- ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x0122142a <mini-shell.exe+0x142a>)
- ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
- ~~6088~~ # 5 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
- ~~6088~~ # 6 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
- ~~6088~~ Note: @0:00:18.180 in thread 6088
- ~~6088~~ Note: next higher malloc: 0x00a94b58-0x00a94b65
- ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
- ~~6088~~ Note: prev lower malloc: 0x00a94b30-0x00a94b36
- ~~6088~~ Note: instruction: mov (%ecx) -> %eax
- ~~6088~~
- ~~6088~~ Error #8: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a94b36-0x00a94b38 2 byte(s) within 0x00a94b34-0x00a94b38
- ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226eac <mini-shell.exe+0x6eac>)
- ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012226bf <mini-shell.exe+0x26bf>)
- ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x01221d6f <mini-shell.exe+0x1d6f>)
- ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x0122142a <mini-shell.exe+0x142a>)
- ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
- ~~6088~~ # 5 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
- ~~6088~~ # 6 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
- ~~6088~~ Note: @0:00:18.180 in thread 6088
- ~~6088~~ Note: next higher malloc: 0x00a94b58-0x00a94b65
- ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
- ~~6088~~ Note: prev lower malloc: 0x00a94b30-0x00a94b36
- ~~6088~~ Note: instruction: mov (%ecx) -> %edx
- ~~Dr.M~~ Dr. Memory version 1.11.0
- ~~Dr.M~~ Running "cat"
- ~~Dr.M~~ Dr. Memory version 1.11.0
- ~~Dr.M~~ Running "cat"
- ~~Dr.M~~ Dr. Memory version 1.11.0
- ~~Dr.M~~ Running "echo 'gigel'"
- ~~Dr.M~~ Dr. Memory version 1.11.0
- ~~Dr.M~~ Running "cat"
- ~~Dr.M~~ Dr. Memory version 1.11.0
- ~~Dr.M~~ Running "cat"
- ~~Dr.M~~ ERROR: Cygwin applications are not fully supported in the current Dr. Memory release. Please re-compile with MinGW.
- ~~Dr.M~~ Dr. Memory version 1.11.0
- ~~Dr.M~~ Running "cat"
- ~~Dr.M~~ ERROR: Cygwin applications are not fully supported in the current Dr. Memory release. Please re-compile with MinGW.
- ~~Dr.M~~ ERROR: Cygwin applications are not fully supported in the current Dr. Memory release. Please re-compile with MinGW.
- ~~Dr.M~~ ERROR: Cygwin applications are not fully supported in the current Dr. Memory release. Please re-compile with MinGW.
- ~~Dr.M~~ ERROR: Cygwin applications are not fully supported in the current Dr. Memory release. Please re-compile with MinGW.
- ~~Dr.M~~ ERROR: Cygwin applications are not fully supported in the current Dr. Memory release. Please re-compile with MinGW.
- > exit
- ~~Dr.M~~
- ~~Dr.M~~ Error #9: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a94d3d-0x00a94d40 3 byte(s) within 0x00a94d3c-0x00a94d40
- ~~Dr.M~~ # 0 mini-shell.exe!? +0x0 (0x01226ea3 <mini-shell.exe+0x6ea3>)
- ~~Dr.M~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
- ~~Dr.M~~ # 2 mini-shell.exe!? +0x0 (0x012213da <mini-shell.exe+0x13da>)
- ~~Dr.M~~ # 3 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
- ~~Dr.M~~ # 4 mini-shell.exe!? +0x0 (0x012210a1 <mini-shell.exe+0x10a1>)
- ~~Dr.M~~ # 5 mini-shell.exe!? +0x0 (0x01221008 <mini-shell.exe+0x1008>)
- ~~Dr.M~~ # 6 mini-shell.exe!? +0x0 (0x012285cf <mini-shell.exe+0x85cf>)
- ~~Dr.M~~ # 7 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
- ~~Dr.M~~ Note: @0:00:22.035 in thread 504
- ~~Dr.M~~ Note: next higher malloc: 0x00a94d88-0x00a94d98
- ~~Dr.M~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
- ~~Dr.M~~ Note: prev lower malloc: 0x00a94d38-0x00a94d3d
- ~~Dr.M~~ Note: instruction: mov (%ecx) -> %eax
- ~~Dr.M~~
- ~~Dr.M~~ Error #10: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a94d3d-0x00a94d40 3 byte(s) within 0x00a94d3c-0x00a94d40
- ~~Dr.M~~ # 0 mini-shell.exe!? +0x0 (0x01226eac <mini-shell.exe+0x6eac>)
- ~~Dr.M~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
- ~~Dr.M~~ # 2 mini-shell.exe!? +0x0 (0x012213da <mini-shell.exe+0x13da>)
- ~~Dr.M~~ # 3 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
- ~~Dr.M~~ # 4 mini-shell.exe!? +0x0 (0x012210a1 <mini-shell.exe+0x10a1>)
- ~~Dr.M~~ # 5 mini-shell.exe!? +0x0 (0x01221008 <mini-shell.exe+0x1008>)
- ~~Dr.M~~ # 6 mini-shell.exe!? +0x0 (0x012285cf <mini-shell.exe+0x85cf>)
- ~~Dr.M~~ # 7 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
- ~~Dr.M~~ Note: @0:00:22.035 in thread 504
- ~~Dr.M~~ Note: next higher malloc: 0x00a94d88-0x00a94d98
- ~~Dr.M~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
- ~~Dr.M~~ Note: prev lower malloc: 0x00a94d38-0x00a94d3d
- ~~Dr.M~~ Note: instruction: mov (%ecx) -> %edx
- ~~Dr.M~~
- ~~Dr.M~~ Error #11: REACHABLE LEAK 32 direct bytes 0x006900f8-0x00690118 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #12: REACHABLE LEAK 520 direct bytes 0x00690478-0x00690680 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #13: REACHABLE LEAK 1024 direct bytes 0x006906a0-0x00690aa0 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #14: REACHABLE LEAK 32 direct bytes 0x00690ac0-0x00690ae0 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #15: REACHABLE LEAK 542 direct bytes 0x00692778-0x00692996 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #16: REACHABLE LEAK 64 direct bytes 0x00697828-0x00697868 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #17: REACHABLE LEAK 120 direct bytes 0x00697888-0x00697900 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #18: REACHABLE LEAK 16 direct bytes 0x00697920-0x00697930 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #19: REACHABLE LEAK 32 direct bytes 0x00697980-0x006979a0 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #20: REACHABLE LEAK 2048 direct bytes 0x00a90330-0x00a90b30 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #21: REACHABLE LEAK 544 direct bytes 0x00a912c8-0x00a914e8 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #22: REACHABLE LEAK 25 direct bytes 0x00a91508-0x00a91521 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #23: REACHABLE LEAK 208 direct bytes 0x00a91548-0x00a91618 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #24: REACHABLE LEAK 31 direct bytes 0x00a91638-0x00a91657 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #25: REACHABLE LEAK 128 direct bytes 0x00a92cb8-0x00a92d38 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ Error #26: REACHABLE LEAK 4096 direct bytes 0x00a92d58-0x00a93d58 + 0 indirect bytes
- ~~Dr.M~~ <memory was allocated before tool took control>
- ~~Dr.M~~
- ~~Dr.M~~ ERRORS FOUND:
- ~~Dr.M~~ 10 unique, 10 total unaddressable access(es)
- ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
- ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
- ~~Dr.M~~ 0 unique, 0 total GDI usage error(s)
- ~~Dr.M~~ 0 unique, 0 total handle leak(s)
- ~~Dr.M~~ 0 unique, 0 total warning(s)
- ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
- ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
- ~~Dr.M~~ 16 unique, 82 total, 11800 byte(s) of still-reachable allocation(s)
- ~~Dr.M~~ ERRORS IGNORED:
- ~~Dr.M~~ 7 potential error(s) (suspected false positives)
- ~~Dr.M~~ (details: C:\Users\Student\AppData\Roaming\Dr. Memory\DrMemory-mini-shell.exe.3348.000\potential_errors.txt)
- ~~Dr.M~~ Details: C:\Users\Student\AppData\Roaming\Dr. Memory\DrMemory-mini-shell.exe.3348.000\results.txt
Advertisement
Add Comment
Please, Sign In to add comment