File: elfload.h

package info (click to toggle)
bincompat 1.1.0-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 152 kB
  • ctags: 97
  • sloc: ansic: 1,291; makefile: 78; asm: 74; sh: 2
file content (9 lines) | stat: -rw-r--r-- 313 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#include <elf.h>

int read_check_ehdr(int fd, Elf32_Ehdr *ehdr);
int read_segment_list(int fd, const Elf32_Ehdr *ehdr, Elf32_Off *dyn_offset_p);
int load_segments(int fd);
void changed_segment(void);
int write_segments(int fd);
char * find_location(Elf32_Addr where, Elf32_Word length);
void free_segments(void);