mirror of https://github.com/google/oss-fuzz.git
[mp4parse-rust] Limit allocation size (#4273)
* [mp4parse-rust] Set max_allocation_size_mb * [mp4parse-rust] Update CC list
This commit is contained in:
parent
95ffdaa04e
commit
3d7dc183d1
|
@ -20,4 +20,4 @@ RUN apt-get update && apt-get install -y make autoconf automake libtool curl cma
|
|||
RUN git clone --depth 1 https://github.com/mozilla/mp4parse-rust mp4parse-rust
|
||||
WORKDIR mp4parse-rust
|
||||
|
||||
COPY build.sh $SRC/
|
||||
COPY build.sh default.options $SRC/
|
||||
|
|
|
@ -29,5 +29,6 @@ do
|
|||
FUZZ_TARGET_NAME=$(basename ${f%.*})
|
||||
cp $FUZZ_TARGET_OUTPUT_DIR/$FUZZ_TARGET_NAME $OUT/
|
||||
cp $PROJECT_DIR/mp4parse_capi/fuzz/mp4.dict $OUT/$FUZZ_TARGET_NAME.dict
|
||||
cp $SRC/default.options $OUT/$FUZZ_TARGET_NAME.options
|
||||
zip -jr $OUT/${FUZZ_TARGET_NAME}_seed_corpus.zip $PROJECT_DIR/corpus/
|
||||
done
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[asan]
|
||||
max_allocation_size_mb=512
|
|
@ -6,4 +6,5 @@ fuzzing_engines:
|
|||
- libfuzzer
|
||||
language: rust
|
||||
vendor_ccs:
|
||||
- "jbauman@mozilla.com"
|
||||
- "twsmith@mozilla.com"
|
||||
|
|
Loading…
Reference in New Issue