Skip to content

oss-fuzz: do build with OpenMP#631

Merged
LebedevRI merged 1 commit into
darktable-org:developfrom
LebedevRI:fuzz-with-omp
Jan 30, 2024
Merged

oss-fuzz: do build with OpenMP#631
LebedevRI merged 1 commit into
darktable-org:developfrom
LebedevRI:fuzz-with-omp

Conversation

@LebedevRI
Copy link
Copy Markdown
Member

OpenMP structured blocks can't throw,
and that invariant is generally not reflected in the code (unless done manually) when compiled without OpenMP, and that hides bugs (787695f e.g.)

rawspeed_get_number_of_processor_cores() returns 1 for fuzzers, so there should not be any actual multi-threading done.

OpenMP structured blocks can't throw,
and that invariant is generally not reflected in the code
(unless done manually) when compiled without OpenMP,
and that hides bugs (787695f e.g.)

`rawspeed_get_number_of_processor_cores()` returns `1`
for fuzzers, so there should not be any actual multi-threading done.
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c52d923) 60.86% compared to head (3e00628) 60.86%.
Report is 4 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #631   +/-   ##
========================================
  Coverage    60.86%   60.86%           
========================================
  Files          266      266           
  Lines        15941    15941           
  Branches      2053     2053           
========================================
  Hits          9702     9702           
  Misses        6108     6108           
  Partials       131      131           
Flag Coverage Δ
benchmarks 10.64% <ø> (ø)
integration 46.07% <ø> (ø)
linux 57.31% <ø> (ø)
macOS 24.16% <ø> (ø)
rpu_u 46.07% <ø> (ø)
unittests 21.54% <ø> (ø)
windows ∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@LebedevRI LebedevRI merged commit 3b5b63f into darktable-org:develop Jan 30, 2024
LebedevRI added a commit that referenced this pull request Feb 2, 2024
To make CI green. It is not yet obvious how this will be re-approached.

This reverts commit 3b5b63f, reversing
changes made to 40f531f.
@LebedevRI LebedevRI deleted the fuzz-with-omp branch March 18, 2024 23:39
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

Successfully merging this pull request may close these issues.

1 participant