Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7589069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:04:34+00:00 2026-05-30T20:04:34+00:00

How can we list all the functions being called in an application. I tried

  • 0

How can we list all the functions being called in an application. I tried using GDB but its backtrace list only upto the main function call.

I need deeper list i.e list of all the functions being called by the main function and the function being called from these called functions and so on.

Is there a way to get this in gdb? Or could you give me suggestions on how to get this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T20:04:35+00:00Added an answer on May 30, 2026 at 8:04 pm

    How can we list all the functions being called in an application

    For any realistically sized application, this list will have thousands of entries, which will probably make it useless.

    You can find out all functions defined (but not necessarily called) in an application with the nm command, e.g.

    nm /path/to/a.out | egrep ' [TW] '
    

    You can also use GDB to set a breakpoint on each function:

    (gdb) set logging on     # collect trace in gdb.txt
    (gdb) set confirm off    # you wouldn't want to confirm every one of them
    (gdb) rbreak .           # set a breakpoint on each function
    

    Once you continue, you’ll hit a breakpoint for each function called. Use the disable and continue commands to move forward. I don’t believe there is an easy way to automate that, unless you want to use Python scripting.

    Already mentioned gprof is another good option.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I list all instantiated objects in all application, using FASTMM4 or default
How can I list all the classes in my current project(assembly?) using reflection? thanks.
SELECT name FROM sys.databases -- this can list all database name in the server
Following this example, I can list all elements into a pdf file import pyPdf
How can I list all the local users configured on a windows machine (Win2000+)
Where can I find a list of all types of bsd style socket errors?
Where can I find a list of all the C# Color constants and the
How can I to get list of all wcf services running on a machine?
How can I get a list of all the MySQL databases that exist on
How can I get a list of all the selected values ​​for a field?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.