Can AFL++ used in QNX neutrino embedded system? If can how to? #1674
Replies: 2 comments 19 replies
-
You are lucky, I looked into that last week. Because you need to cross compile you have to compile afl++ for your host (easy), and then specifically the afl tools also for that target. BUT - you must configure both to use MMAP. first for your host: then for your target: Now to compile a target you need to do the following - the compiler to set in your source environment is Now the issue that I ran into is that the forkserver is not triggering and I do not know why. This could be worked around by setting There might be further issues but I did not went deeper into this. If you down further steps, please document them here! |
Beta Was this translation helpful? Give feedback.
-
Also there is this paper: https://ics-cert.kaspersky.com/media/Kaspersky-ICS-CERT-Dynamic-analysis-of-firmware-components-in-iot-devices-En.pdf |
Beta Was this translation helpful? Give feedback.
-
Hi maintainer,
Here I stuck with the problem to fuzz code in QNX neutrino embedded system. The reason is QNX use qcc as the compiler and not support LLVM related toolset.
Previously I use libFuzzer to fuzz both X86_64 and Arm platform in Linux, but failed to fuzz QNX as no LLVM toolset supported.
Could you help guide if AFL++ can do this or not? If so could guide me the main orientation?
Thanks very much.
Beta Was this translation helpful? Give feedback.
All reactions