• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1ANDROID ELFF LIBRARY
2
3The docs/ANDROID-ELFF.TXT document contains notes about the ELFF library used
4by the emulator to extract debugging information from symbol files of the
5emulated system.
6
7The ELFF library has been introduced to provide the emulator's memory checker
8subsystem with information about routine name, source file name and location
9when a memory access violation detected at runtime. This requires parsing symbol
10files corresponding to the libraries of the emulated system, in order to extract
11relevant information from them.
12
13Due to lack of windows support on available open source projects, this is a
14full new implementation of an ELF/DWARF parser.
15
16The library exposes a simple API that at this point allows:
17- Extract information about routine, containing given PC address in the emulated
18  system. Routine information, collected by the library includes:
19  * Routine name
20  * Source file name and line corresponded to the given emulated PC.
21  * If routine happens to be inlined, library traces inclusion up to the first
22    routine that is not inlined, providing names and source file location
23    information for all inlined routines in that chain.
24