Comments 2
Exercise 1 - Xpdf - устарело.
https://github.com/antonio-morales/Fuzzing101/tree/main/Exercise 1
Собирал по официальному доку на Debian 12 Bookworm
https://aflplus.plus/docs/install/
docker pull aflplusplus/aflplusplus на ubuntu 22.04
https://github.com/AFLplusplus/AFLplusplus/blob/stable/Dockerfile
Небольшая проблема с Python 3.11+ и решение:
mkdir ~/.config/pip/
cat >> ~/.config/pip/pip.conf << "EOF"
[global]
break-system-packages = true
EOF
Странный выбор древнего пакета для сборки. libt1-dev, libxp-dev и др. в современных версиях Debian и Ubuntu отсутствуют:
grep -i -e "error" -e "warning" config.log
conftest.c:66:10: fatal error: X11/extensions/Print.h: No such file or directory
conftest.c:69:10: fatal error: t1lib.h: No such file or directory
---
https://old-releases.ubuntu.com/ubuntu/pool/universe/x/xpdf/xpdf_3.02-1.2ubuntu1.1.dsc
http://archive.debian.org/debian/pool/main/x/xpdf/xpdf_3.02-1.4+lenny4.dsc
Для сборки и минимального функционирования:
sudo apt-get install libfreetype6-dev libmotif-dev libxt-dev
./configure \
--prefix="$HOME/fuzzing_xpdf/install" \
# --enable-multithreaded \
--with-freetype2-library=/usr/lib \
--with-freetype2-includes=/usr/include/freetype2 \
# --x-includes=/usr/include \
--with-Xm-library=/usr/lib \
--with-Xm-includes=/usr/include
Sign up to leave a comment.
Фаззинг с AFL++. Знакомство