honggfuzz  2.2
About: honggfuzz is a security oriented, feedback-driven, evolutionary, easy-to-use fuzzer with powerful analysis options.
  Fossies Dox: honggfuzz-2.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

arch.c File Reference
#include "arch.h"
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <locale.h>
#include <poll.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/cdefs.h>
#include <sys/resource.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
#include "fuzz.h"
#include "libhfcommon/common.h"
#include "libhfcommon/files.h"
#include "libhfcommon/log.h"
#include "libhfcommon/util.h"
#include "report.h"
#include "sanitizers.h"
#include "subproc.h"
Include dependency graph for arch.c:

Go to the source code of this file.

Functions

static void arch_analyzeSignal (run_t *run, pid_t pid, int status)
 
pid_t arch_fork (run_t *fuzzer)
 
bool arch_launchChild (run_t *run)
 
void arch_prepareParent (run_t *fuzzer)
 
void arch_prepareParentAfterFork (run_t *fuzzer)
 
static bool arch_checkWait (run_t *run)
 
void arch_reapChild (run_t *run)
 
bool arch_archInit (honggfuzz_t *hfuzz)
 
bool arch_archThreadInit (run_t *fuzzer)
 

Variables

struct {
   bool   important
 
   const char *   descr
 
arch_sigs [NSIG]
 

Function Documentation

◆ arch_analyzeSignal()

◆ arch_archInit()

bool arch_archInit ( honggfuzz_t hfuzz)

Definition at line 266 of file arch.c.

Referenced by fuzz_threadsStart().

◆ arch_archThreadInit()

bool arch_archThreadInit ( run_t fuzzer)

Definition at line 273 of file arch.c.

Referenced by fuzz_threadNew().

◆ arch_checkWait()

static bool arch_checkWait ( run_t run)
static

◆ arch_fork()

pid_t arch_fork ( run_t fuzzer)

Definition at line 178 of file arch.c.

Referenced by subproc_New(), and subproc_System().

◆ arch_launchChild()

bool arch_launchChild ( run_t run)

Definition at line 182 of file arch.c.

References run_t::args.

Referenced by subproc_New().

◆ arch_prepareParent()

void arch_prepareParent ( run_t fuzzer)

Definition at line 191 of file arch.c.

Referenced by subproc_Run().

◆ arch_prepareParentAfterFork()

void arch_prepareParentAfterFork ( run_t fuzzer)

Definition at line 194 of file arch.c.

Referenced by subproc_New().

◆ arch_reapChild()

Variable Documentation

◆ arch_sigs

struct { ... } arch_sigs[NSIG]
Initial value:
= {
[0 ...(NSIG - 1)].important = false,
[0 ...(NSIG - 1)].descr = "UNKNOWN",
[SIGILL].important = true,
[SIGILL].descr = "SIGILL",
[SIGFPE].important = true,
[SIGFPE].descr = "SIGFPE",
[SIGSEGV].important = true,
[SIGSEGV].descr = "SIGSEGV",
[SIGBUS].important = true,
[SIGBUS].descr = "SIGBUS",
[SIGABRT].important = true,
[SIGABRT].descr = "SIGABRT",
[SIGVTALRM].important = false,
[SIGVTALRM].descr = "SIGVTALRM-TMOUT",
}

◆ descr

const char* descr

Definition at line 55 of file arch.c.

◆ important

bool important

Definition at line 54 of file arch.c.

important
bool important
Definition: arch.c:105