-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying getting a new target working with LAVA #55
Comments
can you attach your |
What does your hello world program look like? Does it read input from a file? |
There is no bug-mining-*.log file. I see add_queries.log, dbwipe.log make.log and inject-1.log files within the /lava/target_inhections/hello_world/logs |
no it does not, it is a simple |
Yep, LAVA creates bugs that are triggered by some particular input to the program, so if the program doesn't use any input it won't find any opportunities to inject bugs. |
Ok thank you, i am going to run the program by using some input |
Hi i made the changes to the code and now the
Output of the command
.JSON file
|
I think the tar write error is just because we pipe Line 118 in 90a2f51
Piping it to It looks like LAVA has now found some (potential) bugs to inject, but it is not managing to validate any of them (validation runs the buggy program on the triggering input and checks to see if it actually crashes). So at this point you may want to try to take a look at the bugs it has injected and their triggering inputs and see if there is some obvious reason why they aren't actually crashing the program. |
Thank you for your reply. Which file should i take a look at ? Is that the -pre.c file or the original source file (.c) within the target_injections/my_target/bugs/0/my_target directory? I run the latest command
it all worked out ? |
Hello @esaurimentocronico, were you able to successfully complete this? I am trying to replicate the same. |
Hi Everyone,
I have been trying getting a new target working with LAVA but i have the same error posted here #52.
I tried a simple Hello World in c to understand how LAVA works too and i followed the documentation 'how-to-lava' step by step however i got the error:
That is the output of the
/lava/target_injections/hello_world/logs/inject-1.log
file.The json file i created for the project is:
And the Makefile in according to
/lava/target_injections/file/file-5.22/src/Makefile
is :Can you help me to fix and understand how to carry out it please ? I need some help thank you.
The text was updated successfully, but these errors were encountered: