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

Enable analyses that do not require LTO #209

Open
DavidKorczynski opened this issue Apr 15, 2022 · 0 comments
Open

Enable analyses that do not require LTO #209

DavidKorczynski opened this issue Apr 15, 2022 · 0 comments

Comments

@DavidKorczynski
Copy link
Contributor

LTO can be incompatible with certain projects, in particular larger projects. Both in terms of resource exhaustion and pure compatibility (i.e. breaking builds).

An option is to enable a mode of fuzz-introspector that does not rely on LTO, but provides analyses based on data that is not extracted with LTO. In essence, LTO is used to extract program-wide data, so, analyses without LTO should simply be based on data that is non-program-wide. This is e.g.

  • function-level data
  • runtime coverage data
  • partial cfgs, e.g. (module) level data.

Ref google/oss-fuzz#7573 (comment)

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

1 participant