summaryrefslogtreecommitdiffstats
path: root/src/fuzzerfidentify.cpp
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2020-02-01 09:41:49 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2020-02-01 09:41:49 +0100
commitcc8c9454d38c74754741e434e14c59f10188c4c1 (patch)
treec5228e8cd2df101098ab18c98036aaa0cd8fa959 /src/fuzzerfidentify.cpp
parent5cb2dccf0ddff068c76928d79428ffca4d859f8a (diff)
rename list_file_enable to array_file_enable
Diffstat (limited to 'src/fuzzerfidentify.cpp')
-rw-r--r--src/fuzzerfidentify.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fuzzerfidentify.cpp b/src/fuzzerfidentify.cpp
index f5be374..90f0ef8 100644
--- a/src/fuzzerfidentify.cpp
+++ b/src/fuzzerfidentify.cpp
@@ -49,7 +49,7 @@
#include "filegen.h"
#include <sys/types.h>
#include <unistd.h>
-extern file_enable_t list_file_enable[];
+extern file_enable_t array_file_enable[];
extern file_check_list_t file_check_list;
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)
@@ -71,9 +71,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)
{
/* Enable all file formats */
file_enable_t *file_enable;
- for(file_enable=list_file_enable;file_enable->file_hint!=NULL;file_enable++)
+ for(file_enable=array_file_enable;file_enable->file_hint!=NULL;file_enable++)
file_enable->enable=1;
- file_stats=init_file_stats(list_file_enable);
+ file_stats=init_file_stats(array_file_enable);
}
if(buffer_start==NULL)
{