mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 18:18:07 +00:00
fix sentence & code format
This commit is contained in:
@ -167,7 +167,7 @@ static void usage(u8 *argv0, int more_help) {
|
|||||||
" See docs/README.MOpt.md\n"
|
" See docs/README.MOpt.md\n"
|
||||||
" -c program - enable CmpLog by specifying a binary compiled for "
|
" -c program - enable CmpLog by specifying a binary compiled for "
|
||||||
"it.\n"
|
"it.\n"
|
||||||
" if using QEMU/FRIDA or if you the fuzzing target is "
|
" if using QEMU/FRIDA or the fuzzing target is "
|
||||||
"compiled\n"
|
"compiled\n"
|
||||||
" for CmpLog then just use -c 0.\n"
|
" for CmpLog then just use -c 0.\n"
|
||||||
" -l cmplog_opts - CmpLog configuration values (e.g. \"2AT\"):\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) {
|
static void fasan_check_afl_preload(char *afl_preload) {
|
||||||
|
|
||||||
char first_preload[PATH_MAX + 1] = {0};
|
char first_preload[PATH_MAX + 1] = {0};
|
||||||
char *separator = strchr(afl_preload, ':');
|
char * separator = strchr(afl_preload, ':');
|
||||||
size_t first_preload_len = PATH_MAX;
|
size_t first_preload_len = PATH_MAX;
|
||||||
char *basename;
|
char * basename;
|
||||||
char clang_runtime_prefix[] = "libclang_rt.asan";
|
char clang_runtime_prefix[] = "libclang_rt.asan";
|
||||||
|
|
||||||
if (separator != NULL && (separator - afl_preload) < PATH_MAX) {
|
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) {
|
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));
|
nyx_plugin_handler_t *plugin = calloc(1, sizeof(nyx_plugin_handler_t));
|
||||||
|
|
||||||
ACTF("Trying to load libnyx.so plugin...");
|
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 *extras_dir[4];
|
||||||
u8 mem_limit_given = 0, exit_1 = 0, debug = 0,
|
u8 mem_limit_given = 0, exit_1 = 0, debug = 0,
|
||||||
extras_dir_cnt = 0 /*, have_p = 0*/;
|
extras_dir_cnt = 0 /*, have_p = 0*/;
|
||||||
char *afl_preload;
|
char * afl_preload;
|
||||||
char *frida_afl_preload = NULL;
|
char * frida_afl_preload = NULL;
|
||||||
char **use_argv;
|
char **use_argv;
|
||||||
|
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
Reference in New Issue
Block a user