Closed inconstante closed 3 years ago
Commit b45f0f3 disabled optimization in the live patch, otherwise the reference variable disappears.
Commit d40122a changes the following:
Sorry for flooding the pull request with commits. :B
Updated branch against current master.
Read the commit message for more information...
Apart from that, the patch adds new information to the live patch metadata, more specifically, the addresses (offsets from the load address) of data objects, and that means that there is no need to open in-disk files (DSOs) during live patch application to fix references to LOCAL objects.
We should probably copy this mechanism to the other parts of the live patch metadata, so that, in the future, nothing else depends on the target library file being both in-disk and in the exact same version that the target process used (which doesn´t work after package updates).