/lib/live/mount/findiso/Applications for Manjaro
[appimagekit/gsi.git] / src / getsection.h
blobe6ecc139651be9654957d287e8606a52de005ffa
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_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 */