[lldb-dev] ELF header does not hold big modules

2017-01-20 Thread Eugene Birukov via lldb-dev
Hello, I have a core dump that LLDB cannot open because it contains more than 64K sections. The "readelf" utility gives me the output in the end of this message. It seems that the actual number of program headers and the index of string table section are written into very first section since t

Re: [lldb-dev] ELF header does not hold big modules

2017-01-23 Thread Pavel Labath via lldb-dev
Hello Eugene, On 21 January 2017 at 00:42, Eugene Birukov wrote: > Hello, > > > I have a core dump that LLDB cannot open because it contains more than 64K > sections. The "readelf" utility gives me the output in the end of this > message. It seems that the actual number of program headers and the

Re: [lldb-dev] ELF header does not hold big modules

2017-01-23 Thread Eugene Birukov via lldb-dev
> By "all" I presume you mean "all fields that refer to section counts or > indexes". Correct. I mean exactly 3 fields: e_phnum, e_shnum, and e_shstrndx that could be redirected to section #0. Sent from Outlook From: Pavel Labath S

Re: [lldb-dev] ELF header does not hold big modules

2017-02-02 Thread Greg Clayton via lldb-dev
Found this on the web: e_shnum This member holds the number of entries in the section header table. Thus the product of e_shentsize and e_shnum gives the section header table's size in bytes. If a file has no section header table, e_shnum holds the value zero. If the number of

Re: [lldb-dev] ELF header does not hold big modules

2017-02-02 Thread Eugene Birukov via lldb-dev
: [lldb-dev] ELF header does not hold big modules Found this on the web: e_shnum This member holds the number of entries in the section header table. Thus the product of e_shentsize and e_shnum gives the section header table's size in bytes. If a file has no section header ta