Option |
Default |
-exit-status |
no |
Enables you to control the exit status of your Purify'd program, based upon the Purify results. If Purify detects unsuppressed access errors, leaks, or potential leaks, the additional bits are OR'd into the exit status of the program. Unsuppressed error Bit OR'd in exit status Memory access errors 0x40 |
-run-at-exit |
not set |
Specifies an arbitrary shell command to be run when your program exits or otherwise terminates. In addition to the %V, %v, and %p filename conversion characters, Purify recognizes these exit-command conversion characters: %z String value
"true" or "false" indicating whether For example, if you set the option: When your program exits, you might see on stdout:
Other options related to program exit are: You can also run shell scripts at exit.
|