Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analysing a case where reachable functions are missing from "Reached by Fuzzers" #1146

Open
sg3-141-592 opened this issue Jul 9, 2023 · 1 comment

Comments

@sg3-141-592
Copy link
Contributor

sg3-141-592 commented Jul 9, 2023

I've been analysing some of the situations where the "Reached by Fuzzers" numbers are coming up short, i.e.
(https://storage.googleapis.com/oss-fuzz-introspector/croniter/inspector-report/20230709/fuzz_report.html)).

image [oss-fuzz : croniter : 2023-07-09](https://[storage.googleapis.com/oss-fuzz-introspector/croniter/inspector-report/20230709/fuzz_report.html]

Taking an example croniter.get_current(), when it's called it's renamed

@classmethod
def match(cls, cron_expression, testdate, day_or=True):
    cron = cls(cron_expression, testdate, ret_type=datetime.datetime, day_or=day_or)
    td, ms1 = cron.get_current(datetime.datetime), relativedelta(microseconds=1)

And shows up in the callgraph files as fuzzerLogFile-fuzz_match.data.

    cron.get_current croniter 835

This coverage isn't getting matched up with fuzzerLogFile-fuzz_match.data.yaml on the other end, I'm guessing because the names don't match up.

I'm currently working my way through how the report generation works to see where the "Reached by" gets dropped. Any ideas on the right place to look next much appreciated.

@DavidKorczynski
Copy link
Contributor

DavidKorczynski commented Jul 11, 2023

Thanks for identifying the issue!

I'm guessing because the names don't match up

This is most commonly the case!

I'll try and look at this tomorrow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants