You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During fuzzing test I receive this result, At the exploitation time I saw unusual eaten RAM usage, even with my 32 gb cloud machine downs in a few second. Normally during fuzzing it creates an instance of trigger but this time only shows me this result. I will be happy to understand background of the issue. And I also have another bug it causes timeout, for this I have reproducer too. but can not add this page because of its character encoding.
const MarkdownIt = require('markdown-it');
function fuzz(data) {
try {
const input = data.toString('utf-8');
// Using commonmark mode
const mdCommonMark = new MarkdownIt('commonmark');
mdCommonMark.render(input);
// Using default mode
const mdDefault = new MarkdownIt();
mdDefault.render(input);
// Enabling everything
const mdEverythingEnabled = new MarkdownIt({
html: true,
linkify: true,
typographer: true
});
mdEverythingEnabled.render(input);
// Using full options list with defaults
const mdFullOptions = new MarkdownIt({
html: false,
xhtmlOut: false,
breaks: false,
langPrefix: 'language-',
linkify: false,
typographer: false,
quotes: '“”‘’',
highlight: function (/*str, lang*/) { return ''; }
});
mdFullOptions.render(input);
} catch (e) {
// If you encounter a specific error you want to ignore, handle it here.
// Otherwise, re-throw the error so the fuzzer can catch it.
throw e;
}
}
// Export the fuzz function for JazzerJS or any other fuzzer you're using
module.exports = { fuzz };
I wrote it for jsfuzz, but I will integrate it to jazzerjs which is full integrated with OSS
The text was updated successfully, but these errors were encountered:
During fuzzing test I receive this result, At the exploitation time I saw unusual eaten RAM usage, even with my 32 gb cloud machine downs in a few second. Normally during fuzzing it creates an instance of trigger but this time only shows me this result. I will be happy to understand background of the issue. And I also have another bug it causes timeout, for this I have reproducer too. but can not add this page because of its character encoding.
Unusual fuzzing result:
Here is my fuzzing harness:
I wrote it for jsfuzz, but I will integrate it to jazzerjs which is full integrated with OSS
The text was updated successfully, but these errors were encountered: