Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2020
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.66 KB | None | 0 0
  1. valgrind -s ./program
  2. ==1528== Memcheck, a memory error detector
  3. ==1528== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  4. ==1528== Using Valgrind-3.16.0.GIT and LibVEX; rerun with -h for copyright info
  5. ==1528== Command: ./program
  6. ==1528==
  7. Static array, PAnsiChar test:
  8. 0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~���������������������������������������������������������������������������������������������������������������������������������&M
  9. Static array, "Pointer" test:
  10. :;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~���������������������������������������������������������������������������������������������������������������������������������&M
  11. Static array, PAnsiChar test overflow:
  12. M
  13. Static array, "Pointer" test overflow:
  14. ��A
  15. $$$$$$$$$$$$$$$$$$$$$$ ORIGINAL SAMPLE $$$$$$$$$$$$$$$$$$$$$$$$$$$$
  16. ==1528== Invalid write of size 1
  17. ==1528== at 0x40152A: main (program.pas:56)
  18. ==1528== Address 0x4a46207 is 0 bytes after a block of size 263 alloc'd
  19. ==1528== at 0x483977F: malloc (vg_replace_malloc.c:307)
  20. ==1528== by 0x423C4C: CMEM_$$_CGETMEM$QWORD$$POINTER (in /home/fsb4000/program)
  21. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  22. ==1528==
  23. ==1528== Conditional jump or move depends on uninitialised value(s)
  24. ==1528== at 0x401D24: SYSTEM_$$_INDEXBYTE$formal$INT64$BYTE$$INT64 (in /home/fsb4000/program)
  25. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  26. ==1528==
  27. ==1528== Conditional jump or move depends on uninitialised value(s)
  28. ==1528== at 0x401D3B: SYSTEM_$$_INDEXBYTE$formal$INT64$BYTE$$INT64 (in /home/fsb4000/program)
  29. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  30. ==1528==
  31. ==1528== Conditional jump or move depends on uninitialised value(s)
  32. ==1528== at 0x40C436: fpc_ansistr_setlength (in /home/fsb4000/program)
  33. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  34. ==1528==
  35. ==1528== Conditional jump or move depends on uninitialised value(s)
  36. ==1528== at 0x40C4A3: fpc_ansistr_setlength (in /home/fsb4000/program)
  37. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  38. ==1528==
  39. ==1528== Conditional jump or move depends on uninitialised value(s)
  40. ==1528== at 0x423CE1: CMEM_$$_CREALLOCMEM$POINTER$QWORD$$POINTER (in /home/fsb4000/program)
  41. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  42. ==1528==
  43. ==1528== Conditional jump or move depends on uninitialised value(s)
  44. ==1528== at 0x483BD31: realloc (vg_replace_malloc.c:834)
  45. ==1528== by 0x423D23: CMEM_$$_CREALLOCMEM$POINTER$QWORD$$POINTER (in /home/fsb4000/program)
  46. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  47. ==1528==
  48. ==1528== Use of uninitialised value of size 8
  49. ==1528== at 0x40C539: fpc_ansistr_setlength (in /home/fsb4000/program)
  50. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  51. ==1528==
  52. ==1528== Conditional jump or move depends on uninitialised value(s)
  53. ==1528== at 0x40BE79: fpc_pchar_to_ansistr (in /home/fsb4000/program)
  54. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  55. ==1528==
  56. ==1528== Conditional jump or move depends on uninitialised value(s)
  57. ==1528== at 0x4018AA: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  58. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  59. ==1528==
  60. ==1528== Conditional jump or move depends on uninitialised value(s)
  61. ==1528== at 0x4018B4: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  62. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  63. ==1528==
  64. ==1528== Conditional jump or move depends on uninitialised value(s)
  65. ==1528== at 0x4018FD: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  66. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  67. ==1528==
  68. ==1528== Conditional jump or move depends on uninitialised value(s)
  69. ==1528== at 0x401945: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  70. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  71. ==1528==
  72. ==1528== Conditional jump or move depends on uninitialised value(s)
  73. ==1528== at 0x40197B: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  74. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  75. ==1528==
  76. ==1528== Conditional jump or move depends on uninitialised value(s)
  77. ==1528== at 0x401906: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  78. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  79. ==1528==
  80. ==1528== Conditional jump or move depends on uninitialised value(s)
  81. ==1528== at 0x40191E: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  82. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  83. ==1528==
  84. ==1528== Conditional jump or move depends on uninitialised value(s)
  85. ==1528== at 0x401927: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  86. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  87. ==1528==
  88. ==1528== Conditional jump or move depends on uninitialised value(s)
  89. ==1528== at 0x40193B: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  90. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  91. ==1528==
  92. ==1528== Invalid read of size 1
  93. ==1528== at 0x40193B: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  94. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  95. ==1528== Address 0x4a46207 is 0 bytes after a block of size 263 alloc'd
  96. ==1528== at 0x483977F: malloc (vg_replace_malloc.c:307)
  97. ==1528== by 0x423C4C: CMEM_$$_CGETMEM$QWORD$$POINTER (in /home/fsb4000/program)
  98. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  99. ==1528==
  100. ==1528== Conditional jump or move depends on uninitialised value(s)
  101. ==1528== at 0x483972C: malloc (vg_replace_malloc.c:307)
  102. ==1528== by 0x423C4C: CMEM_$$_CGETMEM$QWORD$$POINTER (in /home/fsb4000/program)
  103. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  104. ==1528==
  105. ==1528== Conditional jump or move depends on uninitialised value(s)
  106. ==1528== at 0x41DB8F: fpc_write_text_ansistr (in /home/fsb4000/program)
  107. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  108. ==1528==
  109. ==1528== Conditional jump or move depends on uninitialised value(s)
  110. ==1528== at 0x41DBA2: fpc_write_text_ansistr (in /home/fsb4000/program)
  111. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  112. ==1528==
  113. ==1528== Conditional jump or move depends on uninitialised value(s)
  114. ==1528== at 0x41D388: SYSTEM_$$_FPC_WRITEBUFFER$TEXT$formal$INT64 (in /home/fsb4000/program)
  115. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  116. ==1528==
  117. ==1528== Conditional jump or move depends on uninitialised value(s)
  118. ==1528== at 0x40189F: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  119. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  120. ==1528==
  121. ==1528== Use of uninitialised value of size 8
  122. ==1528== at 0x401930: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  123. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  124. ==1528==
  125. ==1528== Use of uninitialised value of size 8
  126. ==1528== at 0x401933: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  127. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  128. ==1528==
  129. ==1528== Conditional jump or move depends on uninitialised value(s)
  130. ==1528== at 0x41BD89: SYSTEM_$$_FILEWRITEFUNC$TEXTREC (in /home/fsb4000/program)
  131. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  132. ==1528==
  133. ==1528== Syscall param write(count) contains uninitialised byte(s)
  134. ==1528== at 0x401777: SYSTEM_$$_FPSYSCALL$INT64$INT64$INT64$INT64$$INT64 (in /home/fsb4000/program)
  135. ==1528== by 0x4023DA: SYSTEM_$$_FPWRITE$LONGINT$PCHAR$QWORD$$INT64 (in /home/fsb4000/program)
  136. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  137. ==1528==
  138. Dynamic array, opArrayOfAnsiChar test:
  139. ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~��������������������������������������������������������������������������������������������������������������������������������
  140. ==1528== Conditional jump or move depends on uninitialised value(s)
  141. ==1528== at 0x41BDA0: SYSTEM_$$_FILEWRITEFUNC$TEXTREC (in /home/fsb4000/program)
  142. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  143. ==1528==
  144. ==1528== Conditional jump or move depends on uninitialised value(s)
  145. ==1528== at 0x401D24: SYSTEM_$$_INDEXBYTE$formal$INT64$BYTE$$INT64 (in /home/fsb4000/program)
  146. ==1528== by 0x40164A: main (program.pas:79)
  147. ==1528==
  148. ==1528== Conditional jump or move depends on uninitialised value(s)
  149. ==1528== at 0x401D3B: SYSTEM_$$_INDEXBYTE$formal$INT64$BYTE$$INT64 (in /home/fsb4000/program)
  150. ==1528== by 0x40164A: main (program.pas:79)
  151. ==1528==
  152. ==1528== Conditional jump or move depends on uninitialised value(s)
  153. ==1528== at 0x40BF1F: fpc_chararray_to_ansistr (in /home/fsb4000/program)
  154. ==1528== by 0x40164A: main (program.pas:79)
  155. ==1528==
  156. ==1528== Conditional jump or move depends on uninitialised value(s)
  157. ==1528== at 0x40C436: fpc_ansistr_setlength (in /home/fsb4000/program)
  158. ==1528== by 0x40164A: main (program.pas:79)
  159. ==1528==
  160. ==1528== Conditional jump or move depends on uninitialised value(s)
  161. ==1528== at 0x40C4A3: fpc_ansistr_setlength (in /home/fsb4000/program)
  162. ==1528== by 0x40164A: main (program.pas:79)
  163. ==1528==
  164. ==1528== Conditional jump or move depends on uninitialised value(s)
  165. ==1528== at 0x40C4A9: fpc_ansistr_setlength (in /home/fsb4000/program)
  166. ==1528== by 0x40164A: main (program.pas:79)
  167. ==1528==
  168. ==1528== Conditional jump or move depends on uninitialised value(s)
  169. ==1528== at 0x40C4C2: fpc_ansistr_setlength (in /home/fsb4000/program)
  170. ==1528== by 0x40164A: main (program.pas:79)
  171. ==1528==
  172. ==1528== Use of uninitialised value of size 8
  173. ==1528== at 0x40C539: fpc_ansistr_setlength (in /home/fsb4000/program)
  174. ==1528== by 0x40164A: main (program.pas:79)
  175. ==1528==
  176. ==1528== Conditional jump or move depends on uninitialised value(s)
  177. ==1528== at 0x40BF40: fpc_chararray_to_ansistr (in /home/fsb4000/program)
  178. ==1528== by 0x40164A: main (program.pas:79)
  179. ==1528==
  180. ==1528== Conditional jump or move depends on uninitialised value(s)
  181. ==1528== at 0x4018AA: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  182. ==1528== by 0x40164A: main (program.pas:79)
  183. ==1528==
  184. ==1528== Conditional jump or move depends on uninitialised value(s)
  185. ==1528== at 0x4018B4: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  186. ==1528== by 0x40164A: main (program.pas:79)
  187. ==1528==
  188. ==1528== Conditional jump or move depends on uninitialised value(s)
  189. ==1528== at 0x4018FD: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  190. ==1528== by 0x40164A: main (program.pas:79)
  191. ==1528==
  192. ==1528== Conditional jump or move depends on uninitialised value(s)
  193. ==1528== at 0x401945: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  194. ==1528== by 0x40164A: main (program.pas:79)
  195. ==1528==
  196. ==1528== Conditional jump or move depends on uninitialised value(s)
  197. ==1528== at 0x40197B: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  198. ==1528== by 0x40164A: main (program.pas:79)
  199. ==1528==
  200. ==1528== Conditional jump or move depends on uninitialised value(s)
  201. ==1528== at 0x401906: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  202. ==1528== by 0x40164A: main (program.pas:79)
  203. ==1528==
  204. ==1528== Conditional jump or move depends on uninitialised value(s)
  205. ==1528== at 0x40191E: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  206. ==1528== by 0x40164A: main (program.pas:79)
  207. ==1528==
  208. ==1528== Conditional jump or move depends on uninitialised value(s)
  209. ==1528== at 0x401927: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  210. ==1528== by 0x40164A: main (program.pas:79)
  211. ==1528==
  212. ==1528== Conditional jump or move depends on uninitialised value(s)
  213. ==1528== at 0x40193B: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  214. ==1528== by 0x40164A: main (program.pas:79)
  215. ==1528==
  216. ==1528== Invalid read of size 1
  217. ==1528== at 0x40193B: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  218. ==1528== by 0x40164A: main (program.pas:79)
  219. ==1528== Address 0x4a46207 is 0 bytes after a block of size 263 alloc'd
  220. ==1528== at 0x483977F: malloc (vg_replace_malloc.c:307)
  221. ==1528== by 0x423C4C: CMEM_$$_CGETMEM$QWORD$$POINTER (in /home/fsb4000/program)
  222. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  223. ==1528==
  224. Dynamic array, opArrayOfAnsiChar2Pointer test:
  225. KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~��������������������������������������������������������������������������������������������������������������������������������
  226. ==1528==
  227. ==1528== HEAP SUMMARY:
  228. ==1528== in use at exit: 263 bytes in 1 blocks
  229. ==1528== total heap usage: 32 allocs, 31 frees, 3,421 bytes allocated
  230. ==1528==
  231. ==1528== LEAK SUMMARY:
  232. ==1528== definitely lost: 0 bytes in 0 blocks
  233. ==1528== indirectly lost: 0 bytes in 0 blocks
  234. ==1528== possibly lost: 0 bytes in 0 blocks
  235. ==1528== still reachable: 263 bytes in 1 blocks
  236. ==1528== of which reachable via heuristic:
  237. ==1528== length64 : 263 bytes in 1 blocks
  238. ==1528== suppressed: 0 bytes in 0 blocks
  239. ==1528== Rerun with --leak-check=full to see details of leaked memory
  240. ==1528==
  241. ==1528== Use --track-origins=yes to see where uninitialised values come from
  242. ==1528== ERROR SUMMARY: 146 errors from 48 contexts (suppressed: 0 from 0)
  243. ==1528==
  244. ==1528== 1 errors in context 1 of 48:
  245. ==1528== Invalid read of size 1
  246. ==1528== at 0x40193B: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  247. ==1528== by 0x40164A: main (program.pas:79)
  248. ==1528== Address 0x4a46207 is 0 bytes after a block of size 263 alloc'd
  249. ==1528== at 0x483977F: malloc (vg_replace_malloc.c:307)
  250. ==1528== by 0x423C4C: CMEM_$$_CGETMEM$QWORD$$POINTER (in /home/fsb4000/program)
  251. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  252. ==1528==
  253. ==1528==
  254. ==1528== 1 errors in context 2 of 48:
  255. ==1528== Conditional jump or move depends on uninitialised value(s)
  256. ==1528== at 0x401927: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  257. ==1528== by 0x40164A: main (program.pas:79)
  258. ==1528==
  259. ==1528==
  260. ==1528== 1 errors in context 3 of 48:
  261. ==1528== Conditional jump or move depends on uninitialised value(s)
  262. ==1528== at 0x401906: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  263. ==1528== by 0x40164A: main (program.pas:79)
  264. ==1528==
  265. ==1528==
  266. ==1528== 1 errors in context 4 of 48:
  267. ==1528== Conditional jump or move depends on uninitialised value(s)
  268. ==1528== at 0x401945: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  269. ==1528== by 0x40164A: main (program.pas:79)
  270. ==1528==
  271. ==1528==
  272. ==1528== 1 errors in context 5 of 48:
  273. ==1528== Conditional jump or move depends on uninitialised value(s)
  274. ==1528== at 0x4018FD: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  275. ==1528== by 0x40164A: main (program.pas:79)
  276. ==1528==
  277. ==1528==
  278. ==1528== 1 errors in context 6 of 48:
  279. ==1528== Conditional jump or move depends on uninitialised value(s)
  280. ==1528== at 0x4018B4: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  281. ==1528== by 0x40164A: main (program.pas:79)
  282. ==1528==
  283. ==1528==
  284. ==1528== 1 errors in context 7 of 48:
  285. ==1528== Conditional jump or move depends on uninitialised value(s)
  286. ==1528== at 0x4018AA: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  287. ==1528== by 0x40164A: main (program.pas:79)
  288. ==1528==
  289. ==1528==
  290. ==1528== 1 errors in context 8 of 48:
  291. ==1528== Conditional jump or move depends on uninitialised value(s)
  292. ==1528== at 0x40BF40: fpc_chararray_to_ansistr (in /home/fsb4000/program)
  293. ==1528== by 0x40164A: main (program.pas:79)
  294. ==1528==
  295. ==1528==
  296. ==1528== 1 errors in context 9 of 48:
  297. ==1528== Use of uninitialised value of size 8
  298. ==1528== at 0x40C539: fpc_ansistr_setlength (in /home/fsb4000/program)
  299. ==1528== by 0x40164A: main (program.pas:79)
  300. ==1528==
  301. ==1528==
  302. ==1528== 1 errors in context 10 of 48:
  303. ==1528== Conditional jump or move depends on uninitialised value(s)
  304. ==1528== at 0x40C4C2: fpc_ansistr_setlength (in /home/fsb4000/program)
  305. ==1528== by 0x40164A: main (program.pas:79)
  306. ==1528==
  307. ==1528==
  308. ==1528== 1 errors in context 11 of 48:
  309. ==1528== Conditional jump or move depends on uninitialised value(s)
  310. ==1528== at 0x40C4A9: fpc_ansistr_setlength (in /home/fsb4000/program)
  311. ==1528== by 0x40164A: main (program.pas:79)
  312. ==1528==
  313. ==1528==
  314. ==1528== 1 errors in context 12 of 48:
  315. ==1528== Conditional jump or move depends on uninitialised value(s)
  316. ==1528== at 0x40C4A3: fpc_ansistr_setlength (in /home/fsb4000/program)
  317. ==1528== by 0x40164A: main (program.pas:79)
  318. ==1528==
  319. ==1528==
  320. ==1528== 1 errors in context 13 of 48:
  321. ==1528== Conditional jump or move depends on uninitialised value(s)
  322. ==1528== at 0x40C436: fpc_ansistr_setlength (in /home/fsb4000/program)
  323. ==1528== by 0x40164A: main (program.pas:79)
  324. ==1528==
  325. ==1528==
  326. ==1528== 1 errors in context 14 of 48:
  327. ==1528== Conditional jump or move depends on uninitialised value(s)
  328. ==1528== at 0x40BF1F: fpc_chararray_to_ansistr (in /home/fsb4000/program)
  329. ==1528== by 0x40164A: main (program.pas:79)
  330. ==1528==
  331. ==1528==
  332. ==1528== 1 errors in context 15 of 48:
  333. ==1528== Conditional jump or move depends on uninitialised value(s)
  334. ==1528== at 0x401D3B: SYSTEM_$$_INDEXBYTE$formal$INT64$BYTE$$INT64 (in /home/fsb4000/program)
  335. ==1528== by 0x40164A: main (program.pas:79)
  336. ==1528==
  337. ==1528==
  338. ==1528== 1 errors in context 16 of 48:
  339. ==1528== Conditional jump or move depends on uninitialised value(s)
  340. ==1528== at 0x401D24: SYSTEM_$$_INDEXBYTE$formal$INT64$BYTE$$INT64 (in /home/fsb4000/program)
  341. ==1528== by 0x40164A: main (program.pas:79)
  342. ==1528==
  343. ==1528==
  344. ==1528== 1 errors in context 17 of 48:
  345. ==1528== Invalid read of size 1
  346. ==1528== at 0x40193B: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  347. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  348. ==1528== Address 0x4a46207 is 0 bytes after a block of size 263 alloc'd
  349. ==1528== at 0x483977F: malloc (vg_replace_malloc.c:307)
  350. ==1528== by 0x423C4C: CMEM_$$_CGETMEM$QWORD$$POINTER (in /home/fsb4000/program)
  351. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  352. ==1528==
  353. ==1528==
  354. ==1528== 1 errors in context 18 of 48:
  355. ==1528== Conditional jump or move depends on uninitialised value(s)
  356. ==1528== at 0x40BE79: fpc_pchar_to_ansistr (in /home/fsb4000/program)
  357. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  358. ==1528==
  359. ==1528==
  360. ==1528== 1 errors in context 19 of 48:
  361. ==1528== Conditional jump or move depends on uninitialised value(s)
  362. ==1528== at 0x483BD31: realloc (vg_replace_malloc.c:834)
  363. ==1528== by 0x423D23: CMEM_$$_CREALLOCMEM$POINTER$QWORD$$POINTER (in /home/fsb4000/program)
  364. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  365. ==1528==
  366. ==1528==
  367. ==1528== 1 errors in context 20 of 48:
  368. ==1528== Conditional jump or move depends on uninitialised value(s)
  369. ==1528== at 0x423CE1: CMEM_$$_CREALLOCMEM$POINTER$QWORD$$POINTER (in /home/fsb4000/program)
  370. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  371. ==1528==
  372. ==1528==
  373. ==1528== 1 errors in context 21 of 48:
  374. ==1528== Conditional jump or move depends on uninitialised value(s)
  375. ==1528== at 0x40C4A3: fpc_ansistr_setlength (in /home/fsb4000/program)
  376. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  377. ==1528==
  378. ==1528==
  379. ==1528== 1 errors in context 22 of 48:
  380. ==1528== Conditional jump or move depends on uninitialised value(s)
  381. ==1528== at 0x401D3B: SYSTEM_$$_INDEXBYTE$formal$INT64$BYTE$$INT64 (in /home/fsb4000/program)
  382. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  383. ==1528==
  384. ==1528==
  385. ==1528== 1 errors in context 23 of 48:
  386. ==1528== Conditional jump or move depends on uninitialised value(s)
  387. ==1528== at 0x401D24: SYSTEM_$$_INDEXBYTE$formal$INT64$BYTE$$INT64 (in /home/fsb4000/program)
  388. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  389. ==1528==
  390. ==1528==
  391. ==1528== 1 errors in context 24 of 48:
  392. ==1528== Invalid write of size 1
  393. ==1528== at 0x40152A: main (program.pas:56)
  394. ==1528== Address 0x4a46207 is 0 bytes after a block of size 263 alloc'd
  395. ==1528== at 0x483977F: malloc (vg_replace_malloc.c:307)
  396. ==1528== by 0x423C4C: CMEM_$$_CGETMEM$QWORD$$POINTER (in /home/fsb4000/program)
  397. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  398. ==1528==
  399. ==1528==
  400. ==1528== 2 errors in context 25 of 48:
  401. ==1528== Conditional jump or move depends on uninitialised value(s)
  402. ==1528== at 0x41BDA0: SYSTEM_$$_FILEWRITEFUNC$TEXTREC (in /home/fsb4000/program)
  403. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  404. ==1528==
  405. ==1528==
  406. ==1528== 2 errors in context 26 of 48:
  407. ==1528== Syscall param write(count) contains uninitialised byte(s)
  408. ==1528== at 0x401777: SYSTEM_$$_FPSYSCALL$INT64$INT64$INT64$INT64$$INT64 (in /home/fsb4000/program)
  409. ==1528== by 0x4023DA: SYSTEM_$$_FPWRITE$LONGINT$PCHAR$QWORD$$INT64 (in /home/fsb4000/program)
  410. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  411. ==1528==
  412. ==1528==
  413. ==1528== 2 errors in context 27 of 48:
  414. ==1528== Conditional jump or move depends on uninitialised value(s)
  415. ==1528== at 0x41BD89: SYSTEM_$$_FILEWRITEFUNC$TEXTREC (in /home/fsb4000/program)
  416. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  417. ==1528==
  418. ==1528==
  419. ==1528== 2 errors in context 28 of 48:
  420. ==1528== Use of uninitialised value of size 8
  421. ==1528== at 0x401933: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  422. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  423. ==1528==
  424. ==1528==
  425. ==1528== 2 errors in context 29 of 48:
  426. ==1528== Use of uninitialised value of size 8
  427. ==1528== at 0x401930: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  428. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  429. ==1528==
  430. ==1528==
  431. ==1528== 2 errors in context 30 of 48:
  432. ==1528== Conditional jump or move depends on uninitialised value(s)
  433. ==1528== at 0x40189F: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  434. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  435. ==1528==
  436. ==1528==
  437. ==1528== 2 errors in context 31 of 48:
  438. ==1528== Conditional jump or move depends on uninitialised value(s)
  439. ==1528== at 0x41DBA2: fpc_write_text_ansistr (in /home/fsb4000/program)
  440. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  441. ==1528==
  442. ==1528==
  443. ==1528== 2 errors in context 32 of 48:
  444. ==1528== Conditional jump or move depends on uninitialised value(s)
  445. ==1528== at 0x41DB8F: fpc_write_text_ansistr (in /home/fsb4000/program)
  446. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  447. ==1528==
  448. ==1528==
  449. ==1528== 2 errors in context 33 of 48:
  450. ==1528== Conditional jump or move depends on uninitialised value(s)
  451. ==1528== at 0x483972C: malloc (vg_replace_malloc.c:307)
  452. ==1528== by 0x423C4C: CMEM_$$_CGETMEM$QWORD$$POINTER (in /home/fsb4000/program)
  453. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  454. ==1528==
  455. ==1528==
  456. ==1528== 2 errors in context 34 of 48:
  457. ==1528== Conditional jump or move depends on uninitialised value(s)
  458. ==1528== at 0x40191E: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  459. ==1528== by 0x40164A: main (program.pas:79)
  460. ==1528==
  461. ==1528==
  462. ==1528== 3 errors in context 35 of 48:
  463. ==1528== Use of uninitialised value of size 8
  464. ==1528== at 0x40C539: fpc_ansistr_setlength (in /home/fsb4000/program)
  465. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  466. ==1528==
  467. ==1528==
  468. ==1528== 3 errors in context 36 of 48:
  469. ==1528== Conditional jump or move depends on uninitialised value(s)
  470. ==1528== at 0x40C436: fpc_ansistr_setlength (in /home/fsb4000/program)
  471. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  472. ==1528==
  473. ==1528==
  474. ==1528== 4 errors in context 37 of 48:
  475. ==1528== Conditional jump or move depends on uninitialised value(s)
  476. ==1528== at 0x41D388: SYSTEM_$$_FPC_WRITEBUFFER$TEXT$formal$INT64 (in /home/fsb4000/program)
  477. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  478. ==1528==
  479. ==1528==
  480. ==1528== 5 errors in context 38 of 48:
  481. ==1528== Conditional jump or move depends on uninitialised value(s)
  482. ==1528== at 0x4018AA: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  483. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  484. ==1528==
  485. ==1528==
  486. ==1528== 5 errors in context 39 of 48:
  487. ==1528== Conditional jump or move depends on uninitialised value(s)
  488. ==1528== at 0x401927: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  489. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  490. ==1528==
  491. ==1528==
  492. ==1528== 5 errors in context 40 of 48:
  493. ==1528== Conditional jump or move depends on uninitialised value(s)
  494. ==1528== at 0x401906: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  495. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  496. ==1528==
  497. ==1528==
  498. ==1528== 5 errors in context 41 of 48:
  499. ==1528== Conditional jump or move depends on uninitialised value(s)
  500. ==1528== at 0x401945: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  501. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  502. ==1528==
  503. ==1528==
  504. ==1528== 5 errors in context 42 of 48:
  505. ==1528== Conditional jump or move depends on uninitialised value(s)
  506. ==1528== at 0x4018FD: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  507. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  508. ==1528==
  509. ==1528==
  510. ==1528== 5 errors in context 43 of 48:
  511. ==1528== Conditional jump or move depends on uninitialised value(s)
  512. ==1528== at 0x4018B4: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  513. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  514. ==1528==
  515. ==1528==
  516. ==1528== 5 errors in context 44 of 48:
  517. ==1528== Conditional jump or move depends on uninitialised value(s)
  518. ==1528== at 0x40191E: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  519. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  520. ==1528==
  521. ==1528==
  522. ==1528== 5 errors in context 45 of 48:
  523. ==1528== Conditional jump or move depends on uninitialised value(s)
  524. ==1528== at 0x40193B: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  525. ==1528== by 0x40164A: main (program.pas:79)
  526. ==1528==
  527. ==1528==
  528. ==1528== 5 errors in context 46 of 48:
  529. ==1528== Conditional jump or move depends on uninitialised value(s)
  530. ==1528== at 0x40197B: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  531. ==1528== by 0x40164A: main (program.pas:79)
  532. ==1528==
  533. ==1528==
  534. ==1528== 17 errors in context 47 of 48:
  535. ==1528== Conditional jump or move depends on uninitialised value(s)
  536. ==1528== at 0x40193B: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  537. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  538. ==1528==
  539. ==1528==
  540. ==1528== 30 errors in context 48 of 48:
  541. ==1528== Conditional jump or move depends on uninitialised value(s)
  542. ==1528== at 0x40197B: SYSTEM_$$_MOVE$formal$formal$INT64 (in /home/fsb4000/program)
  543. ==1528== by 0x42330B: SYSTEM_$$_SYSENTRY$TENTRYINFORMATION (in /home/fsb4000/program)
  544. ==1528==
  545. ==1528== ERROR SUMMARY: 146 errors from 48 contexts (suppressed: 0 from 0)
  546.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement