Skip to content

Commit

Permalink
fixup! [PAL] Allow to validate entrypoint ELF file separately
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
  • Loading branch information
dimakuv committed Jul 2, 2024
1 parent 005781f commit cf41fcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pal/src/pal_rtld.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ struct loadcmd {
/* End of memory area */
elf_addr_t alloc_end;

/* Segment's file-image size, i.e. the exact size of the segment in ELF file */
/* Segment's file-image size (plus possible space for unused bytes at the beginning of the
* mapped segment, required due to page-alignment reasons) */
elf_addr_t filesz;

/* Offset from the beginning of file at which the first byte of the segment resides */
Expand Down

0 comments on commit cf41fcc

Please sign in to comment.