prosyslab-classroom / cs348-information-security

60 stars 10 forks source link

[Converga.read and input format ][Hw6] #341

Closed antoineschutz closed 1 year ago

antoineschutz commented 1 year ago

Name: Antoine Schute

Hello , I have a problem concerning the use of coverage.read

If I try to execute ./fuzzer example01 string_seed out_dir In my main directory , I get "example01 not found".

So I modified the command to ./fuzzer test/example01 test/string_seed out_dir

Everything works well , until I try to call the Coverage.read function :

In my code I call the Coverage.read function with env.Coverage_file

Fatal error: exception Sys_error("/home/student/…/test/example01.c.gcov: No such file or directory")

I've to move every example* file in the main directory to see if it worked , but I think we're not allowed to change the directory structure. how should i proceed ?

m-spitfire commented 1 year ago
  1. Your command assumes wrong executable name. The name of exe is example02 not example1.
  2. You should execute fuzzer inside of test/ directory with ../fuzzer example01 string_seed out_dir. Please see the readme carefully on assignment repo.
antoineschutz commented 1 year ago

Oh indeed thank you !