mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-09 08:41:32 +00:00
fixes
This commit is contained in:
parent
3cbaefd247
commit
f2b7357ff3
@ -1673,12 +1673,12 @@ void ModuleSanitizerCoverageLTO::instrumentFunction(
|
|||||||
|
|
||||||
inst = inst_save;
|
inst = inst_save;
|
||||||
|
|
||||||
}
|
/* if (debug)
|
||||||
|
fprintf(stderr, "Next instrumentation (%u-%u=%u %u-%u=%u)\n", inst,
|
||||||
|
inst_save, inst - inst_save, afl_global_id, save_global,
|
||||||
|
afl_global_id - save_global);*/
|
||||||
|
|
||||||
/* if (debug)
|
}
|
||||||
fprintf(stderr, "Next instrumentation (%u-%u=%u %u-%u=%u)\n", inst,
|
|
||||||
inst_save, inst - inst_save, afl_global_id, save_global,
|
|
||||||
afl_global_id - save_global);*/
|
|
||||||
|
|
||||||
for (auto &BB : F) {
|
for (auto &BB : F) {
|
||||||
|
|
||||||
@ -1932,8 +1932,9 @@ void ModuleSanitizerCoverageLTO::instrumentFunction(
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (shouldInstrumentBlock(F, &BB, DT, PDT, Options))
|
if (!instrument_ctx)
|
||||||
// BlocksToInstrument.push_back(&BB);
|
if (shouldInstrumentBlock(F, &BB, DT, PDT, Options))
|
||||||
|
BlocksToInstrument.push_back(&BB);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
for (auto &Inst : BB) {
|
for (auto &Inst : BB) {
|
||||||
|
@ -1197,9 +1197,17 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
WARNF(
|
if (!fsrv->qemu_mode && !fsrv->cs_mode
|
||||||
"Old fork server model is used by the target, this still works "
|
#ifdef __linux__
|
||||||
"though.");
|
&& !fsrv->nyx_mode
|
||||||
|
#endif
|
||||||
|
) {
|
||||||
|
|
||||||
|
WARNF(
|
||||||
|
"Old fork server model is used by the target, this still works "
|
||||||
|
"though.");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if (!be_quiet) { OKF("All right - old fork server is up."); }
|
if (!be_quiet) { OKF("All right - old fork server is up."); }
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ echo "[*] Installing Unicorn python bindings..."
|
|||||||
cd unicorn/bindings/python || exit 1
|
cd unicorn/bindings/python || exit 1
|
||||||
if [ -z "$VIRTUAL_ENV" ]; then
|
if [ -z "$VIRTUAL_ENV" ]; then
|
||||||
echo "[*] Info: Installing python unicornafl using --user"
|
echo "[*] Info: Installing python unicornafl using --user"
|
||||||
THREADS=$CORES $PYTHONBIN -m pip install --user --force .|| exit 1
|
THREADS=$CORES $PYTHONBIN -m pip install --user --break-system-packages --force .|| exit 1
|
||||||
else
|
else
|
||||||
echo "[*] Info: Installing python unicornafl to virtualenv: $VIRTUAL_ENV"
|
echo "[*] Info: Installing python unicornafl to virtualenv: $VIRTUAL_ENV"
|
||||||
THREADS=$CORES $PYTHONBIN -m pip install --force .|| exit 1
|
THREADS=$CORES $PYTHONBIN -m pip install --force .|| exit 1
|
||||||
@ -211,7 +211,7 @@ echo "[*] Installing Unicornafl python bindings..."
|
|||||||
cd bindings/python || exit 1
|
cd bindings/python || exit 1
|
||||||
if [ -z "$VIRTUAL_ENV" ]; then
|
if [ -z "$VIRTUAL_ENV" ]; then
|
||||||
echo "[*] Info: Installing python unicornafl using --user"
|
echo "[*] Info: Installing python unicornafl using --user"
|
||||||
THREADS=$CORES $PYTHONBIN -m pip install --user --force .|| exit 1
|
THREADS=$CORES $PYTHONBIN -m pip install --user --break-system-packages --force .|| exit 1
|
||||||
else
|
else
|
||||||
echo "[*] Info: Installing python unicornafl to virtualenv: $VIRTUAL_ENV"
|
echo "[*] Info: Installing python unicornafl to virtualenv: $VIRTUAL_ENV"
|
||||||
THREADS=$CORES $PYTHONBIN -m pip install --force .|| exit 1
|
THREADS=$CORES $PYTHONBIN -m pip install --force .|| exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user