|
> ./hello 数据挖掘论坛
**** Purify instrumented hello (pid 25698 at Wed Dec 10 22:29:33 2003)
* Purify 2003.06.00 Solaris 2 (32-bit) Copyright (C) 1992-2002 Rational Software Corp. All rights reserved. 数据挖掘工具
* For contact information type: "purify -help"
* Options settings: -follow-child-processes=yes -purify -windows=no
-purify-home=/usr/rational/releases/purify.sol.2003.06.00
-gcc3_path=/usr/local/bin/gcc 数据挖掘工具
-cache-dir=/usr/rational/releases/purify.sol.2003.06.00/cache 数据挖掘研究院
-demangle_program=/usr/local/bin/c++filt 数据挖掘实验室
* License successfully checked out.
* Command-line: ./hello 数据挖掘研究院
**** Purify instrumented hello (pid 25698) **** 数据挖掘论坛
ABR: Array bounds read: 数据挖掘工具
* This is occurring while in:
strlen [rtlib.o]
_doprnt [libc.so.1]
printf [libc.so.1]
main [hello.c:11] 数据挖掘交友
_start [crt1.o]
* Reading 13 bytes from 0x8ea08 in the heap (1 byte at 0x8ea14 illegal). 数据挖掘工具
* Address 0x8ea08 is at the beginning of a malloc′d block of 12 bytes. 数据挖掘论坛
* This block was allocated from: 数据挖掘工具
malloc [rtlib.o] 数据挖掘实验室
main [hello.c:8]
_start [crt1.o] 数据挖掘论坛
Hello, World
**** Purify instrumented hello (pid 25698) **** 数据挖掘论坛
Current file descriptors in use: 5 数据挖掘实验室
FIU: file descriptor 0: <stdin> 数据挖掘交友
FIU: file descriptor 1: <stdout> 数据挖掘工具
FIU: file descriptor 2: <stderr> 数据挖掘论坛
FIU: file descriptor 26: <reserved for Purify internal use> 数据挖掘工具
FIU: file descriptor 27: <reserved for Purify internal use>
**** Purify instrumented hello (pid 25698) **** 数据挖掘论坛
Purify: Searching for all memory leaks... 数据挖掘研究院
Memory leaked: 12 bytes (100%); potentially leaked: 0 bytes (0%) 数据挖掘研究院
数据挖掘实验室
MLK: 12 bytes leaked at 0x8ea08 数据挖掘研究院
* This memory was allocated from:
malloc [rtlib.o] 数据挖掘论坛
main [hello.c:8] 数据挖掘实验室
_start [crt1.o]
数据挖掘论坛
Purify Heap Analysis (combining suppressed and unsuppressed blocks) 数据挖掘研究院
Blocks Bytes
Leaked 1 12 数据挖掘研究院
Potentially Leaked 0 0 数据挖掘研究院
In-Use 0 0 数据挖掘实验室
---------------------------------------- 数据挖掘研究院
Total Allocated 1 12 数据挖掘交友
数据挖掘论坛
**** Purify instrumented hello (pid 25698) **** 数据挖掘研究院
* Program exited with status code 13. 数据挖掘研究院
* 1 access error, 1 total occurrence. 数据挖掘论坛
* 12 bytes leaked.
* 0 bytes potentially leaked. 数据挖掘交友
* Basic memory usage (including Purify overhead): 数据挖掘实验室
351348 code
101724 data/bss
8192 heap (peak use) 数据挖掘工具
1272 stack 数据挖掘交友
* Shared library memory usage (including Purify overhead): 数据挖掘工具
992 libpure_solaris2_init.so.1 (shared code)
280 libpure_solaris2_init.so.1 (private data) 数据挖掘研究院
1079516 libc.so.1_pure_p3_c0_111202132_58_32_1158500S (shared code) 数据挖掘实验室
31404 libc.so.1_pure_p3_c0_111202132_58_32_1158500S (private data) 数据挖掘交友
2324 libdl.so.1_pure_p3_c0_111202132_58_32_4624S (shared code)
4 libdl.so.1_pure_p3_c0_111202132_58_32_4624S (private data) 数据挖掘工具
14048 libinternal_stubs.so.1 (shared code) 数据挖掘工具
940 libinternal_stubs.so.1 (private data) 数据挖掘交友
数据挖掘研究院
|