Go to main content
Oracle® Developer Studio 12.6: Debugging a Program with dbx

Exit Print View

Updated: June 2017
 
 

funcs Command

The funcs command lists all function names that match a regular expression. It is valid only in native mode.

Syntax

funcs [-f filename] [-g] [regular-expression]

List all functions in the current program,

If -f filename is specified, list all functions in the file. If -g is specified, list all functions with debugging information. If filename ends in .o, then all functions, including those created automatically by the compiler, are listed. Otherwise, only functions appearing in the source code are listed.

If regular-expression is specified, list all functions that match the regular expression.

where:

filename is the name of the file for which you wish to list all the functions.

regular-expression is the regular expression for which you wish to list all the matching functions.

For example:

(dbx) funcs [vs]print
”libc.so.1”isprint
”libc.so.1”wsprintf
”libc.so.1”sprintf
”libc.so.1”vprintf
”libc.so.1”vsprintf