KernelPatch icon indicating copy to clipboard operation
KernelPatch copied to clipboard

kallsym: use (target - base) to calculate symbol offsets

Open SakuraKyuo opened this issue 1 year ago • 1 comments

the first symbol is usually _text (which is equal to the kernel base), but on devices without CONFIG_KALLSYMS_ALL=y they will be stripped, thus giving us wrong offsets.

SakuraKyuo avatar Aug 11 '24 13:08 SakuraKyuo

Thanks, but I think I have fixed it, and it is also compatible with 6.6, you can try it

bmax121 avatar Sep 24 '24 09:09 bmax121