mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-02 18:27:18 +00:00
18 lines
378 B
C
18 lines
378 B
C
#include <r_types.h>
|
|
#include <r_util/pj.h>
|
|
#include <r_util/r_asn1.h>
|
|
#include <r_util/r_log.h>
|
|
#include <r_util/r_x509.h>
|
|
#include <r_util/r_pkcs7.h>
|
|
|
|
int LLVMFuzzerInitialize(int *lf_argc, char ***lf_argv) {
|
|
r_log_set_quiet (true);
|
|
return 0;
|
|
}
|
|
|
|
int LLVMFuzzerTestOneInput(const ut8 *data, size_t len) {
|
|
RCMS *out = r_pkcs7_parse_cms (data, len);
|
|
free (out);
|
|
return 0;
|
|
}
|