Comments (3)
you have to report this upstream to qemu itself, the meson setup is by them. until this is fixed and we then update from qemu you will have to install an older version or find a workaround.
@kotee4ko do not post your issues to completely different items!
from qemuafl.
Can approve it.
Program scripts/decodetree.py found: YES (/usr/bin/python3 /opt/wokr/FUZZING/AFLplusplus/qemu_mode/qemuafl/scripts/decodetree.py)
Program @INPUT@ found: NO
../target/hexagon/meson.build:33:0: ERROR: Program '@INPUT@' not found
A full log can be found at /opt/wokr/FUZZING/AFLplusplus/qemu_mode/qemuafl/build/meson-logs/meson-log.txt
ERROR: meson setup failed
meson --version
0.58.999
from qemuafl.
Since this is still present in the current version, here's a rather simple workaround based on the patches pointed out by @bennofs:
- Run
build_qemu_support.sh
until it fails with theProgram '@INPUT@' not found
error above. I'm assuming you're now in theqemu_mode
folder of AFLplusplus. cd qemuafl
curl 'https://pastebin.com/raw/i4xw9uNM' | tr -d '\r' > qemu-meson-workaround.patch
(this is just a merged version of the two commits; if you'd rather not trust me, manually merge them)patch -p1 < qemu-meson-workaround.patch
cd ..
NO_CHECKOUT=1 ./build_qemu_support.sh
The NO_CHECKOUT
flag must be set to any nonempty string. Otherwise, build_qemu_support.sh
will simply checkout qemuafl again, immediately overwriting your patch.
Tested (compiles, not tested if it works) on a6758d1.
from qemuafl.
Related Issues (20)
- AFL_QEMU_PERSISTENT_GPR=1 qemu_mode persistent fails on arm64 host HOT 2
- qemu_mode does not build with STATIC=1 HOT 2
- qemu_mode fails to execute syscall execve HOT 3
- how to compare the qemuafl with clean qemu HOT 2
- Persistent mode is broken on aarch64, since AFL_QEMU_TARGET_ARM64_SNIPPET is inserted before updating pc HOT 5
- How to deal with threads?
- ASAN_GIOVESE breaks non-x86, non-ARM builds HOT 1
- aarch64 qasan_shadow_stack address error
- Add ability for hook and AppCall HOT 2
- qasan aarch64 will hang when show ABORTING HOT 1
- Assertion `mmap(__ag_high_shadow, (0xdfff0000fffULL), 0x1 | 0x2, 0x02 | 0x10 | 0x04000 | 0x20, -1, 0) != ((void *) -1)' failed. HOT 5
- `AFL_QEMU_*_RANGES` does not take effect until `AFL_ENTRYPOINT` is reached HOT 1
- make error HOT 5
- Vague error message when dlopen QEMU_PERSISTENT_HOOK fails HOT 1
- Builds configured with --enable-system for target x86_64 are broken HOT 2
- Update QEMU base to 8.1 HOT 2
- Binaries compiled with musl break afl-qemu-trace forkserver behaviour.
- drcov plugin won't work if program doesn't exit normally HOT 2
- Support for UNICORN-like hooking HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qemuafl.