Questions tagged [debug-symbols]

A debug symbol is information that expresses which programming-language constructs generated a specific piece of machine code in a given executable module.

A debug symbol is information that expresses which programming-language constructs generated a specific piece of machine code in a given executable module. Sometimes the symbolic information is compiled together with the module's binary file, or distributed in a separate file, or simply discarded during the compilation and/or linking. This information enables a person using a symbolic debugger to gain additional information about the binary, such as the names of variables and routines from the original source code. This information can be extremely helpful while trying to investigate and fix a crashing application or any other fault.

865 questions
4
votes
4 answers

Deobfuscate production Android errors via uploading proguard rules mapping file to google play console

Suddenly my released app crashed while opening just after installing the app from play-store. But problem is that when I am running the code in Android Studio in debug mode app does not crash. When I looked for crash error on google play console I…
WitVault
  • 23,445
  • 19
  • 103
  • 133
4
votes
3 answers

Symbol-only string detection

I'm fairly new to Python (and programming in general), so I often end up facing really silly issues, such as the one below. What I want is to repeatedly check if all the characters in a user input are symbols. When such an input is entered, I want…
4
votes
3 answers

The variable name defined in .bss section can not be found in gdb

I'm trying a simple assembly code: .section .data output: .ascii "The processor Vendor ID is 'xxxxxxxxxxxx'\n" .section .bss .lcomm buffer, 12 .section .text .code32 .globl _start _start: movl $0, %eax cpuid movl $output,…
Yichen
  • 91
  • 1
  • 5
4
votes
1 answer

How to deal with 3rd party c++ libraries LNK4099 Warning in VisualStudio

I have a Visual Studio c++ project where I use the linker Settings /WX (TreatWarningsAsLinkerErrors=true) In Debug, I compile with /Zi (Debug Database), which works fine. Now I have a 3rd party SDK which comes with a static library, but no .pdb…
F. Schaaf
  • 83
  • 1
  • 7
4
votes
0 answers

Apple Instruments can't locate a dSYM for any of the selected libraries when trying to not show assembly

I'm trying to use Apple Instruments (on El Capitan) without having to create a project in XCode. I created a time profiler, set up my project, and then started profiling the project. I can see all of my function names, and relevant times are…
Alex
  • 2,145
  • 6
  • 36
  • 72
4
votes
2 answers

Get parameters of public symbols in WinDBG

I'm debugging an application with WinDBG and the PDB files contain only public symbols, so the "k" command shows only the function names in a call stack. How I can show parameters, too? I already figured out that I can show decorated names by…
plainoldcj
  • 41
  • 4
4
votes
0 answers

How to debug Google Chrome (not Chromium) on OS X with source?

The "Warn Before Quitting" feature stopped working for me. When I click Cmd-Q Chrome closes immediately instead of showing me the "Hold ⌘Q to close" message. I want to debug the code responsible for that, but I can't seem to find a way. On Windows I…
conio
  • 3,681
  • 1
  • 20
  • 34
4
votes
1 answer

dlsym-like functionality for non-dynamically-loaded code?

I know how to use dlsym() to find symbols keyed by a string - when these symbols are exported by a shared library which I've dlopen()ed. But - what about other code? Just object code I've linked statically. Is it possible to somehow lookup…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
4
votes
1 answer

VS 2013 /Zi Compiler Option doubles size of static library

I am wondering why under VS 2013 the /Zi compiler option almost doubles the size of the build static library. As far as I understand the /Zi option, all generated debugging information is stored in a .pdb file and only a link to that file is added…
4
votes
1 answer

Determining symbol addresses using binutils/readelf

I am working on a project where our verification test scripts need to locate symbol addresses within the build of software being tested. This might be used for setting breakpoints or reading static data from memory. What I am after is to create a…
Michael Bauer
  • 183
  • 4
  • 15
4
votes
0 answers

How to get complete stacktrace from a stripped binary using perf?

I am trying to profile a process written for en embedded linux system. It is for a product we are developing. Name of the process is set to "dummy" for confidentiality reasons. It was suggested to me to use perf to profile dummy. So i tried bunch of…
quandrione
  • 61
  • 1
  • 4
4
votes
2 answers

How to find exact line number of FreeBSD kernel panic?

I am testing a new driver on FreeBSD kernel. This might be trivial for experienced developers, but I can't figure out the solution to this problem. I have a kernel panic and when it panics, I get the backtrace of the panic. The backtrace says that…
Pratik Singhal
  • 6,283
  • 10
  • 55
  • 97
4
votes
1 answer

GDB - How to handle "No Symbol Table"

I have an application I would like to inspect and I don't have the sources to rebuild it and create the Symbol Table like here (gcc -g my_app.c). When I call the info locals I get the following error "No symbol table info available" When I'm working…
MP_
  • 75
  • 1
  • 7
4
votes
2 answers

Parse symbols not uploading

When I run the parse cli with the symbols option, I get the following message: The file “ParseSymbols” couldn’t be saved in the folder “tmp”. It then says "Uploaded symbol files.", but when I look at my crash reports on the parse website, it says…
J Mac
  • 53
  • 2
4
votes
3 answers

Does Visual Studio have debug symbols available?

I'd like to track down a possible bug in Visual Studio, but that's awfully hard without the debug symbols for Visual Studio itself. Does Microsoft make these available?
Khakionion
  • 742
  • 7
  • 20