aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuawn <ssspeed00@gmail.com>2022-07-24 10:30:21 +0000
committeryuawn <ssspeed00@gmail.com>2022-07-24 10:30:21 +0000
commitd8d6ea93cfdd8b67dd83483eca321bf238e3b0e2 (patch)
treeef47123adda2a207743219dae81838bda8a97284
parent0540d30274e3126204ebb8c90088d4925cfa9a94 (diff)
downloadAFLplusplus-d8d6ea93cfdd8b67dd83483eca321bf238e3b0e2.tar.gz
fix sentence & code format
-rw-r--r--src/afl-fuzz.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index c5de8e35..76a79900 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -167,7 +167,7 @@ static void usage(u8 *argv0, int more_help) {
" See docs/README.MOpt.md\n"
" -c program - enable CmpLog by specifying a binary compiled for "
"it.\n"
- " if using QEMU/FRIDA or if you the fuzzing target is "
+ " if using QEMU/FRIDA or the fuzzing target is "
"compiled\n"
" for CmpLog then just use -c 0.\n"
" -l cmplog_opts - CmpLog configuration values (e.g. \"2AT\"):\n"
@@ -383,9 +383,9 @@ static int stricmp(char const *a, char const *b) {
static void fasan_check_afl_preload(char *afl_preload) {
char first_preload[PATH_MAX + 1] = {0};
- char *separator = strchr(afl_preload, ':');
+ char * separator = strchr(afl_preload, ':');
size_t first_preload_len = PATH_MAX;
- char *basename;
+ char * basename;
char clang_runtime_prefix[] = "libclang_rt.asan";
if (separator != NULL && (separator - afl_preload) < PATH_MAX) {
@@ -429,7 +429,7 @@ static void fasan_check_afl_preload(char *afl_preload) {
nyx_plugin_handler_t *afl_load_libnyx_plugin(u8 *libnyx_binary) {
- void *handle;
+ void * handle;
nyx_plugin_handler_t *plugin = calloc(1, sizeof(nyx_plugin_handler_t));
ACTF("Trying to load libnyx.so plugin...");
@@ -498,8 +498,8 @@ int main(int argc, char **argv_orig, char **envp) {
u8 *extras_dir[4];
u8 mem_limit_given = 0, exit_1 = 0, debug = 0,
extras_dir_cnt = 0 /*, have_p = 0*/;
- char *afl_preload;
- char *frida_afl_preload = NULL;
+ char * afl_preload;
+ char * frida_afl_preload = NULL;
char **use_argv;
struct timeval tv;