Guest User

Untitled

a guest
Apr 5th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.83 KB | None | 0 0
  1. Tema cu toate functionalitatile implementate:
  2. > echo "gigel" | cat | cat | cat | cat | cat
  3. > exit
  4.  
  5. $ drmemory.exe -show_reachable ./mini-shell.exe
  6. ~~Dr.M~~ Dr. Memory version 1.11.0
  7. ~~Dr.M~~ Running "./mini-shell.exe"
  8. > echo "gigel" | cat | cat | cat | cat | cat
  9. ~~6088~~ WARNING: application is missing line number information.
  10. ~~6088~~
  11. ~~6088~~ Error #1: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a93f55-0x00a93f58 3 byte(s) within 0x00a93f54-0x00a93f58
  12. ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226ea3 <mini-shell.exe+0x6ea3>)
  13. ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
  14. ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x012213da <mini-shell.exe+0x13da>)
  15. ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
  16. ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
  17. ~~6088~~ # 5 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
  18. ~~6088~~ Note: @0:00:18.165 in thread 6088
  19. ~~6088~~ Note: next higher malloc: 0x00a93fa0-0x00a93fb0
  20. ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
  21. ~~6088~~ Note: prev lower malloc: 0x00a93f50-0x00a93f55
  22. ~~6088~~ Note: instruction: mov (%ecx) -> %eax
  23. ~~6088~~
  24. ~~6088~~ Error #2: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a93f55-0x00a93f58 3 byte(s) within 0x00a93f54-0x00a93f58
  25. ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226eac <mini-shell.exe+0x6eac>)
  26. ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
  27. ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x012213da <mini-shell.exe+0x13da>)
  28. ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
  29. ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
  30. ~~6088~~ # 5 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
  31. ~~6088~~ Note: @0:00:18.165 in thread 6088
  32. ~~6088~~ Note: next higher malloc: 0x00a93fa0-0x00a93fb0
  33. ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
  34. ~~6088~~ Note: prev lower malloc: 0x00a93f50-0x00a93f55
  35. ~~6088~~ Note: instruction: mov (%ecx) -> %edx
  36. ~~6088~~
  37. ~~6088~~ Error #3: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a93f55-0x00a93f58 3 byte(s) within 0x00a93f54-0x00a93f58
  38. ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226ea3 <mini-shell.exe+0x6ea3>)
  39. ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
  40. ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x012225ad <mini-shell.exe+0x25ad>)
  41. ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x01221d6f <mini-shell.exe+0x1d6f>)
  42. ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x0122142a <mini-shell.exe+0x142a>)
  43. ~~6088~~ # 5 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
  44. ~~6088~~ # 6 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
  45. ~~6088~~ # 7 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
  46. ~~6088~~ Note: @0:00:18.180 in thread 6088
  47. ~~6088~~ Note: next higher malloc: 0x00a93fa0-0x00a93fb0
  48. ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
  49. ~~6088~~ Note: prev lower malloc: 0x00a93f50-0x00a93f55
  50. ~~6088~~ Note: instruction: mov (%ecx) -> %eax
  51. ~~6088~~
  52. ~~6088~~ Error #4: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a93f55-0x00a93f58 3 byte(s) within 0x00a93f54-0x00a93f58
  53. ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226eac <mini-shell.exe+0x6eac>)
  54. ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
  55. ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x012225ad <mini-shell.exe+0x25ad>)
  56. ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x01221d6f <mini-shell.exe+0x1d6f>)
  57. ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x0122142a <mini-shell.exe+0x142a>)
  58. ~~6088~~ # 5 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
  59. ~~6088~~ # 6 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
  60. ~~6088~~ # 7 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
  61. ~~6088~~ Note: @0:00:18.180 in thread 6088
  62. ~~6088~~ Note: next higher malloc: 0x00a93fa0-0x00a93fb0
  63. ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
  64. ~~6088~~ Note: prev lower malloc: 0x00a93f50-0x00a93f55
  65. ~~6088~~ Note: instruction: mov (%ecx) -> %edx
  66. ~~6088~~
  67. ~~6088~~ Error #5: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a94006-0x00a94008 2 byte(s) within 0x00a94004-0x00a94008
  68. ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226ea3 <mini-shell.exe+0x6ea3>)
  69. ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
  70. ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x0122261e <mini-shell.exe+0x261e>)
  71. ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x01221d6f <mini-shell.exe+0x1d6f>)
  72. ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x0122142a <mini-shell.exe+0x142a>)
  73. ~~6088~~ # 5 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
  74. ~~6088~~ # 6 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
  75. ~~6088~~ # 7 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
  76. ~~6088~~ Note: @0:00:18.180 in thread 6088
  77. ~~6088~~ Note: next higher malloc: 0x00a94028-0x00a94038
  78. ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
  79. ~~6088~~ Note: prev lower malloc: 0x00a94000-0x00a94006
  80. ~~6088~~ Note: instruction: mov (%ecx) -> %eax
  81. ~~6088~~
  82. ~~6088~~ Error #6: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a94006-0x00a94008 2 byte(s) within 0x00a94004-0x00a94008
  83. ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226eac <mini-shell.exe+0x6eac>)
  84. ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
  85. ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x0122261e <mini-shell.exe+0x261e>)
  86. ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x01221d6f <mini-shell.exe+0x1d6f>)
  87. ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x0122142a <mini-shell.exe+0x142a>)
  88. ~~6088~~ # 5 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
  89. ~~6088~~ # 6 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
  90. ~~6088~~ # 7 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
  91. ~~6088~~ Note: @0:00:18.180 in thread 6088
  92. ~~6088~~ Note: next higher malloc: 0x00a94028-0x00a94038
  93. ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
  94. ~~6088~~ Note: prev lower malloc: 0x00a94000-0x00a94006
  95. ~~6088~~ Note: instruction: mov (%ecx) -> %edx
  96. ~~6088~~
  97. ~~6088~~ Error #7: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a94b36-0x00a94b38 2 byte(s) within 0x00a94b34-0x00a94b38
  98. ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226ea3 <mini-shell.exe+0x6ea3>)
  99. ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012226bf <mini-shell.exe+0x26bf>)
  100. ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x01221d6f <mini-shell.exe+0x1d6f>)
  101. ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x0122142a <mini-shell.exe+0x142a>)
  102. ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
  103. ~~6088~~ # 5 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
  104. ~~6088~~ # 6 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
  105. ~~6088~~ Note: @0:00:18.180 in thread 6088
  106. ~~6088~~ Note: next higher malloc: 0x00a94b58-0x00a94b65
  107. ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
  108. ~~6088~~ Note: prev lower malloc: 0x00a94b30-0x00a94b36
  109. ~~6088~~ Note: instruction: mov (%ecx) -> %eax
  110. ~~6088~~
  111. ~~6088~~ Error #8: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a94b36-0x00a94b38 2 byte(s) within 0x00a94b34-0x00a94b38
  112. ~~6088~~ # 0 mini-shell.exe!? +0x0 (0x01226eac <mini-shell.exe+0x6eac>)
  113. ~~6088~~ # 1 mini-shell.exe!? +0x0 (0x012226bf <mini-shell.exe+0x26bf>)
  114. ~~6088~~ # 2 mini-shell.exe!? +0x0 (0x01221d6f <mini-shell.exe+0x1d6f>)
  115. ~~6088~~ # 3 mini-shell.exe!? +0x0 (0x0122142a <mini-shell.exe+0x142a>)
  116. ~~6088~~ # 4 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
  117. ~~6088~~ # 5 mini-shell.exe!? +0x0 (0x0122123c <mini-shell.exe+0x123c>)
  118. ~~6088~~ # 6 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
  119. ~~6088~~ Note: @0:00:18.180 in thread 6088
  120. ~~6088~~ Note: next higher malloc: 0x00a94b58-0x00a94b65
  121. ~~6088~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
  122. ~~6088~~ Note: prev lower malloc: 0x00a94b30-0x00a94b36
  123. ~~6088~~ Note: instruction: mov (%ecx) -> %edx
  124. ~~Dr.M~~ Dr. Memory version 1.11.0
  125. ~~Dr.M~~ Running "cat"
  126. ~~Dr.M~~ Dr. Memory version 1.11.0
  127. ~~Dr.M~~ Running "cat"
  128. ~~Dr.M~~ Dr. Memory version 1.11.0
  129. ~~Dr.M~~ Running "echo 'gigel'"
  130. ~~Dr.M~~ Dr. Memory version 1.11.0
  131. ~~Dr.M~~ Running "cat"
  132. ~~Dr.M~~ Dr. Memory version 1.11.0
  133. ~~Dr.M~~ Running "cat"
  134. ~~Dr.M~~ ERROR: Cygwin applications are not fully supported in the current Dr. Memory release. Please re-compile with MinGW.
  135. ~~Dr.M~~ Dr. Memory version 1.11.0
  136. ~~Dr.M~~ Running "cat"
  137. ~~Dr.M~~ ERROR: Cygwin applications are not fully supported in the current Dr. Memory release. Please re-compile with MinGW.
  138. ~~Dr.M~~ ERROR: Cygwin applications are not fully supported in the current Dr. Memory release. Please re-compile with MinGW.
  139. ~~Dr.M~~ ERROR: Cygwin applications are not fully supported in the current Dr. Memory release. Please re-compile with MinGW.
  140. ~~Dr.M~~ ERROR: Cygwin applications are not fully supported in the current Dr. Memory release. Please re-compile with MinGW.
  141. ~~Dr.M~~ ERROR: Cygwin applications are not fully supported in the current Dr. Memory release. Please re-compile with MinGW.
  142. > exit
  143. ~~Dr.M~~
  144. ~~Dr.M~~ Error #9: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a94d3d-0x00a94d40 3 byte(s) within 0x00a94d3c-0x00a94d40
  145. ~~Dr.M~~ # 0 mini-shell.exe!? +0x0 (0x01226ea3 <mini-shell.exe+0x6ea3>)
  146. ~~Dr.M~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
  147. ~~Dr.M~~ # 2 mini-shell.exe!? +0x0 (0x012213da <mini-shell.exe+0x13da>)
  148. ~~Dr.M~~ # 3 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
  149. ~~Dr.M~~ # 4 mini-shell.exe!? +0x0 (0x012210a1 <mini-shell.exe+0x10a1>)
  150. ~~Dr.M~~ # 5 mini-shell.exe!? +0x0 (0x01221008 <mini-shell.exe+0x1008>)
  151. ~~Dr.M~~ # 6 mini-shell.exe!? +0x0 (0x012285cf <mini-shell.exe+0x85cf>)
  152. ~~Dr.M~~ # 7 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
  153. ~~Dr.M~~ Note: @0:00:22.035 in thread 504
  154. ~~Dr.M~~ Note: next higher malloc: 0x00a94d88-0x00a94d98
  155. ~~Dr.M~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
  156. ~~Dr.M~~ Note: prev lower malloc: 0x00a94d38-0x00a94d3d
  157. ~~Dr.M~~ Note: instruction: mov (%ecx) -> %eax
  158. ~~Dr.M~~
  159. ~~Dr.M~~ Error #10: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x00a94d3d-0x00a94d40 3 byte(s) within 0x00a94d3c-0x00a94d40
  160. ~~Dr.M~~ # 0 mini-shell.exe!? +0x0 (0x01226eac <mini-shell.exe+0x6eac>)
  161. ~~Dr.M~~ # 1 mini-shell.exe!? +0x0 (0x012224dd <mini-shell.exe+0x24dd>)
  162. ~~Dr.M~~ # 2 mini-shell.exe!? +0x0 (0x012213da <mini-shell.exe+0x13da>)
  163. ~~Dr.M~~ # 3 mini-shell.exe!? +0x0 (0x01221290 <mini-shell.exe+0x1290>)
  164. ~~Dr.M~~ # 4 mini-shell.exe!? +0x0 (0x012210a1 <mini-shell.exe+0x10a1>)
  165. ~~Dr.M~~ # 5 mini-shell.exe!? +0x0 (0x01221008 <mini-shell.exe+0x1008>)
  166. ~~Dr.M~~ # 6 mini-shell.exe!? +0x0 (0x012285cf <mini-shell.exe+0x85cf>)
  167. ~~Dr.M~~ # 7 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x773e1174 <KERNEL32.dll+0x51174>)
  168. ~~Dr.M~~ Note: @0:00:22.035 in thread 504
  169. ~~Dr.M~~ Note: next higher malloc: 0x00a94d88-0x00a94d98
  170. ~~Dr.M~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
  171. ~~Dr.M~~ Note: prev lower malloc: 0x00a94d38-0x00a94d3d
  172. ~~Dr.M~~ Note: instruction: mov (%ecx) -> %edx
  173. ~~Dr.M~~
  174. ~~Dr.M~~ Error #11: REACHABLE LEAK 32 direct bytes 0x006900f8-0x00690118 + 0 indirect bytes
  175. ~~Dr.M~~ <memory was allocated before tool took control>
  176. ~~Dr.M~~
  177. ~~Dr.M~~ Error #12: REACHABLE LEAK 520 direct bytes 0x00690478-0x00690680 + 0 indirect bytes
  178. ~~Dr.M~~ <memory was allocated before tool took control>
  179. ~~Dr.M~~
  180. ~~Dr.M~~ Error #13: REACHABLE LEAK 1024 direct bytes 0x006906a0-0x00690aa0 + 0 indirect bytes
  181. ~~Dr.M~~ <memory was allocated before tool took control>
  182. ~~Dr.M~~
  183. ~~Dr.M~~ Error #14: REACHABLE LEAK 32 direct bytes 0x00690ac0-0x00690ae0 + 0 indirect bytes
  184. ~~Dr.M~~ <memory was allocated before tool took control>
  185. ~~Dr.M~~
  186. ~~Dr.M~~ Error #15: REACHABLE LEAK 542 direct bytes 0x00692778-0x00692996 + 0 indirect bytes
  187. ~~Dr.M~~ <memory was allocated before tool took control>
  188. ~~Dr.M~~
  189. ~~Dr.M~~ Error #16: REACHABLE LEAK 64 direct bytes 0x00697828-0x00697868 + 0 indirect bytes
  190. ~~Dr.M~~ <memory was allocated before tool took control>
  191. ~~Dr.M~~
  192. ~~Dr.M~~ Error #17: REACHABLE LEAK 120 direct bytes 0x00697888-0x00697900 + 0 indirect bytes
  193. ~~Dr.M~~ <memory was allocated before tool took control>
  194. ~~Dr.M~~
  195. ~~Dr.M~~ Error #18: REACHABLE LEAK 16 direct bytes 0x00697920-0x00697930 + 0 indirect bytes
  196. ~~Dr.M~~ <memory was allocated before tool took control>
  197. ~~Dr.M~~
  198. ~~Dr.M~~ Error #19: REACHABLE LEAK 32 direct bytes 0x00697980-0x006979a0 + 0 indirect bytes
  199. ~~Dr.M~~ <memory was allocated before tool took control>
  200. ~~Dr.M~~
  201. ~~Dr.M~~ Error #20: REACHABLE LEAK 2048 direct bytes 0x00a90330-0x00a90b30 + 0 indirect bytes
  202. ~~Dr.M~~ <memory was allocated before tool took control>
  203. ~~Dr.M~~
  204. ~~Dr.M~~ Error #21: REACHABLE LEAK 544 direct bytes 0x00a912c8-0x00a914e8 + 0 indirect bytes
  205. ~~Dr.M~~ <memory was allocated before tool took control>
  206. ~~Dr.M~~
  207. ~~Dr.M~~ Error #22: REACHABLE LEAK 25 direct bytes 0x00a91508-0x00a91521 + 0 indirect bytes
  208. ~~Dr.M~~ <memory was allocated before tool took control>
  209. ~~Dr.M~~
  210. ~~Dr.M~~ Error #23: REACHABLE LEAK 208 direct bytes 0x00a91548-0x00a91618 + 0 indirect bytes
  211. ~~Dr.M~~ <memory was allocated before tool took control>
  212. ~~Dr.M~~
  213. ~~Dr.M~~ Error #24: REACHABLE LEAK 31 direct bytes 0x00a91638-0x00a91657 + 0 indirect bytes
  214. ~~Dr.M~~ <memory was allocated before tool took control>
  215. ~~Dr.M~~
  216. ~~Dr.M~~ Error #25: REACHABLE LEAK 128 direct bytes 0x00a92cb8-0x00a92d38 + 0 indirect bytes
  217. ~~Dr.M~~ <memory was allocated before tool took control>
  218. ~~Dr.M~~
  219. ~~Dr.M~~ Error #26: REACHABLE LEAK 4096 direct bytes 0x00a92d58-0x00a93d58 + 0 indirect bytes
  220. ~~Dr.M~~ <memory was allocated before tool took control>
  221. ~~Dr.M~~
  222. ~~Dr.M~~ ERRORS FOUND:
  223. ~~Dr.M~~ 10 unique, 10 total unaddressable access(es)
  224. ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
  225. ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
  226. ~~Dr.M~~ 0 unique, 0 total GDI usage error(s)
  227. ~~Dr.M~~ 0 unique, 0 total handle leak(s)
  228. ~~Dr.M~~ 0 unique, 0 total warning(s)
  229. ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
  230. ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
  231. ~~Dr.M~~ 16 unique, 82 total, 11800 byte(s) of still-reachable allocation(s)
  232. ~~Dr.M~~ ERRORS IGNORED:
  233. ~~Dr.M~~ 7 potential error(s) (suspected false positives)
  234. ~~Dr.M~~ (details: C:\Users\Student\AppData\Roaming\Dr. Memory\DrMemory-mini-shell.exe.3348.000\potential_errors.txt)
  235. ~~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