Folks
The Linux kernel commit b9f174c811e3ae4ae8959dc57e6adb9990e913f4
(
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...)
added an ELF section for the ORC version identifier. I think the crash utility should use
this section to identify the ORC version in use.
I want to implement this feature in the crash utility. As I understand it, we would need
to read the kernel binary first, find out whether it has .orc_header section and then read
the section to figure out the version of the ORC format in use.
I do not have familiarity with the code for the crash utility. Is it possible for someone
to advise on whether the above sounds reasonable? If yes, then how to divide the
functionality among the files? If no, then what would a reasonable to have this
functionality?
Thanks!