Delete projects/markdown-it-js directory (#11612)

Because can't connect projects upstream, I will delete this project.
Thanks cluster fuzz team!
This commit is contained in:
Adnan Keskin 2024-03-05 03:12:44 +03:00 committed by GitHub
parent dbba35d85a
commit cd700ebd69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 0 additions and 92 deletions

View File

@ -1,25 +0,0 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder-javascript
COPY build.sh $SRC/
RUN git clone https://github.com/markdown-it/markdown-it.git
WORKDIR $SRC/markdown-it
COPY fuzz*.js $SRC/markdown-it/

View File

@ -1,22 +0,0 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
# build project
npm install
npm install @jazzer.js/core
# build fuzzers
compile_javascript_fuzzer markdown-it fuzz.js -i markdown-it

View File

@ -1,37 +0,0 @@
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
const { FuzzedDataProvider } = require("@jazzer.js/core");
const MarkdownIt = require('markdown-it');
/**
* @param { Buffer } fuzzerInputData
*/
module.exports.fuzz = function (fuzzerInputData) {
const data = new FuzzedDataProvider(fuzzerInputData);
const inputText = data.consumeRemainingAsString();
try {
const mdLinkifyEnabled = new MarkdownIt({
linkify: true,
});
mdLinkifyEnabled.render(inputText);
} catch (e) {
throw e;
}
};

View File

@ -1,8 +0,0 @@
homepage: https://github.com/markdown-it/markdown-it
language: javascript
primary_contact: adoxalim@gmail.com
main_repo: https://github.com/markdown-it/markdown-it.git
fuzzing_engines:
- libfuzzer
sanitizers:
- none