prosyslab / DAFL-artifact

35 stars 3 forks source link

Error messages when trying to run run-smake.sh in the local environment #6

Closed 5hEn918 closed 7 months ago

5hEn918 commented 7 months ago

Hi Recently I am working run DAFL on my local machine. When I tried to run run-smake.sh, some error messages occurs. But the smake-out directory had some inputs. So I compared the inputs with the directory in the docker you provided, it seems the same (?). Can I IGNORE this message? image

image

Here is part of the message

clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:748: makeswf] Error 1
make[1]: Leaving directory '/benchmark/RUNDIR-libming-4.8.1/BUILD/util'
make: *** [Makefile:516: all-recursive] Error 

Also in my understanding, the run-smake.sh script will generate a series of .i fiels for each program and its target and put them in the smake-out directory, then the run_sparrow.py script will process the directory ang generate the DAFL-input directory, which contains dfg and functions folder. In my understanding the dfg folder contains the node score, which are instrumentd by AFL llvm pass. And the function folder contains the essential functions, which are also instrumented to give coverage feedback. Is it right?

goodtaeeun commented 7 months ago

Yes, you can ignore those messages. Those error messages are emitted after building our binary of interest, swftophp, thus the necessary preprocessed files are successfully generated and copied into smake-out

goodtaeeun commented 7 months ago

And yes, your understanding is correct.

5hEn918 commented 7 months ago

Thanks for your time and response!