Open bendrissou opened 4 months ago
Hi @eqv
Can you confirm this issue please?
Thank you.
I don't know, I'm not even seeing that there's no synchronisation? There's just some warning. AFL++ has changed a lot since nautilus was released. If you want to use this feature with a new AFL++ version (which you probably should), please go find the check that AFL++ does before it prints "no -M main node found. It is recommended to run exactly one main instance.". There's probably some .status
or something like that, that AFL++ is missing. Just add that to the folder and you should be good.
Hi,
Thank you for your response. AFL++ expects the main node's output directory to have a file named is_main_node
. The secondary nodes identify the main node by checking for the existence of this file. This file should ideally be added by Nautilus. To avoid the warning, I had to create this file manually before launching any secondary node:
touch /tmp/workdir/is_main_node
There is a more serious problem: AFL++ second node successfully detects the main node and proceeds to sync test cases. However, after the initial sync, AFL++ does not import any further test cases. After debugging, I found that AFL expects the id of a test case to be six digits. But Nautilus generates 9 digit ids.
Is it possible to make the file naming of Nautilus test cases consistent with that of AFL? Specifically, The id part should be six digits, and a timestamp should be included in the file name.
Thanks.
that should be quite trivial - Nautilus only writes those files for that purpose (well for the and humans), so it should be trivial to change the naming scheme
The issue has been resolved in my fork. There is a previous PR pending.
Hi,
I have been trying to run Nautilus in combination with AFL, as illustrated in the Readme. However the "S" instance is not aware of the "M" instance, and is not importing its entries.
Terminal 1
Terminal 2
The synchronisation works fine when using an AFL M instance.