mirror of
https://github.com/dynup/kpatch
synced 2025-04-11 03:31:20 +00:00
Rewrite the static local variable correlation logic. The algorithm now traverses all the static locals in the original object rather than the patched object, ensuring that each symbol in the original object has a twin. It adds a new restriction that static local variables can't be removed. This adds support for the following: - Multiple static locals with the same name in the same function - Two separate static locals which happen to have the same numbered suffix - Static locals which are referenced by data sections - CSWTCH and other static locals which are sometimes unused due to sharing of their data sections Fixes: #514 |
||
---|---|---|
.. | ||
insn | ||
create-diff-object.c | ||
kpatch-build | ||
kpatch-gcc | ||
list.h | ||
lookup.c | ||
lookup.h | ||
Makefile |