bcheck(1) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

bcheck(1)

bcheck(1)                        User Commands                       bcheck(1)

NAME
       bcheck - batch utility for Runtime Checking (RTC)

SYNOPSIS
       bcheck  [ -access | -all | -leaks | -memuse ] [ -o logfile ]
            [ -q ] [ -s script ] program [ args ]

DESCRIPTION
       bcheck,  a  batch interface to dbx's Runtime Checking (RTC), is a shell
       script which runs the program under dbx, with any specified  args.  The
       RTC  error  output  is  placed in the specified logfile, or the default
       file program.errs. If this file already exists, its contents are  over‐
       written.  Although  bcheck can perform memory leak checking, memory ac‐
       cess checking, memory use checking or all three, the default is to per‐
       form leak checking only.


       Before running bcheck on a system running the Linux OS,  you  must  set
       the _DBX_EXEC_32 environment variable.

OPTIONS
       -access

           Perform memory access checking


       -all

           Perform memory access and memory leak checking


       -leaks

           Perform memory leak checking only (Default)


       -memuse

           Perform memory use checking, which includes memory leaks checking


       -o logfile

           Place  the  error  output  in  logfile, or in the default file pro‐
           gram.errs.


       -q

           Make bcheck completely quiet, and return with the same exit  status
           as  the  'program'.  Useful when you want to use bcheck in scripts,
           makefiles, and such


       -s script

           Read in the dbx commands contained in script before execution.  You
           can  tailor  the  error  output of bcheck by using commands such as
           suppress and dbxenv.


EXAMPLES
       To perform leaks checking on hello:

         bcheck hello



       To perform access checking on mach with an argument:

         bcheck -access mach 5



       To perform access and memuse checking on 'cc'  quietly  and  exit  with
       normal exit status:

         bcheck -all -q cc -c prog.c



       To perform access checking on foo, suppressing all rui errors:

         echo suppress rui > foo.sup bcheck -access -s foo.sup foo 1


SEE ALSO
       dbx(1)

Studio 12.6                        May 2017                          bcheck(1)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3