[llvm-commits] PATCH: [Sanitizer] Teach symbolizer to return module name and offset for a given address

Alexey Samsonov samsonov at google.com
Thu Jun 7 06:47:46 PDT 2012


Hi!

This patch is a skeleton for common ASan/TSan symbolizer - currently it
scans /proc/self/maps (when called for the first time) and stores
the list of all modules in its state. Next step would be: to symbolize
address in a known module,
map module contents to memory and parse its headers to get pointers
to debug info sections (this code will be OS-specific).
Based on code by dvyukov@

Code review: http://codereview.appspot.com/6308048/

-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120607/596e49a5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: san_symbolizer4.patch
Type: application/octet-stream
Size: 5639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120607/596e49a5/attachment.obj>


More information about the llvm-commits mailing list