Linux Purify command

Source: Internet
Author: User

Linux Purify command
I. Introduction in C/C ++ software development, there is no tool for your application to avoid the introduction of memory problems, however, we can use tools such as Purify to check the memory problems of the programs that have been completed. The strength of Purify is that it can locate all the memory problems in the application, and can be used with GDB, DBX, and other debuggers to make your memory errors clear at a glance. Purify is a Run-Time tool. That is to say, you can only check whether the program has memory problems under certain running conditions based on the program running conditions, it can locate memory errors in a very complex program, including the multi-process or multi-thread program. It can also be tested. Purify detects every memory operation in the program, and accurately reports variables and statements in the memory to provide analysis of the cause of the error. Purify mainly detects the following memory errors: 1) whether the Array Memory is out of bounds read/write 2) Whether uninitialized memory is used 3) whether to read/write the released memory 4) Whether to read/write the NULL pointer 5) memory vulnerability copy Code 2, install http://blog.chinaunix.net/uid-209416-id-2410716.htmlhttp://download.csdn.net/detail/wobuabcd/4071346 3, use http://www.ibm.com/developerworks/cn/rational/r-cail/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.