Skip to content

tools/syz-cover: PCs returned by kcov do not have matching coverage callbacks #6551

@6eanut

Description

@6eanut

I am encountering an issue while generating an HTML coverage report using
syz-cover. I would appreciate some guidance.

My Workflow:
I downloaded the raw coverage (approx. 20k addresses) via:
wget http://localhost:57701/rawcover
I ran syz-cover to generate the HTML report:
./bin/syz-cover -config test.config -debug rawcover

The Error:
The tool produces the following output: "202286 out of 202680
PCs returned by kcov do not have matching coverage callbacks. Check the
discoverModules() code. Use ?force=1 to disable this message."

My Investigation:
I manually verified the addresses in the 'rawcover' file using addr2line
with my vmlinux binary. Every address I tested was successfully resolved
to the correct source file and line number.

Question:
Since addr2line can resolve these addresses, why does syz-cover fail to
match them to coverage callbacks?

Any insights or debugging tips would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug in the syzkaller project (e.g. a crash or misbehavior).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions