The bcheck utility is a convenient batch interface to the runtime checking feature of dbx. It runs a program under dbx and, by default, places the runtime checking error output in the default file program.errs.
The bcheck utility can perform memory leak checking, memory access checking, memory use checking, or all three. Its default action is to perform only leak checking. See the bcheck(1) man page for more details on its use.