> On Oct 30, 2015, at 3:35 AM, Stefan Kratochwil via lldb-dev > <lldb-dev@lists.llvm.org> wrote: > > Hi Greg, > > thanks for your reply. > > I am developing a dynamic software updating tool for dynamically linked C > libraries (in short: I want to patch dynamic libraries in-memory). > > My goal is to achieve that without any code instrumentation. The main problem > is the state transformation between the old and the new version - here I need > as much type (and location) information as possible. > > I am currently unaware of what types of information I _really_ need, so for > now, getting as much information as possible is my way to go. I guess that > the most important types of information will be: > - size of primitives > - size of pointers > - type hierarchies and > - the in memory-structure of compound data types > > At the moment I am concentrating on the Linux / UNIX domain, so DWARF is my > preferred format.
This is all available through the LLDB API, so I would suggest using LLDB and its debug info agnostic APIs. Let me know if you need to know how to find certain kinds of information from our API and I can help get you up and running. Greg Clayton _______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev