<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 28, 2017 at 2:48 AM Pavel Labath via Phabricator via lldb-commits <<a href="mailto:lldb-commits@lists.llvm.org">lldb-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">labath added a comment.<br>
<br>
On 28 November 2017 at 06:12, Zachary Turner via lldb-commits <<a href="mailto:lldb-commits@lists.llvm.org" target="_blank">lldb-commits@lists.llvm.org</a>> wrote:<br>
<br>
> yaml2core would be an excellent idea for a tool.<br>
<br>
An (elf) core file is an elf file, with metadata in the elf program headers, so I think this would naturally fit into yaml2obj. Unfortunately, yaml2obj currently does not support program headers (but there is a TODO to add that).  If that TODO is fixed, we would have a yaml representation of both core files and elf executables (which we also can't do because they have program headers, and yaml2obj strips them).<br></blockquote><div><br></div><div>yes but a windows core file (i.e. minidump) is not a coff file.  So I think a tool like yaml2core would be useful, and for the ELF case it can simply link against the same code that yaml2obj is using for elv. </div></div></div>