diff options
author | van Hauser <vh@thc.org> | 2023-12-22 09:19:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-22 09:19:13 +0100 |
commit | 27d05f3c216e18163236efa42b630a5b3784d2e9 (patch) | |
tree | fe2235a126420f18208546d2b1487e59da9bcd16 /frida_mode/src/main.c | |
parent | c38dedbecdaab3ec3482e2af282f78a6f5bf792b (diff) | |
parent | 86d76b52acb945c662ba6d2f8ff44cf036a12161 (diff) | |
download | afl++-27d05f3c216e18163236efa42b630a5b3784d2e9.tar.gz |
Merge pull request #1939 from bet4it/docs
Improve binary-only related docs
Diffstat (limited to 'frida_mode/src/main.c')
-rw-r--r-- | frida_mode/src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frida_mode/src/main.c b/frida_mode/src/main.c index bd7b1351..9daf067b 100644 --- a/frida_mode/src/main.c +++ b/frida_mode/src/main.c @@ -166,7 +166,7 @@ static void afl_print_env(void) { if (fd < 0) { - FWARNF("Failed to open /proc/self/cmdline, errno: (%d)", errno); + FWARNF("Failed to open /proc/self/environ, errno: (%d)", errno); return; } @@ -174,7 +174,7 @@ static void afl_print_env(void) { ssize_t bytes_read = read(fd, buffer, PROC_MAX - 1); if (bytes_read < 0) { - FFATAL("Failed to read /proc/self/cmdline, errno: (%d)", errno); + FFATAL("Failed to read /proc/self/environ, errno: (%d)", errno); } |