mirror of
https://github.com/dynup/kpatch
synced 2025-01-13 08:30:47 +00:00
8a008e8645
When patching a module, I ran into a "can't set ftrace filter at address" error. The root cause was due to the fact that mod->module_core + old_offset is apparently not a reliable way to determine the function's address. Instead, just get the address from kallsyms like we do for module dynrelas. |
||
---|---|---|
.. | ||
core.c | ||
kpatch.h | ||
Makefile |