Bug 198443
Summary: | KCOV: trace arch/x86/kernel code | ||
---|---|---|---|
Product: | Memory Management | Reporter: | Dmitry Vyukov (dvyukov) |
Component: | Sanitizers | Assignee: | Dmitry Vyukov (dvyukov) |
Status: | NEW --- | ||
Severity: | enhancement | CC: | kasan-dev, pengfei.xu |
Priority: | P2 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | ALL | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Dmitry Vyukov
2018-01-10 14:36:08 UTC
Probably makes more sense to do as a allowlist instead: KCOV_INSTRUMENT := n KCOV_INSTRUMENT_foo := y We also found this issue when syzkaller test. Is there some one help to fix this issue for KCOV_INSTRUMENT? Thanks! BR. I found I could use below item and enable at least SHSTK test. KCOV_INSTRUMENT_alternative.o :=n KCOV_INSTRUMENT_amd_gart_64.o :=n KCOV_INSTRUMENT_amd_nb.o :=n KCOV_INSTRUMENT_aperture_64.o :=n KCOV_INSTRUMENT_audit_64.o :=n KCOV_INSTRUMENT_bootflag.o :=n KCOV_INSTRUMENT_callthunks.o :=n KCOV_INSTRUMENT_check.o :=n KCOV_INSTRUMENT_cpuid.mod.o :=n KCOV_INSTRUMENT_cpuid.o :=n KCOV_INSTRUMENT_crash_core_64.o :=n KCOV_INSTRUMENT_crash_dump_64.o :=n KCOV_INSTRUMENT_crash.o :=n KCOV_INSTRUMENT_devicetree.o :=n KCOV_INSTRUMENT_dumpstack_64.o :=n KCOV_INSTRUMENT_dumpstack.o :=n KCOV_INSTRUMENT_e820.o :=n KCOV_INSTRUMENT_early_printk.o :=n KCOV_INSTRUMENT_early-quirks.o :=n KCOV_INSTRUMENT_ebda.o :=n KCOV_INSTRUMENT_espfix_64.o :=n KCOV_INSTRUMENT_ftrace_64.o :=n KCOV_INSTRUMENT_ftrace.o :=n KCOV_INSTRUMENT_head_64.o :=n KCOV_INSTRUMENT_head64.o :=n KCOV_INSTRUMENT_hpet.o :=n KCOV_INSTRUMENT_hw_breakpoint.o :=n KCOV_INSTRUMENT_i8237.o :=n KCOV_INSTRUMENT_i8253.o :=n KCOV_INSTRUMENT_i8259.o :=n KCOV_INSTRUMENT_idt.o :=n KCOV_INSTRUMENT_io_delay.o :=n KCOV_INSTRUMENT_ioport.o :=n KCOV_INSTRUMENT_irq_64.o :=n KCOV_INSTRUMENT_irqflags.o :=n KCOV_INSTRUMENT_irqinit.o :=n KCOV_INSTRUMENT_irq.o :=n KCOV_INSTRUMENT_irq_work.o :=n KCOV_INSTRUMENT_itmt.o :=n KCOV_INSTRUMENT_jailhouse.o :=n KCOV_INSTRUMENT_jump_label.o :=n KCOV_INSTRUMENT_kdebugfs.o :=n KCOV_INSTRUMENT_kexec-bzimage64.o :=n KCOV_INSTRUMENT_kgdb.o :=n KCOV_INSTRUMENT_ksysfs.o :=n KCOV_INSTRUMENT_kvmclock.o :=n KCOV_INSTRUMENT_kvm.o :=n KCOV_INSTRUMENT_ldt.o :=n KCOV_INSTRUMENT_machine_kexec_64.o :=n KCOV_INSTRUMENT_mmconf-fam10h_64.o :=n KCOV_INSTRUMENT_module.o :=n KCOV_INSTRUMENT_mpparse.o :=n KCOV_INSTRUMENT_msr.o :=n KCOV_INSTRUMENT_nmi.o :=n KCOV_INSTRUMENT_paravirt.o :=n KCOV_INSTRUMENT_paravirt-spinlocks.o :=n KCOV_INSTRUMENT_pci-dma.o :=n KCOV_INSTRUMENT_pcspeaker.o :=n KCOV_INSTRUMENT_perf_regs.o :=n KCOV_INSTRUMENT_platform-quirks.o :=n KCOV_INSTRUMENT_pmem.o :=n KCOV_INSTRUMENT_probe_roms.o :=n KCOV_INSTRUMENT_process_64.o :=n KCOV_INSTRUMENT_process.o :=n KCOV_INSTRUMENT_ptrace.o :=n KCOV_INSTRUMENT_pvclock.o :=n KCOV_INSTRUMENT_quirks.o :=n KCOV_INSTRUMENT_reboot.o :=n KCOV_INSTRUMENT_relocate_kernel_64.o :=n KCOV_INSTRUMENT_resource.o :=n KCOV_INSTRUMENT_rethook.o :=n KCOV_INSTRUMENT_rtc.o :=n KCOV_INSTRUMENT_sched_ipcc.o :=n KCOV_INSTRUMENT_setup.o :=n KCOV_INSTRUMENT_setup_percpu.o :=n KCOV_INSTRUMENT_sev.o :=n KCOV_INSTRUMENT_signal_32.o :=n KCOV_INSTRUMENT_signal_64.o :=n KCOV_INSTRUMENT_signal.o :=n KCOV_INSTRUMENT_smpboot.o :=n KCOV_INSTRUMENT_smp.o :=n KCOV_INSTRUMENT_stacktrace.o :=n KCOV_INSTRUMENT_static_call.o :=n KCOV_INSTRUMENT_step.o :=n KCOV_INSTRUMENT_sys_ia32.o :=n KCOV_INSTRUMENT_sys_x86_64.o :=n KCOV_INSTRUMENT_tboot.o :=n KCOV_INSTRUMENT_time.o :=n KCOV_INSTRUMENT_tls.o :=n KCOV_INSTRUMENT_topology.o :=n KCOV_INSTRUMENT_trace_clock.o :=n KCOV_INSTRUMENT_trace.o :=n KCOV_INSTRUMENT_tracepoint.o :=n KCOV_INSTRUMENT_traps.o :=n KCOV_INSTRUMENT_tsc_msr.o :=n KCOV_INSTRUMENT_tsc.o :=n KCOV_INSTRUMENT_tsc_sync.o :=n KCOV_INSTRUMENT_umip.o :=n KCOV_INSTRUMENT_unwind_frame.o :=n KCOV_INSTRUMENT_uprobes.o :=n KCOV_INSTRUMENT_vsmp_64.o :=n KCOV_INSTRUMENT_x86_init.o :=n I will do more testing to think out some good way for it. Thanks a lot for Dmitry's guidance! Thanks! |