Frage

This question does a great job explaining how to get the symbols (variables, functions, etc) of an elf file.

Now that I have the symbols I will like to know on what location (module) they are.

For example if I compile a program that consists of the files main.c, someFile.h and someFile.c . Also let's say that the main.c program contains the global variable int Counter. then how I be able to tell that variable Counter is located in main.c?

War es hilfreich?

Lösung

the Answer is in here. .

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top