image: Unconditionally parse PE/COFF data
Rather than requiring an explicit image_pecoff_parse, do it unconditionally in image_load. We don't have any instances where we need to do this separately. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
parent
186f1d59d9
commit
376974e386
5 changed files with 51 additions and 52 deletions
1
image.h
1
image.h
|
@ -77,7 +77,6 @@ struct cert_table_header {
|
|||
|
||||
struct image *image_load(const char *filename);
|
||||
|
||||
int image_pecoff_parse(struct image *image);
|
||||
int image_find_regions(struct image *image);
|
||||
int image_hash_sha256(struct image *image, uint8_t digest[]);
|
||||
int image_write(struct image *image, const char *filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue