[Crash-utility] Read orc_header section to detect ORC version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Folks

The Linux kernel commit b9f174c811e3ae4ae8959dc57e6adb9990e913f4 (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b9f174c811e3ae4ae8959dc57e6adb9990e913f4) 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!
--
Crash-utility mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxxxxxx
https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
Contribution Guidelines: https://github.com/crash-utility/crash/wiki




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux