summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-02-08 21:50:30 -0500
committermidipix <writeonce@midipix.org>2017-02-08 22:28:37 -0500
commitbbf7fc20ab7b3b762e60ceb1cd19655877d2f329 (patch)
treec59d968f4d2d788e0fab1cff513e5199d18da2ad /src
parent00a88c01dc20c33da1936600d46974d460a23cc4 (diff)
downloadmdso-bbf7fc20ab7b3b762e60ceb1cd19655877d2f329.tar.bz2
mdso-bbf7fc20ab7b3b762e60ceb1cd19655877d2f329.tar.xz
PE defs: renamed struct pe_aux_rec_section --> struct pe_raw_aux_rec_section.
Diffstat (limited to 'src')
-rw-r--r--src/internal/perk/perk_structs.h2
-rw-r--r--src/object/mdso_objgen_dsometa.c6
-rw-r--r--src/object/mdso_objgen_symentry.c6
-rw-r--r--src/object/mdso_objgen_symfn.c4
4 files changed, 9 insertions, 9 deletions
diff --git a/src/internal/perk/perk_structs.h b/src/internal/perk/perk_structs.h
index 8ec0b94..09f4105 100644
--- a/src/internal/perk/perk_structs.h
+++ b/src/internal/perk/perk_structs.h
@@ -340,7 +340,7 @@ struct pe_raw_coff_reloc {
};
-struct pe_aux_rec_section {
+struct pe_raw_aux_rec_section {
unsigned char aux_size [0x04]; /* 0x00 */
unsigned char aux_num_of_relocs [0x02]; /* 0x04 */
unsigned char aux_num_of_line_nums [0x02]; /* 0x06 */
diff --git a/src/object/mdso_objgen_dsometa.c b/src/object/mdso_objgen_dsometa.c
index 2572f12..61df843 100644
--- a/src/object/mdso_objgen_dsometa.c
+++ b/src/object/mdso_objgen_dsometa.c
@@ -38,7 +38,7 @@ int mdso_objgen_dsometa(
struct mdso_dsometa_object * dsometa;
struct pe_raw_coff_symbol * symrec;
unsigned char * mark;
- struct pe_aux_rec_section * aux;
+ struct pe_raw_aux_rec_section * aux;
size_t buflen;
uint32_t liblen;
uint32_t cstlen;
@@ -173,7 +173,7 @@ int mdso_objgen_dsometa(
mdso_obj_write_short(symrec[0].cs_section_number,1);
memcpy(symrec[0].cs_name,".dsostrs",8);
- aux = (struct pe_aux_rec_section *)&symrec[1];
+ aux = (struct pe_raw_aux_rec_section *)&symrec[1];
mdso_obj_write_long(aux->aux_size,liblen+1);
mdso_obj_write_short(aux->aux_num_of_relocs,0);
@@ -188,7 +188,7 @@ int mdso_objgen_dsometa(
mdso_obj_write_short(symrec[0].cs_section_number,2);
memcpy(symrec[0].cs_name,".dsometa",8);
- aux = (struct pe_aux_rec_section *)&symrec[1];
+ aux = (struct pe_raw_aux_rec_section *)&symrec[1];
mdso_obj_write_long(aux->aux_size,reclen);
mdso_obj_write_short(aux->aux_num_of_relocs,1);
diff --git a/src/object/mdso_objgen_symentry.c b/src/object/mdso_objgen_symentry.c
index 62e2ff2..3a3503f 100644
--- a/src/object/mdso_objgen_symentry.c
+++ b/src/object/mdso_objgen_symentry.c
@@ -38,7 +38,7 @@ int mdso_objgen_symentry(
struct mdso_symentry_object * syment;
struct pe_raw_coff_symbol * symrec;
unsigned char * mark;
- struct pe_aux_rec_section * aux;
+ struct pe_raw_aux_rec_section * aux;
size_t buflen;
size_t liblen;
uint32_t symlen;
@@ -175,7 +175,7 @@ int mdso_objgen_symentry(
mdso_obj_write_short(symrec[0].cs_section_number,1);
memcpy(symrec[0].cs_name,".dsostrs",8);
- aux = (struct pe_aux_rec_section *)&symrec[1];
+ aux = (struct pe_raw_aux_rec_section *)&symrec[1];
mdso_obj_write_long(aux->aux_size,symlen+1);
mdso_obj_write_short(aux->aux_num_of_relocs,0);
@@ -190,7 +190,7 @@ int mdso_objgen_symentry(
mdso_obj_write_short(symrec[0].cs_section_number,2);
memcpy(symrec[0].cs_name,".dsosyms",8);
- aux = (struct pe_aux_rec_section *)&symrec[1];
+ aux = (struct pe_raw_aux_rec_section *)&symrec[1];
mdso_obj_write_long(aux->aux_size,2*relrva);
mdso_obj_write_short(aux->aux_num_of_relocs,2);
diff --git a/src/object/mdso_objgen_symfn.c b/src/object/mdso_objgen_symfn.c
index b42e0b3..3bdd98f 100644
--- a/src/object/mdso_objgen_symfn.c
+++ b/src/object/mdso_objgen_symfn.c
@@ -53,7 +53,7 @@ int mdso_objgen_symfn(
struct pe_raw_coff_symbol * symrec;
const unsigned char * code;
unsigned char * mark;
- struct pe_aux_rec_section * aux;
+ struct pe_raw_aux_rec_section * aux;
size_t buflen;
uint32_t symlen;
uint32_t cstlen;
@@ -170,7 +170,7 @@ int mdso_objgen_symfn(
mdso_obj_write_short(symrec[0].cs_section_number,1);
memcpy(symrec[0].cs_name,".text",5);
- aux = (struct pe_aux_rec_section *)&symrec[1];
+ aux = (struct pe_raw_aux_rec_section *)&symrec[1];
mdso_obj_write_long(aux->aux_size,relrva+4);
mdso_obj_write_short(aux->aux_num_of_relocs,1);