Clarify special directories
[appimagekit/gsi.git] / getsection.h
blob5781614845663a37ed1fe526156b4bf8cf5258c8
1 #ifndef GETSECTION_H
2 #define GETSECTION_H
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_lenghth(char* fname, 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 */