exclude interpreter's segment from data region
When an interpreter is located on the lower address (e.g. 0x0), the text region is included in data region. A fix to avoid this.
This commit is contained in:
@ -84,7 +84,8 @@ struct program_image_section {
|
||||
unsigned long remote_pa;
|
||||
unsigned long filesz, offset;
|
||||
int prot;
|
||||
int padding;
|
||||
unsigned char interp;
|
||||
unsigned char padding[3];
|
||||
void *fp;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user