Branch: refs/heads/bbiiggppiigg/fix-create-loadable-section-logic
  Home:   https://github.com/dyninst/dyninst
  Commit: e8bfe2b463cad0dc1bcba53e1752270a8846aabc
      
https://github.com/dyninst/dyninst/commit/e8bfe2b463cad0dc1bcba53e1752270a8846aabc
  Author: wuxx1279 <[email protected]>
  Date:   2026-01-23 (Fri, 23 Jan 2026)

  Changed paths:
    M symtabAPI/src/emitElf.C

  Log Message:
  -----------
  Fix logic on where to insert loadable sections

Previously, Dyninst made the assumption that for the last PT_LOAD
segment, the last section in it will have its addr + offset
exactly matching the end of the segment (segment addr + offset).

However, we have seen binaries where such assumptions no longer holds.

This PR simply moves the logic of inserting the loadable sections
right after the last section of the last data segment, to the last
section, which should be permitted by the ELF standard.



To unsubscribe from these emails, change your notification settings at 
https://github.com/dyninst/dyninst/settings/notifications
_______________________________________________
Dyninst-api mailing list
[email protected]
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Reply via email to