On 13 February 2015 at 14:40, Greg Clayton <gclay...@apple.com> wrote: > > Are there any data structures in the core file memory or ELF headers in > memory you can look at to help you properly determine the contents of a core > file and identify it as FreeBSD or Linux? Try and scrub through the core file > contents, only for ELF core files of course, and try to figure things out.
Oh, of course. There is no section header, but the FreeBSD-specific notes are in the phdr's NOTE segment. Unfortunately there's no program header parsing in ObjectFileELF yet, but that will be the way to go. _______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev