forked from len0rd/rockbox
sbtools: add helper to determine if a file is a valid ELF image
Change-Id: Ie0e9c05569ca9b02fd36f31fd7323f02b14e1b60
This commit is contained in:
parent
76446dda45
commit
e4c9eaa7e8
2 changed files with 15 additions and 0 deletions
|
@ -94,6 +94,8 @@ bool elf_get_start_addr(struct elf_params_t *params, uint32_t *addr);
|
|||
int elf_get_nr_sections(struct elf_params_t *params);
|
||||
void elf_release(struct elf_params_t *params);
|
||||
|
||||
bool elf_guess(elf_read_fn_t read, void *user);
|
||||
|
||||
/* standard implementation of read/write/printf functions
|
||||
* with user being a FILE* pointer */
|
||||
void elf_std_printf(void *user, bool error, const char *fmt, ...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue