Commit Graph

19 Commits

Author SHA1 Message Date
Roman Lebedev 0b49925661
[RawSpeed] Reenable errneously disabled MSan build (#6401)
I was not notified about that change, which i believe to be errneous.
The fuzzers built here do *not* link to *any* outside libraries.

Refs. https://github.com/google/oss-fuzz/pull/6281
Refs. https://github.com/google/oss-fuzz/issues/6294
2021-09-04 09:09:49 -07:00
jonathanmetzman 03d18372d5
Reland [Ubuntu upgrade] Fix projects so they don't break with upgrade (#6313)
This reverts commit 878c32419c.

Related: #6180
2021-08-26 09:53:49 -07:00
Oliver Chang 878c32419c
Revert "[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)" (#6306)
This reverts commit 5549d804b3.
2021-08-26 15:42:34 +10:00
jonathanmetzman 5549d804b3
[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)
Fix projects so they don't break with upgrade.
These fixes are likely not backwards compatible and will fail on
Ubuntu 16.04.
Related: #6180
2021-08-25 22:14:52 -07:00
jonathanmetzman 806d1a0620
[Ubuntu upgrade] Disable MSAN where it doesn't support on Ubuntu 20.04 (#6281)
These projects were tested and it was found that their use
of MSAN does not work on Ubuntu 20.04. Therefore their use of
MSAN is being disabled.

Related: #6180
2021-08-24 15:24:47 -07:00
Oliver Chang 84faf55729
Populate a bunch of main_repo values. (#4815)
Also enforce this for future integrations.
2020-12-10 09:49:27 +11:00
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
Max Moroz 71f4914c45
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set.

* Update documentation, better presubmit check, new project template.

* add docstring to templates.py

* Add example values in the project.yaml template and remove python value for now

* Add "project: c++" to 256 projects

* format

* Add labels and selective_unpack sections to the presubmit check

* fix incorrect auto_ccs format in three projects

* fix nss emails after rebase
2020-03-10 11:08:01 -07:00
Roman Lebedev 06cd6f4431 [LibRawSpeed] Pull in newer cmake to fix the build (#3003)
As per https://apt.kitware.com/
2019-11-03 19:53:35 -08:00
jonathanmetzman ec331c1c6a
Try again to unbreak librawspeed by actually using gold (#2786) 2019-08-30 17:34:51 -07:00
jonathanmetzman 824f9f3928
Fix librawspeed build (#2784) 2019-08-30 11:29:20 -07:00
Roman Lebedev 960cc7d793 [librawspeed] LIB_FUZZING_ENGINE fixes (#2317) (#2377)
* [librawspeed] LIB_FUZZING_ENGINE fixes

Depends on 8906ca4a40
Refs. https://github.com/google/oss-fuzz/issues/2317

* [librawspeed] Drop dead CMake WITH_PTHREADS param

It is gone from RawSpeed's CMake, there is no longer any direct
dependecy on PThreads.
2019-05-03 11:28:58 -07:00
jonathanmetzman ae9398deef
Change LIB_FUZZING_ENGINE to -fsanitize=fuzzer in libFuzzer builds (#2312) 2019-04-15 10:05:02 -07:00
Roman Lebedev dec4d4272f [librawspeed] Undefined Sanitizer: enable unsigned-integer-overflow detection. (#1011)
As discussed in https://github.com/google/oss-fuzz/issues/682#issuecomment-347236010
2017-11-27 11:23:07 -08:00
Roman Lebedev 430a173d1a RawSpeed: fix build. (#997)
During introduction of more fuzz targets, i did some CMake cleanup,
namely adding of helper library. And unfortunately i did not think
about the LIB_FUZZING_ENGINE env variable, thus the oss-fuzz build
has failed.

So some more cleanup was needed
(darktable-org/rawspeed@986d605935),
and as the consequences, this small build.sh change is needed too.

I did check locally, this does fix the build.
Please merge :)
2017-11-18 07:21:59 -08:00
Roman Lebedev aa80ddcc86 RawSpeed: enable Memory sanitizer (#778)
Refs. https://github.com/google/oss-fuzz/issues/776
2017-08-15 13:45:44 -07:00
Roman Lebedev 808a1ba671 RawSpeed project change (#752)
Specify one cmake option, in hope that it might magically fix strange Ill crashes, which are not reproducible locally.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2816
2017-07-31 16:56:23 -07:00
Roman Lebedev af03d10626 RawSpeed: finish integration by adding fuzzing targets. (#685)
As discussed in the original PR#588, it may be better to
start with empty corpus, and see what happens. Even though
i have the full corpus set to get full (80%+) coverage, it
is quite likely to result in horrible performance.

Currently, the library is built with no external
dependencies - jpeg, zlib - not too sure if it makes sense
to fuzz those indirectly. And if i can built zlib in-tree,
building jpeg in-tree will be more complicated because it
does not have CMake build system.

As you can see, more than one fuzzing target is provided.
The RawSpeedFuzzer is the most global one, it will be
able to eventually cover all the code, others are more
fine-grained, and will only be able to cover some small
portion of the code. Thus, i suppose both the performance
and the coverage may win.

I did test this locally. Both the address and the undefined
configurations work.
2017-06-21 11:43:36 -07:00
Roman Lebedev 4eec280286 RawSpeed: new project proposal. (#588)
* RawSpeed: new project proposal.

RawSpeed is a library used for loading of raw files, produced
by cameras. Pretty much all major raw formats are supported.
Especially CR2, DNG, NEF, SRW, CRW, RW2, PEF, RAF, ...

The library is used namely by darktable, PhotoFlow, rawstudio,
etc. Old version of the library is used by the LibRaw library.

As far i'm concerned, there exists only a three alive major raw
loaders like this one - dcraw, LibRaw which is based on dcraw,
and this library, RawSpeed.

Thus, it is in quite the unique position, and i deem it to be
important part of the ecosystem. Am i right or not is for you
to tell.

* Don't need to specify fuzzing engines

We use both AFL and libFuzzer, don't need to specify this.
2017-05-10 08:50:17 -07:00