您的位置:首页 > 其它

8/27/2011 3:49:00 AM

2011-08-27 03:49 246 查看
8/27/2011 3:49:00 AM

ANDROID ELFF LIBRARY

The docs/ANDROID-ELFF.TXT document contains notes about the ELFF library used

by the emulator to extract debugging information from symbol files of the

emulated system.

The ELFF library has been introduced to provide the emulator's memory checker

subsystem with information about routine name, source file name and location

when a memory access violation detected at runtime. This requires parsing symbol

files corresponding to the libraries of the emulated system, in order to extract

relevant information from them.

Due to lack of windows support on available open source projects, this is a

full new implementation of an ELF/DWARF parser.

The library exposes a simple API that at this point allows:

- Extract information about routine, containing given PC address in the emulated

system. Routine information, collected by the library includes:

* Routine name

* Source file name and line corresponded to the given emulated PC.

* If routine happens to be inlined, library traces inclusion up to the first

routine that is not inlined, providing names and source file location

information for all inlined routines in that chain.

符号解析
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: