I want to test my PCIe driver using syzkaller; this driver provides a character device. During testing, I don’t care about the code coverage of the Linux kernel itself, I want is the code coverage of my PCIe driver. My PCIe driver is an out-of-tree kernel module. However, when I open the coverage information panel on the web server, I cannot find the code coverage data for my PCIe driver. What should I do to generate the code coverage for my module?
--
You received this message because you are subscribed to the Google Groups "syzkaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/syzkaller/5a3f0455-9a69-44c1-855b-893ed4f36c69n%40googlegroups.com.
failed to parse pc '??:0'
, almost always means that your kernel module was compiled without debug symbols.The coverage generation process relies on a tool called addr2line
to map memory addresses from the running kernel back to specific lines in your source code. When addr2line
returns ??:0
, it's saying it has no idea where that address belongs because the necessary debug information is missing from the module file.
To view this discussion visit https://groups.google.com/d/msgid/syzkaller/1fb57cd6-4ccf-460c-872f-325704a3179dn%40googlegroups.com.