You are not logged in.

#1 2021-03-25 19:24:37

oech3
Member
Registered: 2017-09-03
Posts: 76

[Solved?]Is it safe to strip from ko?*mcount_loc,*smp*,*bpf*,...

I'm trying to strip kernel modules as far as possible.I did

strip --strip-unneeded -R .note.* -R .comment -R *bug_table -R .BTF -R *orc_unwind* -R *mcount_loc -R *smp_locks -R *bpf_raw_tp_map -R *ftrace* target.ko

for kernel modules loaded after boot. I can boot now.
Is it safe ? And How many stripping ko is possible?

How about *dyndbg?

[Edit] May be, No.

Last edited by oech3 (2025-04-20 12:46:57)

Offline

Board footer

Powered by FluxBB