Hello All,

I want to write a utility on my own which converts core file to executable.

o I have the following logic to implement that.

o First I see that core file is just the following
     1. a elf_hdr with no 'e_entry'
     2. some program headers following it (All of them are type LOAD
, there is no INTERP header)

o So if the change the elf_type in the elf_hdr of the core file to
ET_EXEC and modify the 'e_entry' to the value in the excutable with
generated the core file, will this get loaded by solaris kernel with
out any problems ?

Looking forward to hear from you.

Thank you,
Vamsi.
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to