diff options
author | Anestis Bechtsoudis <anestis@census-labs.com> | 2016-02-09 17:55:38 +0200 |
---|---|---|
committer | Anestis Bechtsoudis <anestis@census-labs.com> | 2016-02-09 17:55:38 +0200 |
commit | 7c88d7a58c311455f3b768d6f405016e6d800c21 (patch) | |
tree | dd9ba2128945541ae93b33649ed77aa1904d30de /report.c | |
parent | c7c3cc7a1ec54b3d3479c65532dfce264b3c83ec (diff) | |
download | honggfuzz-7c88d7a58c311455f3b768d6f405016e6d800c21.tar.gz |
LINUX: Use procfs to resolve remote pid cmd
Use remote pid cmdline string for display and reports
Signed-off-by: Anestis Bechtsoudis <anestis@census-labs.com>
Diffstat (limited to 'report.c')
-rw-r--r-- | report.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -102,6 +102,7 @@ void report_Report(honggfuzz_t * hfuzz, char *s) " ignoreAddr : %p\n" " memoryLimit : %" PRIu64 " (MiB)\n" " targetPid : %d\n" + " targetCmd : %s\n" " wordlistFile : %s\n", localtmstr, hfuzz->flipRate, @@ -110,7 +111,8 @@ void report_Report(honggfuzz_t * hfuzz, char *s) hfuzz->tmOut, hfuzz->ignoreAddr, hfuzz->asLimit, - hfuzz->pid, hfuzz->dictionaryFile == NULL ? "NULL" : hfuzz->dictionaryFile); + hfuzz->pid, hfuzz->pidCmd, + hfuzz->dictionaryFile == NULL ? "NULL" : hfuzz->dictionaryFile); #if defined(_HF_ARCH_LINUX) report_printdynFileMethod(hfuzz); |