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

  • Home
  • SEARCH
  • 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 694035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:48:55+00:00 2026-05-14T02:48:55+00:00

Out of curiosity about reverse engineering, I am thinking of writing a simple program

  • 0

Out of curiosity about reverse engineering, I am thinking of writing a simple program (in C++) that takes an executable as input and produces the names of all the functions that were a part of source program of that executable.

Any pointers on how should I go about it?

Step-by-step approach would be much appreciated!

EDIT:
Platform linux and i am concerned about a.out format executable files.

  • 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-14T02:48:56+00:00Added an answer on May 14, 2026 at 2:48 am

    Depends heavily on your platform and the origin of the code you’re examining. You need a symbol table for the binary you’re reversing if you want to get function names out of it. Sometimes that table is embedded in the binary (such as the export lookup table in a DLL), but many times the information simply doesn’t exist.

    There’s no generalized solution for this. You’ll need to narrow your question down to a specific platform at least, and preferably a specific target binary type.

    Edit: Okay, with the specifications you’ve given, I’m guessing that you’re probably actually concerned with ELF binaries rather than the older a.out format, which is fairly uncommon. “a.out” is still the default output name for the GCC linker, but the actual a.out binary format hasn’t been commonly used in Linux for a long time.

    There are a number of good walkthroughs of the ELF structure available online, and some quick searching turned up a ready-made example of reading the ELF .symtab as well.

    Hope this helps.

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

Sidebar

Related Questions

Out of curiosity. I've been thinking about the different access models often seen in
Just out of curiosity, how does iostream access the input-output system. (I have a
Been reading a bit about the subject, and out of curiosity, online games which
Just out of curiosity, for applications that have a fairly complicated module tree, would
I'm posing this question mostly out of curiosity. I've written some code that is
I had a question about C++ destructor behavior, more out of curiosity than anything
Out of curiosity I'm wondering if I can do something about this because I'm
I wrote a simple map implementation for some task. Then, out of curiosity, I
Out of curiosity, I'm wondering about the best (easiest, fastest, shortest, etc; make your
Out of curiosity, I was wondering what were some theoretical results about parsing C++.

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.