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 9188505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:01:28+00:00 2026-06-17T20:01:28+00:00

I am working on some diagnostic tools to help locate memory issues on an

  • 0

I am working on some diagnostic tools to help locate memory issues on an embedded ARM platform. Due to memory constraints, I can’t load all symbols for all libraries on the unit itself. What information do I need to save to be able to resolve symbols later on a different machine?

The machine where I will resolve the symbols is an x86 machine that has a cross toolchain and gdb with all the symbol packages needed. What would I use to resolve the symbols in a batch from this information I’ve saved in my diagnostic output? Is there a library or API for doing the resolving?

  • 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-06-17T20:01:29+00:00Added an answer on June 17, 2026 at 8:01 pm

    The following information is related to Android. Some of it parts are also compiled into ELF files for ARM architecture so it may be useful in your case.

    Building process looks like this:

    1. Everything is compiled with debug information (gcc -g ...)
    2. Then all binaries are stripped and packed into system image. But original not-stripped version for every binary file remains in a build directory.
    3. System image is flashed on the target device.

    So to resolve symbols from diagnostic output you can use arm-linux-androideabi-addr2line. Example:

    ${CROSS_COMPILE}addr2line --demangle -f -e PATH_TO_NOT_STRIPPED_BINARY ADDRESS
    

    Additional information can be found it this question: How to use addr2line.

    I also prepared a very simple python script which automates this process: decode_callstack.py (it works with Android diagnostic output and you need to change PREFIX variable before use)

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

Sidebar

Related Questions

I've been re-working some code due to a memory leak. The code is part
I'm working on a plugin for rails to provide some simple diagnostic information about
I am creating some C# tools for the game I am working on, and
I'm working some code that inserts csv rows into an SQLite database using Python.
Working on some tweaks for a build script, I noticed that the output from
Working on some code for a machine problem; we've just started working with pointers,
After working on some test code for open ID authentication, I had a break
I`m working on some sql queries to get some data out of a table;
Whilst working on some generally horrible Javascript code this morning, I came across the
I have some working code with a crutch to add BOM marker to a

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.