Changeset View
Changeset View
Standalone View
Standalone View
contrib/elftoolchain/elfcopy/elfcopy.h
Show First 20 Lines • Show All 271 Lines • ▼ Show 20 Lines | |||||
void add_to_shstrtab(struct elfcopy *_ecp, const char *_name); | void add_to_shstrtab(struct elfcopy *_ecp, const char *_name); | ||||
void add_to_symop_list(struct elfcopy *_ecp, const char *_name, | void add_to_symop_list(struct elfcopy *_ecp, const char *_name, | ||||
const char *_newname, unsigned int _op); | const char *_newname, unsigned int _op); | ||||
void add_to_symtab(struct elfcopy *_ecp, const char *_name, | void add_to_symtab(struct elfcopy *_ecp, const char *_name, | ||||
uint64_t _st_value, uint64_t _st_size, uint16_t _st_shndx, | uint64_t _st_value, uint64_t _st_size, uint16_t _st_shndx, | ||||
unsigned char _st_info, unsigned char _st_other, int _ndx_known); | unsigned char _st_info, unsigned char _st_other, int _ndx_known); | ||||
int add_to_inseg_list(struct elfcopy *_ecp, struct section *_sec); | int add_to_inseg_list(struct elfcopy *_ecp, struct section *_sec); | ||||
void adjust_addr(struct elfcopy *_ecp); | void adjust_addr(struct elfcopy *_ecp); | ||||
int cleanup_tempfile(char *_fn); | |||||
void copy_content(struct elfcopy *_ecp); | void copy_content(struct elfcopy *_ecp); | ||||
void copy_data(struct section *_s); | void copy_data(struct section *_s); | ||||
void copy_phdr(struct elfcopy *_ecp); | void copy_phdr(struct elfcopy *_ecp); | ||||
void copy_shdr(struct elfcopy *_ecp, struct section *_s, const char *_name, | void copy_shdr(struct elfcopy *_ecp, struct section *_s, const char *_name, | ||||
int _copy, int _sec_flags); | int _copy, int _sec_flags); | ||||
void create_binary(int _ifd, int _ofd); | void create_binary(int _ifd, int _ofd); | ||||
void create_elf(struct elfcopy *_ecp); | void create_elf(struct elfcopy *_ecp); | ||||
void create_elf_from_binary(struct elfcopy *_ecp, int _ifd, const char *ifn); | void create_elf_from_binary(struct elfcopy *_ecp, int _ifd, const char *ifn); | ||||
Show All 37 Lines |