4 /* Return the offset, and the length of an ELF section with a given name in a given ELF file */
5 int get_elf_section_offset_and_length(const char* fname
, const char* section_name
, unsigned long *offset
, unsigned long *length
);
7 void print_hex(char* fname
, unsigned long offset
, unsigned long length
);
9 void print_binary(char* fname
, unsigned long offset
, unsigned long length
);
11 #endif /* GETSECTION_H */