mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdump: df_elf: refactor check_elf_hdr
The function will be reused by upcoming patches. Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
1780efae07
commit
6176509076
@@ -147,6 +147,11 @@ bool ehdr_is_vmcore(const Elf64_Ehdr *ehdr);
|
||||
*/
|
||||
bool ehdr_is_s390x(const Elf64_Ehdr *ehdr);
|
||||
|
||||
/*
|
||||
* Verify that given header is a s390x ELF header
|
||||
*/
|
||||
int ehdr_check_s390x(const Elf64_Ehdr *ehdr);
|
||||
|
||||
/*
|
||||
* Read ELF header at current offset
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user