minor fixes

This commit is contained in:
Dominik Maier
2020-04-26 01:59:38 +02:00
parent fb89b042f8
commit b26ee09f71
2 changed files with 4 additions and 6 deletions

View File

@ -53,9 +53,7 @@
/* Describe integer as memory size. */
list_t fsrv_list = {.element_prealloc_count = 0};
void report_error_and_exit(int error);
static list_t fsrv_list = {.element_prealloc_count = 0};
static void fsrv_exec_child(afl_forkserver_t *fsrv, char **argv) {
@ -203,7 +201,7 @@ static void afl_fauxsrv_execv(afl_forkserver_t *fsrv, char **argv) {
}
/* Report on the error received via the forkserver controller and exit */
void report_error_and_exit(int error) {
static void report_error_and_exit(int error) {
switch (error) {

View File

@ -182,8 +182,8 @@ echo "[+] Configuration complete."
echo "[*] Attempting to build unicornafl (fingers crossed!)..."
$MAKECMD clean # make doesn't seem to work for unicorn
#UNICORN_QEMU_FLAGS="--python=$PYTHONBIN" $MAKECMD -j$CORES || exit 1
UNICORN_QEMU_FLAGS="--python=$PYTHONBIN" $MAKECMD || exit 1
# Fixed to 1 core for now as there is a race condition in the makefile
UNICORN_QEMU_FLAGS="--python=$PYTHONBIN" $MAKECMD -j1 || exit 1
echo "[+] Build process successful!"