ekiwi / rfuzz

rfuzz: coverage-directed fuzzing for RTL research platform
https://people.eecs.berkeley.edu/~laeufer/papers/rfuzz_kevin_laeufer_iccad2018.pdf
BSD 3-Clause "New" or "Revised" License
97 stars 12 forks source link

Unable to run RFuzz #1

Closed animeshbchowdhury closed 5 years ago

animeshbchowdhury commented 5 years ago

Hi,

I am trying to run RFuzz at my end on Ubuntu 18.04 LTS version. I have gone through the README.md file, installed all the required dependencies.

Finally, I am trying to run : make run.

I encountered an error which is shown below :

error1

I analysed the file meson.build in the folder verilator and suspected that at line number 49, that verilator_src might be of type non-array object (I am not sure as I have never used meson before ! ) Based on the comment, which you have put up, I think it would be verilator_files[0] & verilator_files[1] instead on verilator_src[0] and verilator_src[1].

Can you please help me with this issue ?

ekiwi commented 5 years ago

Thanks for trying out rfuzz.

In the output that you posted it says that your meson version is 0.29.0. Could it be that you are running on Ubuntu 16.04? The meson version provided with Ubuntu 18.04 should be 0.45.1. See: https://packages.ubuntu.com/search?keywords=meson

animeshbchowdhury commented 5 years ago

I upgraded from Ubuntu 16.04 to 18.04 LTS from system. While upgrade, I kept certain package version intact for backward compatibility dependency for other tools. I will try it on a fresh installation of Ubuntu 18.04 and see if the issue persists or not.

Thanks for the prompt help!

ekiwi commented 5 years ago

Thanks for the prompt help!

No problem!

If you are concerned about your other tools, you could also setup a Ubuntu 18.04 LTS in VirtualBox, either manually or using vagrant and the provided Vagrantfile.

animeshbchowdhury commented 5 years ago

Hi Kevin,

I am successfully able to run the tool on fresh installation of Ubuntu 18.04. Thanks for the help !

Best, Animesh