[Lldb-commits] [PATCH] D16107: Fix for Bug 25338

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 12 05:06:23 PST 2016


tberghammer added a comment.

Can we calculate the size of the object file based on elf headers and the section headers instead of using the /proc file system?

I think a good algorithm would be to take the maximum of the following 2 expression:

  Start of section header + Number of section headers x  Size of section headers
  Max (for each section: section file address + section size)




http://reviews.llvm.org/D16107





More information about the lldb-commits mailing list