diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 11:49:03 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-19 11:49:03 -0500 |
commit | 11fb1c69c1701d2bf6532443a7e9f57344308cdd (patch) | |
tree | 9a3f1746c5263f8ec05b98d0c7b236ca42e446eb /src | |
parent | 99c4526766e22ec051156c716a698402329f793e (diff) | |
download | perk-11fb1c69c1701d2bf6532443a7e9f57344308cdd.tar.bz2 perk-11fb1c69c1701d2bf6532443a7e9f57344308cdd.tar.xz |
PE format: struct pe_coff_file_hdr --> pe_raw_coff_file_hdr.
Diffstat (limited to 'src')
-rw-r--r-- | src/logic/pe_get_image_meta.c | 2 | ||||
-rw-r--r-- | src/reader/pe_read_coff_header.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c index e735da5..e62d4e6 100644 --- a/src/logic/pe_get_image_meta.c +++ b/src/logic/pe_get_image_meta.c @@ -183,7 +183,7 @@ int pe_get_image_meta( return pe_free_image_meta_impl( m,PERK_CUSTOM_ERROR(dctx,ret)); - m->acoff = (struct pe_coff_file_hdr *)(base + m->dos.dos_lfanew); + m->acoff = (struct pe_raw_coff_file_hdr *)(base + m->dos.dos_lfanew); if ((ret = (pe_read_coff_header(m->acoff,&m->coff)))) return pe_free_image_meta_impl( diff --git a/src/reader/pe_read_coff_header.c b/src/reader/pe_read_coff_header.c index b6e125f..1b4dfe3 100644 --- a/src/reader/pe_read_coff_header.c +++ b/src/reader/pe_read_coff_header.c @@ -10,7 +10,7 @@ #include "perk_endian_impl.h" #include "perk_reader_impl.h" -int pe_read_coff_header(const struct pe_coff_file_hdr * p, struct pe_meta_coff_file_hdr * m) +int pe_read_coff_header(const struct pe_raw_coff_file_hdr * p, struct pe_meta_coff_file_hdr * m) { if ((p->signature[0] != 'P') || (p->signature[1] != 'E') || p->signature[2] || p->signature[3]) |