Commit Graph

34 Commits

Author SHA1 Message Date
DavidKorczynski 78c29a183f
icu,unrar: fix projects for fuzzintrospector (#7630)
* icu: fix for fuzz-introspector

* unrar: fix for fuzz-introspector
2022-04-27 15:22:19 +01:00
DavidKorczynski 0569a4ed6e
icu: set LDFLAGS to fix fuzz-introspector (#7538)
* icu: set LDFLAGS to fix fuzz-introspector

Fuzz-introspector uses LDFLAGS to force linking by way of the gold
linker. We need to use it when linking fuzzers.

* nit
2022-04-08 23:00:40 +01:00
Norbert Runge fbac6700d8
Adds Elango Cheran (ICU team member at Google) to the auto_ccs list of (#7303)
the Fuzzer ICU project.

Adds primary contact, updates ICU project URL.
2022-02-19 12:04:46 +00: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
Max Moroz c4075a9101
[icu] Add ftang@google.com to the auto_ccs list (fixes #4176). (#4177) 2020-07-22 10:17:54 -07: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
gnrunge d4d9f854e3 Add project team member (myself actually) to notification list. (#2541) 2019-06-26 11:09:34 -07:00
gnrunge 037c1a75b0 Modifes build.sh script to work with ICU fuzzer target files that were renamed (#2476)
to end with .cpp suffix instead of .cc to align with ICU standards.
2019-05-29 16:54:13 -07:00
gnrunge b27b7dbc80 Replaces explicit listing of fuzzer target and corpus files with generic (#2455)
detection of these files using wildcards.
2019-05-22 13:02:31 -07:00
jonathanmetzman 3049c50d48
Migrate projects using -lFuzzingEngine to $LIB_FUZZING_ENGINE (#2325)
Migrate from -lFuzzingEngine to $LIB_FUZZING_ENGINE where possible and not causing breakage
2019-05-01 11:09:55 -04:00
gnrunge 2099cabe1f Add ICU project team member email to notification list in icu/project.yaml. (#2262) 2019-03-25 10:08:22 -07:00
gnrunge 6dbcafae6f Removes break_iterator_utf32_fuzzer target from build script. The target (#2160)
will be removed in ICU.
2019-02-13 15:04:57 -08:00
gnrunge 4dd6280e19 Add team member email to notification list in icu/project.yaml (#2141) 2019-02-07 11:08:00 -08:00
gnrunge 3b7db8ac31 Adds build instructions for recently added ICU fuzzer targets (#2139)
* Update Dockerfile

* Adds instructions to build recently added ICU fuzzer targets.
2019-02-06 10:22:53 -08:00
gnrunge e14908ba50 Update Dockerfile (#2104) 2019-01-22 15:27:58 -08:00
gnrunge 0af5dcbac4 Icu fuzz (#2098)
* Update project.yaml

* Remove quotes around email.

* Updates icu/project.yaml with additional emails ids
2019-01-18 14:03:18 -08:00
gnrunge c545039e1a Update project.yaml (#2097)
* Update project.yaml

* Remove quotes around email.
2019-01-18 12:05:08 -08:00
gnrunge 97e4868a38 Icu fuzz (#2091)
* Updates the ICU fuzzer project directory:
- Delete the ICU fuzzer tests. The code was transfered to unicode-org/icu
  in PR 321 (https://github.com/unicode-org/icu/pull/321).
- Adjust the Dockerfile and the build.sh to work with the new ICU repositroy
  (now GitHub, migrated from svn recently) and the new code arrangement.

* Removes logging statements used for debugging statements from the Dockerfile.
2019-01-16 20:54:34 -08:00
Devin Jeanpierre 330386686d Use apt-get update && apt-get install, per best practices: (#561)
https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/

I ran into this because I was getting errors locally, like:

    E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/libdpkg-perl_1.18.4ubuntu1.1_all.deb  404  Not Found [IP: 91.189.88.149 80]

It turns out you get these if you don't update, and the official best practices are to `run apt-get update && apt-get install`. In fact, running _any_ apt-get install command without the apt-get update && before it can result in unfortunate caching artifacts -- see "cache busting". (P.S. thanks to Peng on Freenode for helping me, I'm bad at Ubuntu.)

So:
    sed -re \
        's/RUN apt-get ((-y )?(install|build-dep))/RUN apt-get update \&\& apt-get \1/' -i \
        projects/**/Dockerfile

I also manually fixed the cases that already ran apt-get update in their Dockerfile:
    dlplibs/Dockerfile
    grpc/Dockerfile
    libreoffice/Dockerfile
2017-05-01 23:31:02 -07:00
Abhishek Arya b436a195bd Remove experimental flag from already tested projects with msan(#473) (#513) 2017-04-04 16:47:33 -07:00
Oliver Chang 60835ac420 oss-fuzz/BASE_IMAGE -> oss-fuzz-base/BASE_IMAGE 2017-03-22 12:12:51 -07:00
Oliver Chang a086ab3f03 Enable Msan experimentally for some projects (#473). 2017-03-21 15:09:10 -07:00
Oliver Chang 7df64d4ac4 [infra] ossfuzz/IMAGE -> gcr.io/oss-fuzz/IMAGE 2017-03-15 18:46:31 -07:00
Max Moroz 86b42a54a4 [icu] Fix broken build due to incomplete result type.
Got broken after http://bugs.icu-project.org/trac/changeset/39684/trunk/icu4c/source/common/unicode/locid.h

With error like the one below:
<...>
In file included from /src/break_iterator_fuzzer.cc:8:
/src/fuzzer_utils.h:37:20: error: incomplete result type 'icu::UnicodeString' in function definition
icu::UnicodeString UnicodeStringFromUtf8(const uint8_t* data, size_t size) {
                   ^
/src/icu/source/common/unicode/locid.h:50:7: note: forward declaration of 'icu_59::UnicodeString'
class UnicodeString;
      ^
<...>
2017-02-20 16:04:43 +01:00
Abhishek Arya e8943c65df Add icu-team@ to project.yaml 2017-02-08 08:43:12 -08:00
Mike Aizatsky 4b11c38090 [icu] disabling undefined sanitizer
Reason: fails to build.

/src/icu/source/common/unicode/stringtriebuilder.h:310:46: runtime error: signed integer overflow: 124151392 * 37 cannot be represented in type 'int'
Makefile:566: recipe for target 'out/build/icudt59l/brkitr/burmesedict.dict' failed

#234
2017-02-02 12:39:58 -08:00
Kostya Serebryany f1d0beed71 make two icu fuzz targets more useful (#304) 2017-01-20 17:40:14 -08:00
Mike Aizatsky e6a8c4d6cd [infra] updating usages of base-libfuzzer (#142) 2017-01-03 15:07:49 -08:00
Mike Aizatsky 74eb465532 [icu] disabling leak detection while building
There seem to be leaks in icu tools:

LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH  ../bin/genrb --usePoolBundle -k -i ./out/build/icudt58l -s /src/icu/source/data/locales -d ./out/build/icudt58l ar.txt

=================================================================
==7719==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 64 byte(s) in 1 object(s) allocated from:
    #0 0x4d3368 in malloc /src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:64
    #1 0x5154fb in ucbuf_open /src/icu/source/tools/toolutil/ucbuf.cpp:469:36
    #2 0x50d4b3 in main /src/icu/source/tools/gendict/gendict.cpp:316:19
    #3 0x7ff77f72582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
2016-12-13 15:31:59 -08:00
Mike Aizatsky 3dd707ed58 [infra] using -lFuzzingEngine instead of -lfuzzer 2016-12-07 11:41:08 -08:00
Mike Aizatsky a1f645866d [infra] target.yaml -> project.yaml 2016-11-29 11:03:26 -08:00
Mike Aizatsky a143b9b39a [infra] renaming targets/ to projects/ 2016-11-29 10:55:25 -08:00