mirror of
https://github.com/sstefani/mtrace.git
synced 2025-12-07 01:06:41 +08:00
fix header
This commit is contained in:
parent
ba3dc828df
commit
d58595d904
5
mtelf.h
5
mtelf.h
@ -58,12 +58,9 @@ struct elf_image {
|
|||||||
size_t size; /* (file-) size of the image */
|
size_t size; /* (file-) size of the image */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* For now we assume that all libraries can be
|
|
||||||
* opened via a filesystem. BASE is ignored for ET_EXEC files. */
|
|
||||||
int elf_read_library(struct task *task, struct library *lib, const char *filename, GElf_Addr bias);
|
int elf_read_library(struct task *task, struct library *lib, const char *filename, GElf_Addr bias);
|
||||||
|
|
||||||
/* Create a library object representing the main binary. The entry
|
/* Create a library object representing the main binary. */
|
||||||
* point address is stored to *ENTRYP. */
|
|
||||||
struct library *elf_read_main_binary(struct task *task);
|
struct library *elf_read_main_binary(struct task *task);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user