Hmm, that's actually a good question - I'm not entirely sure what
pip/setuptools do with the "Requires-Dist" in METADATA where environment
markers are concerned.
However, my expectation would be that they just copy them through verbatim,
environment markers and all, rather than only copying
edit_dwarf2 calculates the (new) offset in the line program by
taking the difference between the old and new idx, which are of type
size_t (unsigned), plus the size_diff of the header given as ssize_t
(signed), and adding that to the current r_offset, which is an Elf64_Addr
(unsigned). On 64bit