-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fuzzing candidates #2
Comments
It looks like
|
Edit: Fuzzed here: https://github.com/google/oss-fuzz/tree/master/projects/nokogiri |
Good call, looks like they're only doing UBSAN though? https://github.com/google/oss-fuzz/blob/master/projects/nokogiri/project.yaml#L9-L10 |
Yeah, interesting choice 🤔 |
The |
Here's a useful GH query for finding repositories with a |
Ruby C code that accepts
Ruby |
OSS-Fuzz was doing some non-Ruzzy Ruby fuzzing, but that's since been removed: google/oss-fuzz#12715. Here were the stdlibs being fuzzed: static void init_date_strptime(struct TargetFunction *target) {
static const enum RubyDataType argTypes[2] = {RDT_CString, RDT_CString};
init_TargetFunction(target, "date", "Date", "strptime", ARRAYSIZE(argTypes),
argTypes);
}
static void init_date_httpdate(struct TargetFunction *target) {
static const enum RubyDataType argTypes[1] = {RDT_CString};
init_TargetFunction(target, "date", "Date", "httpdate", ARRAYSIZE(argTypes),
argTypes);
}
static void init_date_parse(struct TargetFunction *target) {
static const enum RubyDataType argTypes[1] = {RDT_CString};
init_TargetFunction(target, "date", "Date", "parse", ARRAYSIZE(argTypes),
argTypes);
}
static void init_regexp_new(struct TargetFunction *target) {
static const enum RubyDataType argTypes[1] = {RDT_CString};
init_TargetFunction(target, "regexp", "Regexp", "new",
ARRAYSIZE(argTypes), argTypes);
}
static void init_json_parse(struct TargetFunction *target) {
static const enum RubyDataType argTypes[1] = {RDT_CString};
init_TargetFunction(target, "json", "JSON", "parse", ARRAYSIZE(argTypes),
argTypes);
}
static void init_psych_parse(struct TargetFunction *target) {
static const enum RubyDataType argTypes[1] = {RDT_CString};
init_TargetFunction(target, "psych", "Psych", "parse", ARRAYSIZE(argTypes),
argTypes);
}
static void init_openssl_read(struct TargetFunction *target) {
static const enum RubyDataType argTypes[1] = {RDT_CString};
init_TargetFunction(target, "openssl", "OpenSSL::PKey", "read",
ARRAYSIZE(argTypes), argTypes);
}
static void init_openssl_read_smime(struct TargetFunction *target) {
static const enum RubyDataType argTypes[1] = {RDT_CString};
init_TargetFunction(target, "openssl", "OpenSSL::PKCS7", "read_smime",
ARRAYSIZE(argTypes), argTypes);
}
static void init_openssl_sprintf(struct TargetFunction *target) {
static const enum RubyDataType argTypes[2] = {RDT_CString, RDT_CString};
init_TargetFunction(target, "openssl", "Kernel", "sprintf",
ARRAYSIZE(argTypes), argTypes);
}
static void init_CGI_unescapeHTML(struct TargetFunction *target) {
static const enum RubyDataType argTypes[1] = {RDT_CString};
init_TargetFunction(target, "cgi", "CGI", "unescapeHTML", ARRAYSIZE(argTypes),
argTypes);
} We could pick up where it left off. |
EDIT: more:
The text was updated successfully, but these errors were encountered: