Branch: refs/heads/bbiiggppiigg/fix-create-loadable-section-logic
  Home:   https://github.com/dyninst/dyninst
  Commit: 4ded54afb9d99bcf4c08c9a4df30930b651d957c
      
https://github.com/dyninst/dyninst/commit/4ded54afb9d99bcf4c08c9a4df30930b651d957c
  Author: wuxx1279 <[email protected]>
  Date:   2026-02-02 (Mon, 02 Feb 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.


  Commit: 55e04a2e30ebdaeb1f9d2c0111ba0ec784b1a1da
      
https://github.com/dyninst/dyninst/commit/55e04a2e30ebdaeb1f9d2c0111ba0ec784b1a1da
  Author: wuxx1279 <[email protected]>
  Date:   2026-02-02 (Mon, 02 Feb 2026)

  Changed paths:
    M symtabAPI/src/emitElf.C

  Log Message:
  -----------
  Various Fixes

Remove useless update to insertPoint
Remove flag for checking whether loadable sections has been created.
Add debug log when dyninst failed to create new sections.


Compare: https://github.com/dyninst/dyninst/compare/c28b7cfad176...55e04a2e30eb

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